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: Undefined array key "DOKU_PREFS" in /home/np29546/public_html/elmerice/wiki/inc/common.php on line 2082

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/common.php on line 2090

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]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tips:post [2013/06/10 15:17]
mschafer [ParaView] more tips (under construction, have to stop now)
tips:post [2013/06/14 15:30]
mschafer [ParaView]
Line 46: Line 46:
  
 ==== ParaView ==== ==== ParaView ====
-Elmer can export results in vtk or vtu formats. The following solver has to be added and run after all other solvers:+Elmer can export results in vtk or vtu formats. Since version 6128, this can be done automatically by setting the extension of the ''Post File'' to ''vtu'' in the Simulation section. Doing so, only a vtu output file is created (no ep file for ElmerPost). Alternatively, the following solver  can be added and run after all other solvers:
 <code> <code>
 Solver 17 Solver 17
Line 61: Line 61:
  
  
-More tips when using Paraview: //[under construction, more + proper formatting to come]//\\ +=== More tips when using Paraview: === 
-to visualize a variable only on one boundary condition (for example bedrock):\\ + //[under construction, more + proper formatting to come]//\\ 
-Add the line ''Save Geometry Ids = Logical True'' to your sif-file\\ +  * **to visualize a variable only on one boundary condition** (for example bedrock):\\ 
-In paraview: Edit -> Find Data, find Cell, GeometryIDs is = ..., Run Extract Selection\\ +Add the line ''Save Geometry Ids = Logical True'' to your sif-file\\ 
-GeometryIDs usually start from 101\\ +In paraview: Edit -> Find Data, find Cell, GeometryIDs is = ..., Run Extract Selection\\ 
-to calculate differences between different time-steps or runs (condition: same mesh)\\ +GeometryIDs usually start from 101\\   
-Open both files\\ +  * **to calculate differences between different time-steps or runs** (condition: same mesh)\\ 
-Define for both files a Calculator to copy the variables that you want to calculate the difference from under another name, for example //Result ArrayName = temp1 (temp2)// for //Value = Scalars-> temp//\\ +Open both files\\ 
-Select both Calculators: Filters -> Append Attributes\\ +Define for both files a Calculator to copy the variables that you want to calculate the difference from under another name, for example //Result ArrayName = temp1 (temp2)// for //Value = Scalars-> temp//\\ 
-Select the new AppendAttributes Item in the list (the one with the cube not the arrows)\\ +Select both Calculators: Filters -> Append Attributes\\ 
-Define again a Calculator with Result ''ArrayName=difftemp'' and ''Value= Scalars->temp2 - Scalars->temp1''\\ +Select the new AppendAttributes Item in the list (the one with the cube not the arrows)\\ 
-//difftemp// contains now the difference\\ +Define again a Calculator with Result ''ArrayName=difftemp'' and ''Value= Scalars->temp2 - Scalars->temp1''\\ 
-to mark a certain location by a symbol\\ +//difftemp// contains now the difference\\ 
-use Sources -> Sphere and define the origin as the location of your symbol\\ +  * **to mark a certain location by a symbol**\\ 
-to add a polyline on a 3D figure\\ +use Sources -> Sphere and define the origin as the location of your symbol\\ 
-save the x/y/z values of the points of the polyline in an ascii file (separated by "," or another symbol) with the ending ".csv"\\ +  * **to add a polyline on a 3D figure**\\ 
-open this file as "comma separated values"-file in paraview\\ +save the (x,y,zvalues of the points of the polyline in an ascii file (separated by "," or another symbol) with the ending ".csv"\\ 
-define the options (with headings or not etc.)\\ +open this file as "comma separated values"-file in paraview\\ 
-use TableToPoints Filter\\ +define the options (with headings or not etc.)\\ 
-Crossections\\ +use TableToPoints Filter\\ 
-use "Slice" or "Clip"\\ +  * **Crossections of the ice-body**\\ 
-- .... +use "Slice" or "Clip"\\ 
 +  * ** do not use ° in any text**, this leads to errors when saving/loading a statefile.\\ 
 +In this case open the statefile as ascii and delete the ° and it should work again.\\ 
 +  *  **Iso-contours**\\ 
 +If you want to draw only the lines, but not colored areas, switch "Compute Normals off", that helps in most of the cases.\\ 
 +  * to **synchronize the view on different windows** (same layout)\\ 
 + ...... 
 +  
tips/post.txt · Last modified: 2013/06/27 15:57 by mschafer
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