Import and export meshes

Hi @Jacob!

Thanks for using some of the unstructured mesh capabilities in OpenMC.

For exporting mesh coordinates (and element data) I’d recommend having a look at the UnstructuredMesh.write_data_to_vtk method in the Python API. Element-wise mesh data can be extracted from statepoint files using the standard classes/method and applied to a VTK mesh for visualization using that method.

Regarding temperature and density distributions that are defined on the mesh and used during transport: As @Shimwell mentioned, this is something we’re interested in for work related to MSR modeling and we’re hoping to start in on it soon. I can keep you updated on it if you like. We’ll also be discussing it at the OpenMC monthly drop-in meetings I’m sure. OpenMC monthly drop in session dates 2022 - #12 by pshriwise

(Note that we’re canceling the one in Dec. and will start again in January.)

I hope this was helpful!

– Patrick