[Gmsh] meshing differences between version 1.65.0 and 2.0.4

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Mar 25 12:34:19 CEST 2007


Hi Daniel - Thanks for the feedback: this will be fixed in the next
version (it's already fixed in the latest nightly snapshots).

Christophe


Daniel Wheeler wrote:
> 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
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine