Fluid animation
Problems
- Fluid simulation for animation
Produce plausible, controllable motion of smoke, fire and liquids from a domain, sources and boundaries, stable at the large time steps of animation, rather than accurate motion.
core - Surface reconstruction from fluid particles
Build a smooth liquid surface from the particles of a FLIP or SPH simulation, by a blended implicit function or anisotropic kernels, then polygonize it.
advanced
Algorithms
- Fluid-implicit-particle method
Like particle-in-cell, but add only the change of the grid velocity to each particle, which reduces the dissipation of PIC and adds noise.
1 languagescore - Height field water
Simulate a water surface as a height grid evolving by a linearized shallow water wave equation with implicit steps, cheap enough for real time.
1 languagescore - Particle-in-cell method
Carry velocity on particles, transfer it to a grid for forces and pressure projection, and interpolate the grid velocity back to the particles.
1 languagescore - Stable fluids
Advance a grid fluid by semi-Lagrangian advection, implicit diffusion and pressure projection. It is stable for any time step, but first order and dissipative, so stable is not accurate.
1 languagescore - Tessendorf FFT ocean synthesis
Fill a frequency grid with random amplitudes from an ocean spectrum such as Phillips, advance phases by the dispersion relation, and invert by FFT.
1 languagescore - Back and forth error compensation and correction
Advect forward and back, take half the difference from the start as the error, and advect the corrected field. It is second order for smooth fields and needs a limiter at sharp edges.
1 languagesadvanced - Foster-Metaxas liquid animation
Animate liquids by explicit finite differences of the Navier-Stokes equations on a MAC grid, a cell-by-cell pressure iteration and marker particles for the surface.
1 languagesadvanced - Implicit incompressible SPH
An SPH fluid solver that finds the pressures from a linear system, a discrete pressure Poisson equation, solved by relaxed Jacobi iteration so that the predicted density is the rest density.
1 languagesadvanced - Nguyen-Fedkiw-Jensen fire
Animate fire with a level set for the thin blue core that moves with the fuel plus a flame speed, and two incompressible flows, fuel and hot products, joined by jump conditions at the core.
1 languagesadvanced - Particle level set method
Move a liquid surface as a level set and fix its loss of volume with marker particles on both sides. A particle that crosses the surface by more than its radius rebuilds it nearby.
1 languagesadvanced - Position based fluids
A particle fluid solver that keeps the SPH density of each particle near the rest density as a constraint on positions, solved by a few Jacobi passes of position based dynamics.
1 languagesadvanced - Predictive-corrective incompressible SPH
An SPH fluid solver that finds each pressure by a loop that predicts the next positions and densities and corrects the pressure by a fixed factor times the predicted density error.
1 languagesadvanced - Unconditionally stable MacCormack method
Advect forward, trace the result back, and add half the round trip error to the forward result. Second order for smooth fields; a limiter keeps each value in its stencil range.
1 languagesadvanced - Variational solid-fluid coupling
Find the pressure that minimizes the kinetic energy of fluid and solids, with face weights for cells that a solid cuts. Walls need not follow the grid, and rigid bodies couple in one solve.
1 languagesadvanced - Weakly compressible SPH
An SPH fluid solver that computes pressure from density with a stiff Tait equation of state, so the fluid compresses by about 1% and needs no pressure solve, at the cost of small time steps.
1 languagesadvanced - Affine particle-in-cell
Store an affine velocity matrix on each particle; under the hypotheses of the paper, the particle to grid and grid to particle transfers then conserve angular momentum.
1 languagesresearch - Divergence-free SPH
An SPH fluid solver with two Jacobi-like solvers in each step, one that keeps the density at the rest density and one that makes the velocity field divergence free.
1 languagesresearch
Data structures
- MAC grid
A fluid grid with pressure at cell centers and each velocity component on the faces normal to it. Divergence and gradient become compact central differences with no checkerboard null space.
1 languagescore
Techniques
- Vorticity confinement
Add a force at right angles to the gradient of the vorticity magnitude, which spins up the small swirls that numerical dissipation removes from smoke on a coarse grid.
1 languagescore
Concepts
- Eulerian and Lagrangian viewpoints
Describe a fluid by values at fixed points of space, or by values carried with the moving fluid; grids follow the first view, particles the second, and the material derivative links them.
intro
Models
- Gerstner waves
Model ocean waves by moving surface points on circles, which gives sharp crests and flat troughs, summed over several wave trains.
1 languagesintro - Boussinesq buoyancy
Model the lift of hot gas and the weight of smoke by an upward force linear in temperature and smoke density, in a flow that keeps one constant density.
1 languagescore