[Gmsh] save mesh with geo file

Bernd Hahnebach gmsh at b75.ch
Tue Dec 8 13:18:47 CET 2015


Hi gmsh users,

I have a simple geo file to mesh some step geometry. How do I save the  
mesh file to disk ?

bernd



Merge "box.step";

Mesh.Algorithm3D = 5;
// 1=Delaunay, 4=Frontal, 5=Frontal Delaunay, 6=Frontal Hex, 7=MMG3D, 9=R-tree
// default = 1

//Mesh  2;  // surface
Mesh  3;  // volume

Mesh.Format = 2;
// 1=msh, 2=unv, 10=automatic, 19=vrml, 27=stl, 30=mesh, 31=bdf,  
32=cgns, 33=med, 40=ply2
// default = 10

Mesh.SaveAll = 1;
// Ignore Physical definitions and save all elements