An interactive Geophysical Fluid Dynamics Textbook Notation

Ch 11. Stratification & the buoyancy frequency

Overview

Ch. 10 split a two-LAYER fluid exactly into barotropic and baroclinic parts. A continuously stratified fluid admits the same trick, generalized: any N2(z)N^2(z) profile has its own complete, orthogonal set of vertical normal modes, each behaving as an independent single-layer QG system with its own deformation radius. This chapter solves for those modes directly, and shows the two-layer model used everywhere earlier in the book is exactly the crudest possible truncation of this richer theory — mode 0 and mode 1 only.

The model

Notebook: notebooks/ch11_stratification.py → exported to /nb/ch11_stratification.html. Governing equations use the symbols in notation.

ddz ⁣[1N2(z)dΦndz]+1cn2Φn=0,Φn′(0)=Φn′(H)=0,Ln=cnf0.\frac{d}{dz}\!\left[\frac{1}{N^2(z)}\frac{d\Phi_n}{dz}\right] +\frac{1}{c_n^2}\Phi_n=0,\qquad \Phi_n'(0)=\Phi_n'(H)=0,\qquad L_n=\frac{c_n}{f_0}.

gfdlib.stratification.vertical_modes discretizes this Sturm-Liouville problem by the finite-volume method and solves it as a genuinely symmetric eigenproblem (numpy.linalg.eigh), validated against the exact constant-NN solution Φn=cos⁡(nπz/H)\Phi_n=\cos(n\pi z/H), cn=N0H/(nπ)c_n=N_0H/(n\pi).

What to look for

  1. Trust, then verify. Start with the constant-NN profile: the computed modes should lie exactly on the analytic cos⁡(nπz/H)\cos(n\pi z/H) curves with cn=N0H/(nπ)c_n=N_0H/(n\pi) — the notebook overlays both. (With the default N0=10−2 N_0=10^{-2}\,s−1^{-1}, H=1000 H=1000\,m, f0=10−4 f_0=10^{-4}\,s−1^{-1}, that puts L1=c1/f0≈32 L_1=c_1/f_0\approx32\,km — already the right order for midlatitude ocean eddies.)
  2. Realistic stratification bends the modes. Switch to the pycnocline profile: the zero crossings and extrema of every mode get pulled toward the high-N2N^2 layer, and mode 1’s velocity structure (which follows Φ1\Phi_1) concentrates its shear across the pycnocline — the vertical structure Ch. 10’s two layers were caricaturing.
  3. Sharpen the pycnocline toward the two-layer limit. Narrow the thickness slider at fixed Nmin,NmaxN_{min},N_{max}: L1L_1 converges toward the two-layer g′H1H2/(H1+H2)/f0\sqrt{g'H_1H_2/(H_1+H_2)}/f_0 value, while the higher modes — which the two-layer model simply does not have — keep changing. What survives truncation and what doesn’t is exercise 3’s subject.
  4. Latitude matters, stratification radius doesn’t care. Slide f0f_0 across its range (equatorward to poleward): every cnc_n is untouched (they are properties of N2(z)N^2(z) alone) but every Ln=cn/f0L_n=c_n/f_0 shrinks toward the pole — the reason observed eddy scales shrink from ∼\sim200 km in the subtropics to ∼\sim10 km in the subpolar oceans (Chelton et al. 1998, in the further reading).

Prefer to run it yourself? Download as a Jupyter notebook — it installs its own dependencies in the first cell. The sliders are static in Jupyter; edit value= and re-run to change a parameter.

Both fluids

Exercises

  1. (analytic) Verify by direct substitution that Φn=cos⁡(nπz/H)\Phi_n=\cos(n\pi z/H) solves d/dz[(1/N02)dΦ/dz]+(1/cn2)Φ=0d/dz[(1/N_0^2)d\Phi/dz]+(1/c_n^2)\Phi=0 with cn=N0H/(nπ)c_n=N_0H/(n\pi), and that Φn′(0)=Φn′(H)=0\Phi_n'(0)=\Phi_n'(H)=0 for every integer nn (matching gfdlib.stratification’s docstring and the notebook’s built-in validation panel).
  2. (computational) Modify ch11_stratification.py to add a two-pycnocline profile (a shallow seasonal thermocline stacked above a deeper permanent one) and see whether a genuinely new SHAPE of mode 2 emerges — does it develop an extra local extremum near the shallow feature?
  3. (exploratory) Using the pycnocline profile, sweep the thickness slider from thick to thin at fixed Nmin,NmaxN_{min},N_{max}, and record L1L_1 at each setting. Does L1L_1 approach a two-layer-like limit as the pycnocline sharpens? Compare to a matching Ch. 16 F=f02/(g′H)F=f_0^2/(g'H) calculation with g′g' estimated from your Nmax,N_{max}, thickness.

Further reading

Gill, A. E. (1982), Atmosphere-Ocean Dynamics, §6.11-6.12 (vertical normal modes); Chelton, D. B. et al. (1998), J. Phys. Oceanogr. 28, 433–460 (global deformation-radius climatology); Vallis, AOFD 2nd ed., §5.5-5.6; Pedlosky, Geophysical Fluid Dynamics 2nd ed., §6.9-6.11.