### rectangular mesh boundaries

Posted:

**15 Feb 2018, 23:39**Hello all,

I have create a rectangular mesh using gmsh and mmg2d library, but it has only one line (not four); at the perimeter. In my problem I need to apply four boundary conditions. Please, does anyone know any way to use my -1 line- mesh and apply 4 boundary conditions on each side of the rectangular boundary? If (I assume) the later is not possible, does anyone could suggest any tool that I could split my mesh -perimeter- line to four; I tried gmsh and it cant work,

best,

k.

I have create a rectangular mesh using gmsh and mmg2d library, but it has only one line (not four); at the perimeter. In my problem I need to apply four boundary conditions. Please, does anyone know any way to use my -1 line- mesh and apply 4 boundary conditions on each side of the rectangular boundary? If (I assume) the later is not possible, does anyone could suggest any tool that I could split my mesh -perimeter- line to four; I tried gmsh and it cant work,

best,

k.