[Getdp] Variables acces between gmsh and getdp
Gilles Grégoire
schaouette at free.fr
Tue Dec 20 15:12:06 CET 2005
Le Mardi 20 Décembre 2005 12:31, Arkadiusz Wasylkow a écrit :
> Hi
> I'm getting a bit dizzy, the best place for post calculation should
> be .pro file or gmsh script file ? I would like to use Integrate plugin and
> do some caluclations
> n integrals and display value together with vector views. But for
> calculation I also need some defined constants and variables from geometry
> and .pro file.
> What is possible:
> - get variables from .geo and use them in .pro ?
> - get variables from .pro and use them in post processing ?
> - combine geometry file with post procesing (and run getdp at once ) ?
Did you try to define the values needed by both GetDP and Gmsh in a separate
file, for example parameter.dat ?
This will allow you to access these values within GetDP and Gmsh by including
this file into both your .pro and .geo files (Include "parameter.dat").
>
> My aim is also to reduce number of files where I need to put the input
> values.
>
>
> Thanks in advance
>
> Arkadiusz Wasylków
--
Gilles Grégoire