[Gmsh] meshing differences between version 1.65.0 and 2.0.4
Daniel Wheeler
daniel.wheeler at nist.gov
Tue Mar 20 15:36:16 CET 2007
Hi,
I have been updating a computer code to use the new gmsh 2.0 file
format. In the process I noticed that
the new version of gmsh seems to a produce different mesh when given
the same .gmsh input file. The code to create the mesh is:
cellsize = 0.0952380952381 ;
height = 2.0 ;
spacing = 1.0 ;
Point(1) = {0 , 0, 0, cellsize } ;
Point(2) = {spacing, 0, 0, cellsize } ;
Point(3) = {0 , height , 0, spacing } ;
Point(4) = {spacing, height, 0, spacing } ;
Line(5) = {1, 2} ;
Line(6) = {2, 4} ;
Line(7) = {4, 3} ;
Line(8) = {3, 1} ;
Line Loop(9) = {5, 6, 7, 8} ;
Plane Surface(10) = {9} ;
This is basically a box that forms 2D triangles when meshed.
Using version 1.65.0, the mesh produced by doing
$ gmsh box.gmsh -2
where box.gmsh contains the commands above,
produces a mesh with 33 nodes and 75 elements. When version 2.0.4 is
used, the mesh has 87 vertices and 172 elements.
Should the default meshing be different between these two versions?
Thanks.
--
Daniel Wheeler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20070320/28580819/attachment.html>