This is an old revision of the document!
This page present some information regarding the post-treatment of results.
ElmerPost is the build-in post-processing tools of Elmer. ElmerPost reads result in Elmer Post type file (.ep
).
For transient simulation, ElmerPost doesn't upgrade directly the mesh using the variable Mesh Update
. This has to be done manually, as follow.
First define a new variable to store the initial node coordinates. Enter in the command window (bottom of the main window):
math on = nodes
Then, in the command box of the timestep window:
math nodes = on + Mesh.Update(0:2,time($t)))
A file containing a matc function can be loaded and executed from the command window:
load myscript.cmd myscript
load myscript.cmd myMATCfunction
Below is an example to construct a vector variable from 3 independent variable (useful for the AIFlow and Porous solvers):
proc tovector {} { math {Velocity=0}; math {k=size(Aiflow.1)[1];} math {Velocity(0,0:k-1)=Aiflow.1}; math {Velocity(1,0:k-1)=Aiflow.2}; math {Velocity(2,0:k-1)=0}; math {Velocity_abs=sqrt(vdot(Velocity,Velocity))}; }
Elmer can export results in vtk or vtu formats. The following solver has to be added and run after all other solvers:
Solver 17 Exec Solver = After TimeStep Exec Interval = 2 Equation = "result output" Procedure = "ResultOutputSolve" "ResultOutputSolver" Output File Name = String "myFile.vtu" Output Format = String vtu End
More information regarding this solver can be found in the Elmer documentation. All information regarding the Paraview software given here.