# Making subdomain in surface mesh

**URL:** <https://fenicsproject.discourse.group/t/making-subdomain-in-surface-mesh/17142>\
**Category:** General\
**Created:** [March 4, 2025, 6:58pm UTC](https://fenicsproject.discourse.group/t/making-subdomain-in-surface-mesh/17142 "2025-03-04T18:58:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex24](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@alex24](https://fenicsproject.discourse.group/u/alex24)\
**Post date:** [March 4, 2025, 6:58pm UTC](https://fenicsproject.discourse.group/t/making-subdomain-in-surface-mesh/17142/1 "2025-03-04T18:58:32Z")

</div>

Hi,

Is it possible to make a subdomain (enforcing and edge loop) on a surface mesh?

This is for applying a boundary condition in a 3D linear elasticity problem; for example, making a cube surface mesh, and adding edge loop forming a circle to one of the faces and re-meshing the surface.

Thank you,  
Alex

---

<div class="post-metadata">

**Author:** ![dokken](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/dokken/32/1560_2.png) [@dokken](https://fenicsproject.discourse.group/u/dokken)\
**Post date:** [March 4, 2025, 7:20pm UTC](https://fenicsproject.discourse.group/t/making-subdomain-in-surface-mesh/17142/2 "2025-03-04T19:20:53Z")

</div>

This seems like a pure meshing question, that I believe could be handled with for instance `gmsh` using their embed function.  
See for instance; [Fail to read tagged facets from mesh generated with GMSH - #2 by dokken](https://fenicsproject.discourse.group/t/fail-to-read-tagged-facets-from-mesh-generated-with-gmsh/17082/2)
