THE SCIENCEWhy does wind-driven water turn instead of flow straight?
On a rotating Earth, the Coriolis acceleration turns a moving ocean current while turbulent mixing spreads momentum downward. The result, first explained by Vagn Walfrid Ekman, is a velocity spiral whose direction changes continuously with depth.
01 · Governing momentum law
We resolve horizontal velocity U = u + iv as a function of depth z and time t under rotation and vertical turbulent stress:
∂U/∂t + i f U = ∂/∂z(ν ∂U/∂z)
Here f = 2Ω sin φ is the signed Coriolis frequency, Ω = 7.2921159 × 10⁻⁵ rad/s is Earth's rotation rate, φ is latitude, and ν is an imposed vertical eddy viscosity in m²/s. The inertial rotation period is 2π/|f|.
02 · Boundary conditions
The sea surface receives the prescribed horizontal wind stress τ: ρν ∂U/∂z = τₓ + iτᵧ. At the bottom we impose a stationary no-slip boundary, U = 0. The water is uniform horizontally, its reference geostrophic velocity is zero, and density is fixed at 1025 kg/m³.
We solve 100 depth cells by conservative finite-volume diffusion and a complex tridiagonal Crank–Nicolson scheme, independent of animation frame rate.
03 · Classical Ekman solution
For constant viscosity and an infinitely deep ocean, the steady solution is U(z) = [τ/(ρνk)]eᵏᶻ, where k = (1 + i sgn f)/δ and δ = √(2ν/|f|). The surface flow turns 45° to the right of the wind in the north and left in the south. Its magnitude decays exponentially as the vector rotates with depth.
M = ∫U dz = −i τ/(ρ f)
The ideal integrated transport is perpendicular to the wind, even though individual currents are not. The model labels finite-depth deviations rather than hiding them.
04 · Six investigations
- Spiral Atlas: fit the computed steady profile to the deep-ocean analytic limit.
- Wind-Step Chronometer: start motionless and time the spreading current.
- Inertial Wake: switch the wind off after spin-up and measure the decaying inertial rotation.
- Two-Layer Mixing: move a sharp but smoothed viscosity interface to discover shear concentration.
- Shallow Shelf: reduce depth to reveal bottom-induced transport and surface-angle changes.
- Rotating Gale: rotate the wind stress at a chosen fraction of |f| and audit work, dissipation and resonant current response.
05 · Instruments & energy
Each arrow represents the calculated horizontal water velocity at its depth, displayed with a common visual normalization; values in the instruments and charts remain in SI units. Drag the mint probe or click a depth in the chart to measure local flow. The two graphs show the numerical profile and numerical time history. Save contrasting settings in the notebook and export the raw depth cells.
dE/dt = τ·Uₛ − ρ∫ν|∂U/∂z|² dz
For the finite-volume ledger, the surface value is the top cell-centre speed, and bottom-wall viscous loss is included exactly in the discrete identity. Coriolis acceleration performs no work.
06 · Experiment cards
Hypothesis A: reverse latitude; the direction of turning must reverse. B: double wind stress; the linear model doubles velocities and transports. C: increase viscosity; the Ekman depth scale widens, while the deep-ocean integrated transport remains controlled by τ and f. D: compare a 30 m shelf with a 170 m ocean. E: turn off the wind and compare oscillation period against 2π/|f|. F: tune rotating stress near the local inertial frequency.
07 · Applications & limitations
Ekman dynamics help explain upper-ocean mixing, plankton transport, coastal upwelling, surface drifting, oil-spill trajectories and momentum exchange between the atmosphere and ocean. The experiment is intentionally a linear, hydrostatic, horizontally uniform model. It does not resolve waves, variable density, tides, mesoscale pressure gradients, the turbulent closure that determines ν, or coastal geometry. Extremely near the equator, f approaches zero and a classical Ekman depth is undefined; the finite-depth solver still works.
08 · Glossary & further questions
Coriolis frequency: signed local turning rate. Wind stress: horizontal momentum flux in N/m². Eddy viscosity: parameterised vertical turbulent mixing. Ekman transport: depth integral of horizontal flow in m²/s. Hodograph: the path traced by a vector's tip. Inertial wake: freely rotating post-forcing current. No-slip boundary: stationary velocity at the seabed.
Why does a two-layer viscosity profile produce a different turning angle? How would a nonzero background geostrophic current change the interpretation? What additional equation would be needed to simulate genuine coastal upwelling?