A grid-based solver advances the incompressible Navier-Stokes equations by advecting velocity, adding
viscous diffusion, then projecting the field to remove divergence (enforcing incompressibility).
∂u/∂t + (u·∇)u = −∇p/ρ + ν∇²u, ∇·u = 0
Re = U·D / ν
steps: advect → diffuse → project (Poisson pressure solve)
- Inflow speed — free-stream velocity U entering from the left boundary.
- Viscosity (1/Re) — kinematic viscosity; lower values raise Reynolds number and promote turbulence/shedding.
- Grid resolution — number of discretization cells; finer grids resolve smaller eddies at higher cost.
- Velocity / Vorticity view — colors each cell by speed magnitude or by local rotation (curl) of the flow.
This advect-diffuse-project scheme (a simplified stable-fluids method) is the same family of algorithm used
in real CFD software for aerodynamic and HVAC airflow simulation.