[Gmsh] Element output information doesn't match actual number of elements

Alexander Lindsay adlinds3 at ncsu.edu
Wed Dec 2 13:24:32 CET 2015


Aww that would do it! Thanks!

> On Dec 2, 2015, at 1:49 AM, Christophe Geuzaine <cgeuzaine at ulg.ac.be> wrote:
> 
> 
>> On 01 Dec 2015, at 18:02, Alex Lindsay <adlinds3 at ncsu.edu> wrote:
>> 
>> Hi all,
>> 
>> I'm creating a 1-D mesh. When meshing, gmsh outputs this information:
>> 
>> Info    : Running 'gmsh liquidNew.geo -1' [Gmsh 2.8.3, 1 node, max. 4 threads]
>> Info    : Started on Tue Dec  1 11:46:54 2015
>> Info    : Reading 'liquidNew.geo'...
>> Info    : Done reading 'liquidNew.geo'
>> Info    : Meshing 1D...
>> Info    : Meshing curve 1 (Line)
>> Info    : Meshing curve 2 (Line)
>> Info    : Meshing curve 3 (Line)
>> Info    : Meshing curve 4 (Line)
>> Info    : Meshing curve 5 (Line)
>> Info    : Meshing curve 6 (Line)
>> Info    : Meshing curve 7 (Line)
>> Info    : Meshing curve 8 (Line)
>> Info    : Meshing curve 9 (Line)
>> Info    : Meshing curve 10 (Line)
>> Info    : Meshing curve 11 (Line)
>> Info    : Meshing curve 12 (Line)
>> Info    : Meshing curve 13 (Line)
>> Info    : Meshing curve 14 (Line)
>> Info    : Meshing curve 15 (Line)
>> Info    : Done meshing 1D (0.087453 s)
>> Info    : 1008 vertices 1023 elements
>> Info    : Writing 'liquidNew.msh'...
>> Info    : Done writing 'liquidNew.msh'
>> Info    : Stopped on Tue Dec  1 11:46:54 2015
>> However, if I go into the .msh file, there are actually 1007 elements (as there should be). Where does the 1023 number come from?
> 
> You probably only save some of the elements in the mesh file, depending on your "Physical group" definitions.
> 
> Christophe
> 
> 
>> Have others seen similar disagreements?
>> 
>> Alex
>> _______________________________________________
>> 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
> 
> Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
> Free software: http://gmsh.info | http://getdp.info | http://onelab.info
>