Please either attach a minimal example, or have a look at: Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio - #104 by dokken which explain how to extract multiple regions. I have also made a tutorial on the subject: Mesh generation and conversion with GMSH and PYGMSH | Jørgen S. Dokken
dokken
14
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio | 277 | 48738 | January 13, 2025 | |
| How to import xdmf mesh generated by gmsh into fenics | 27 | 3105 | January 20, 2023 | |
| Need help converting GMSH to FEniCS | 61 | 7079 | September 28, 2022 | |
| Unable to read .msh mesh file which contains only rectangular elements | 28 | 3009 | March 27, 2022 | |
| How to extract and use physical labels from GMSH surfaces on FEniCS (2D mesh) | 29 | 7284 | July 24, 2022 |