gmshread CLI results in zero Field[]
Hello!
I'm trying to use the -gmshread filename
command line option to read a solution of a previous FE simulation. In particular, I would like to use it as an initial condition for another simulation without having to recompute the initial condition every time.
However, if I try to use Field[XYZ[]]
after using -gmshread
(e.g., as Constraint
of Type Init
, inside a Formulation
or in PostProcessing
), the field is always zero. According to the logs, GmshRead[]
is called using the correct input file. Has anyone successfully applied -gmshread
and could give an example?
Many thanks!
PS: I'm aware that I can use GmshRead[]
inside the resolution and then use InitFromResolution
as shown in the electromechanical relay model. However, I'd like to know if I'm simply misusing -gmshread
which would be more convenient to use.