The Navier-Stokes equations govern everything from a raindrop to a galaxy-scale gas cloud. Explore SPH particles, ocean Gerstner waves, and turbulent vortices — all running live in your browser.
From laminar to turbulent — fluids in motion
Fluid simulation is one of the hardest problems in real-time graphics. The Navier-Stokes equations are non-linear PDEs with no closed-form general solution. Modern methods — SPH particles, lattice-Boltzmann cells, height-field approximations — trade physical exactness for interactive framerates.
The equations behind fluid motion
Deep dives into fluid simulation techniques
SPH, Navier–Stokes, Kármán vortex streets, and ocean waves — live
Fluid dynamics simulations model the motion of liquids and gases governed by the Navier–Stokes equations. Smoothed-Particle Hydrodynamics (SPH) represents fluid as interacting particles that compute pressure and viscosity from kernel-weighted neighbourhood sums. The Kármán vortex street simulation solves a simplified 2D grid model to reproduce the alternating vortex shedding behind a cylinder — a pattern visible in cloud formations and studied in aerodynamics and civil engineering.
Ocean wave simulations implement Gerstner's trochoidal wave equations on a GPU vertex shader for tens of thousands of vertices at interactive frame rates. By adjusting Reynolds number, particle density, viscosity, or wave steepness you transition between laminar flow and turbulence, observe wave breaking, and watch surface tension create capillary ripples. These are the same mathematical frameworks used in CFD software, weather models, and animated film pipelines.
Fluid dynamics is among the most computationally demanding fields in science. Weather forecasting, aircraft design, cardiovascular medicine, and offshore engineering all depend on solving the Navier-Stokes equations. The Clay Mathematics Institute has offered a $1 million prize for a rigorous mathematical proof of whether smooth solutions always exist — one of the seven Millennium Prize Problems. These browser simulations give an intuitive feel for turbulence, vortex dynamics, and the transition from laminar to chaotic flow.
Topics and algorithms you'll explore in this category
5 questions — Reynolds number, Bernoulli, viscosity and more
Common questions about this simulation category