This single equation governs the large-scale circulation of the ocean. It explains why the Gulf Stream exists, why it's on the western side of the Atlantic, and why ocean currents form the patterns they do.
Let's break it apart, piece by piece.
ψ is a map of ocean pressure. Water flows along lines of constant ψ, just like contour lines on a topographic map. Higher ψ means higher pressure.
Click to place pressure highs (left click) and lows (right click). Watch how flow arrows appear perpendicular to the gradient — water doesn't flow downhill, it flows along the contours.
Vorticity is spin. Positive ζ means counterclockwise rotation, negative means clockwise. Mathematically, it's the Laplacian of ψ — the curvature of the pressure field.
Click and drag to create spinning fluid. Blue = counterclockwise (positive), red = clockwise (negative).
β measures how the Coriolis force changes with latitude. As water moves north, it gains planetary vorticity because the Earth's rotation projects more strongly onto the local vertical at higher latitudes.
Watch the column of water: as it moves north (drag up), it spins up. Moving south, it spins down. This asymmetry between east and west is everything.
Wind pushes the ocean surface. But it's not the wind itself that drives the gyres — it's the curl of the wind stress. The spatial variation in wind is what matters.
Drag to change the wind pattern. The curl (shown as color) appears where wind speed or direction varies in space. Trade winds blow west near the equator, westerlies blow east at mid-latitudes — the curl between them drives a clockwise subtropical gyre.
Bottom friction removes vorticity from the system. Without it, wind would inject vorticity forever and the ocean would spin up without limit.
Watch the spinning disk slow down as friction acts. The key: friction is proportional to vorticity itself, so it's strongest where the flow is most intense — in the western boundary current.
Lateral viscosity acts like diffusion — it smooths out sharp gradients. Without it, the western boundary current would be infinitely thin, a mathematical discontinuity.
Watch as a sharp gradient gets smoothed over time. Munk (1950) showed that this viscous term creates a boundary layer of realistic width (~100 km).
The Jacobian J(ψ,ζ) means the flow carries its own vorticity. The ocean current transports the very spin that defines the current. This is what makes the equation nonlinear.
Watch particles get advected by a flow that they themselves influence. Small perturbations grow into eddies and meanders.
The equilibrium of the ocean is a vorticity budget:
Wind injects vorticity everywhere across the basin (the curl of the wind stress).
β redistributes that vorticity, pushing it westward.
Friction removes it — but only where vorticity is concentrated enough, which is in the narrow western boundary layer.
Viscosity gives that boundary layer a finite width.
Nonlinearity creates the eddies, meanders, and instabilities that make the real ocean complex and beautiful.
The Gulf Stream, the Kuroshio, the Agulhas — every western boundary current on Earth exists because of this balance. The wind pushes, β concentrates, friction dissipates.