This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tips:post [2013/06/10 15:17] mschafer [ParaView] more tips (under construction, have to stop now) |
tips:post [2013/06/27 15:57] mschafer [ParaView] Tips: finished with what I could come up with |
||
---|---|---|---|
Line 46: | Line 46: | ||
==== ParaView ==== | ==== ParaView ==== | ||
- | Elmer can export results in vtk or vtu formats. | + | Elmer can export results in vtk or vtu formats. |
< | < | ||
Solver 17 | Solver 17 | ||
Line 61: | Line 61: | ||
- | More tips when using Paraview: | + | === Some tips when using Paraview: |
- | - to visualize a variable only on one boundary condition (for example bedrock): | + | * **to visualize a variable only on one boundary condition** (for example bedrock): |
- | Add the line '' | + | - Add the line '' |
- | In paraview: Edit -> Find Data, find Cell, GeometryIDs is = ..., Run Extract Selection\\ | + | - In paraview: Edit -> Find Data, find Cell, GeometryIDs is = ..., Run Extract Selection\\ |
- | GeometryIDs usually start from 101\\ | + | - GeometryIDs usually start from 101\\ |
- | - to calculate differences between different time-steps or runs (condition: same mesh)\\ | + | * **to calculate differences between different time-steps or runs** (condition: same mesh)\\ |
- | Open both files\\ | + | - Open both files\\ |
- | 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-> | + | - 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-> |
- | Select both Calculators: | + | - Select both Calculators: |
- | Select the new AppendAttributes Item in the list (the one with the cube not the arrows)\\ | + | - Select the new AppendAttributes Item in the list (the one with the cube not the arrows)\\ |
- | Define again a Calculator with Result '' | + | - Define again a Calculator with Result '' |
- | // | + | - // |
- | - to mark a certain location by a symbol\\ | + | * **to mark a certain location by a symbol**\\ |
- | use Sources -> Sphere and define the origin as the location of your symbol\\ | + | - use Sources -> Sphere and define the origin as the location of your symbol\\ |
- | - to add a polyline on a 3D figure\\ | + | * **to add a polyline on a 3D figure**\\ |
- | save the x/y/z values of the points of the polyline in an ascii file (separated by "," | + | - save the (x,y,z) values of the points of the polyline in an ascii file (separated by "," |
- | open this file as "comma separated values" | + | - open this file as "comma separated values" |
- | define the options (with headings or not etc.)\\ | + | - define the options (with headings or not etc.)\\ |
- | use TableToPoints Filter\\ | + | - use TableToPoints Filter\\ |
- | - Crossections\\ | + | * **Crossections |
- | use " | + | - use " |
- | - .... | + | * ** do not use ° in any text**, this leads to errors when saving/ |
+ | If it has happened, open the statefile as ascii file and delete the ° and it should work again.\\ | ||
+ | * **Iso-contours**\\ | ||
+ | To draw only the lines, but not colored areas, switch " | ||
+ | * to **synchronize the view on different windows** (same zoom, view angle,...)\\ | ||
+ | - click right on the first window\\ | ||
+ | - click on '' | ||
+ | - once the window '' |