[Gmsh] Structured 2D mesh for structure more than 8 corners !

Gladiator Gladiator gladiator_gray at yahoo.com
Wed Feb 15 14:41:11 CET 2017


Dear all,
I am trying to make a structured mesh for following algorithm, but I could not make it.
And my mesh is still unstructured !
Would you please let me know where I made a mistake ?Many thanks,
this is my algorithm://**********************************
Point(1) = {0, 0, 0, 1.0};
Point(2) = {10, 0, 0, 1.0};
Point(3) = {10, 4, 0, 1.0};
Point(4) = {5, 4, 0, 1.0};
Point(5) = {5, 5, 0, 1.0};
Point(6) = {10, 5, 0, 1.0};
Point(7) = {10, 10, 0, 1.0};
Point(8) = {0, 10, 0, 1.0};


Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 5};
Line(5) = {5, 6};
Line(6) = {6, 7};
Line(7) = {7, 8};
Line(8) = {8, 1};

Line Loop(9) = {7, 8, 1, 2, 3, 4, 5, 6};

Plane Surface(10) = {9};
Physical Surface(11) = {10};

Transfinite Line {2}=5;
Transfinite Line {6}=6;
Transfinite Line {8}= 11;
Transfinite Line {7}= 11;
Transfinite Line {1}= 11;
Transfinite Line {3,5} =6;
Transfinite Line {4} = 2;

Transfinite Surface {10}={5,6,7,8,1,2,3,4};
Recombine Surface {10};

Again, thank you all,Best,
Gladi, PhD student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170215/a5c1edca/attachment.html>


More information about the gmsh mailing list