[Gmsh] Question

tadej -ivan Zecevic tady57 at gmail.com
Sun Jun 3 20:28:44 CEST 2018


Hi,

I am trying to align surfaces so that they can create one connected big
mesh. I would like to connect end of the mesh on surface(1)  with beginning
of mesh on surface (2). Is that possible?

This is my .geo file:

p82=newp;
Point(p82 +1)={1200,0,0};
Point(p82 +2)={1200,1200,0};
Point(p82 +3)={1200,1200,1000};
Point(p82 +4)={1200,0,1000};
Point(p82+5)={0,1200,400};
Point(p82+6)={0,1200,0};
Point(p82+7)={1200,1200,400};


Line(2881)={p82+2,p82+3};
Line(2882)={p82+3,p82+4};
Line(2883)={p82+4,p82+1};
Line(2884)={p82+1,p82+2};

Line(2885)={p82+2,p82+7};
Line(2886)={p82+7,p82+5};
Line(2887)={p82+5,p82+6};
Line(2888)={p82+6,p82+2};

Line Loop(1)={2881,2882,2883,2884};
Plane Surface(1)={1};

Line Loop(2)={2885,2886,2887,2888};
Plane Surface(2)={2};
//+
Transfinite Surface {1};
//+
Transfinite Surface {2};
//+
Recombine Surface {1, 2};

Thank you very much,
Tadej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180603/d20e1fa9/attachment.html>


More information about the gmsh mailing list