[Gmsh] 3D Mesh not generated

Lakshmi Selvakumaran lakshmi.selvakumaran at kaust.edu.sa
Wed Aug 14 14:19:05 CEST 2013


Hi,

I am trying to generate a simple 3D mesh of a plate of size 50 X 50 X 0.01.
 I started with the 2D code of the same plate
and it works well.
When I tried to extend it to 3D using extrude command, I am unable to see
the mesh eventhough my terminal says that
3D mesh has been generated.  Could you please tell me whether my code has
any mistake?  Below is the code for your
reference.

Point(1) = {25, 25, 0, 1.0};
Point(2) = {-4, 25, 0, 1.0};
Point(3) = {-6, 25, 0, 1.0};
Point(4) = {-14, 25, 0, 1.0};
Point(5) = {-16, 25, 0, 1.0};
Point(6) = {-25, 25, 0, 1.0};
Point(7) = {-25, -25, 0, 1.0};
Point(8) = {-16, -25, 0, 1.0};
Point(9) = {-14, -25, 0, 1.0};
Point(10) = {-6, -25, 0, 1.0};
Point(11) = {-4, -25, 0, 1.0};
Point(12) = {25, -25, 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, 9};
Line(9) = {9, 10};
Line(10) = {10, 11};
Line(11) = {11, 12};
Line(12) = {12, 1};

Line Loop(5) = {1,2,3,4,5,6,7,8,9,10,11,12};
Plane Surface(60) = {5};
Physical Line(100)={1,3,5,6,7,9,11,12};
Physical Line('elec1')={2};
Physical Line('elec2')={4};
Physical Line('elec3')={8};
Physical Line('elec4')={10};

Physical Surface(200)={60};

Transfinite Line(1)=29;
Transfinite Line(2)=3;
Transfinite Line(3)=8;
Transfinite Line(4)=3;
Transfinite Line(5)=9;
Transfinite Line(6)=50;
Transfinite Line(7)=9;
Transfinite Line(8)=3;
Transfinite Line(9)=8;
Transfinite Line(10)=3;
Transfinite Line(11)=29;
Transfinite Line(12)=50;

Transfinite Surface(60)={1,6,7,12};
Recombine Surface(60);

Extrude {0,0,1.01} {Surface{60}; Layers{2}; Recombine; }

Thanks.

Best regards
Lakshmi.

-- 

------------------------------
This message and its contents, including attachments are intended solely 
for the original recipient. If you are not the intended recipient or have 
received this message in error, please notify me immediately and delete 
this message from your computer system. Any unauthorized use or 
distribution is prohibited. Please consider the environment before printing 
this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130814/c18404b8/attachment.html>