[Gmsh] Error in -save_all option

Christophe Geuzaine cgeuzaine at uliege.be
Wed Dec 6 23:40:08 CET 2017

> On 6 Dec 2017, at 13:45, Markand Pathak <markand.pmtmc16 at sot.pdpu.ac.in> wrote:
> Respected,
> I am using gmsh to generate 2d mesh for large number of similar geometries(2D).
> My command looks like..
> gmsh -2 input.geo -o output.inp
> When i import the generated inp file to fluent it shows error that the given mesh is 3d instead of 2d. 
> However using gui when i export as inp while enabling both options save all and save physical groups, the mesh can be imported successfully with all physical groups visible in boundary zones of fluent.
>  In command line -save_all(as per documentation) is not defined and gives error. After some trial and error I can do same with option -saveall( note: removed underscore) 

Indeed; this is now fixed.

> Now problem is i can import mesh in fluent successfully but physical groups are no longer available in mesh as well as fluent. And there is no command line option to save physical groups. Please help with the command line options to preserve groups definition.


Mesh.SaveAll = 1;
Mesh.SaveGroupsOfNodes = 1;

in your .geo file.

> Thank you!
> Markand Pathak
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

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

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

More information about the gmsh mailing list