openmc.voxel_to_vtk

openmc.voxel_to_vtk(voxel_file: str | PathLike, output: str | PathLike = 'plot.vti')[source]

Converts a voxel HDF5 file to a VTK file

Added in version 0.14.0.

Parameters:
  • voxel_file (path-like) – Path of the input h5 to convert

  • output (path-like) – Path of the output vti file produced

Returns:

Path of the .vti file produced

Return type:

Path