-
Notifications
You must be signed in to change notification settings - Fork 582
Open
Description
Description
We can currently export mesh data to an asci format vtk file using mesh.write_data_to_vtk().
This makes use of an optional dependency vtk to write the asci vtk format file.
Avoiding importing or using the vtk package is possible as we can also write hdf5 format vtk files with h5py. H5py is a core dependency of openmc and the format is newer. Newer versions of Paraview can open the hdfvtk format quickly and it takes up less disk space.
We should allow this hdfvtk format for all meshes
- RegularMesh
- RectalinearMesh
- SphericalMesh
- CylindricalMesh
- UnstructuredMesh
I have done UnstructuredMesh in this PR which serves as an example of how to do this.
Compatibility
The old asci legacy vtk expirt remains as the default option.
Metadata
Metadata
Assignees
Labels
No labels