[Gmsh] Extracting / Printing variable values from a .geo file

Neilen Marais nmarais at gmail.com
Thu Jul 28 12:36:50 CEST 2011


Hi,

I would like to read some of the variable values that I set in my .geo
file into another (python) program. My program needs certain
coordinates (such as where the source is located) that depends on
variables defined in the .geo file. Is there a simple way of
extracting the values of those variables from gmsh? I'd be happy to
run gmsh and read values from stdout if neccesary.

Thanks
Neilen