[Gmsh] extrude locally refined 2d mesh

David Eržen erzen.david at gmail.com
Thu Nov 7 10:33:39 CET 2013


Hello,

I would like to extrude a locally refined 2d mesh using this geo file

cl1 = 10;
cl2 = 1;
Point(1) = {0, 0, 0, cl1};
Point(2) = {100, 0, 0, cl1};
Point(3) = {100, 100, 0, cl1};
Point(4) = {0, 100, 0, cl1};
Point(5) = {30, 30, 0, cl2};
Point(6) = {100, 100, 1, cl1};
Point(7) = {0, 100, 1, cl1};

Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};

Line Loop(6) = {3, 4, 1, 2};
Plane Surface(6) = {6};
Point {5} In Surface {6};

Extrude {0,0,20} {
Surface{6}; Layers{ {1},{1} }; 
Recombine;
}


When I click 2D  or 3D buttons in mesh menu, I get errors.

Does anybody know the reason for this error? I searched the web 
unsuccesfully. :(

Best regards, 

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20131107/67fdde94/attachment.html>