Input/output examples
Export a field for visualization or exchange mesh files.
Choose the example according to the data being exchanged. XDMF is the starting point for visualizing a computed field; the mesh-format examples cover importing and exporting geometry.
Visualize a field with XDMF
The XDMF format is recommended for visualization. It produces files compatible with ParaView:
- Exporting a time-dependent field — Export a time-dependent vector field.
Exchange mesh files
Examples demonstrating mesh I/O and format conversion:
- Saving and reloading an MFEM field — Save and reload a mesh and scalar field.
- Converting a MEDIT mesh — Create a mesh, save it in MEDIT and convert it to MFEM.
Further reading
- I/O in Rodin — Format selection and visualization workflows
- XDMF format guide