# Split multiple border free elements in a 3D mesh

**URL:** https://community.freefem.org/t/split-multiple-border-free-elements-in-a-3d-mesh/2616
**Category:** General Discussion
**Created:** [July 19, 2023, 9:07am UTC](https://community.freefem.org/t/split-multiple-border-free-elements-in-a-3d-mesh/2616 "2023-07-19T09:07:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Loic](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@Loic](https://community.freefem.org/u/Loic)
#### Post date: [July 19, 2023, 9:07am UTC](https://community.freefem.org/t/split-multiple-border-free-elements-in-a-3d-mesh/2616/1 "2023-07-19T09:07:50Z")

</div>

Hello all,

Given a 3D mesh discretized with tetrahedras (done with FreeFEM or gmsh), I would like to select the corner elements which have more than 1 free border (two or three) and then I would like to split these elements by adding one node at the barycenter so that each element of the mesh has at most 1 free border.

Does anyone know how to do it ?

Thank you in advance for your help,

Best regards,

Loïc,
