[Gmsh] negative z values in version 4.3.0

Christophe Geuzaine cgeuzaine at uliege.be
Tue Feb 18 08:30:26 CET 2020

> On 18 Feb 2020, at 07:06, Komal Kumari <komu06c at gmail.com> wrote:
> I am generating msh file in version 4.3.0 and exporting it in version 2 ASCII format because I have written code to read 2.2 0 8 MeshFormat. In it some of the z-coordinate are showing negative values. However, if I am generating msh file in version 2.7.0 using the same geo file used earlier, no negative values is there but appropriate Physical names are not coming.I am attaching geo file ad msh file of both version. Please let me know how to tackle negative z values.

Your "plane surface" is not plane: the z-coordinates of points on its boundary range from 1 to 102.

Newer versions of Gmsh compute the "best" plane surface computed in the least-square sense.


> <xyz_full.geo><xyz_version_2.7.msh><xyz_version_4_format_2.2>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 1 

More information about the gmsh mailing list