# Import the mesh from Gmsh including multi domains

**URL:** <https://community.freefem.org/t/import-the-mesh-from-gmsh-including-multi-domains/590>\
**Category:** General Discussion\
**Created:** [September 22, 2020, 2:17pm UTC](https://community.freefem.org/t/import-the-mesh-from-gmsh-including-multi-domains/590 "2020-09-22T14:17:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fakhraddin](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@Fakhraddin](https://community.freefem.org/u/Fakhraddin)\
**Post date:** [September 22, 2020, 2:17pm UTC](https://community.freefem.org/t/import-the-mesh-from-gmsh-including-multi-domains/590/1 "2020-09-22T14:17:08Z")

</div>

Dear All,

I am trying to import a 2D mesh from Gmsh containing 2 subdomains (physical groups) and their interfaces. I labeled the subdomains as “fluid” and “solid” in Gmsh. I’m using the command: mesh Th=gmshload(“Bone.msh”); . It works well and I can see the mesh . However i need to identify the different subdomains and their interfaces using their labels. How can i do it? you can see my mesh bellow.  
Thank you for any help

 ![FreeFem_PoroElastic3D_Bone_SFi](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/1X/d4f43f2bf2d0220629bf799ff97f635888893e20.png)

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [September 22, 2020, 2:20pm UTC](https://community.freefem.org/t/import-the-mesh-from-gmsh-including-multi-domains/590/2 "2020-09-22T14:20:05Z")

</div>

You can use `Th.region`. You’ll get two different integers for the two different regions.
