[Gmsh] special structured mesh in 2D

Mónika Balázs b.moncsi at gmail.com
Mon Jul 1 09:42:20 CEST 2013


Hi everybody,

I want to realize the mesh on the picture, which I attach.
Can anybody please help me? I will be very appriciate that.
To create structured mesh without red lines I use the code

lc=0.087;
Point(1) = {0, 0, 0, lc};
Point(2) = {1, 0, 0, lc};
Point(3) = {1, 1, 0, lc};
Point(4) = {0, 1, 0, lc};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Line Loop(8) = {-4,-3,-2,-1};
Plane Surface(9) = {8};
//
Transfinite Line {1} = 15 Using Progression 1.;
Transfinite Line {2} = 15 Using Progression 1.2;
Transfinite Line {3} = 15 Using Progression 1.;
Transfinite Line {4} = 15 Using Progression 1.;
//
Transfinite Surface {9} Alternate;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic2.jpg
Type: image/jpeg
Size: 57083 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130701/4059914c/attachment.jpg>