Examples and tutorials » 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:

Exchange mesh files

Examples demonstrating mesh I/O and format conversion:

Further reading