6Designing a Visualization I want a visualization of my climate model.Map your data to a plot type.ScientistVis GuyOK, stop me if you’ve heard this one. A scientist walks into a bar up and goes up to the vis guy and says: Make a visualization of my simulation run.X guy walks into a bar and goes up to 3 Y guys: Wanna hear a Y joke? You sure ...?, my buddy ...; X guy thinks about, nah, don’t want to have to explain it 3 times.2-D/3-D Compute grid: scalar or vector per point, per cell Selection + Operators
7VisIt Can Read Data Files SiloChomboGTCM3DH5NimrodSAMRAIS3DEnzoITAPSXDMFExodusFLASHEnSightVTKNetCDFCGNSNASTRANTecPlotProtein Databank (PDB)Plot3DGIS (ESRI Shapefile, DEM, many more)Image formatsDatabase reader plug-ins can be developed for new formatsVariable typesScalarVectorTensorArraysLabelMaterialSpeciesX,Y pairsVTK is Internal FormatAnybody use these for storing simulation data? Probably not.
8https://wci. llnl. gov/codes/visit - downloads https://wci.llnl.gov/codes/visit - downloads just search for: visit visualizationGetting Data Into VisIt - document ( & your project ) Silo VTK - text or binary VTK File FormatsDon’t be shy about large text data files. I have some that are 30 MB.
9Exercise 1Visit Data FilesOpen File ... DesktopVisit Data Files scalar30000.Point3D Add Pseudocolor Plot density Attributes Point size
16Clip operatorThe Clip operator clips 2D or 3D plots against planes or a sphere to remove sections of the plotsUse this operator when you want to see a cross section of a 3D plot, while still leaving the plot in 3DOriginal plotsPlots clipped with 2 planesPlots clipped with a sphere
17Threshold operatorRemoves cells whose value is not in the specified rangeUse this operator when you only want to look at cells that have values within an interesting range
18Molecular Dynamics Example Draw points as spheresOperatorsAnalysisDataBinning1200 bins in X directionUses .Point3D file as input dataData Binning Operator shows particle density
20Exercise 8Open File base.vtk Open File fluxtube.vtk ControlsAnnotation OptionsRendering ...
21AnimationTime step Variable index Geometry change View Operators (slice, clip, etc.) VisIt – Simple vtk time step to mpeg or Complex scripting to jpeg files QuickTime mov file Python interpreter - import myscript [ edit, retry ] reload(myscript)
22Movie Maker Program Java – portable to Linux, Mac, Windows Based on Sun’s javax.media package.Reads all images in directory – JPEG, PNGImageMagick: mogrify -resize 100% *.jpegCreates QuickTime movie file - .MOVEliot’s pppl.gov websitew3.pppl.gov/~efeibush
23Parallel Rendering Set Up on della – runs engine_par as batch job .cshrc or .bashrc: module load openmpi/intel-11.1/1.4.3/64 on your desktop computer - ~/.visit/hosts/host_della.xml config file for client-server operation
24Summary of Today’s Features Plots + Attributes Mesh Pseudocolor Points, Lines, Vectors, Polygons, Mesh – Color Tables Contour Molecule Volume Data files Point3D, xmdv VTKTransform operatorsScale, Rotate, TranslateSelection operatorsClipBoxThresholdSlicing operatorsSlice, ThreeSliceIsosurfaceViewingLighting, Shadow, Depth-CueAnnotationAnimationSimple Time Slider moviePython scriptingParallel RenderingJPEGs to QuickTime movie
25ResourcesVisualization with VisIt mini-course https://wci.llnl.gov/codes/visit - downloads web search: visit visualization https://trac.princeton.edu/vislab parallel rendering config file: host_della.xml visitusers.org search ...