Animating smoke with dynamic balance - PowerPoint PPT Presentation

1 / 39
About This Presentation
Title:

Animating smoke with dynamic balance

Description:

Animating smoke with dynamic balance Jin-Kyung Hong Chang-Hun Kim Vortex Advection Scheme (2/4) We separate the ... – PowerPoint PPT presentation

Number of Views:78
Avg rating:3.0/5.0
Slides: 40
Provided by: Tums5
Category:

less

Transcript and Presenter's Notes

Title: Animating smoke with dynamic balance


1
Animating smoke with dynamic balance
  • Jin-Kyung Hong
  • Chang-Hun Kim
  • ?? ???

2
Contents
  • Abstract
  • Introduction
  • contribution
  • Related Work
  • Computing Errors in the Advection Term
  • The Equations of Flow
  • Errors Compensation Scheme
  • Vortex Advection Based on Vorticity Confinement
  • Vorticity Confinement
  • Vortex Advection Scheme
  • Implementation
  • Results and Discussion
  • Conclusion

3
Abstract
  • Numerical method for avoiding dissipation
  • Compensation for the errors induced by
    semi-Largangian scheme
  • New advection term
  • Vortex advection based on a vorticity confinement
    force

4
Introduction (1/3)
  • Numerical error caused by discretization is as
    small as possible
  • fundamentally improve accuracy of the simulation,
    without additional computation
  • dynamic balance to maintain the coherence of the
    field

5
Introduction (2/3)
  • Compensation for losses in the energy of the
    velocity field by an advection step
  • Focus on maintaining the vorticity
  • Separate the vorticity field from main velocity
    field
  • In new advection step, estimate the error during
    each time interval and compensate

6
Introduction (3/3)
  • Reduces the numerical dissipation which
    necessarily results from the linear interpolation
    of a semi-Lagrangian scheme
  • Unique type of vortex
  • fully Eulerian

7
contribution
  • 1. Improving the method for solving the
    differential equation for the advection step by
    using error compensation
  • 2. Allowing the smoke model to remain dynamic
    near the center of a vortex by the use of vortex
    advection

8
Related work (1/2)
  • Realistic animation of liquids Foster Metaxas
    1996
  • Stable Fluids Stam 1999
  • Visual simulation of smoke Fedkiw 2001

9
Related work (2/2)
  • Back and forth error compensation and correction
    methods for removing errors induced by uneven
    gradients of the level set function Dupont 2003
  • A vortex particle method for smoke, water and
    explosions Selle 2005

10
Computing Errors in the Advection Term
  • The Equations of Flow
  • Error compensation Scheme

11
The Equations of Flow
  • Navier-Stokes equation
  • Velocity vector field u (u, v, w)

  • (1)
  • (2)

12
The Equations of Flow
Standard fluid simulation process
Mass Conservation to counteract dissipation
Force
diffusion
Self-advection of the velocity vector field
projection
Density advection along the velocity vector field
13
The Equations of Flow
  • Advection step
  • (3)

14
Error Compensation Scheme
  • Semi-Lagrangian scheme with error compensation
    that considers the time intervals before and
    after the advection step

15
Semi-Lagrangian advection
16
Semi-Lagrangian advection
Let d be any of the components of the fluid
velocity.
A first order accurate backwards Euler time-step
To find the velocity of a given voxel at
time t?t, we trace the velocity field backwards
in time to time t, and take the velocity from
there.
17
Numerical Dissipation
  • Semi-Lagrangian advection (or in fact, just about
    any usable Eulerian method) has a
    flawnumerical dissipation
  • When we advect a field, the new values are
    smoothly interpolated at various points from the
    old values
  • That interpolation smoothes the field

18
Dissipation Example (1/3)
  • Start with a function nicely sampled on a grid

19
Dissipation Example (2/3)
  • The function moves to the left(perfect
    advection) and is resampled

20
Dissipation Example (3/3)
  • And now we interpolate new sample values, and
    ruin it all!

21
The problem
  • In the limit ?x-gt0, this error goes to zero
  • Problem we cant or wont take the limit
  • Ideally we want a grid with only just enough
    resolution to represent details we care about
  • We may be forced to use something even coarser if
    computer resources too limited
  • Numerical dissipation very quickly smoothes them
    away

22
The Symptoms
  • For velocity fields
  • It looks like fluids are too sticky (molasses) or
    implausible length scale (scale model)
  • Swirly turbulent detail quickly decays, left with
    just boring bulk motion
  • For smoke concentration
  • Smoke diffuses into thin air too fast,nice thin
    features vanish

23
Error Compensation Scheme
  • (4)
  • (5)
  • (6)
  • (7)

24
Error Compensation
t
t
t 1
25
Backward error compensation algorithm
26
Forward error correction method
27
Forward error correction method
t
t
t 1
28
Vortex Advection Based on Vorticity Confinement
  • Using vortex advection based on vorticity
    confinement, we propose modified equations for
    developing a fluid simulation with a continuous
    vortex.
  • Vorticity Confinement
  • Vortex Advection Scheme

29
Vorticity Confinement (1/4)
  • (8)
  • (9)
  • (10)

30
Vorticity Confinement (2/4)
h height of grid E (constant) control the
amount of small scale detail
(Slide by Jos Stam, SIGGRAPH 2003)
31
Vorticity Confinement (3/4)
h height of grid E (constant) control the
amount of small scale detail
(Slide by Jos Stam, SIGGRAPH 2003)
32
Vorticity Confinement (4/4)
h height of grid E (constant) control the
amount of small scale detail
(Slide by Jos Stam, SIGGRAPH 2003)
33
Vortex Advection Scheme (1/4)
  • Two important properties of dynamic balance are
  • It has an advection step with error compensation
  • It uses vortex advection
  • Vortex advects along a velocity vector field

34
Vortex Advection Scheme (2/4)
  • We separate the vorticity field from the main
    velocity field
  • New advection term
  • (11)
  • (12)

35
Vortex Advection Scheme (3/4)
Velocity field
Vorticity
Vorticity confinement field
Keeping vorticity
36
Vortex Advection Scheme (4/4)
37
Implementation -Simulation Steps-
Determine the vorticity field
Equation (7)
Equation (12)
38
Results and Discussion
No swirling motion
Vortex is lost quickly
Smoke keeps spinning
w/o VC w/ VC w/ VA
lt Stam 99 gt
lt Fedkiw et al., 01 gt
lt Our method gt
39
Conclusion
  • We have proposed New method for persistent
    modeling for the unique features of smoke such as
    vortices
Write a Comment
User Comments (0)
About PowerShow.com