[Gmsh] save mesh with geo file
Bernd Hahnebach
gmsh at b75.ch
Tue Dec 8 18:19:28 CET 2015
Found myself it is possible to get the saved mesh file by running gmsh
from win comand promt or linux shell by
windows:
cd C:\Users\bhb\Desktop\gmsh-mit-geo
C:\Daten\gmsh-2.10.0-Windows\gmsh.exe -3 femmesh.geo
linux:
gmsh -3 femmesh.geo
It is possible to open a geo and with "Mesh 3;" immedately mesh the
geometry. In adition I would like to save the femmesh.unv at the same
process while open the femmesh.geo from gui. I could not found an
option for that at the tutorials page of gmsh.
bernd
again the content of femmesh.geo:
Merge "box.step"; // some simple box
Mesh.Format = 2
Mesh.SaveAll = 1
// some line to save the unv file ?
-----------------------------------------------------------
Zitat von Bernd Hahnebach <gmsh at b75.ch>:
> 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
>
>
>
>
>
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>