Introduction to scientific visualization with ParaView

Similar documents
Introduction to scientific visualization with ParaView

Insight VisREU Site. Agenda. Introduction to Scientific Visualization Using 6/16/2015. The purpose of visualization is insight, not pictures.

Introduction to Scientific Visualization

Visualization with ParaView

methods of computational science visualization day ii - bottlenecks/parallel-viz santiago v lombeyda center for advanced computing research caltech

Scientific Visualization An Introduction

Data analysis with ParaView CSMP Workshop 2009 Gillian Gruen

Introduction to 3D Scientific Visualization. Training in Visualization for PRACE Summer of HPC 2013 Leon Kos, University of Ljubljana, Slovenia

3 Data Representation. Data Representation. Department of Computer Science and Engineering 3-1

Scalable and Distributed Visualization using ParaView

Visualization in the Sciences Hands-On Workshop

Introduction to Python and VTK

Introduction to Visualization: ParaView. Dan Mazur, McGill HPC Aug 20, 2013

Introduction to Visualization on Stampede

Lecture overview. Visualisatie BMT. Fundamental algorithms. Visualization pipeline. Structural classification - 1. Structural classification - 2

Introduction to Scientific Visualization

What is visualization? Why is it important?

Scientific Visualization

Local and Remote Visualisation Techniques

ParaView/VTK Visualization Pipeline

ACGV 2008, Lecture 1 Tuesday January 22, 2008

Post-processing in parafoam. Håkan Nilsson, Chalmers / Applied Mechanics / Fluid Dynamics 57

Scientific data analysis and visualization at scale in VTK/ParaView with NumPy

Post-processing in parafoam (ParaView-5.0.1)

Introduction to Python and VTK

Data Representation in Visualisation

Post-processing with Paraview. R. Ponzini, CINECA -SCAI

SCIENTIFIC VISUALIZATION ON GPU CLUSTERS PETER MESSMER, NVIDIA

ECP Alpine: Algorithms and Infrastructure for In Situ Visualization and Analysis

Visualization. Images are used to aid in understanding of data. Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [chapter 26]

Parallel Visualization At TACC. Greg Abram

A fast parallelized reader for opensource visualization software: OpenFOAM native reader for ParaView 3

Parallel Visualization At TACC. Greg Abram

3D Data visualization with Mayavi and TVTK

VisIt Overview. VACET: Chief SW Engineer ASC: V&V Shape Char. Lead. Hank Childs. Supercomputing 2006 Tampa, Florida November 13, 2006

Visualization Toolkit (VTK) An Introduction

1. Interpreting the Results: Visualization 1

Visualization Support at RZG

Over Two Decades of IntegrationBased, Geometric Vector Field. Visualization

POWERFUL APPLICATIONS USING PYTHON IN ENSIGHT. Aric Meyer CEI Japan Users Meeting

Introductory OpenFOAM Course From 17th to 21st February, Matteo Bargiacchi

VisIt. Hank Childs October 10, IEEE Visualization Tutorial

Lecture overview. Visualisatie BMT. Goal. Summary (1) Summary (3) Summary (2) Goal Summary Study material

IN4307 Medical Visualisation Module IDPVI

8. Tensor Field Visualization

Scientific Visualization Services at RZG

Advanced ParaView Visualisation

What is visualization? Why is it important?

PRISM Project for Integrated Earth System Modelling An Infrastructure Project for Climate Research in Europe funded by the European Commission

Three-Dimensional Graphics. as a Tool for Studying Dynamics

Welcome! Roberto Mucci SuperComputing Applications and Innovation Department

Overview of file formats for unstructured data

Scientific visualization concepts

CIS 467/602-01: Data Visualization

Dragonfly Pro. Visual Pathway to Quantitative Answers ORS. Exclusive to ZEISS OBJECT RESEARCH SYSTEMS

GiD v12 news. GiD Developer Team: Miguel Pasenau, Enrique Escolano, Jorge Suit Pérez, Abel Coll, Adrià Melendo and Anna Monros

MARS v Release Notes Revised: May 23, 2018 (Builds and )

7/27/10. CScADS : Scientific Data and Analytics for Petascale Computing Workshop. Outline. About ParaView. Short Tutorial Current Work in Progress

Your Prioritized List. Priority 1 Faulted gridding and contouring. Priority 2 Geoprocessing. Priority 3 Raster format

PyNGL & PyNIO Geoscience Visualization & Data IO Modules

WWW home page:

11/1/13. Visualization. Scientific Visualization. Types of Data. Height Field. Contour Curves. Meshes

Visualization. CSCI 420 Computer Graphics Lecture 26

System Design for Visualizing Scientific Computations

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

Scientific Visualization. Katia Oleinik:

Contour Analysis And Visualization

WELCOME! Scientific Visualization. Make sure you have VisIt (2.5.2*): *Preferred version

VisIt: Visualization and Analysis using Python. VisIt developers from Brad Whitlock NNSA/ASC, Office of Science/SciDAC, Cyrus Harrison

Introduction to Scientific Visualization

VRX: Virtual Reality explorer Toolkit v A brief system specification -

Accessing and Administering your Enterprise Geodatabase through SQL and Python

Visualisation : Lecture 1. So what is visualisation? Visualisation

Training Course Content

Introduction to Scientific Visualization

CIS 467/602-01: Data Visualization

v SMS 11.1 Tutorial SRH-2D Prerequisites None Time minutes Requirements Map Module Mesh Module Scatter Module Generic Model SRH-2D

Post-processing utilities in Elmer

v TUFLOW-2D Hydrodynamics SMS Tutorials Time minutes Prerequisites Overview Tutorial

Contouring and Isosurfaces. Ronald Peikert SciVis Contouring 2-1

Tools Menu (Frequently Used Features)

Introduction to volume rendering. Paul Bourke

Iso-surface cell search. Iso-surface Cells. Efficient Searching. Efficient search methods. Efficient iso-surface cell search. Problem statement:

1 Motorbike with ParaFoam

Data Visualization (CIS/DSC 468)

Scalar Algorithms: Contouring

Contours & Implicit Modelling 4

Visualization Computer Graphics I Lecture 20

Contours & Implicit Modelling 1

CS 780/880 Semester Project Report. Anthony Westbrook

PUG List. Raster Analysis 3D Analysis Geoprocessing. Steve Kopp

ShapePopulationViewer

0. Introduction: What is Computer Graphics? 1. Basics of scan conversion (line drawing) 2. Representing 2D curves

Visualization Of A Deterministic Radiation Transport Model Using Standard Visualization Tools

IN4307 Medical Visualisation Module IDPVI

Rapid Application Prototyping Environment. Currently 920+ Standard modules in the MeVisLab SDK core, modules delivered in total

Express Introductory Training in ANSYS Fluent Workshop 02 Using the Discrete Phase Model (DPM)

3D vector fields. Contents. Introduction 3D vector field topology Representation of particle lines. 3D LIC Combining different techniques

HDF- A Suitable Scientific Data Format for Satellite Data Products

Data Visualization. What is the goal? A generalized environment for manipulation and visualization of multidimensional data

Transcription:

Introduction to scientific visualization with ParaView Tijs de Kler SURFsara Visualization group Tijs.dekler@surfsara.nl (some slides courtesy of Robert Belleman, UvA)

Outline Pipeline and data model (10 min) ParaView overview & walk-through (10 min) ParaView hands-on ParaView wrap-up (10 min) (60 min)

ParaView General scientific visualization package 2D/3D datasets visualizations Not targeted at a specific field of science, but mostly useful for 2D/3D natural datasets Data visualization & interactive exploration, image/animation rendering (not the best tool for information visualization, geographical data, web-based visualizations) Similar scientific visualization packages LLNL VisIt, MayaVi, DeVIDE (TU Delft)

The scientific visualization pipeline 1.980000 0.027228-0.013616 1.990000 0.038601-0.015680 1.990000 0.050290-0.017887 2.000000 0.062348-0.020251 2.010000 raw data files Data source derived data Enrichment visual object Mapping image Render Haber and McNabb reference model (after Haber, Robert B. & McNabb, David A., 1990, Visualization Idioms: A Conceptual Model for Scientific Visualization Systems)

Example: extracting a contour from medical data DICOM files 3D grid DICOMReader Polygon data Contour Image Polygon data Clip Mapping + Render

Pipeline creation Filters are connected together to form a visualization pipeline or dataflow network Filters have inputs, outputs and parameters Restrictions: Data types of connected input and output ports must match Loops not allowed (i.e. directed acyclic graph) Filter #1 Filter #4 Filter #2 Filter #5 Filter #3 (Arrow color indicates output data type)

Pipeline behaviour Filters in a pipeline only execute when necessary When a filter's input data has changed When a filter's parameter(s) have changed Data flows downstream, update checks flow upstream On-demand local execution Update checks Filter #1 Filter #2 Data Filter #3

Data model Data sets are represented by a mesh and attributes

Data model Data sets are represented by a mesh and attributes A mesh consists of interconnected points in 2D/3D

Data model Data sets are represented by a mesh and attributes A mesh consists of interconnected points in 2D/3D Collections of points form cells (regions, zones) Cell 1 Cell 2

Data model Data sets are represented by a mesh and attributes A mesh consists of interconnected points in 2D/3D Collections of points form cells (regions, zones) Points can have attributes

Data model Data sets are represented by a mesh and attributes A mesh consists of interconnected points in 2D/3D Collections of points form cells (regions, zones) Points can have attributes Cells can have attributes

Data model Data sets are represented by a mesh and attributes A mesh consists of interconnected points in 2D/3D Collections of points form cells (regions, zones) Points can have attributes Cells can have attributes Points define geometry, cells define topology

Cell types Cells are the things that ParaView visualizes! (Linear cell types)

Dataset types (all are collections of cells) Uniform rectilinear grid (a.k.a. Image ) - 1D/2D/3D - Defined by: - Origin - X/Y/Z uniform spacing - NX/NY/NZ dimensions Like uniform rectilinear grid, but with varying spacing - E.g. atmospheric simulation, with more detail near surface No connectivity Polygonal Mesh or Surface - Collection of - Vertices, lines, polygons, triangle strips From L. Mountrakis (2015), Transport of blood cells studied with fully resolved models Any collection of cells

ParaView GUI and basic functionality (demo)

Hands-on! ParaView exercises Exercise 1: CT-scan of a head Exercise 2: Tornado simulation Time-varying datasets, camera orbiting Bonus exercise: A stationary fluid mixer We have a few USB sticks with Paraview + data files CSV file reading, streamlines, glyphs, coloring Exercise 3: Coral growth Data inspection, slices, volume rendering, contouring Or download through URLs listed in hand-out Ask us for help if needed!

Topics not covered Making movies (animation rendering) Python scripting Save/restore sessions Write your own filter Integration with NumPy and matplotlib And much more... User's Guide is freely available as PDF (239 pages)! It is included when downloading binaries Or see Kitware blog: http://www.kitware.com/blog See Kitware ParaView Tutorial http://www.paraview.org/wiki/the_paraview_tutorial

Getting data into ParaView? Lots of formats already supported by ParaView NetCDF, OpenFOAM, PLY, HDF5, ExodusII,....csv,.txt (Delimited text) Loads as a table, need to do extra manual steps Binary data without header, select Raw (binary) file type. Very limited When you're going to write the data yourself ParaView/VTK native formats Legacy VTK file format or VTK/ParaView XML file format See http://www.vtk.org/vtk/img/file-formats.pdf Writing Legacy and XML files possible using VTK library instead of doing it by hand HDF5 + XDMF See http://www.paraview.org/wiki/paraview/users_guide/list_of_readers See http://www.xdmf.org

Legacy VTK versus XML-based # vtk DataFile Version 2.0 Volume example ASCII DATASET STRUCTURED_POINTS <VTKFile type= StructuredGrid...> <StructuredGrid WholeExtent= x1 x2 y1 y2 z1 z2 > <Piece Extent= x1 x2 y1 y2 z1 z2 > DIMENSIONS 3 4 6 <PointData>...</PointData> ASPECT_RATIO 1 1 1 <CellData>...</CellData> ORIGIN 0 0 0 POINT_DATA 72 SCALARS volume_scalars char 1 LOOKUP_TABLE default 000000000000 0 5 10 15 20 25 25 20 15 10 5 0 0 10 20 30 40 50 50 40 30 20 10 0 0 10 20 30 40 50 50 40 30 20 10 0 0 5 10 15 20 25 25 20 15 10 5 0 000000000000... <Points>...</Points> </Piece> </StructuredGrid> </VTKFile>

The end...

Comparison Legacy Pros XML Easy to write from your own software ASCII format is very easy to write Binary format is space-efficient Probably more future-proof than legacy format Cons Not developed anymore ASCII format is space-inefficient Binary format slightly harder to write No support for parallel reading/rendering Pros Optional data compression Possibility of parallel reading/rendering for large datasets Cons Need to write XML-compliant files and understand more complex file structure Not as compact as pure binary, due base64 encoding of data http://www.vtk.org/vtk/img/file-formats.pdf http://www.vtk.org/vtk/img/file-formats.pdf

ParaView pipeline Filter Operates on (one or more) input datasets Produces an output dataset Usually has a set of parameters Example operations: Clip, threshold, streamline filter Source source Myfile.dat filter threshold filter filter Conceptually a filter with no inputs A loaded file (or set of files) becomes a source clip streamline

ParaView/VTK data model Points 1D/2D/3D coordinates Describe the geometry of the data (i.e. spatial locations) Cells Cells refer to points Describe the topology of the data (i.e. connectedness) Cells are the things that ParaView visualizes Data can be associated with both points and cells E.g. temperature, pressure, flow direction and/or velocity Types of values: Scalar values (integer, floating-point) Vectors Strings (3x3 sym. tensors, 3D normals, texture coordinates, field data)

Why ParaView (and why for this course)? Advantages Free & open-source Actively developed and supported by Kitware (a US company) Lots file formats and data operations (filters) supported Allows parallel visualization of large datasets For this course? GUI and workflow is pretty good, especially for interactively building a visualization pipeline Concepts and operations in ParaView transfer easily to other packages like VisIt or MayaVi, so provides good introduction to scivis methods Caveats It does have bugs in some areas, so... It might crash unexpectedly Annoying warning messages sometimes pop up Does not handle out-of-memory situations very well

SURFsara visualization group Hands on time! Time to start working on the exercises If you have questions, let us know Data: Software: Paul Melis Tijs de Kler Casper van Leeuwen