Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Phase 4 — Geophysical Fluid Dynamics: Shallow Water and Quasi-Geostrophy

Authors
Affiliations
University of Valencia

This final chapter assembles everything from the earlier phases — the staggered grid, the discrete operators, the elliptic solver — into the two model families at the heart of somax: the rotating shallow-water equations and their slow-manifold reduction, the quasi-geostrophic equations. Rotation is the new physics: it introduces the Coriolis force, geostrophic balance, the deformation radius, and the westward-propagating Rossby waves that organise the ocean’s large-scale circulation Vallis (2017)Cushman-Roisin & Beckers (2011)Pedlosky (1987).

What you will learn

  • How a free-surface bump adjusts toward geostrophic balance, radiating gravity waves

  • What geostrophic balance means for the velocity and height fields

  • How a quasi-geostrophic flow conserves potential vorticity while shedding Rossby waves

1. The rotating shallow-water equations

The single-layer rotating shallow-water equations evolve a height field hh and horizontal velocity u=(u,v)\mathbf{u}=(u,v) on an ff-plane,

∂tu+(u⋅∇)u+f z^×u=−g ∇h,\partial_t \mathbf{u} + (\mathbf{u}\cdot\nabla)\mathbf{u} + f\,\hat{\mathbf{z}}\times\mathbf{u} = -g\,\nabla h ,
∂th+∇⋅(h u)=0,\partial_t h + \nabla\cdot(h\,\mathbf{u}) = 0 ,

where ff is the Coriolis parameter and gg gravity. The Coriolis term f z^×uf\,\hat{\mathbf{z}}\times\mathbf{u} turns moving fluid to the right (northern hemisphere) and is what distinguishes geophysical flow from the cavity flow of Phase 2. The fastest signal is the external gravity wave with speed c=gHc=\sqrt{gH}, which sets the CFL limit for an explicit run.

watermark extension not installed; skipping reproducibility readout.

2. Geostrophic adjustment

Release a mound of fluid in a rotating system and it does not simply collapse. Rotation arrests the spreading: the flow accelerates down the pressure gradient, is deflected by Coriolis, and settles into a balance in which the pressure gradient is held up by the Coriolis force — geostrophic balance,

f u=−g ∂yh,f v=g ∂xh.f\,u = -g\,\partial_y h, \qquad f\,v = g\,\partial_x h .

The excess height that cannot be balanced is radiated away as gravity waves, leaving a balanced vortex behind. The horizontal scale over which adjustment happens is the Rossby radius of deformation Ld=gH/fL_d = \sqrt{gH}/f. We initialise a Gaussian sea-surface-height bump at rest and integrate.

external wave speed sqrt(gH) = 99 m/s, dx = 20833 m
deformation radius L_d = sqrt(gH)/f = 990 km

Figure 1 compares the initial height anomaly with the field after two days. The central bump has partially slumped and is now encircled by a balanced geostrophic flow (shown as the velocity vorticity), with concentric gravity-wave fronts radiating outward through the periodic domain.

<Figure size 1200x500 with 4 Axes>
Geostrophic adjustment in the rotating shallow-water model –. Left: the initial sea-surface-height bump. Right: the relative vorticity after two days — a balanced rotating vortex has formed around the residual mound while gravity waves carry off the excess.

Figure 1:Geostrophic adjustment in the rotating shallow-water model (1)–(2). Left: the initial sea-surface-height bump. Right: the relative vorticity after two days — a balanced rotating vortex has formed around the residual mound while gravity waves carry off the excess.

3. Quasi-geostrophy and potential-vorticity dynamics

When the flow is slow compared to rotation (small Rossby number Ro=U/fL≪1\mathrm{Ro}=U/fL\ll 1), the gravity waves filter out and the dynamics collapse onto a single prognostic scalar: the quasi-geostrophic potential vorticity (PV). For the barotropic model,

∂tq+J(ψ,q)=0,q=∇2ψ+βy,\partial_t q + J(\psi, q) = 0, \qquad q = \nabla^2\psi + \beta y,

where ψ\psi is the streamfunction, JJ the advective Jacobian, and β=df/dy\beta=\mathrm{d}f/\mathrm{d}y the planetary vorticity gradient. PV is materially conserved — advected, not created — and the velocity is recovered from ψ\psi by the same Poisson inversion ∇2ψ=q−βy\nabla^2\psi=q-\beta y seen in Phase 2. somax discretises the Jacobian with the energy- and enstrophy-conserving Arakawa scheme Arakawa & Lamb (1977). We seed a vortex pair and let it self-advect.

Figure 2 shows the PV field after five days alongside the recovered streamfunction. The dipole has translated and sheared under mutual advection while conserving PV; the streamfunction contours are the instantaneous streamlines of the balanced flow.

<Figure size 1200x500 with 4 Axes>
Barotropic quasi-geostrophic evolution  of a vortex pair. Left: the materially-conserved PV after five days. Right: the streamfunction from the Poisson inversion, whose contours are the streamlines of the balanced flow.

Figure 2:Barotropic quasi-geostrophic evolution (4) of a vortex pair. Left: the materially-conserved PV after five days. Right: the streamfunction from the Poisson inversion, whose contours are the streamlines of the balanced flow.

Summary

  • The rotating shallow-water equations (1)–(2) add the Coriolis force; their fastest signal, the external gravity wave c=gHc=\sqrt{gH}, sets the explicit CFL limit.

  • Geostrophic adjustment (3) is the defining rotating behaviour: a pressure anomaly settles into a balanced vortex of scale Ld=gH/fL_d=\sqrt{gH}/f while radiating gravity waves.

  • The quasi-geostrophic reduction (4) filters the waves and reduces the dynamics to material advection of potential vorticity, recovered through the same elliptic inversion built in Phase 2 — the foundation of the multilayer ocean models and the data-assimilation studies that follow.

This completes the Phase 0–4 arc: from staggered grids and discrete operators, through the 1-D and 2-D building blocks and low-order chaos, to the rotating geophysical models that somax exists to solve. For running these models as configured simulations, see the somax-sim runner tutorial; for correcting them against observations, the data-assimilation tutorials.

References
  1. Vallis, G. K. (2017). Atmospheric and oceanic fluid dynamics.
  2. Cushman-Roisin, B., & Beckers, J.-M. (2011). Introduction to Geophysical Fluid Dynamics: Physical and Numerical Aspects (2nd ed., Vol. 101). Academic Press.
  3. Pedlosky, J. (1987). Geophysical Fluid Dynamics (2nd ed.). Springer. 10.1007/978-1-4612-4650-3
  4. Arakawa, A., & Lamb, V. R. (1977). Computational design of the basic dynamical processes of the UCLA general circulation model. Methods in Computational Physics, 17, 173–265.