Overview
The projection step solves for pressure so velocity divergence is removed, a core piece of many grid-based fluid solvers.
Makes a fluid velocity field incompressible by subtracting pressure gradients.
Compact metadata for implementation and discovery.
The projection step solves for pressure so velocity divergence is removed, a core piece of many grid-based fluid solvers.
Quick facts
Runtime and memory behavior at a glance.
Best
O(cells)
Average
O(iterations * cells)
Worst
O(iterations * cells)
Space
O(cells)
velocity_next = velocity - gradient(pressure)Subtracts the pressure gradient to reduce divergence.
Show a velocity grid before and after arrows are adjusted to remove divergence.
Boundary conditions strongly affect fluid behavior near solid walls.
What each reference supports for this entry.
Stable Fluids paper describing projection-based incompressible fluid simulation for graphics.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Stable fluid solvers commonly pair semi-Lagrangian advection with projection.
Vorticity confinement can restore swirling detail after projection-based fluid solves.