There are plenty if examples of how to do physical groups in Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio
and
Converter from GMSH to XDMF (with physical groups)
There are plenty if examples of how to do physical groups in Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio
and
Converter from GMSH to XDMF (with physical groups)