Title: Computer Animation Algorithms and Techniques
1Computer AnimationAlgorithms and Techniques
Computational Fluid Dynamics
2Fluid
viscous v. non-viscous
conservation of mass momentum energy
compressible v. non-compressible
laminar flow
turbulent
velocity
steady state flow
density
gravity
pressure
heat
3Models
grid-based (Eulerian)
particle-based (Lagrangian)
Hybrid
4Notation
Gradient
Divergence
5Divergence Theorem
The integral of the flow fields divergence over
the volume of the cell is the same as the intgral
of the flow field over the cells boundary
6Conservation of Mass
dx
7Conservation of Mass
If incompressible
8Conservation of Momentum
in x
dy
dx
9Conservation of Momentum
10Velocity u,v Coordinates x,y Density Pressure
p
Euler Equations - 2D
11Euler Equations - incompressible form
12Stable Fluids
Velocity grid
Density grid
Move densities around using velocity grid and
dissipate densities
Move velocities around using velocity grid and
dissipate velocities
13Stable Fluids
Source
Force
Advection
Dissipation