[[PageOutline]] = VisIt tutorial for PRACE SoHPC at EPCC = This tutorial is a compilation of the tutorial made by Brandt Westing from the Texas Advanced Computing Center, University of Texas at Austin, and modified for newer version of VisIt 2.6.2. Example data [attachment:noise.silo] is part of VisIt data samples. [[Image(ex1.png,right,244)]] To be able to run VisIt at EPCC prepare the PATH environment by typing: {{{ #!sh export PATH=/opt/visit-2.6.2/bin:${PATH} }}} Images are shown reduced to preserve spacing. If interested klick on them to compare your screen with natural size. == Contours of a scalar variable == 1. Open VisIt and `noise.silo` with a single command or use File -> Open {{{ #!sh visit -o /opt/visit-2.6.2/data/noise.silo }}} 1. Type `Ctrl+I` to display info about the data opened and then close the window 1. Click Add -> Contour -> hardyglobal 1. Click Draw 1. Double click on Contour (or Right-click ->Edit plot description) 1. Under select by choose ->N Levels enter 5 1. Change the opacity levels 1. Click Apply 1. Click Dismiss 1. Click Delete == Pseudocolor and Isosurfaces for a scalar variable == [[Image(ex2.png, 500, right)]] 1. Click Add -> Pseudocolor -> hardyglobal 1. Click Draw 1. Click Operator -> Slicing -> Isosurface 1. Click Draw 1. Click Arrow to expand 1. Double-Click Isosurface 1. Under `Select by` choose ->Percent(s) enter 40 1. Click Apply 1. Rotate with a mouse We will add additional isosurface at 80% 1. Double-Click -> Pseudocolor 1. Change Opacity 1. Click Apply & Dismiss 1. Click Add -> Pseudocolor -> hardyglobal 1. Click Operator -> Slicing -> Isosurface 1. Click Arrow to expand 1. Double-Click Isosurface 1. Disable `Apply operators to all plots` on GUI window 1. Under `Select by` choose ->Percent(s) enter 80 1. Click Apply -> Dismiss -> Draw [[Image(ex3.png,right,180)]] == Clip Isosurfaces == 1. Click and enable -> apply operators and selection to all plots 1. Click Operators -> Selection -> Clip 1. Click Draw 1. Double-Click -> Clip 1. Click Plane 2 1. Click Apply & Dismiss 1. Click x (to delete) 1. Click Draw [[Image(ex4.png,right,180)]] == Slice Isosurfaces == Continue from previous example. 1. Click Operators -> Slicing -> Slice 1. Click Draw 1. Double-Click -> Slice 1. Click Z-Axis & Project to 2D 1. Click Apply 1. Click Dismiss [[Image(ex5.png,right,170)]] == Create Glyph of Vector == 1. Unselect Apply operators/ selection to all plots 1. Click Add -> Vector -> airVfGradient 1. Click Draw 1. Double click on Vector 1. Under N vectors enter 4000 1. Click Apply 1. Click Dismiss 1. Click {{{Hide/Show}}} to hide. == Create Streamlines == [[Image(ex6.png,right,200)]] 1. Click Add -> Streamline -> grad 1. Double click on Streamline 1. Under Source Type Select Plane 1. Enter: - Samples in X: 8 - Samples in Y: 8 - Streamline Direction Both 1. Click Apply 1. Click Dismiss 1. Click Draw 1. Double click on Streamline 1. Click on Appearance 1. Under draw as select Tubes 1. Click Apply 1. Under Data Value select Variable 1. Under Variable select Scalars -> hardyglobal 1. Click Apply 1. Under Color -> Color table, click Default Choose hot_desaturated 1. Click Apply & Dismiss [[Image(ex7.png,right,200)]] == Background Color and Legend == Continue from previous example. 1. Click on Controls -> Annotation (Ctrl+N) 1. Click on Colors 1. Select Black for Background and White for Foreground 1. Click Apply 1. Click on General 1. Click `No annotations` 1. Click legend 1. Click Apply & Dismiss 1. Hide Pseudocolor Plots [[Image(ex8.png,right,200)]] == Create Slice == Continue from previous example. 1. Click Add -> Pseudocolor -> grad_magnitude 1. Click Draw 1. Click Operator -> Slicing -> Slice 1. Double click on Slice 1. Select Z Axis 1. Unselect project to 2D 1. Click Apply & Dismiss 1. Click Draw 1. Click `Hide/Show` on Streamline to show plots together 1. Hide everything == Create Volume Rendering == Continue from previous example. 1. Click Add -> Volume -> grad_magnitude 1. Click Draw (This might take some time but we continue anyway) 1. Double click on Volume 1. Change 1D Transfer Function graph by freely drawing in Opacity and removing lower range intensities.[[Image(ex9-opacity.png,right,200)]] 1. Click Apply 1. Click Dismiss 1. Show previous plots and explore results by rotating, zooming, switching ... [[Image(ex9.png,center)]]