Introduction to Visualization with VTK and ParaView



Similar documents
Visualization with ParaView

Visualization with ParaView. Greg Johnson

Why are we teaching you VisIt?

VisIt Visualization Tool

Visualization and Post Processing of OpenFOAM results a Brie. a Brief Introduction to VTK

Introduction to Paraview. H.D.Rajesh

Processing Data with rsmap3d Software Services Group Advanced Photon Source Argonne National Laboratory

The Visualization Pipeline

OpenFOAM postprocessing and advanced running options

MayaVi: A free tool for CFD data visualization

MicroStrategy Desktop

. Address the following issues in your solution:

Advanced visualization with VisNow platform Case study #3 Vector data visualization

Visualisatie BMT. Introduction, visualization, visualization pipeline. Arjan Kok Huub van de Wetering

Laminar Flow in a Baffled Stirred Mixer

Steady Flow: Laminar and Turbulent in an S-Bend

Finding Drag Coefficient using Solidworks Flow Simulation

Facts about Visualization Pipelines, applicable to VisIt and ParaView

OpenFOAM Opensource and CFD


This tutorial provides a recipe for simulating L

Parallel Large-Scale Visualization

Scientific Visualization with ParaView

The following is an overview of lessons included in the tutorial.

James Ahrens, Berk Geveci, Charles Law. Technical Report

RVA: RESERVOIR VISUALIZATION AND ANALYSIS

Cassandra 2.0: Tutorial

DWGSee Professional User Guide

VisIVO, a VO-Enabled tool for Scientific Visualization and Data Analysis: Overview and Demo

Scientific Visualization with Open Source Tools. HM 2014 Julien Jomier

HPC & Visualization. Visualization and High-Performance Computing

ParaView s Comparative Viewing, XY Plot, Spreadsheet View, Matrix View

CATIA Functional Tolerancing & Annotation TABLE OF CONTENTS

Zhenping Liu *, Yao Liang * Virginia Polytechnic Institute and State University. Xu Liang ** University of California, Berkeley

Data Visualization. Principles and Practice. Second Edition. Alexandru Telea

Outline. Fundamentals. Rendering (of 3D data) Data mappings. Evaluation Interaction

Visualization Plugin for ParaView

Figure 1.1 Vector A and Vector F

version 3.0 tutorial - Turbulent mixing in a T-junction with CFDSTUDY in SALOME contact: saturne-support@edf.fr

Welcome to Corel DESIGNER, a comprehensive vector-based drawing application for creating technical graphics.

Tutorial: Biped Character in 3D Studio Max 7, Easy Animation

Creating Your Own 3D Models

ABAQUS/CAE Tutorial: Analysis of an Aluminum Bracket

Visualization methods for patent data

Discover PA An example session displayed in Discover Viewer, which was created in Discover PA Professional.

Learning Module 4 - Thermal Fluid Analysis Note: LM4 is still in progress. This version contains only 3 tutorials.

Post-processing and Visualization with Open-Source Tools. Journée Scientifique Centre Image April 9, Julien Jomier

A Guide to the free mesh program Discretizer with OpenFOAM for CFD (Computational Fluid Dynamics)

3D-Groundwater Modeling with PMWIN

Introduction to Computer Graphics

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy

Visualization of Adaptive Mesh Refinement Data with VisIt

TVM 4155 Numerical modelling and hydraulics 10. March OpenFOAM homework

A FRAMEWORK FOR THE INTERACTIVE VISUALIZATION OF ENGINEERING MODELS

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

Adobe Illustrator CS5 Part 1: Introduction to Illustrator

Formulas, Functions and Charts

Open Source CFD Solver - OpenFOAM

Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional.

Interactive simulation of an ash cloud of the volcano Grímsvötn

Introduction to Flow Visualization

AN EFFECT OF GRID QUALITY ON THE RESULTS OF NUMERICAL SIMULATIONS OF THE FLUID FLOW FIELD IN AN AGITATED VESSEL

MicroStrategy Analytics Express User Guide

Quickstart for Desktop Version

GRAVE: An Interactive Geometry Construction and Visualization Software System for the TORT Radiation Transport Code

How to create pop-up menus

Visualization Process. Alark Joshi

Geocortex HTML 5 Viewer Manual

Using the SAS Enterprise Guide (Version 4.2)

Computer Applications in Textile Engineering. Computer Applications in Textile Engineering

QUICK REFERENCE: ADOBE ILLUSTRATOR CS2 AND CS3 SECTION 1: CS3 TOOL BOX: PAGE 2 SECTION 2: CS2 TOOL BOX: PAGE 11

ANSYS CFD-Post Standalone: Tutorials

JustClust User Manual

COSC 6344 Visualization

Gephi Tutorial Quick Start

Avizo AvizoFire - The 3D visualization Software for NDT & Materials Science

GAMBIT Demo Tutorial

Introduction to CATIA V5

UNIVERSITY OF MACAU DEPARTMENT OF COMPUTER AND INFORMATION SCIENCE SFTW 463 Data Visualization Syllabus 1 st Semester 2011/2012 Part A Course Outline

Interactive Visualization of Magnetic Fields

Multiphase Flow - Appendices

BI 4.1 Quick Start Guide

VisIVO, an open source, interoperable visualization tool for the Virtual Observatory

Quest Web Parts for SharePoint

All the following videos are at this YouTube playlist:

SMART Board Menu. Full Reference Guide

Glencoe. correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 3-3, , , 4-9

Done. Click Done to close the Capture Preview window.

CONCEPT-II. Overview of demo examples

Go to contents 18 3D Visualization of Building Services in Virtual Environment

A QUICK OVERVIEW OF THE OMNeT++ IDE

SuperViz: An Interactive Visualization of Super-Peer P2P Network

GRAFICA - A COMPUTER GRAPHICS TEACHING ASSISTANT. Andreas Savva, George Ioannou, Vasso Stylianou, and George Portides, University of Nicosia Cyprus

GR Framework / MODBUS on Raspberry Pi

Lesson 15 - Fill Cells Plugin

Piston Ring. Problem:

3D Interactive Information Visualization: Guidelines from experience and analysis of applications

Transcription:

Introduction to Visualization with VTK and ParaView R. Sungkorn and J. Derksen Department of Chemical and Materials Engineering University of Alberta Canada August 24, 2011 / LBM Workshop

1 Introduction Simulation Visualization Visualization Pipeline Data Structure Data Format ParaView 2 Visualization with ParaView ParaView Interface Loading Data View Controls Structure Filters Save data and animation 3 Showcases 4 Resources and further reading

Simulation Visualization Simulation visualization referred to a computing method in which a geometric representation is used to gain understanding and insight into numeric data generated by numerical simulation. The data is usually placed into a reference coordinate system to create and extract quantities/qualities of interest. Figure 1: Streamlines of flow pass a cylinder (image courtesy of Kitware Inc).

Visualization Pipeline The goal of visualization pipeline is to create geometrically constructed images from numeric data. The process can be described step-wise as: Data analysis: preparing data for visualization Filtering: specifying data portion to be visualized Mapping: transforming filtered data into geometrical primitive (e.g. points, lines) with attributes (e.g. color, size) Rendering: generating image from geometric data Figure 2: Visualization pipeline (image courtesy of www.infovis-wiki.net).

Data Structure Data structure is a way of exporting and organizing simulated data. It also defines applicability of some visualization techniques (e.g. operations on field dimensions are not applicable with unstructured mesh). Types of grids Structured: nodes arrayed on a one-, two- or three-dimensional hexagonal grid in which the conectivity between the nodes is implied by dimensions Figure 3: Uniform, rectlinear and irregular 2D structured grid (image courtesy of AICT, University of Alberta).

Data Structure Data structure is a way of exporting and organizing simulated data. It also defines applicability of some visualization techniques (e.g. operations on field dimensions are not applicable with unstructured mesh). Types of grids Structured: nodes arrayed on a one-, two- or three-dimensional grid in which the conectivity between the nodes is implied by dimensions Unstructured: nodes exist in space and can be connected together in a certain order of line, triangle, tetrahedral, etc., together they form Cells Figure 4: Unstructured grids formed by a set points (image courtesy of AICT, University of Alberta).

Data Structure Data structure is a way of exporting and organizing simulated data. It also defines applicability of some visualization techniques (e.g. operations on field dimensions are not applicable with unstructured mesh). Types of data Point data: data specified at each grid point Cell data: data specified per cell Figure 5: Cell and point data.

Visualization Toolkit (VTK) Data Format VTK is an open-source, object-oriented software system for computer graphics, visualization and image processing [VTK User s Guide, 2006. Kitware, Inc.]. It provides variety of data representations such as structured, rectlinear, point sets and polygonal data. An overview of file format used in this workshop is given below: Further information can be found in The VTK Users Guide Figure 6: Example of file created from LBM simulation.

Why ParaView? Paraview is an open-source, multi-platform application for the visualization and analysis of scientific data set. It was developed to analyze large data set on variety of computing resources. Pros Cons Freely available (download from www.paraview.org) Design for visualization of large data (in parallel) Available in large variety of platforms Open, flexible and intuitive user interface Data file format is not easy to modify (before today) Frequent upgrades and changes (without fully update online info) No refresh botton!!! ParaView User s Guide (v3.10)

ParaView Interface Figure 7: ParaView (version 3.10) user interface.

Loading Data ParaView can open single file, multiple files with time serie indicator as well as selected files. Figure 8: Loading file(s).

View Controls The object in view window can be controlled directly on-screen by the movement of mouse. Additionally, view controls tool can be found on the tools bar. Figure 9: View controls.

Mesh A mesh consists cells (elements, zones) generated by connecting a set of vertices (points) together. Cell type and its connection are defined by the topology of the data. Figure 10: Cells and vertices.

Attributes An attribute can be scalar, vector or tensor defined in the raw data. It defines value of a field over the mesh. In the example below, the vertices attribute (velocity magnitude) is shown. Figure 11: Contour plot of velocity fields.

Pipeline Navigation of data manipulation in ParaView is shown on the pipeline browser. The pipeline process does not modify the raw data. Instead, it copies and perates on unmodified data. Operations will be carried out only with the selected data set. Figure 12: Pipeline showing two sets of data.

Filters Filters modify data in particular way to deliver the modified data as output. Various filters available in ParaView. They can be found on the tools bar and in the filters menu. Applicability of some filters may depend on data structure. Figure 13: Filters toolbar and filters menu.

Contour A contour plot represents a graphic relation between spatial position (e.g. in x and y) and the quantity of interest. It can be plotted as interpolated color and curves. Figure 14: Velocity contour plot of flow pass a circle.

Color Scale Variation of color, i.e. color scale, delivers information for visualization. It provides colorful and meaningful graphical representation of the numeric data. Figure 15: Control of color scale on tools bar.

Color Scale Editor ParaView offers controls of color scale via its editor, i.e. the icon next to the color scale on the tools bar. Figure 16: Controls of color scale editor.

Vector Fields Vector glyph can be used to display additional dimension attached to data. The direction and length (or color) of glyphs (arrows) are provided by the vector field. Figure 17: Velocity vector field.

Streamlines A stream line is a line in the tangential direction to the vector field at every points along the line. Stream lines show the flow direction that fluid element will travel in time. Figure 18: Stream lines of fluid velocity.

Vorticity Vorticity represents the amount of rotation in a fluid. It is defined as the curl of of the fluid velocity field. In ParaView, vorticity can be obtained directly from the filter Compute Derivatives in filter menu. Figure 19: Vorticity plot of flow pass a circle.

Save data and animation ParaView is capable of exporting screenshot of the view window in standard formats (e.g. png, bmp, tiff, jpg, pdf). An animation can be created from a serie of data set. Figure 20: Save data and animation.

Streamlines of flow in a chamber Figure 21: Streamlines of flow in a chamber. The streamlines are colored by the velocity magnitude

Simulation of a gas-liquid stirred reactor Figure 22: Simulation result of a gas-liquid stirred reactor. Bubbles are represented by sphere glyphs and scaled by its diameter. The contour plot shows the liquid velocity contour at the mid-plane between baffles.

3D animation of a gas-liquid stirred reactor (1) Figure 23: 3D (anaglyph) animation of bubble dispersion in a gas-liquid stirred reactor from front.

3D animation of a gas-liquid stirred reactor (2) Figure 24: 3D (anaglyph) animation of bubble dispersion in a gas-liquid stirred reactor from top.

Resources and further reading ParaView website (www.paraview.org) ParaView user s guide AICT, University of Alberta website (http://sciviz.aict.ualberta.ca/index.php?page=intro) W.J. Shroeder, L.S. Avila, W. Hoffmann, Visualizing with VTK: A tutorial. Kitware. 2000. Introduction to ParaView by Pittsburgh supercomputer center (http://www.psc.edu/general/software/packages/paraview/tutorial/) The VTK Users Guide (www.kitware.com)