Flow Visualization MJ Turner June 16 MSc ACS COMP60051 Manchester.

Slides:



Advertisements
Similar presentations
Sauber et al.: Multifield-Graphs Multifield-Graphs: An Approach to Visualizing Correlations in Multifield Scalar Data Natascha Sauber, Holger Theisel,
Advertisements

Data Visualization Lecture 9
ENV Envisioning Information Lecture 15 – Scientific Visualization Vector Data – Flow Visualization Ken Brodlie
Vector Field Visualization Jian Huang, CS 594, Spring 2002 This set of slides reference slides developed by Prof. Torsten Moeller, at CS, Simon Fraser.
This set of slides developed by Prof. Torsten Moeller, at Simon Fraser Univ and Professor Jian Huang, at University of Tennessee, Knoxville And some other.
Chapter 9: Vector Differential Calculus Vector Functions of One Variable -- a vector, each component of which is a function of the same variable.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 7: INVISCID FLOWS
Navier-Stokes.
Visualization Data Representation Ray Gasser SCV Visualization Workshop – Fall 2008.
1 Higher Dimensional Vector Field Visualization: A Survey Zhenmin Peng, Robert S. Laramee Department of Computer Science Swansea University, Wales UK
3D Graphics Rendering and Terrain Modeling
13 VECTOR FUNCTIONS.
1Notes  Textbook: matchmove 6.7.2, B.9. 2 Match Move  For combining CG effects with real footage, need to match synthetic camera to real camera: “matchmove”
Experimental Thermo and Fluid Mechanics Lab. 4. Fluid Kinematics 4.1. Velocity Field 4.2. Continuity Equation.
Fur and hair are not typically uniform in color but instead are many slightly different shades. We wanted to simulate this using a single texture map.
17 VECTOR CALCULUS.
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
1 MAE 5130: VISCOUS FLOWS Momentum Equation: The Navier-Stokes Equations, Part 1 September 7, 2010 Mechanical and Aerospace Engineering Department Florida.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 4: FLUID KINETMATICS
CE 1501 CE 150 Fluid Mechanics G.A. Kallio Dept. of Mechanical Engineering, Mechatronic Engineering & Manufacturing Technology California State University,
Fluid mechanics 3.1 – key points
ITUppsala universitet Data representation and fundamental algorithms Filip Malmberg
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
The Story So Far The algorithms presented so far exploit: –Sparse sets of images (some data may not be available) –User help with correspondences (time.
Motivation  Movie  Game  Engineering Introduction  Ideally  Looks good  Fast simulation  Looks good?  Look plausible  Doesn’t need to be exactly.
Eulerian Description • A finite volume called a flow domain or control volume is defined through which fluid flows in and out. • There is no need to keep.
1 CEE 451G ENVIRONMENTAL FLUID MECHANICS LECTURE 1: SCALARS, VECTORS AND TENSORS A scalar has magnitude but no direction. An example is pressure p. The.
Introduction and Vectors
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Geometric Optics September 14, Areas of Optics Geometric Optics Light as a ray. Physical Optics Light as a wave. Quantum Optics Light as a particle.
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
PTT 204/3 APPLIED FLUID MECHANICS SEM 2 (2012/2013)
CDS 301 Fall, 2009 Vector Visualization Chap. 6 October 7, 2009 Jie Zhang Copyright ©
MAE 3130: Fluid Mechanics Lecture 5: Fluid Kinematics Spring 2003
Two-Dimensional Motion and VectorsSection 1 Preview Section 1 Introduction to VectorsIntroduction to Vectors Section 2 Vector OperationsVector Operations.
Robert S. Laramee 1 1 Flow Like You've Never Seen It Robert S. Laramee Visual and Interactive Computing.
KINEMATICS Kinematics describes fluid flow without analyzing the forces responsibly for flow generation. Thereby it doesn’t matter what kind of liquid.
Two-Dimensional Motion and VectorsSection 1 Preview Section 1 Introduction to VectorsIntroduction to Vectors Section 2 Vector OperationsVector Operations.
A Survey on Visualization of Time-Dependent Vector Fields by Texture-based Methods Henry “Dan” Derbes MSIM 842 ODU Main Campus.
Abj 3.1: Introduction to Motion and Velocity Field: Pathlines, Streamlines, and Streaklines Geometry of Motion Pathline Streamline No flow across a.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Automotive Soiling Simulation Based On Massive Particle Tracing Stefan Röttger Martin Schulz Wolf Bartelheimer Thomas Ertl Visualization and Interactive.
Lecture 3 Kinematics Part I
Vector Visualization Mengxia Zhu. Vector Data A vector is an object with direction and length v = (v x,v y,v z ) A vector field is a field which associates.
Background Time-Resolved Digital Particle Image Velocimetry (DPIV) is a non-intrusive flow measurement technique that was used to obtain spatio-temporal.
Vector Field Visualization
3D Flow Visualization Xiaohong Ye
Advanced EM - Master in Physics Poynting’s theorem Momentum conservation Just as we arrived to the Poynting theorem – which represents the.
1 Feature Extraction and Visualization of Flow Fields State-of-the-Art Report Feature Extraction and Visualization of Flow Fields Frits.
The Search for Swirl and Tumble Motion Robert S. Laramee Department of Computer Science Swansea University Wales, UK.
Data Visualization Fall 2015.
Ch 4 Fluids in Motion.
CHAPTER 6 (1) VECTOR VISUALIZATION. OUTLINE Vector datasets are samplings of vector fields over discrete spatial domains Visualizing Vector A number of.
SCALAR VISUALIZATION. OUTLINE Visualizing scalar data A number of the most popular scalar visualization techniques Color mapping Contouring Height plots.
2/24/2016 A.Aruna/Assistant professor/IT/SNSCE 1.
Scientific Visualization Module 4 Vector Visualization (adapted – some slides modified or omitted) prof. dr. Alexandru (Alex) Telea
Robert S. Laramee 1 Visualization Lecture Flow visualization, An Introduction.
Heat and Flow Technology I.
Simplified Representation of Vector Fields
CE 3305 Engineering FLUID MECHANICS
CE 3305 Engineering FLUID MECHANICS
FLUID MECHANICS LECTURE
3D Graphics Rendering PPT By Ricardo Veguilla.
Using Flow Textures to Visualize Unsteady Vector Fields
Vector Field Visualization
THERMO- AND FLUID MECHANICS LECTURE
CHAPTER 6 Viscous Flow in Pipes
Lecture no 13 &14 Kinetics & kinematics of fluid flow
Vector Field Visualization
Presentation transcript:

Flow Visualization MJ Turner June 16 MSc ACS COMP60051 Manchester

2Flow/03 2 Overview  Classes of data: scalar, vector, tensor  Introduction to experimental flow visualization  Some techniques described  Double Glazing case study  Conclusions and summary

2Flow/03 3 Areas of application  Haswell J, “Visualization of Electromagnetic Fields”, Rutherford Appleton Laboratory

2Flow/03 4 Other Application Areas  Design of cars, aircraft, ships, submarines & spacecraft  Design of the components: turbines, combustion engines  Flow inside blood vessels  River and ocean flow  Wind effects between buildings

2Flow/03 5 Classes of Data  Fluid flow deals with vector and tensor fields  Magnitude, 2D or 3D direction, stress-strain components  Scalar fields have one value at each point  simple to visualise as colour, height, etc  Vector fields have multiple values at the same place  need to encode the vector for display or use techniques which reveal information  Tensor fields are more complex (see Multidimensional data)

2Flow/03 6 Experimental Visualization (without computers)  There are three main classes of technique  addition of foreign material  optical techniques  addition of heat and energy

2Flow/03 7 Addition of foreign material  time lines: lines transformed by the motion of fluid flow  e.g., a line of hydrogen bubbles  streak lines: shows the motion by injecting a dye from a fixed position for a defined time  e.g., dye in fluid, smoke in air  path line: path of a particle introduced into the flow  e.g., exposure of photographic plate to light emitting particle  For flow over surfaces  e.g., direction of tufts fixed to the surface or traces left by viscous fluid on surface

2Flow/03 8 Addition of Foreign Material  GLM Wind Tunnel, Department of Aerospace Engineering University of Maryland

2Flow/03 9 Optical techniques  change in density causes a change in refractive index  shine light through a flow to visualise changes  shadowgraphs:  passing parallel beams of light through a fluid and then focusing light onto a photographic plate resulting in light and dark patches  Spiral Defect Chaos: Morris S B - University of Toronto, Bodenschatz E - Cornell, Ahlers G, Cannell D S - University of Santa Barbara

2Flow/03 10 Flow analysis  There are two main methods of analyzing the flow:  Eulerian  physical quantities are calculated at fixed grid positions in 2D/3D space  Lagrangian  physical quantities are calculated for small particles moving with the flow

2Flow/03 11 Arrow Plots (Hedgehogs)  Arrow icon at each grid point (Eulerian analysis)  Magnitude maps to arrow length  Direction maps to shaft direction  Useful in 2D provided grid points not closely spaced  Bad problem of occlusion in 3D  Susceptible to artefacts because of the spurious high-frequency detail  Gives behaviour at point samples, not behaviour of the field as a whole

2Flow/03 12 Arrow Plot Data Courtesy of UK MET Office Visualization by Research Computing (University of Manchester)

2Flow/03 13 Cluttered View of a Vortex

2Flow/03 14 Perception Issues – question  What is happening in this simple flow field?

2Flow/03 15 Perception Issues – answer  Not what you may have expected  We will look at some ways to improve the situation for arrows

2Flow/03 16 Unit Arrow (hedgehog) fields  Arrow shafts all same length  reduces orientation ambiguity  less occlusion  Gives information about direction of vectors  No information on magnitude, but this can be added:  Shaft or arrowhead colour

2Flow/03 17 Unit Arrows

2Flow/03 18 Shadowed hedgehog fields  Use with either plain or unit hedgehogs  Best with 2D domain  Shadows cast onto plane help show orientation  Depth cueing of arrows can also reduce orientation ambiguity  Instead of arrows you could use other geometric objects which themselves offer more visual cues e.g., cones

2Flow/03 19 Cones with depth cue and perspective

2Flow/03 20 Subsetting the domain  Probe shows point behaviour  Rake of probes shows behaviour at intervals  limits number of arrows seen at once  Slicing plane views a 2D slice of a 3D domain  extra dimension freed to represent another parameter  Interactive positioning and adjustment allows exploration of interesting regions

2Flow/03 21 Three Planes of Arrows

2Flow/03 22 Convert vectors to scalars  Simplest possible method  Extract a scalar:  Single component (x, y, z) of a vector is rarely useful  Vector magnitude – good overview of a field  Divergence can be interesting  Visualise using standard scalar techniques:  colour on a vector technique  Slicing  Isosurface  volume rendering

2Flow/03 23 Slice through Vortex data

2Flow/03 24  2D flow around a square cylinder.  Flow visualization of the vorticity field at Re=200.  Thanks to J Wissink, Department of Mathematics, RuG

2Flow/03 25 Isosurface in Vortex

2Flow/03 26 Volume Rendering of Magnitude

2Flow/03 27 Flow in Streams in the US

2Flow/03 28 Streamlines  A curve, always a tangent to the direction of flow

2Flow/03 29 Colour Streamlines  Magnitude of velocity not shown  use colour mapping, unless colour already used  deduce from spacing of adjacent streamlines  The next example shows how streamlines reveal the shock wave being formed

2Flow/03 30 Coloured Streamlines  See notes for picture

2Flow/03 31 Perceptual Issues  Problem of occlusion, if lots of them  adjust viewpoint or use clipping planes  Perception problem with 3D location  use depth cueing by hue or saturation  add colouring by height or depth  use stereoscopic or immersive VR to aid location  A list of sites can be found under

2Flow/03 32 NASA Ames Virtual Wind Tunnel [6]

2Flow/03 33 Stream ribbons  Form ribbons from two adjacent streamlines  Thin ribbons indicate fast flow, turbulent twisting effects are clearer

2Flow/03 34 Stream Ribbons

2Flow/03 35 Other techniques  A stream surface is formed by joining 3...n streamlines  These surfaces can split and merge showing areas of high divergence.  Hultquist J P M,  Other techniques include Streamballs  These can both be coloured to add extra information

Particle advection

2Flow/03 37 Streak and path lines  These are directly related to the experimental counterpart  Another common name for path lines are particle traces  They are usually shown as animated sequences:  a single instance in an unsteady flow  over a defined time interval in a steady flow

2Flow/03 38 Particles in a Thunderstorm

2Flow/03 39 Computing particle path lines  The motion of a particle is given by  where x = position vector and v(x) is the velocity field at x  If you integrate the above equation you can find the next position at  t

2Flow/03 40 Calculating the next position  Decide upon starting position (x0,y0,z0)  Starting at t=0 find the velocity vector for this position  using nearest neighbour, tri-linear or tricubic interpolation  Integrate the motion of a particle equation to find the next position at ∆ t  Euler  Runge-Kutta  Repeat until particle leaves space or some other termination criteria is true

2Flow/03 41 Integrating the equation Euler method  Approximates the integral to be v(x(t)) ∆ t  The next position is then calculated as  x(t+ ∆ t) = x(t) + v(x(t)) ∆ t

2Flow/03 42 Integrating the equation Runge-Kutta method  Estimate the next position for a more accurate result  Predictor step  Estimate new position using Euler to give x * (t+ ∆ t)  Corrector step  Use this to estimate velocity at (t+ ∆ t) to compute  x(t+ ∆ t) = x(t) + 1/2[v(x(t)) + v(x*(t+ ∆ t))]

2Flow/03 43 Deciding upon ∆ t  Critical to choose a good value  Trade off between accuracy and computational cost  Best to use a variable ∆ t depending on gradient of velocity field  Animated particle paths clearly require a fixed ∆ t for smooth and comprehensible animation

2Flow/03 44 Haber Glyphs  Used to visualize the stress-strain in a tensor  Split the tensor into symmetric and anti-symmetric parts  J(s) is the stress-strain tensor  Glyph is a cylinder and an ellipse  Cylinder axis direction shows major principal direction, ellipse axes show the other two  Cylinder and axis lengths show stretching in each axis.

2Flow/03 45

2Flow/03 46 Example of Haber Glyphs  Haber R B, “Visualization Techniques for Engineering Mechanics”,

2Flow/03 47 de Leeuw and van Wijk glyphs  Visualise the tensor field in the context of the associated velocity field  Steady state flows only  Best used as a probe or small multiple  Constructs local coordinate axis as with Haber glyphs  Decompose tensor into parallel & perpendicular components  Extract further components from these  acceleration, shear, curvature (parallel)  torsion, divergence (perpendicular)

2Flow/03 48 de Leeuw and van Wijk glyphs  Flow in a vortex

2Flow/03 49 Textures  In addition to surface height, colour and vectors we can use texture (bump mapping)  Bump map is a collection of bumps (texture) used to add additional  information to a graphical primitive  Interactive adjustment of parameters is desirable to obtain best results  Careful use is needed as additions to an already rough surface can be distracting

2Flow/03 50 Climate Model Example  Climate model produces a number of components:  wind velocity  heat (outgoing long wave radiation from earths surface)  surface height  We want to correlate these components:  Reference map (surface plot): surface heights  Colour of Reference map: heat (blue - red)  Bump mapping: wind velocity (smooth - rough)

2Flow/03 51 Climate Model using Texture  Crawfis R A, Allison M J, LLNL

2Flow/03 52 More use of textures  Texture maps can be used to represent more information about vectors and tensors than just magnitude  The process is called “Line Integral Convolution”  You take:  a vector field defined on a cartesian grid  a texture map of the same dimensions  “The output image is a one-one correspondence of a 1D convolution of a filter kernal and texture pixels along a local streamline in the vector field”  More simply the texture is “smeared” in the direction of the vector field

2Flow/03 53 Texture for tensor fields  texture is the eigen vector of the stress tensor  colour is the magnitude of the compressive force  Demarcelle T, Hesselink L, Stanford University

2Flow/03 54 Double Glazing Case Study  The dataset and observations came from Dr Tim David, Mechanical Engineering Department, University of Leeds  It is a study of the behaviour of air flow between two plates, where one plate is cold and the other is warm e.g., double glazing  There is a linear temperature variation between the two plates  See notes for picture

2Flow/03 55 Double Glazing – Arrows  See notes

2Flow/03 56 Double Glazing - Streamlines

2Flow/03 57 Double Glazing - Particles

2Flow/03 58 Systems  Most of the current Visualization Environments support the major flow visualization techniques:  Application Visualization System (AVS)  IBM Data Explorer  Iris Explorer  More limited techniques are available in Khoros, PV-Wave, IDL

2Flow/03 59 More Systems  Other turnkey/public domain systems with extra features for flow visualization:  Data Visualiser  FAST: NASA Ames (  ISVAS: research prototype developed by Fraunhofer Institute for Computer Graphics Darmstadt, Germany (ftp://ftp.igd.fhg.de:pub/isvas)  Visual3: (

2Flow/03 60 Conclusions  The techniques are very useful for 2D flow.  We can represent single 3D vectors but we ideally want to visualize the 3D flow field  Lot of current research in methods to represent fields of vectors and some of these include  Direct volume rendering  Stream surfaces with additional cues  Area glyphs to summarise characteristics  We will see some of these in the section on Multidimensional data