[Gmsh] Problem with node numbering, is this a bug?

kamyar malakpoor k.malakpoor at yahoo.com
Mon Mar 3 11:19:43 CET 2008


Dear All,

I have compiled the following .geo file. In the option I choose second order mesh and will see the node connectivity:

elem 1:  1 2 5 6 7 9 13 12
elem 2:  6 5 3 4 13 8 10 11

But after saving to .msh file I get a totally different connectivity. Is this bug or should I add some line to my code to get what I see in the gui?

Thanks
Kamyar


lc = 0.009;
Point(1) = {0, 0, 0, lc};
Point(2) = {1, 0,  0, lc} ;
Point(3) = {1, 3, 0, lc} ;
Point(4) ={0,3,0,lc} ;
Line(1) = {1,2} ; 
Line(2) = {3,2} ; 
Line(3) = {3,4} ; 
Line(4) = {4,1} ;
Line Loop(5) = {4,1,-2,3} ;
Plane Surface(6) = {5} ;
Transfinite Line{4} = 3 ;
Transfinite Line{1} = 2 ;
Transfinite Line{3} = 2 ;
Transfinite Line{2} = 3 ;
Transfinite Surface{6} = {1,2,3,4};
Recombine Surface{6};
Mesh.Smoothing = 100;


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080303/c9712acd/attachment.html>