[Gmsh] Doubt about Gmsh

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Nov 22 19:39:02 CET 2012


On 22 Nov 2012, at 13:56, anderson nunes <nunes.anderson at gmail.com> wrote:

> Dear,
> 
> I am working on a quadrangular mesh generator and using GMSH to visualize the generated mesh. It is important for me to see the real element number, but I am having some trouble with it. See the following example:
> 
> The first element is the number one (1 3 2 1 0 1 2 7 6) , but what I see is the number 205 (see the attached image).
> $Elements
> 144
> 1 3 2 1 0 1 2 7 6
> 2 3 2 1 0 2 3 8 7
> 
> Why does it happen? What should I do the see the correct number?
> 

Currently Gmsh renumbers the elements when it writes the file to disk. (This quite annoying behaviour will be fixed in the next version of the MSH file format.)

Save the mesh and load that file: you should see the same numbers.



> Thanks in advance
> ______________
> Anderson Nunes
> <Image.PNG>_______________________________________________
> 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