openmc.voxel_to_vtk

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

Converts a voxel HDF5 file to a VTK file

New 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