XDMF saved from ParaView is incompatible with DOLFIN
When viewing a mesh in ParaView, it can be saved with "Save Data" as format XDMF (.xmf) This should be possible to read in to DOLFIN, but currently fails.
Comments (8)
-
-
reporter Yes. Dolfin XDMF assumes certain names for topology and geometry datasets. It will require some reorganisation, but it's basically just crunching the right strings in XML.
-
reporter Another issue is that ParaView does not save the CellType in HDF5, so the XML has to be queried to differentiate, for example, between a mesh of tetrahedra, and a mesh of quads in R^3.
-
FWIW, what is the CellType in a mixed element mesh?
-
Different cell groups can be stored in different groups (it should at least in principle be fine, whether or not it works in practice . . .).
-
reporter There is a TopologyType "Mixed" defined in XDMF, where you have to define the cell type of each cell. It should work in principle, but could cause problems to read in parallel, as the topology dataset becomes a serial stream in that case. I guess some more metadata will be needed, maybe indicating where the stream can be split.
-
reporter - changed status to resolved
Fix in next
-
- removed milestone
Removing milestone: 1.7 (automated comment)
- Log in to comment
Any idea what the issue is?