Scientific Visualization with VisIt Eliot Feibush Bum Shik Kim Zach Kaplan PRINCETON PLASMA PHYSICS LABORATORY PICSciE Princeton Institute for Computational.

Slides:



Advertisements
Similar presentations
Scientific & technical presentation Structure Visualization with MarvinSpace Oct 2006.
Advertisements

ParaView SC06 Workshop on Ultra-Scale Visualization Monday, November 13, 2006 Kenneth Moreland Sandia National Laboratories Sandia is a multiprogram laboratory.
Yingcai Xiao Chapter 6 Fundamental Algorithms. Types of Visualization Transformation Types 1.Data (Attribute Transformation) 2.Topology (Topological Transformation)
Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
Visualization Data Representation Ray Gasser SCV Visualization Workshop – Fall 2008.
Scientific Visualization Using ParaView – Fall 2014
ParaView Tutorial Greg Johnson, Karla Vega. Before we begin… Make sure you have ParaView installed so you can follow along in the lab section –
Scientific Visualization with VisIt
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
Scientific Visualization with ParaView Robert Putnam IS&T Scientific Visualization Tutorial – Spring 2011.
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Object Representation 고려대학교 컴퓨터 그래픽스 연구실.
McIDAS-V McIDAS-V The 5 th Generation of McIDAS by Tom Whittaker Space Science and Engineering Center University of Wisconsin-Madison USA with contributions.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Information Visualization.
Slide 1 Visualization of scientific data under Linux - Techniques and data wrangling Mike Walterman, Manager of Graphics Programming, Scientific Computing.
Multimedia for the Web: Creating Digital Excitement Multimedia Element -- Graphics.
IS&T Scientific Visualization Tutorial Erik Brisson Introduction to Scientific Visualization.
Scientific Visualization with ParaView Ray Gasser IS&T Scientific Visualization Tutorial – Spring 2010.
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
IS&T Scientific Visualization Tutorial Erik Brisson Introduction to Scientific Visualization.
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
Where it started Kitware Medical / Weather Imaging
ESRM 250 & CFR 520: Introduction to GIS © Phil Hurvitz, KEEP THIS TEXT BOX this slide includes some ESRI fonts. when you save this presentation,
Current Visualization Software NCL, Amira, and OpenDX By Drew Brumm.
ElVis Features & Animations Michael Shmulevich PPPL Summer High School Intern Mentor – Eliot Feibush August 14, 2008.
CGPage: 1 東吳資訊科學 江清水 Part I: Computer Graphics 1. Computer Graphics and Its application 2. Computer Graphics Hardware and Software (Skip) 3. 2D Coordinate.
Spatial data models (types)
EnSight analyze, visualize, communicate EnSight 6.x Advanced Training Part 1 Instructors: Mike Krogh, Anders Grimsrud.
CS 480/680 Computer Graphics Course Overview Dr. Frederick C Harris, Jr. Fall 2012.
Scientific Visualization with VisIt Eliot Feibush PLASMA PRINCETON PHYSICS LABORATORY PICSciE Princeton Institute for Computational Science and Engineering.
ElVis Developments for Simulation and Analysis Programs Tarun Pondicherry Summer 2006 Science Ed High School Intern Eliot Feibush, Mentor 8/16/2006.
Virtual reality. Tasks 3D digital model from planes 3D digital model of existing objects Office work Field observations Solid modeling Photogrammetry.
Computer Graphics Computer Graphics is everywhere: Visual system is most important sense: High bandwidth Natural communication Fast developments in Hardware.
Graphics Graphics Korea University cgvr.korea.ac.kr Creating Virtual World I 김 창 헌 Department of Computer Science Korea University
AVS/Express and VisIt Training NERSC Users meeting June PPPL Cristina Siegerist NERSC/LBNL Visualization group June 13, 2006.
Computer Graphics I, Fall 2008 Introduction to Computer Graphics.
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 CS4610/7610: Introduction to Computer Graphics.
Advanced GIS Using ESRI ArcGIS 9.3 3D Analyst part 2.
COMPUTER GRAPHICS CSCI 375. What do I need to know?  Familiarity with  Trigonometry  Analytic geometry  Linear algebra  Data structures  OOP.
Computational Methods of Scientific Programming Lecturers Thomas A Herring, Room A, Chris Hill, Room ,
LLNL-PRES This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under contract DE-AC52-07NA27344.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Volume Visualization Presented by Zhao, hai. What’ volume visualization Volume visualization is the creation of graphical representations of data sets.
VAPoR: A Discovery Environment for Terascale Scientific Data Sets Alan Norton & John Clyne National Center for Atmospheric Research Scientific Computing.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
Hank Childs, University of Oregon Volume Rendering Primer / Intro to VisIt.
Visualization with ParaView. Before we begin… Make sure you have ParaView 3.14 installed so you can follow along in the lab section –
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall D Object Representations Greg Humphreys University of Virginia CS 445, Fall 2003.
CHAPTER 5 CONTOURING. 5.3 CONTOURING Fig 5.7. Relationship between color banding and contouring Contour line (isoline): the same scalar value, or isovalue.
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 5.1 Simple Plot of Time.
67 x 89 = ? 67 x
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
1 CW11 Visualizing ACE3P Results in ParaView Greg Schussman Menlo Park, CA October 10, 2011.
WORKING WITH REGIONAL MODELS The Conceptual Model Approach.
High school workshop: Scientific visualization ● Universitat de Barcelona ● January 2007.
Scott Fowler, Product Manager
VisIt Project Overview
Reading and Writing Image Files
VisIt 2.0 Features Brad Whitlock.
VTK: The Visualization Toolkit
Writing a File Format Reader for VisIt
3D Object Representations
3D Object Representation
The Graphics Rendering Pipeline
Domain-Modeling Techniques
Visualization CSE 694L Roger Crawfis The Ohio State University.
3D Object Representation
Introduction to Scientific Visualization
Presentation transcript:

Scientific Visualization with VisIt Eliot Feibush Bum Shik Kim Zach Kaplan PRINCETON PLASMA PHYSICS LABORATORY PICSciE Princeton Institute for Computational Science and Engineering

Teaching Assistants Bum Shik Kim Zach Kaplan

Scientific Visualization Simulations generate data Acquire data from experiments Biology Chemistry Physics Engineering Explore Communicate Based on computer graphics points lines polygons, surface mesh 3D transformations hidden surface removal shading lighting

Vis Plot Types Points Lines Vectors Contour lines & isosurfaces Polygons, mesh Volume Molecule

Designing a Visualization I want a visualization of my climate model. Map your data to a plot type. 2-D/3-D Compute grid: scalar or vector per point, per cell Selection + Operators Scientist Vis Guy

Getting to Know Your Data Geometric range Numerical domain (min, max) Histogram Outliers Features Local / Global (steps) Presentation

Implementation Vis GUI – VisIt, ParaView VTK – Visualization ToolKit Graphics Primitives Pixels

VisIt Can Read Data Files – Silo – Chombo – GTC – M3D – H5Nimrod – SAMRAI – S3D – Enzo – ITAPS – XDMF – Exodus – FLASH – EnSight – VTK – NetCDF – CGNS – NASTRAN – TecPlot – Protein Databank (PDB) – Plot3D – GIS (ESRI Shapefile, DEM, many more) – Image formats Database reader plug-ins can be developed for new formats Variable types – Scalar – Vector – Tensor – Arrays – Label – Material – Species – X,Y pairs 8 VTK is Internal Format

Time Steps f(x,y,z,t) VisIt automatically reads files named in numerical order for time step visualization.

codes/visithttps://wci.llnl.gov/simulation/computer- codes/visit - Downloads Just search for: “visit visualization” Getting Data Into VisIt - document ( & your project ) VTK - text or binary VTK File Formats - vtk.pdf on my website

Start Running VisIt Mac Magnifying Glass: Spotlight: Visit Finder Applications Visit.app Windows Start All Programs Visit VisIt icon on the desktop

Discrete Point Data Define and display data at specific points in 3D. Each point is a unique, independent sample.

Exercise Open File... Desktop  visdata scalar30000.Point3D Add Pseudocolor Plot density Attributes Point size Visit Data Files: feibush_data Visit Data Files: feibush_data

Exercise Open File poloidalplane.vtk Add Mesh  mesh Attributes Open File flowV30000.vtk Add Vector  Toroidal_Flow Visit Data Files: feibush_data Visit Data Files: feibush_data

Exercise Open File interplines.vtk Add Pseudocolor temperature Add Label temperature Example of data defined by discrete points connected with lines.

Transparency Visit 2.8 Data defined by discrete points connected with polygons. POINTS POLYGONS

Continuous 3D Grids 3D volume of data f(x,y,z) VisIt interpolates among grid points in all 3 directions. Specify data at grid locations. Apply Operators to explore & examine data.

Structured Points Continuous volume of data defined at specific points. Uniform spacing per axis.

Structured Points Ordering for z in range(4): for y in range(3): for x in range(2): # write f(x,y,z) value to file

Exercise Open File strpts3d.vtk Add Pseudocolor  density VTK: STRUCTURED_POINTS 3 x 2 x 2 = 12 points SCALARS density double

Polygons vs. Grid Surface data only. Not a sliceable solid! POINTS POLYGONS

Rectilinear Grids Continuous volume of data defined at specific points. Non-Uniform spacing per axis.

Rectilinear Grids Axis Spacing

Rectilinear Grid 3-D Contour “surfaces”

Structured Grids Continuous volume of data defined at specific points. Non-Uniform, Non-Orthogonal, any spacing per axis. Quadrilateral cell faces. Can be curvilinear.

Structured Grids (Vectors)

Grid Summary Structured Points – uniform spacing Rectilinear Grid – non-uniform spacing Structured Grid – non-orthogonal Unstructured Grid – any combination of polygons Triangle Strip __________________ Paraview wiki Users Guide VTK_Data_Model

Clip operator – Geometric selection The Clip operator clips 2D or 3D plots against planes or a sphere to remove sections of the plots Use this operator when you want to see a cross section of a 3D plot, while still leaving the plot in 3D Original plotsPlots clipped with 2 planesPlots clipped with a sphere 28

Threshold operator – Data value selection Removes cells whose value is not in the specified range. Use this operator to look at cells that have values within a numerical range. 29

Relocate geometry Translate Rotate Scale Transforms

Exercise Open File FLOW_equilibrium.xmdv Add Pseudocolor  psi Add Pseudocolor  b_vector_z Operators  Transforms  Transform Rotate 25 degrees Translate Z 1.5

Molecular Dynamics Example Draw points as spheres Data Binning Operator shows particle density

Exercise Open File crotamine.pdb ( Protein Data Bank ) Add Molecule  element attributes

Exercise Open File base.vtk Open File fluxtube.vtk Controls  Annotation Options  Rendering...

Animation Time step Variable index Geometry change View Operators (slice, clip, etc.) Simple VTK time steps or jpeg files  QuickTime.mov Complex python scripting Python interpreter - import myscript [ edit, retry ] reload(myscript)

Movie Maker Program Java – portable to Linux, Mac, Windows – Based on Sun’s javax.media package. Reads all images in directory – JPEG, PNG – ImageMagick: mogrify -resize 100% *.jpeg Creates QuickTime movie file -.MOV Eliot’s pppl.gov website princeton.edu/~efeibush/makemovie iJpegImagesToMovie.jar

Parallel 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

Summary of Today’s Features Plots + Attributes Mesh Pseudocolor Points, Lines, Vectors, Polygons, Mesh – Color Tables Contour Molecule Volume Data files VTK Point3D, xmdv Transform operators Scale, Rotate, Translate Selection operators Clip Box Threshold Slicing operators Slice, ThreeSlice Isosurface Viewing Lighting, Shadow, Depth-Cue Annotation Animation Simple Time Slider movie Python scripting Parallel Rendering JPEGs to QuickTime movie

Resources

Contact Eliot Feibush

Slicing & Viewing Python Package f(x,y,z)