View zero-th frame in transient simulations

Post processing utility for Elmer
Post Reply
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

View zero-th frame in transient simulations

Post by mzenker »

Hi,

is there a way to view the initial state (zreo-th frame) in a animation? I always see the state _after_ the first timestep in ElmerPost, but I would also like to sse the state _before_ the first timestep.

Thank you,

Matthias
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: View zero-th frame in transient simulations

Post by raback »

Hi

Well, maybe not for the standard "Post file" option but if you use ResultOutputSolver you can set for it

Code: Select all

Exec Solver = before timestep
-Peter
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: View zero-th frame in transient simulations

Post by mzenker »

Hi Peter,

if I use ResultOutputSolver as you suggested, the first view is much nearer to the initial state, but still not what I expect.
I have two adjacent bodies with different initial temperatures, one of them kept constant over time, and I would expect a jump in temperature at the interface before the first timestep. But there is already a slight heat diffusion into the second body.
Do you have an explanation for that?

Thank you,

Matthias
Juha
Site Admin
Posts: 357
Joined: 21 Aug 2009, 15:11

Re: View zero-th frame in transient simulations

Post by Juha »

Hi Matthias,
The color within elements is based on the interpolated values from the nodal points. If the two bodies
share nodes, there can't be jumps on interfaces. This is btw. also how the nodal basis function based
variables in FEM are constructed.
-Juha
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: View zero-th frame in transient simulations

Post by mzenker »

Thank you for this clarification! So what I see (with ResultOutputSolver + gmsh) is really the initial state.
Did I understand correctly that there is no way to see it in ElmerPost?
I did not yet find an elegant way to create animations with gmsh...

Thank you,

Matthias
Juha
Site Admin
Posts: 357
Joined: 21 Aug 2009, 15:11

Re: View zero-th frame in transient simulations

Post by Juha »

Hi,
the ResultOutputSolve can also write elmerpost files, just do

Code: Select all

Output Format = String "Elmerpost"
Juha
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: View zero-th frame in transient simulations

Post by mzenker »

Great, it works now!
The only small quirk is that ElmerPost thinks that the first image is _after_ the first timestep, so the time shown has an offset of one timestep.
For the records:
* The filename given to ResultOutputSolver has to be changed so that the output file is not overwritten by the "normal" ElmerPost output file
* ElmerGUI does not know Output Format = ElmerPost. I have added it in resultoutput.xml (see attachment, initial file was contained in Rev. 5270)

Thank you!

Matthias
Attachments
resultoutput.xml
(4.17 KiB) Downloaded 401 times
Post Reply