Format for volumetric tetrahedral meshes

Hi there,

I have some custom-created tetrahedral volume meshes of a domain with individual tetrahedron values that I’d like to visualize (clip, color, etc). They are a priori unstructured, but I can easily build a graph to represent them.
However, I have these meshes in MATLAB, so I need to save them in a format that Paraview would accept/read before continuing.

Which open source format would paraview support that I can save tetrahedral meshes on?


Several file formats fit the bill. The choice often depends on the size of the data, runs etc. To get you started, Legacy VTK files or VTK XML file formats are fairly easy to write and can be easily imported into ParaView.

An easy way to generate example files for these formats is to generate (or import) a comparable dataset into ParaView and then save it out as the appropriate format. e.g. create the Wavelet source, apply Tetrahedralize filter to convert it to a mesh of tets and then save that out as Legacy VTK files or XML VTK files.

1 Like

Thanks! In fact I did ended up using VTK UnstructuredCells and they work very nicely and are also easy to create.

Can we also decrease the resolution of tetrahedra meshes? (Decimate?)

You can use Filters -> Decimate.

If you have further questions, please open your own topic.