[Gmsh] clear in geo file

Bernd Hahnebach gmsh at b75.ch
Tue Jan 19 10:59:40 CET 2016

I'm looking for a GMSH command for geo files equal to File --> Clear  
in the GMSH GUI

I'd like to do the following (simplyfied) in a geo file ...

Mesh.Format = 2;

Merge "box_cone.brep";
Mesh  3;
Save "box_cone.unv";

// clear Geometry

Merge "box_cylinder.brep";
Mesh  3;
Save "box_cylinder.unv";


More information about the gmsh mailing list