[Gmsh] writing to a file
Christophe Geuzaine
cag32 at case.edu
Tue Nov 29 02:00:02 CET 2005
Manav Bhatia wrote:
> Hi
>
> Is it possible to write some data to a user defined file from inside
> the Gmsh script?
>
You can save a post-processing view like this:
Save View[3] "myfile.pos";
(You can choose the format by changing "PostProcessing.Format". For
example, "PostProcessing.Format=4;" would save the view in a "text"
format suitable for excel, gnuplot, etc.)
To save a mesh, use
Save "myfile.msh";
The format can be changed with "Mesh.Format"
>
> Thanks
> Manav
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
--
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine