[Gmsh] Mesh file format v4

Christophe Geuzaine cgeuzaine at uliege.be
Thu Aug 30 13:19:10 CEST 2018



> On 27 Aug 2018, at 11:33, Alessandro Vicini <alessandro.vicini at sitael.com> wrote:
> 
> 
> I generate a mesh using the latest v4.0 executable. If I look at the statistics I see 24207 nodes and 125393 tetrahedra.
> I export the mesh file using both v2 and v4 ascii formats. Now, in the v2 format file I see:
> 
> $Nodes
> 22775
> 
> While in the v4 format file I see:
> 
> $Nodes 
> 887 24177
> 
> My question is: why the total number of nodes is different in the two files, and why is it different from what I see in the statistics?

In MSH4 we currently save some nodes that are generated but not used in elements: this will be fixed in the next bug fix release.


> By the way, if I generate the mesh with version 3.0.6 I obtain a different number of nodes and tetrahedral using the same meshing options; do I have to expect this?

Yes: the algorithms have been reworked a lot, so you should expect a (slightly) different number of elements.

Christophe


> Thanks.
> 
> A.
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

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

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list