[Gmsh] File format 2.1 in GMSH 2.5

Geordie McBain gdmcbain at freeshell.org
Tue Aug 16 12:39:39 CEST 2011


2011/8/16 Christian KLETTNER <christian_klettner at nuhs.edu.sg>:
> Dear GMSH developers,
> I am using GMSH 2.5 and would like to mesh a geometry from the command line. I was wondering if it is possible in GMSH 2.5 to
> get a binary output file in file format 2.1 (i.e. the command line options)?

Is the 2.1 part important?  I'm not sure how to do that, but you can
get a binary (2.2) from the command line with, e.g.,

$ gmsh -2 -string 'Mesh.Binary=1;' t1.geo

See

http://geuz.org/gmsh/doc/texinfo/gmsh.html#index-Mesh_002eBinary-718