🌊

Fluid Dynamics

Fluid dynamics explains why smoke curls into vortices, why an aircraft wing generates lift, and why water gushing through a pipe suddenly turns chaotic past a critical speed. This hub gathers the site's fluid and aerodynamics simulations into one guided starting point, from Bernoulli's simple pressure-velocity trade-off to a full Navier-Stokes solver running live in your browser.

16+ simulations Canvas 2D · WebGL · SPH · Lattice-Boltzmann

Simulations in this Topic

16 simulations across Fluid Dynamics and Aerospace Aerodynamics

💧 ★★★★ Expert
Real-Time Fluid Simulation — Navier–Stokes Solver
A stable-fluids Navier–Stokes solver running live in the browser — inject dye and forces with the mouse and watch pressure projection keep the flow incompressible.
Fluid Dynamics
🌀 ★★★★ Expert
Kármán Vortex Street
2D Lattice-Boltzmann (D2Q9, BGK) simulation of vortex shedding behind a cylinder, with adjustable Reynolds number and click-to-add obstacles.
Fluid Dynamics
🌀 ★★★☆ Advanced
Lattice-Boltzmann Flow
Draw your own obstacles into a D2Q9 lattice-Boltzmann fluid and watch vortices form, with live velocity, vorticity and density fields.
Fluid Dynamics
✈️ ★☆☆☆ Easy
Bernoulli's Principle — Airfoil Lift & Flow
Interactive streamlines around an airfoil — adjust angle of attack and airspeed to see how the pressure differential from Bernoulli's equation generates lift.
Fluid Dynamics
🚿 ★★☆☆ Moderate
Pipe Flow Profiles
Compare the flat, blunt velocity profile of turbulent pipe flow against the parabolic Poiseuille profile of laminar flow as Reynolds number changes.
Fluid Dynamics
~ ★★☆☆ Moderate
Laminar to Turbulent Transition
Watch smooth, layered laminar flow break down into chaotic turbulent eddies as the Reynolds number crosses the critical transition value.
Fluid Dynamics
★★☆☆ Moderate
Blasius Boundary Layer
Visualise the thin boundary layer that forms next to a flat plate, solved with the Blasius similarity equation — thickness grows with the square root of distance.
Fluid Dynamics
💧 ★★★☆ Advanced
SPH Dam Break
Watch a column of water collapse, splash and settle using Smoothed Particle Hydrodynamics — adjust viscosity, gravity and particle count.
Fluid Dynamics
🪂 ★★★☆ Advanced
Drag Coefficient
See how a body's shape and Reynolds number set aerodynamic drag, watch flow separate behind bluff bodies, and find the drag crisis on the live Cd–Re curve.
Fluid Dynamics
♨️ ★★★☆ Advanced
Rayleigh-Bénard Convection — Thermal Cells
Heat a fluid layer from below: above a critical Rayleigh number, ordered convection rolls spontaneously form, moving heat far more efficiently than conduction.
Fluid Dynamics
💧 ★★★☆ Advanced
Rayleigh-Taylor Instability — Heavy Over Light
A dense fluid sitting atop a lighter one is unstable — perturbations grow into the characteristic mushroom-shaped plumes that drive turbulent mixing.
Fluid Dynamics
💨 ★★★☆ Advanced
Vortex Ring Dynamics
Watch a vortex ring self-propel through fluid under the Biot-Savart law — adjust ring radius, core thickness and initial circulation.
Fluid Dynamics
✈️ ★★☆☆ Moderate
NACA Airfoil
A NACA 4-digit airfoil generator with thin-airfoil theory — lift and drag coefficients, L/D ratio, pressure distribution and animated flow streamlines.
Aerospace
🛩️ ★★★★ Expert
Wind Tunnel
Potential-flow streamlines over an aerofoil, cylinder, sphere or flat plate, with pressure colouring and stagnation points — raise angle of attack to trigger stall.
Aerospace
★★★☆ Advanced
Flight Simulator — Lift, Drag, Thrust & Pitch
A 2D flight simulator with realistic lift, drag, thrust and gravity — control pitch and explore how angle of attack affects lift and stall.
Aerospace
✈️ ★★★★ Expert
Supersonic Flow
Watch the Mach cone and oblique/bow shocks form around a body as Mach number rises, with Rankine-Hugoniot pressure jumps across the shock.
Aerospace

Suggested Learning Path

Six simulations, in the order we recommend exploring them

  1. 1
    1. Bernoulli's Principle — Airfoil Lift & Flow

    Start with the single equation that explains lift, carburettors and why a shower curtain clings inward — pressure trades off against speed along a streamline.

  2. 2
    2. Pipe Flow Profiles

    Move from open streamlines to a confined pipe, and compare the parabolic laminar profile with the flatter turbulent one.

  3. 3
    3. Laminar to Turbulent Transition

    Watch the same flow tip from smooth and orderly into chaotic as the Reynolds number crosses its critical value.

  4. 4
    4. Kármán Vortex Street

    See turbulence organise itself into a regular alternating pattern of vortices shedding behind a cylinder — the mechanism behind singing power lines and the Tacoma Narrows collapse.

  5. 5
    5. Real-Time Fluid Simulation — Navier–Stokes Solver

    Graduate to the full 2D Navier-Stokes equations, solved live with the stable-fluids method — inject your own dye and forces with the mouse.

  6. 6
    6. NACA Airfoil

    Apply everything above to a real wing shape and see how camber and angle of attack trade lift against drag on the polar curve.

Related Articles

The theory and maths behind the simulations above

Navier-Stokes Equations — The Mathematics of Fluid Flow
Reynolds number, laminar vs turbulent flow, the Kolmogorov cascade, boundary layers, and why Navier-Stokes existence is a Millennium Prize Problem.
Turbulence Explained — From Reynolds to Kolmogorov
What actually makes a flow turbulent, how energy cascades from large eddies down to viscous dissipation, and why turbulence is still unsolved.
Turbulence & Reynolds Number
How the dimensionless Reynolds number predicts whether a flow will stay laminar or tip into turbulence.
NACA Airfoil & Wing Aerodynamics
How camber, thickness and angle of attack in a NACA 4-digit airfoil shape lift, drag and stall behaviour.
Compressible and Expansion Flows: Shocks, Fans and Mach Number
What happens to a flow once compressibility can no longer be ignored — shocks, expansion fans and the physics of supersonic aircraft.
Fluid Simulation Methods — SPH vs LBM vs MPM vs FEM
A tour of the major numerical methods used to simulate fluids, and why games, VFX and engineering each pick a different one.

About the Fluid Dynamics Topic

From Bernoulli to Navier-Stokes — a complete map of the topic

Fluid dynamics is the branch of physics that describes how liquids and gases move — how water flows through a pipe, how air flows over a wing, and why both can switch, seemingly without warning, from smooth and predictable to swirling and chaotic. Almost everything in this hub traces back to one idea: a fluid parcel obeys Newton's second law just like any other object, but because it deforms continuously and interacts with its neighbours through pressure and viscosity, the resulting equations of motion — the Navier-Stokes equations — are dramatically harder to solve than anything in rigid-body mechanics. This hub gathers every interactive fluid and aerodynamics simulation on mysimulator.uk into one guided starting point, so instead of staring at a partial differential equation you can drag a slider and watch the physics unfold pixel by pixel in your browser.

The simplest entry point is Bernoulli's principle: along a streamline, faster-moving fluid has lower pressure, and slower-moving fluid has higher pressure. That one trade-off explains why an aircraft wing's curved upper surface generates lift, why a shower curtain billows inward, and why a carburettor can meter fuel using nothing but airspeed. Push a little further into confined flow — water forced through a pipe — and the picture splits into two regimes named after Osborne Reynolds: laminar flow, where fluid moves in smooth, orderly layers with a parabolic velocity profile, and turbulent flow, where the same fluid mixes chaotically across the pipe with a flatter, blunter profile. Which regime you get is set entirely by the Reynolds number, a dimensionless ratio of inertial to viscous forces — cross roughly 2,300 in a pipe and the flow tips from one regime into the other.

Turbulence itself is one of the last great unsolved problems in classical physics — the Navier-Stokes existence and smoothness problem is a Clay Millennium Prize question precisely because nobody has proven that solutions always stay well-behaved in three dimensions. The Kármán vortex street simulation shows one of the most visually striking consequences: past a certain Reynolds number, flow past a cylinder doesn't just become chaotic, it self-organises into a beautifully regular alternating pattern of shed vortices. The same shedding mechanism makes power lines sing in the wind, sets the pitch of a car aerial's whistle, and was implicated in the 1940 collapse of the Tacoma Narrows Bridge, whose deck oscillated in resonance with the vortex-shedding frequency.

The instability simulations dig deeper into how order breaks down. Rayleigh-Bénard convection heats a fluid layer from below and shows that, past a critical Rayleigh number, random thermal noise self-organises into regular convection rolls that move heat far more efficiently than plain conduction — the same mechanism that drives cells in a heated pan of oil, in Earth's mantle, and in the Sun's outer layers. Rayleigh-Taylor instability puts a dense fluid on top of a lighter one and watches the interface between them tear into the mushroom-shaped plumes familiar from mushroom clouds and supernova remnants. Both simulations are genuine numerical solvers, not pre-baked animations, so changing the driving parameter changes the pattern that emerges, not just its speed.

The aerospace end of the hub applies the same fluid mechanics to wings and bodies moving through air. The NACA airfoil simulation lets you generate a real 4-digit NACA profile and read off its lift and drag coefficients from thin-airfoil theory, while the wind tunnel and flight simulator let you push a wing past its stall angle and watch lift collapse as the boundary layer separates from the surface. At the far end of the speed range, the supersonic flow simulation shows what happens once a body moves faster than the local speed of sound: a Mach cone forms, oblique and bow shocks appear, and pressure and density jump discontinuously across them according to the Rankine-Hugoniot relations — the same physics that produces a sonic boom.

Together these simulations cover the full arc of the topic: the algebraic simplicity of Bernoulli's equation, the statistical mystery of turbulence, the pattern-forming instabilities that appear whenever fluids are pushed out of equilibrium, and the applied aerodynamics that keeps aircraft in the air. Every solver here — the lattice-Boltzmann method, smoothed particle hydrodynamics, and the stable-fluids Navier-Stokes integrator — genuinely computes the flow frame by frame rather than replaying a fixed animation, so changing the Reynolds number, viscosity or angle of attack changes the physics you see, not just the visuals. Follow the learning path below for a suggested order, or jump straight into the categories for the full simulation lists.

Frequently Asked Questions

Common questions about fluid dynamics and aerodynamics

What is the difference between laminar and turbulent flow?
Laminar flow moves in smooth, orderly layers with little mixing between them, producing a parabolic velocity profile in a pipe. Turbulent flow mixes chaotically across the full cross-section, producing a flatter, blunter profile. Which regime occurs is set by the Reynolds number — the ratio of inertial to viscous forces.
Why are the Navier-Stokes equations so hard to solve?
The Navier-Stokes equations are nonlinear partial differential equations, and that nonlinearity is exactly what produces turbulence's sensitivity to initial conditions. Proving that smooth solutions always exist in three dimensions and never blow up is an unsolved Clay Millennium Prize problem — the simulations here use numerical methods (lattice-Boltzmann, SPH, stable fluids) rather than closed-form solutions.
How does an aircraft wing actually generate lift?
Lift comes from the pressure difference between the wing's upper and lower surfaces, produced by how the airflow is deflected and accelerated around the aerofoil shape (captured by circulation and the Kutta-Joukowski theorem), not simply from the upper surface being longer as popular explanations sometimes claim.
What is the Kármán vortex street and why does it matter?
Past a critical Reynolds number, flow past a cylinder or similar bluff body sheds vortices alternately from each side in a regular pattern called a Kármán vortex street. It matters because the shedding frequency can resonate with a structure's natural frequency — a factor in the 1940 Tacoma Narrows Bridge collapse and in the design of chimneys and power lines today.

Other Topic Hubs

Every simulation in this hub runs entirely in your browser, with no installation required. Use each interactive model to experiment with vortices, boundary layers and airfoils, then learn fluid dynamics and aerodynamics online at your own pace by tweaking parameters and watching the mathematics play out.