Whirlpool Simulator

Free-surface vortex and drain: Lamb-Oseen swirl, depth-integrated sink, real funnel from v²/(g r), Blender-built cove, drifting boats and buoys.

Switch to 2D

Presets

Playback

Things to try

  1. Raise circulation: the funnel deepens as its square (Bernoulli).
  2. Switch to Moon gravity: the funnel is about 6 times deeper.
  3. Heavy bodies (boat, log) are flung outward, light ones (duck, buoy) spiral into the drain.
  4. Raise viscosity and press Restart: the core spreads and the funnel fills in.

Vortex physics

Look and speed

Camera

Layers

Quality

Model check

The science

What is modelled

A steady, axisymmetric vortex over a drain, in a basin of radius R and depth h. Real whirlpools (tidal races, drains, spillway intakes) are turbulent and three-dimensional; this is the textbook idealisation that still reproduces the funnel shape, the speeds and the way light and heavy objects behave.

Swirl (Lamb-Oseen vortex)

vθ(r) = Γ / (2π r) · (1 − e−r²/rc²). Far from the axis this is the irrotational free vortex v ∝ 1/r (angular momentum r vθ = Γ/2π is conserved by a tracer). Inside the core it is almost solid-body rotation, ω0 = Γ/(4π rc²). The peak speed sits at r = 1.121 rc with vmax = 0.0715 Γ/rc. Viscosity (eddy viscosity ν) makes the core grow, rc²(t) = rc0² + 4νt, which is the spin-down preset.

Drain (depth-integrated sink)

Mass conservation for a layer of depth h gives 2π r h vr = −Q, so vr = −Q/(2π h r). The singularity at the axis is regularised as vr = −Q r /(2π h (r² + rd²)) with rd = 0.35 rc; a tracer that reaches 0.8 rd is swallowed and re-enters at the rim.

The funnel

Radial momentum balance for the swirling flow (centripetal acceleration supplied by the pressure gradient of the free surface) gives dζ/dr = vθ² / (g r). The drawn surface is the numerical integral ζ(r) = −∫rR vθ²/(g r') dr'. For an unbounded Lamb-Oseen vortex the depth on the axis has the closed form Δh0 = Γ² ln 2 / (4π² g rc²), which the first check compares with a separate numerical integral. If Δh0 ≥ h the funnel reaches the bottom: an air core (dry funnel) forms.

Floating bodies

Each body obeys dv/dt = (u(x) − v)/τ with τ = St · rc/vmax. Small Stokes number (duck, buoy) follows the water and is drawn into the drain; large Stokes number (log, boat) cannot follow the curved streamlines and is flung outward (the same inertial effect that sorts particles in a centrifuge). Bodies lean with the local surface slope.

Honest simplifications

  • Depth-averaged 2D flow plus a surface: no vertical velocity profile, no turbulence, no Ekman layer, no unsteady core wobble.
  • The vertical scale is multiplied by the exaggeration slider so the funnel is visible; the section graph and all readouts are at true scale.
  • The sea-floor, cliffs and props are Blender-built scenery and do not affect the flow. Water colour and foam are a shader, not a fluid solver.
  • The tracer, arrow and body motions are kinematic in this prescribed field (they do not feed back on it).

Model checks

(1) funnel depth: two independent computations; (2) a tracer falling into a pure sink: RK4 integration against the implicit closed form r²/2 + rd² ln r = C − Q t/(2πh); (3) circulation measured from the motion of the live tracer particles against the circulation you set.

Loading model...
Loading Blender model...
Swirl and drain speed versus radius
Section through the funnel (true scale)
Tracer fall into the drain: RK4 vs closed form
History: funnel depth and peak swirl
Made with 🟠 Blender · Three.js