[Gmsh] Reduce number of digits in key-format file

Xingsheng Sun xssun10 at gmail.com
Thu Mar 19 20:13:28 CET 2020

Hello All,

I am using Gmsh to generate the mesh file for Ls-dyna. The problem is that
in the key-format file generated by Gmsh, the coordinates of nodes have too
many digits. For instance, in the node information:

22, 0, 0.012499999999976, -0.001
23, 0, 0.02499999999995, -0.001
24, 0, 0.037499999999926, -0.001
25, 0, 0.049999999999907, -0.001

the y-coordinates of nodes 22-25 have 15 digits that cannot be read by

So could any people shed light on how to reduce the number of digits in
Gmsh? I am using command lines, not GUI. Thank you so much in advance.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200319/45115422/attachment-0001.html>

More information about the gmsh mailing list