Hi
Because my time step can change all the time, I cannot rely on time step and output intervals. I want to be able save my field variables in say .vtu format for display by Paraview , at specified time values say units of seconds. I dont know if ElmerSolver can handle that. It seems to me it will only call ResultOutputSolver based on a running index whose max value is set by the given output intervals.
Thanks in advance whatever the case may be
How to save data on disk at given time
-
- Site Admin
- Posts: 4812
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: How to save data on disk at given time
Hi
For any solver you should be able to device a keyword
that can be a function of the global variables (time, timestep size,...). The solver is executed only when the values is greater than 0.
-Peter
For any solver you should be able to device a keyword
Code: Select all
Exec Condition = Real
-Peter
Re: How to save data on disk at given time
my variable name is
resetflag
but the parser in ElmerSolver rejected
Exec Condition = Real resetflag
as well as
Exec Condition = Variable resetflag
However from an old (2013) thread
Exec Condition = Equals resetflag
seems to works fine. So I hope this is the correct syntax
Regards
resetflag
but the parser in ElmerSolver rejected
Exec Condition = Real resetflag
as well as
Exec Condition = Variable resetflag
However from an old (2013) thread
Exec Condition = Equals resetflag
seems to works fine. So I hope this is the correct syntax
Regards
Re: How to save data on disk at given time
Minor point but I found out that
Exec Condition = Equals resetflag
will execute the solver not only when resetflag is positive but 0 as well
Exec Condition = Equals resetflag
will execute the solver not only when resetflag is positive but 0 as well