vector field visualization

23
ctor field: F(U) = V U: field domain (x,y) in 2D (x,y,z) in 3D V: vector (u,v) or (u,v,w) scalar fields, vectors are defined at discrete poi Vector Field Visualization

Upload: shilah

Post on 06-Jan-2016

26 views

Category:

Documents


0 download

DESCRIPTION

Vector Field Visualization. A vector field: F(U) = V U: field domain (x,y) in 2D (x,y,z) in 3D V: vector (u,v) or (u,v,w) - Like scalar fields, vectors are defined at discrete points. Vector Field Viz Applications. Computational Fluid Dynamics. Weather modeling. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Vector Field Visualization

-A vector field: F(U) = V

U: field domain (x,y) in 2D (x,y,z) in 3D V: vector (u,v) or (u,v,w)

- Like scalar fields, vectors are defined at discrete points

Vector Field Visualization

Page 2: Vector Field Visualization

Vector Field Viz Applications

Computational Fluid Dynamics Weather modeling

Page 3: Vector Field Visualization

Vector Field Visualization Challenges

General Goal: Display the field’s directional information

Domain Specific: Detect certain features Vortex cores, Swirl

Page 4: Vector Field Visualization

Vector Field Visualization Challenges

A good vector field visualization is difficult to get:

- Displaying a vector requires more visual attributes (u,v,w): direction and magnitude

- Displaying a vector requires more screen space

more than one pixel is required to display an arrow

==> It becomes more challenging to display a dense vector field

Page 5: Vector Field Visualization

Vector Field Visualization Techniques

Local technique: Particle Advection - Display the trajectory of a particle starting from a particular location

Global technique: Hedgehogs, Line Integral Convolution, Texture Splats etc - Display the flow direction everywhere in the field

Page 6: Vector Field Visualization

Local technique - Particle Tracing

Visualizing the flow directions by releasing particles and calculating a series of particle positions based on the vectorfield

The motion of particle: dx/dt = v(x)

x: particle position (x,y,z)v(x): the vector (velocity) field

Use numerical integration to compute a new particle position

x(t+dt) = x(t) + Integration( v(x(t)) dt )

Page 7: Vector Field Visualization

Numerical Integration

First Order Euler method: x(t+dt) = x(t) + v(x(t)) * dt

- Not very accurate, but fast - Other higher order methods are avilable: Runge-Kutta second and fourth order integration methods (more popular due to their accuracy)

Result of first orderEuler method

Page 8: Vector Field Visualization

Numerical Integration (2)

Second Runge-Kutta Method

x(t+dt) = x(t) + ½ * (K1 + K2) k1 = dt * v(x(t)) k2 = dt * v(x(t)+k1)

½ * [v(x(t))+v(x(t)+dt*v(x(t))]

x(t+dt)

x(t)

Page 9: Vector Field Visualization

Numerical Integration (3)

Standard Method: Runge-Kutta fourth order

x(t+dt) = x(t) + 1/6 (k1 + 2k2 + 2k3 + k4)

k1 = dt * v(t); k2 = dt * v(x(t) + k1/2)

k3 = dt * v(x(t) + k2/2); k4 = dt * v(x(t) + k3)

Page 10: Vector Field Visualization

StreamlinesA curves that connect all the particle positions

Page 11: Vector Field Visualization

Streamlines (cont’d)

- 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

Page 12: Vector Field Visualization

Pathlines, Timelines, and Streaklines

-Extension of streamlines for time-varying data

Pathlines:

Timelines:

T=1

T=2

T=3 T=4

T=5

T = 1 T = 2 T = 3

timeline

Page 13: Vector Field Visualization

Streaklines

- Continuously injecting a new particle at each time step, advecting all the existing particles and connect them together into a streakline

b.t. =5b.t. =4

b.t. =3

b.t. =2 b.t. =1

Page 14: Vector Field Visualization

Global techniques

- Display the entire flow field in a single picture - Minimum user intervention- Example: Hedgehogs (global arrow plots)

Page 15: Vector Field Visualization

Hedgehogs

- Dense 2D fields or 3D fields are difficult

Page 16: Vector Field Visualization

Line Integral Convolution (LIC)

Page 17: Vector Field Visualization

LIC Example

Page 18: Vector Field Visualization

3D LIC

Page 19: Vector Field Visualization

Comparison (LIC and Streamlines)

Page 20: Vector Field Visualization

LIC on 3D surfaces and volumes

Page 21: Vector Field Visualization

More global techniques

Texture Splats

Page 22: Vector Field Visualization

Spot Noise

Page 23: Vector Field Visualization

Line bundles