Need some help in converting a .msh file into .xml file

This does not follow what I suggested in the post above. The xdmf file is a text file, that has pointers to appropriate data structures in the binary h5 file.
Thus to open or visualize the data (for instance in paraview) one opens the .XDMFFile

The post i linked to clearly shows how to add facet data to an XDMFFile and how to read it.

There are also many subsequent posts about this, Ref Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio - #79 by dokken
Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio - #144 by dokken
Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio - #155 by dokken

And so on an so forth

1 Like