Warning: Undefined array key 1 in /home/np29546/public_html/elmerice/wiki/inc/auth.php on line 78

Warning: Cannot modify header information - headers already sent by (output started at /home/np29546/public_html/elmerice/wiki/inc/auth.php:78) in /home/np29546/public_html/elmerice/wiki/inc/auth.php on line 431

Warning: Cannot modify header information - headers already sent by (output started at /home/np29546/public_html/elmerice/wiki/inc/auth.php:78) in /home/np29546/public_html/elmerice/wiki/inc/actions.php on line 38
tips:post [Elmer/Ice Wiki]

This is an old revision of the document!


Table of Contents

Post-treatments

This page present some information regarding the post-treatment of results.

ElmerPost

ElmerPost is the build-in post-processing tools of Elmer. ElmerPost reads result in Elmer Post type file (.ep).

Mesh deformation

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)))

Useful scripts

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))};
}

ParaView

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.

tips/post.1353995786.txt.gz · Last modified: 2012/11/27 05:56 by gag
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0