Data Visualization Lecture 9

Slides:



Advertisements
Similar presentations
Mathematical Preliminaries
Advertisements

Feichter_DPG-SYKL03_Bild-01. Feichter_DPG-SYKL03_Bild-02.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Human Movement in a Fluid Medium
Chapter 1 The Study of Body Function Image PowerPoint
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Visualization Tools for Vorticity Transport Analysis in Incompressible Flow November IEEE Vis Filip Sadlo, Ronald CGL - ETH Zurich Mirjam.
Chapter 3: Top-Down Design with Functions Problem Solving & Program Design in C Sixth Edition By Jeri R. Hanly & Elliot B. Koffman.
1 Covalent bonds l Nonmetals hold onto their valence electrons. l They cant give away electrons to bond. l Still want noble gas configuration. l Get it.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 10 second questions
Lecture 5 3D Scalar Visualization Part One: Isosurfacing
ENV Envisioning Information Lecture 15 – Scientific Visualization Vector Data – Flow Visualization Ken Brodlie
ENV Envisioning Information Lecture 12 – Scientific Visualization Scalar 2D Data Ken Brodlie
7.1 Vis_04 Data Visualization Lecture 7 3D Scalar Visualization Part 2 : Volume Rendering- Introduction.
Data Visualization Lecture 4 Two Dimensional Scalar Visualization
Visualization Techniques -
16.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 16 – Some Special Rendering Effects.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Mathematics for Economics Beatrice Venturi 1 Economics Faculty CONTINUOUS TIME: LINEAR DIFFERENTIAL EQUATIONS Economic Applications LESSON 2 prof. Beatrice.
Realistic Simulation and Rendering of Smoke CSE Class Project Presentation Oleksiy Busaryev TexPoint fonts used in EMF. Read the TexPoint manual.

Announcements Homework 6 is due on Thursday (Oct 18)
Vector Field Visualization Jian Huang, CS 594, Spring 2002 This set of slides reference slides developed by Prof. Torsten Moeller, at CS, Simon Fraser.
MAT 205 F08 Chapter 12 Complex Numbers.
2 |SharePoint Saturday New York City
VOORBLAD.
Kinetics of Particles So far, we have only studied the kinematics of particle motion, meaning we have studied the relationships between position, velocity,
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Splines I – Curves and Properties
CS 240 Computer Programming 1
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
12 October, 2014 St Mungo's Academy 1 ADVANCED HIGHER MATHS REVISION AND FORMULAE UNIT 1.
Chapter 6 Equations 6.1 Solving Trigonometric Equations 6.2 More on Trigonometric Equations 6.3 Trigonometric Equations Involving Multiples Angles 6.4.
Januar MDMDFSSMDMDFSSS
Analyzing Genes and Genomes
Copyright © 2014 John Wiley & Sons, Inc. All rights reserved.
Vector Algebra One Mark Questions PREPARED BY:
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Intracellular Compartments and Transport
PSSA Preparation.
Kinematics of Particles
Essential Cell Biology
1 Chapter 13 Nuclear Magnetic Resonance Spectroscopy.
Energy Generation in Mitochondria and Chlorplasts
State Variables.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
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.
CDS 301 Fall, 2009 Vector Visualization Chap. 6 October 7, 2009 Jie Zhang Copyright ©
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.
Vector Field Visualization
Data Visualization Fall 2015.
Flow Visualization MJ Turner June 16 MSc ACS COMP60051 Manchester.
Robert S. Laramee 1 Visualization Lecture Flow visualization, An Introduction.
FLOWING FLUIDS AND PRESSURE VARIATION
Vector Field Visualization
Vector Field Visualization
Presentation transcript:

Data Visualization Lecture 9 Vector Field Visualization - Visualizing Flow Part 1: Experimental Techniques Particle based Techniques

Applications of Vector Field Visualization The major application area is Computational Fluid Dynamics where we wish to visualize the velocity field within a volume, or on a surface ... but has applications to any other discipline where flow is involved for example, the flow of population in social sciences Important distinction between steady and unsteady (time-dependent) flow

Virtual Windtunnel The Virtual Windtunnel is a VR facility developed by NASA for aircraft testing

Visualizing Flow over Aircraft Wing

Experimental and Computational Fluid Dynamics Experimental fluid dynamics: aim to get impression of flow around a scale model of object (eg smoke in wind tunnel) disadvantages in cost, time and integrity Computational fluid dynamics simulation of the flow (Navier-Stokes equations) visualization of the resulting velocity field so as to mimic the experimental techniques

Experimental Flow Visualization - Adding Foreign Material Time lines row of small particles (hydrogen bubbles) released at right angles to flow - motion of ‘line’ shows the fluid flow Streak line dye injected from fixed position for period of time - tracer of dye shows the fluid flow Path line small particles (magnesium powder in liquid; oil drops in gas) - velocity measured by photographing motion with known exposure time

Experimental Flow Visualization - Other Techniques Visualization of flow field on surface of object achieved by fixing tufts at several points on surface - orientation of threads indicates direction of flow Notice distinction: tufts show flow past a fixed point (Eulerian) bubbles etc show the flow from point of view of a floating object (Lagrangian)

Experimental Visualization Example - Poster Paint in Water see www.flometrics.com

Experimental Visualization - Particles Illuminated by Laser Sheet Light

Computer Flow Visualization Now look at methods for computer aided flow visualization Assume initially velocity field given on 3D Cartesian grid velocity vx, vy, vz given at each grid point hexahedral cells

Using Scalar Techniques Sometimes it is useful to derive scalar quantities from the velocity field For example, velocity magnitude speed = sqrt (vx2 + vy2 + vz2) How would these be visualized?

Arrows Very simple technique Arrow drawn at each grid point showing direction and size of velocity This works effectively enough in 2D

Arrows But in 3D it suffers from perception problems: Is it this? or this? Of course the picture quickly gets cluttered too

Arrows Arrows can be used successfully in 3D as follows: by slicing the volume, and attaching arrows (with shadow effects) to the slice plane - this gives a hedgehog effect by giving more spatial cues - drawing arrows as true 3D objects but clutter again a problem! {BTW - Eulerian or Lagrangian?}

CFD simulation of laser example Flometrics - see www.flometrics.com

Comparison of Experimental and Computational Visualization

Tufts

Particle Traces This is analogous to experimental path lines - we imagine following the path of a weightless particle - cf a bubble Suppose initial position - seed point - is (x0, y0, z0) The aim is to find how the path ( x(t), y(t), z(t) ) develops over time Also called particle advection

dx/dt = vx; dy/dt = vy; dz/dt = vz Particle Traces Motion of a particle is given by: dx/dt = vx; dy/dt = vy; dz/dt = vz - three ordinary differential equations with initial conditions at time zero: x(0) = x0; y(0) = y0; z(0) = z0 In 2D, we have: (x0,y0) (vx,vy) is rate of change of position

Particle Tracing - Numerical Techniques for Integrating the ODEs Simplest technique is Euler’s method: dx/dt = ( x(t+t) - x(t)) / t = vx(p(t)) hence x(t+t) = x(t) + t.vx(p(t)) Similarly, for y(t) and z(t) p=(x,y,z) In 2D, we have: (x1,y1) (t.vx,t.vy) (x0,y0)

Particle Tracing - Interpolation As the solution proceeds, we need velocity values at interior points (vx, vy, vz) is calculated at current point (x,y,z) - by trilinear interpolation for example. In 2D, we have: (x0,y0) (x1,y1) (vx,vy) found by interpolation (bilinear)

Particle Tracing - Point Location When we leave one cell, we need to determine which cell the new point belongs to (x0,y0) (x1,y1) -this is quite straightforward for Cartesian grids

Particle Tracing - Algorithm find cell containing initial position {point location} while particle in grid determine velocity at current position {interpolation} calculate new position {integration} find cell containing new position endwhile

Improving the Integration Euler’s method is inaccurate (unless the step size t is very small) Better is Runge-Kutta: x* = x(t) + t.vx(p(t)) (and for y*, z*) x(t+t) = x(t) + t.{ vx(p(t)) + vx(p*)}/2 (and for y,z) This is Runge-Kutta 2nd order - there is also a more accurate 4th order method There is another source of error in particle tracing what?

Rendering the Particles - and Rakes Particles may be rendered as points - but are there better representations? It is common to use a rake of seed points, rather than just one - rake can be line, circle, even an area...

Particle Advection Example - Flow Around a Moving Car Created using IRIS Explorer

Streak Lines and Time Lines release continuous flow of particles for a short period Time lines release a line of particles at same instant and draw a curve through the positions at successive time intervals

Stream Lines Mathematically, stream lines are lines everywhere tangential to the flow For a steady flow - what is the relation between stream lines and particle traces? stream lines

Rendering Streamlines In 3D, curves are hard to understand without depth cues Ideas used include: stream ribbons - each streamline drawn as a thin flat ribbon, showing twist; or two adjacent streamlines connected into ribbon, showing twist and divergence tubes

Streamlines Example Streamlines drawn as tubes - by K Ma of ICASE (see www.icase.edu)

Steady Flow Visualization Streamlines and stream ribbons best for flow direction Particle traces best for flow speed Note that derived quantities are also visualized: flow speed as 3D scalar field vorticity field as 3D vector field vorticity magnitude as 3D scalar field (Vortex = rotational flow about axis vorticity = vector product of velocity and its gradient)

Unsteady Flow Visualization Recent research interest has been in the more complex case of unsteady flows, where velocity depends on time Particle traces, streak lines and time lines can all be used Streak lines seem to give the best results Nice applet at: http://widget.ecn.purdue.edu/~meapplet/java/flowvis/Index.html

Different Types of Grid Rectilinear Curvilinear Unstructured

Curvilinear Grids Point location and interpolation are much harder than for Cartesian grids a solution is to decompose each hexahedral cell into tetrahedra point ‘inside’ test then easier... … and interpolation is linear Point location draw line to new point calculate intersection with faces to determine adjacent tetrahedron check whether point inside new tetrahedron