Dolfin-convert vs meshio

Is dolfin-convert still a thing or it is completely replaced by meshio?

dolfin-convert was deprecated many many years ago and is no longer maintained. I recommend meshio since it’s actively developed.


Is there any comprehensive tutorial for converting .msh files to .xdmf files using meshio? I see different folks doing it differently.
For instance is this Mesh generation and conversion with GMSH and PYGMSH | Jørgen S. Dokken the way to go?
Is the tutorial here usable for all scenarios?

I usually use terminal commands to convert my meshes.

meshio-convert mesh.msh mesh.xdmf

is simple does the trick. It also avoids bloating my python code with trivial i/o.

1 Like