introduction to flow visualization

Click here to load reader

Upload: avalon

Post on 08-Feb-2016

83 views

Category:

Documents


1 download

DESCRIPTION

Introduction to Flow Visualization. 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 presentation slides acquired online. Vector Visualization. - PowerPoint PPT Presentation

TRANSCRIPT

Introduction to Flow Visualization

This set of slides developed by Prof. Torsten Moeller, at Simon Fraser Univ and Professor Jian Huang, at University of Tennessee, KnoxvilleAnd some other presentation slides acquired onlineIntroduction to Flow VisualizationVector VisualizationData set is given by a vector component and its magnitudeoften results from study of fluid flow or by looking at derivatives (rate of change) of some quantitytrying to find out what to see and how!Many visualization techniques proposedVector Visualization - TechniquesHedgehogs/glyphsParticle tracingstream-, streak-, time- & path-linesstream-ribbon, stream-surfaces, stream-polygons, stream-tubehyper-streamlinesLine Integral ConvolutionVector Visualization - OriginWhere are those methods coming from??Rich field of Fluid Flow VisualizationHundreds of years old!!Modern domain - Computational Field SimulationsLets see some images firstFlow visualization

Leonardo Da Vincis Hand drawingsNaturally occurring flow visualization

Flow Past a Cylinder

Clouds past a mountainSome gas flow visualization images

Smoke visualization

Top- flow past aerofoilSide- laminar smoke jetSchlieren flow visualization

ShadowgraphBullet at supersonic speed

Flow over AerofoilSide particle visualizationBelow dye visualizationLiquid flows

Insects walking on water

Drop falling on liquid surfaceNormal laminar flow chain

Jets and PlumesTop left- flow below an ice cube in waterTop right- near field of a jetSide- jet and flame jet

Buoyant jet in stratified fluidTear ducts in wine glassDelta Wing Vortex Top & Back Views

Delta Wing Vortex Top & Side Views

MEMS Vortex Control

Vortex under control, moving outwardsMoving inwardsTrailing Vortex Shed from Wingtip

Missile Firing, Shock-cell structure

Hurricane Fran, 1996

Flow VisualizationGaseous flow:development of cars, aircraft, spacecraftdesign of machines - turbines, combustion enginesLiquid Flow:naval applications - ship designcivil engineering - harbor design, coastal protectionChemistry - fluid flow in reactor tanksMedicine - blood vessels, SPECT, fMRIFlow Visualization (2)What is the problem definition?Given (typically):physical position (vector)pressure (scalar),density (scalar),velocity (vector),entropy (scalar)steady flow - vector field stays constantunsteady - vector field changes with timeFlow Visualization - traditionallyTraditionally - Experimental Flow Vis

How? - Three basic techniques:adding foreign materialoptical techniquesadding heat and energyExperimental Flow Visualiz.Problems:the flow is affected by experimental techniquenot all phenomena can be visualizedexpensive (wind tunnels, small scale models)time consumingThats where computer graphics and YOU come in!Vector Field Visualization TechniquesLocal technique: Advection based methods - Display the trajectory starting from a particular location - streamxxxx - contours

Global technique: Hedgehogs, Line Integral Convolution, Texture Splats etc. Display the flow direction everywhere in the fieldLocal technique - Streamline Basic idea: visualizing the flow directions by releasing particles and calculating a series of particle positions based on the vector field -- streamline

Numerical IntegrationEuler

not good enough, need to resort to higherorder methods

Numerical Integration2nd order Runge-Kutta

Numerical Integration4th order Runge-Kutta

Streamlines (contd)- Displaying streamlines is a local technique because you can only visualize the flow directions initiated from one or a few particles

- When the number of streamlines is increased, the scene becomes cluttered

- You need to know where to drop the particle seeds

- Streamline computation is expensive

Pathlines, TimelinesExtension of streamlines for time-varying data (unsteady flows)

Pathlines:

Timelines:

T=1T=2T=3T=4T=5T = 1T = 2T = 3timelineStreaklines For unsteady flows also Continuously injecting a new particle at each time step, advecting all the existing particles and connect them together into a streaklineb.t. =5b.t. =4b.t. =3b.t. =2b.t. =1Advection methods comparison

Stream-ribbonWe really would like to see vorticities, I.e. places were the flow twists.A point primitive or an icon can hardly convey thisidea: trace neighboring particles and connect them with polygonsshade those polygons appropriately and one will detect twistsStream-ribbonProblem - when flow divergesSolution: Just trace one streamline and a constant size vector with it:

Stream-tubeGenerate a stream-line and connect circular crossflow sections along the stream-line

Stream-ballsAnother way to get around diverging stream-linessimply put implicit surface primitives at particle traces - at places where they are close theyll merge elegantly ...36Next time - include implicit stream surface, stream polygonFlow VolumesInstead of tracing a line - trace a small polyhedra

ContoursContour lines can measure certain quantities by connecting same values along a line

Global techniques- Display the entire flow field in a single picture - Minimum user intervention- Example: Hedgehogs (global arrow plots)Mappings - Hedgehogs, GlyphsPut icons at certain places in the flowe.g. arrows - represent direction & magnitudeother primitives are possible

Mappings - Hedgehogs, Glyphsanalogous to tufts or vanes from experimental flow visualizationclutter the image real quickmaybe ok for 2Dnot very informativeGlobal MethodsSpot Noise (van Wijk 91)Line Integral Convolution (Cabral 93)Texture Splats (Crawfis 93)

Spot NoiseUses small motion blurred particles to visualize flows on stream surfacesParticles represented as ellipses with their long axes oriented along the direction of the flowI.e. we multiply our kernel h with an amplitude and add a phase shift!Hence - we convolve a spot kernel in spatial domain with a random sequence (white noise)

Spot Noiseexamples of white noise:set of random values on a gridPoisson point process - a set of randomly scaled delta functions randomly placed (dart throwing)variation of the data visualization can be realized via variation of the spot:

d - data valuem - parameter mapping

Rendering - Spot Noise

Different sizeDifferent profilesRendering - Spot Noisebla

Rendering - LICSimilar to spot noiseembed a noise texture under the vector fielddifference - integrates along a streamline

LICSpot NoiseTexture SplatsCrawfis, Max 1993extended splatting to visualize vector fieldsused simple idea of textured vectors for visualization of vector fieldsTexture Splats - Vector VizThe splat would be a Gaussian type texturehow about setting this to an arbitrary image?How about setting this to an image including some elongated particles representing the flow in the field?Texture must represent whether we are looking at the vector head on or sidewaysTexture Splats

Texture imagesAppropriate opacitiesTexture Splats - Vector VizHow do you get them to move?Just cycle over a periodic number of different textures (rows)More global techniquesTexture Splats

Spot Noise

Line bundles