I’m trying to import a hollow cone geometry into FEniCSx. I generated the mesh in Gmsh, defined the physical groups (including the base and top surfaces), and exported it as a .msh file. However, after converting it to .xdmf, the physical groups seem to be lost in the resulting file.
Is it possible to create a hollow cone directly in FEniCSx, or should I fix this issue in Gmsh? Could you please guide me on how to preserve the physical groups during the conversion process?
Thank you for your response, and sharing the link. I generated mesh (for a hollow cone) directly in Gmsh and saved it as a .msh file. Then I used the following commands:
It successfully converted the .msh file to .xdmf, but the output didn’t include the facet information and used TopologyType="Mixed". As a result, I got an error due to the mixed mesh type.