Elmer Tutorial for Visualization ElmerTeam CSC IT Center for - - PowerPoint PPT Presentation

elmer
SMART_READER_LITE
LIVE PREVIEW

Elmer Tutorial for Visualization ElmerTeam CSC IT Center for - - PowerPoint PPT Presentation

Elmer Tutorial for Visualization ElmerTeam CSC IT Center for Science Ltd. PATC Elmer Course CSC, August 2012 Visualization with ElmerPost How to write files for ElmerPost Default suffix is .ep May be requested in Simulation section Post


slide-1
SLIDE 1

Elmer

Tutorial for Visualization

ElmerTeam CSC – IT Center for Science Ltd.

PATC Elmer Course

CSC, August 2012

slide-2
SLIDE 2

Visualization with ElmerPost

slide-3
SLIDE 3

How to write files for ElmerPost

Default suffix is .ep May be requested in Simulation section Post File = case.ep Or using ResultOutputSolver with Output format = ElmerPost

slide-4
SLIDE 4

Loading data

Assume data in case.ep File -> Open -> case.ep Here the timesteps are chosen If element edges or sides are not defined for BCs they may have to be created here

slide-5
SLIDE 5

Solid color

slide-6
SLIDE 6

Moving object in ElmerPost

Rotate

– Mouse: Right bottom – Click: – Command line, e.g.: rotate 30 45 60

Scale

– Mouse: Both bottoms – Click: – Command line: scale 1 10 1

Translate

– Mouse: Left bottom – Click: – Command line: translate 1 2 3

slide-7
SLIDE 7

Setting background color

Click:

– Edit -> Background – Set 100.0 100.0 100.0 for white

Command line

– background 100 100 100

slide-8
SLIDE 8

Color mesh with surface + edges

slide-9
SLIDE 9

Plotting isosurfaces

slide-10
SLIDE 10

Using clip planes

slide-11
SLIDE 11

Isosurface + surface plot + clip planes

slide-12
SLIDE 12

Vector plots

slide-13
SLIDE 13

Vector plot + solid surface

slide-14
SLIDE 14

Surface plot + Isosurfaces + Opaque

slide-15
SLIDE 15

Change of colormap

slide-16
SLIDE 16

Selecting active geometric entities

slide-17
SLIDE 17

Saving figures

File -> Save Image -> jpg

slide-18
SLIDE 18

Deformation in geometry

Assume displacement field in variable ”Displacement” Set in command windows: math n0=nodes math nodes=n0+Displacement Replot

slide-19
SLIDE 19

Visualization with Paraview

slide-20
SLIDE 20

Exporting 2D/3D data: ResultOutputSolve

An example shows how to save data in unstructured XML VTK (.vtu) files to directory ”results” in single precision binary format. Solver n Exec Solver = after timestep Equation = "result output" Procedure = "ResultOutputSolve" "ResultOutputSolver" Output File Name = "case" Output Format = String ”vtu” Binary Output = True Single Precision = True Save Geometry Ids = True End

slide-21
SLIDE 21

Filename conventions

Suffix of unstructured XML based VTU file is .vtu Timesteps numbered #step Partitions numbered with #partpar#step Holder for vtu files in parallel is .pvtu

slide-22
SLIDE 22

Loading data

Note: Paraview may have several datasets at the same time!

slide-23
SLIDE 23

Solid color

slide-24
SLIDE 24

Moving object in Paraview

Rotate

– Mouse: Left bottom

Scale

– Mouse: Right bottom

Translate

– Mouse: Center bottom

slide-25
SLIDE 25

Setting background color

slide-26
SLIDE 26

Color mesh with surface + edges

slide-27
SLIDE 27

Paraview uses extensively filters to create new datasets Filters and datasets may be set active or passive by clicking the eye Several datasets may be visualized at the same time

slide-28
SLIDE 28

Plotting a slice

slide-29
SLIDE 29

Plotting a clip

slide-30
SLIDE 30

Vector plot

slide-31
SLIDE 31

Vector plot + opaque solid surface

slide-32
SLIDE 32

Vector plot + solid surface with Id treshold

slide-33
SLIDE 33

Change of colormap

slide-34
SLIDE 34

Deformation – WarpByVector filter

slide-35
SLIDE 35

Plot line – PlotOverLine filter

slide-36
SLIDE 36

Streamlines – Filter StreamTracer

slide-37
SLIDE 37

Partitioning – Connectivity filter

slide-38
SLIDE 38

Saving figures

slide-39
SLIDE 39

Saving animations with Paraview

The only packing method that comes with Paraview by default is motion AVI It is advicable to save the animation as separate files You may use ElmerClips to make mpg animations of the separate png figures