November 2026 · Politecnico di Milano
Atmosphere and Ocean Dynamics — Lecture 2
Prof. Dr. Pedro da Silva Peixoto
Applied Mathematics
Instituto de Matemática e Estatística
Universidade de São Paulo
Visiting Professor at MOX Lab
Politecnico di Milano
Previous knowledge
Where we are going
Newton’s laws for a fluid on the rotating Earth, term by term
(Vallis 2017, Ch. 1–2; Cushman-Roisin and Beckers 2011, Ch. 2–3)
\[\underbrace{\frac{D\mathbf{u}}{Dt}}_{\text{Newton, Euler}} + \underbrace{2\boldsymbol{\Omega}\times\mathbf{u}}_{\text{Coriolis}} = \underbrace{-\frac{1}{\rho}\nabla p}_{\text{Euler, Torricelli}} \underbrace{-\,\nabla\Phi}_{\text{gravity}} + \underbrace{\nu\nabla^2\mathbf{u}}_{\text{Navier, Stokes}}\]
\[\underbrace{\frac{D\rho}{Dt} + \rho\,\nabla\cdot\mathbf{u} = 0}_{\text{continuity (Euler)}} \qquad \underbrace{p = \rho R T}_{\text{ideal gas law}}, \quad \underbrace{c_p\frac{DT}{Dt} - \frac{1}{\rho}\frac{Dp}{Dt} = Q}_{\text{first law}} \qquad \underbrace{\frac{Dq}{Dt} = \dot q}_{\text{water vapour}}\]
\(\mathbf{u} = (u, v, w)\): velocity; \(D/Dt\): rate of change following the fluid; \(\boldsymbol{\Omega}\): Earth’s rotation; \(\rho\): density; \(p\): pressure; \(\Phi\): geopotential; \(\nu\): viscosity; \(T\): temperature; \(c_p\): specific heat; \(R\): gas constant; \(Q\): heating; \(q\): water vapour; \(\dot q\): its sources (the dot names a source, not a time derivative)
Today: each term derived for a fluid on the rotating Earth
(Bjerknes 1904; Vallis 2017, Ch. 1)
Newton’s laws apply to each parcel; but parcels move: follow them, or watch a fixed place?
(Vallis 2017, sec. 1.1; Holton 2004, sec. 1.1)
Physical laws are simplest for parcels; measurements and models are mostly on fixed grids
(Vallis 2017, sec. 1.1.1; Cushman-Roisin and Beckers 2011, Ch. 3)
A parcel at \(\mathbf{x}\) at time \(t\) is at \(\mathbf{x} + \mathbf{u}\,\delta t\) at \(t + \delta t\). The change of \(T\) it feels (Taylor, to first order in \(\delta t\)):
\[\begin{aligned} \delta T &= T(\mathbf{x} + \mathbf{u}\,\delta t,\ t + \delta t) - T(\mathbf{x}, t)\\ &\approx \frac{\partial T}{\partial t}\,\delta t + {\color{#1f5ccc}{u\frac{\partial T}{\partial x}\delta t + v\frac{\partial T}{\partial y}\delta t + w\frac{\partial T}{\partial z}\delta t}} \end{aligned}\]
Divide by \(\delta t\), let \(\delta t \to 0\): the rate of change following the parcel.
A parcel’s temperature changes because the field changes in time and because the parcel moves
(Vallis 2017, sec. 1.1.2; Holton 2004, sec. 2.1)
\[\frac{DT}{Dt} = \underbrace{\frac{\partial T}{\partial t}}_{\text{at a fixed point}} + \underbrace{{\color{#1f5ccc}{\mathbf{u}\cdot\nabla T}}}_{\text{advection}}\]
Laws hold for parcels (\(D/Dt\)); models compute at fixed points (\(\partial/\partial t\)): advection links them
(Vallis 2017, sec. 1.1.2; Cushman-Roisin and Beckers 2011, sec. 3.2)
Exercise 1 — Eulerian and Lagrangian. A wind of 10 m/s blows southward over Milan; the air is colder towards the north: the temperature falls by 1 K every 100 km. (a) If each parcel keeps its temperature, how fast does the thermometer of a weather station in Milan change (K/h)? (b) The Sun now warms every parcel by 0.5 K/h. What does the station record? And a balloon drifting with the air?
Southward wind: \(v = -10\) m/s. Colder to the north: \(\partial T/\partial y < 0\).
(c) A ship crossing a front. A research ship sails south at 5 m/s across an ocean front where the surface water warms by 1 K every 10 km towards the south. (i) The front does not move and there is no current: what does the ship’s thermometer record (K/h)? (ii) The ship stops; a current of 0.5 m/s flows north and carries the water with its temperature: what does it record now? (iii) And a buoy drifting with the current? Which time derivative is each one?
In notebook 02a (exercise 1.1): open in Colab · download
(Vallis 2017, sec. 1.1)
A small box, edges \(\delta x, \delta y, \delta z\), fixed in space (a control volume). The mass inside:
\[\begin{aligned}M &= \rho\,\delta x\,\delta y\,\delta z\\ \frac{\partial M}{\partial t} &= {\color{#1f5ccc}{\text{inflow} - \text{outflow}}}\end{aligned}\]
Mass is neither created nor destroyed: it changes only by flowing through the faces.
Bookkeeping: what is inside changes only by what crosses the walls
(Vallis 2017, sec. 1.2.1; Cushman-Roisin and Beckers 2011, sec. 3.1)
Mass per second through a face: density × normal velocity × area. Per unit area: the mass flux \(\rho u\) (\(\mathrm{kg\,m^{-2}\,s^{-1}}\)); \((\rho u)\big|_x\) is its value on the face at \(x\).
\[\begin{aligned} \text{in at } x&: \quad (\rho u)\big|_x\,\delta y\,\delta z\\ \text{out at } x + \delta x&: \quad (\rho u)\big|_{x+\delta x}\,\delta y\,\delta z\\ &\phantom{:}\quad \approx \Big[(\rho u)\big|_x + {\color{#1f5ccc}{\frac{\partial(\rho u)}{\partial x}\,\delta x}}\Big]\,\delta y\,\delta z \end{aligned}\]
\(\approx\): Taylor expansion across the box, to first order in \(\delta x\)
Net inflow through the two \(x\) faces, in minus out:
\[-\frac{\partial(\rho u)}{\partial x}\,\delta x\,\delta y\,\delta z\]
Only the difference between the two faces counts: a divergence of the flux
(Vallis 2017, sec. 1.2.1; Cushman-Roisin and Beckers 2011, sec. 3.1)
Add the \(y\) and \(z\) faces, divide by \(\delta x\,\delta y\,\delta z\):
\[\frac{\partial\rho}{\partial t} + \frac{\partial(\rho u)}{\partial x} + {\color{#1f5ccc}{\frac{\partial(\rho v)}{\partial y} + \frac{\partial(\rho w)}{\partial z}}} = 0\]
\(\rho\): density; \(\mathbf{u} = (u, v, w)\): velocity
The three flux terms: the divergence of the mass flux, its net outflow per unit volume, \(\nabla\cdot(\rho\mathbf{u}) = \frac{\partial(\rho u)}{\partial x} + \frac{\partial(\rho v)}{\partial y} + \frac{\partial(\rho w)}{\partial z}\).
\[\int_V \nabla\cdot\mathbf{F}\, dV = \oint_{\partial V}\mathbf{F}\cdot\mathbf{n}\, dA\]
\(\mathbf{F}\): any vector field; \(\partial V\): surface of \(V\); \(\mathbf{n}\): outward unit normal
With \(\mathbf{F} = \rho\mathbf{u}\), for any fixed volume:
\[\frac{d}{dt}\int_V \rho\, dV = -\oint_{\partial V}\rho\,\mathbf{u}\cdot\mathbf{n}\, dA\]
The flux form \(\partial_t\rho + \nabla\cdot(\rho\mathbf{u}) = 0\): the starting point of finite volumes
(Vallis 2017, sec. 1.2.1; Cushman-Roisin and Beckers 2011, sec. 3.1)
With \(\nabla\cdot(\rho\mathbf{u}) = \mathbf{u}\cdot\nabla\rho + \rho\,\nabla\cdot\mathbf{u}\):
\[\begin{gathered}\frac{\partial\rho}{\partial t} + \nabla\cdot(\rho\mathbf{u}) = 0\\ \Big\Updownarrow\\ \frac{D\rho}{Dt} + {\color{#1f5ccc}{\rho\,\nabla\cdot\mathbf{u}}} = 0\end{gathered}\]
Flux form for a box, advective form for a parcel: the same law
(Vallis 2017, sec. 1.2.2; Cushman-Roisin and Beckers 2011, sec. 3.1)
Follow a parcel of volume \(\delta V\). Its surface moves with the fluid: in a time \(\delta t\) a surface element \(dA\) sweeps the volume \((\mathbf{u}\cdot\mathbf{n})\,dA\,\delta t\). Over the whole surface, with the divergence theorem:
\[\frac{D}{Dt}\int_V dV = \oint_{\partial V}\mathbf{u}\cdot\mathbf{n}\,dA = \int_V \nabla\cdot\mathbf{u}\,dV\]
\(V\): a volume moving with the fluid; \(\mathbf{n}\): outward unit normal
For a small parcel:
\[\frac{D\,\delta V}{Dt} = {\color{#1f5ccc}{\nabla\cdot\mathbf{u}}}\;\delta V\]
\(\nabla\cdot\mathbf{u}\) is the rate at which a parcel’s volume grows, per unit volume
(Vallis 2017, sec. 1.1.3, eqs. 1.12–1.15)
A parcel keeps its mass, \(\rho\,\delta V\); with \(D\,\delta V/Dt = \delta V\,\nabla\cdot\mathbf{u}\):
\[\begin{aligned}\frac{D(\rho\,\delta V)}{Dt} &= \delta V\,\frac{D\rho}{Dt} + \rho\,\frac{D\,\delta V}{Dt}\\ &= \delta V\,\Big(\frac{D\rho}{Dt} + \rho\,\nabla\cdot\mathbf{u}\Big) = 0\end{aligned}\]
the same equation as for the box. And for any property \(\chi\) per unit mass, as \(\rho\,\delta V\) does not change (transport theorem):
\[\frac{D}{Dt}\int_V \rho\,\chi\, dV = \int_V \rho\,{\color{#1f5ccc}{\frac{D\chi}{Dt}}}\, dV\]
\(\chi\): any property per unit mass: temperature, a velocity component, …; \(V\) moves with the fluid
The amount of \(\chi\) in a moving piece of fluid changes only as \(\chi\) changes along each parcel
(Vallis 2017, sec. 1.1.3, eq. 1.21, and sec. 1.2.2, eqs. 1.31–1.33; the name: Chorin and Marsden 1993, sec. 1.1, p. 10)
Fixed in space (Eulerian)
Mass changes by what flows through the faces
\[\frac{\partial\rho}{\partial t} + \nabla\cdot(\rho\mathbf{u}) = 0\] \[\frac{d}{dt}\int_V \rho\, dV = -\oint_{\partial V}\rho\,\mathbf{u}\cdot\mathbf{n}\, dA\]
\(\partial/\partial t\): at a fixed point; \(V\) fixed in space
Following a parcel (Lagrangian)
Mass kept; volume grows at the rate \(\nabla\cdot\mathbf{u}\)
\[\frac{D\rho}{Dt} + \rho\,\nabla\cdot\mathbf{u} = 0\] \[\frac{D}{Dt}\int_V \rho\, dV = 0\]
\(D/Dt\): following the parcel; \(V\) moves with the fluid
One law of mass conservation: linked by \(D/Dt = \partial_t + \mathbf{u}\cdot\nabla\) and \(\nabla\cdot(\rho\mathbf{u}) = \mathbf{u}\cdot\nabla\rho + \rho\,\nabla\cdot\mathbf{u}\)
(Vallis 2017, sec. 1.2, eqs. 1.27 and 1.33)
Mass × acceleration = forces. With the transport theorem (\(\chi = \mathbf{u}\)):
\[\rho\,\delta V\,\frac{D\mathbf{u}}{Dt} = {\color{#1f5ccc}{\text{body forces} + \text{surface forces}}}\]
The acceleration is \(D\mathbf{u}/Dt\): following the parcel, not at a fixed point
(Vallis 2017, sec. 1.3; Cushman-Roisin and Beckers 2011, sec. 3.2)
Pressure pushes each face inwards, with force pressure × area. On the two \(x\) faces:
\[\big[p\big|_x - p\big|_{x+\delta x}\big]\,\delta y\,\delta z \approx {\color{#1f5ccc}{-\frac{\partial p}{\partial x}}}\,\delta x\,\delta y\,\delta z\]
All faces, per unit mass (\(\div\,\rho\,\delta V\)):
\[-\frac{1}{\rho}\nabla p\]
Only pressure differences push: the force points from high to low pressure
(Vallis 2017, sec. 1.3.2; Holton 2004, sec. 1.4)
Gravity: a body force, \(\mathbf{g} = -g\,\mathbf{k} = -\nabla\Phi\), the gradient of the geopotential \(\Phi = gz\) (\(z\): height; \(\mathbf{k}\): upward unit vector; \(g = 9.81\) m/s²: attraction, plus a small part from the Earth’s turning)
Friction: viscous stresses on the faces. For a fluid like air or water (Navier 1822, Stokes 1845):
\[\mathbf{F} = \nu\,\nabla^2\mathbf{u} \quad (\nabla\cdot\mathbf{u} = 0)\]
\(\nu\): kinematic viscosity: air \(1.5\times10^{-5}\), water \(1.0\times10^{-6}\) m²/s
Reynolds numbers \(Re = UL/\nu \sim 10^{8}\)–\(10^{12}\): molecular friction is negligible at large scales; turbulence is not, and models parameterize it.
At large scales friction matters mainly near the boundaries: elsewhere, Euler’s equations
(Navier 1827; Stokes 1845; Vallis 2017, sec. 1.3.2; Cushman-Roisin and Beckers 2011, sec. 4.1 and 8.1)
\[\frac{D\mathbf{u}}{Dt} = -\frac{1}{\rho}\nabla p - \nabla\Phi + \mathbf{F}, \qquad \frac{\partial\rho}{\partial t} + \nabla\cdot(\rho\mathbf{u}) = 0\]
But: this holds in a frame that does not rotate, and we measure winds on the turning Earth: Coriolis (1835).
Momentum: acceleration of a parcel = pressure force + gravity + friction
(Euler 1757; Chorin and Marsden 1993, sec. 1.1; Vallis 2017, sec. 1.3)
A vector \(\mathbf{C}\) fixed on a table turning at \(\boldsymbol{\Omega}\). Seen from space, its tip moves on a circle, at right angles to \(\boldsymbol{\Omega}\) and \(\mathbf{C}\):
\[\left(\frac{d\mathbf{C}}{dt}\right)_{\!I} = {\color{#1f5ccc}{\boldsymbol{\Omega}\times\mathbf{C}}}\]
\((\;)_I\): seen from space (inertial frame)
Size: \(\Omega\,|\mathbf{C}|\sin\theta\), the radius of the circle times the turning rate.
A vector at rest on a turning table changes, seen from space, at the rate \(\boldsymbol{\Omega}\times\mathbf{C}\)
(Vallis 2017, sec. 2.1.1; Cushman-Roisin and Beckers 2011, sec. 2.1)
A vector that also changes on the table: write it with the table’s unit vectors, which turn:
\[\left(\frac{d\mathbf{B}}{dt}\right)_{\!I} = \left(\frac{d\mathbf{B}}{dt}\right)_{\!R} + {\color{#1f5ccc}{\boldsymbol{\Omega}\times\mathbf{B}}}\]
\((\;)_I\): from space (inertial frame); \((\;)_R\): on the table (rotating frame)
Apply it to the position \(\mathbf{r}\) of a parcel:
\[\mathbf{u}_I = \mathbf{u}_R + {\color{#1f5ccc}{\boldsymbol{\Omega}\times\mathbf{r}}}\]
\(\mathbf{u}_I\): inertial velocity; \(\mathbf{u}_R = (d\mathbf{r}/dt)_R\): relative velocity
Seen from space: its velocity on the table plus the table’s own velocity there.
On the Earth, \(\boldsymbol{\Omega}\times\mathbf{r}\) is the ground’s speed: 465 m/s at the equator (Hadley)
(Vallis 2017, secs. 2.1.1–2.1.2, eqs. 2.5 and 2.7; Cushman-Roisin and Beckers 2011, sec. 2.1)
Differentiate \(\mathbf{u}_I = \mathbf{u}_R + \boldsymbol{\Omega}\times\mathbf{r}\) from space, with \((d\mathbf{r}/dt)_I = \mathbf{u}_I\). Apply the rule of the previous slide to \(\mathbf{u}_R\):
\[\begin{aligned} \left(\frac{d\mathbf{u}_I}{dt}\right)_{\!I} &= \left(\frac{d\mathbf{u}_R}{dt}\right)_{\!I} + \boldsymbol{\Omega}\times\mathbf{u}_I\\ &= \left(\frac{d\mathbf{u}_R}{dt}\right)_{\!R} + \underbrace{\boldsymbol{\Omega}\times\mathbf{u}_R}_{\text{(a)}} + \underbrace{\boldsymbol{\Omega}\times\mathbf{u}_R}_{\text{(b)}} + \underbrace{\boldsymbol{\Omega}\times(\boldsymbol{\Omega}\times\mathbf{r})}_{\text{centrifugal}}\\ &= \left(\frac{d\mathbf{u}_R}{dt}\right)_{\!R} + {\color{#1f5ccc}{2\boldsymbol{\Omega}\times\mathbf{u}_R}} + {\color{#1f5ccc}{\boldsymbol{\Omega}\times(\boldsymbol{\Omega}\times\mathbf{r})}} \end{aligned}\]
(a): from the rule applied to \(\mathbf{u}_R\), which turns with the table; (b): from \(\boldsymbol{\Omega}\times\mathbf{r}\) in \(\mathbf{u}_I\), the table’s velocity changes along the parcel’s path (moving outwards, the table is faster there); (a + b): Coriolis acceleration
The factor 2: two equal halves. Hadley kept only (b), the faster ground: half the deflection
(Vallis 2017, sec. 2.1.2, eqs. 2.8–2.12; Persson 1998; Persson 2006)
Newton holds in the inertial frame. Move the extra terms to the right-hand side, and drop the subscript \(R\): from now on \(\mathbf{u}\) is the velocity relative to the Earth.
\[\frac{D\mathbf{u}}{Dt} + {\color{#1f5ccc}{2\boldsymbol{\Omega}\times\mathbf{u}}} = -\frac{1}{\rho}\nabla p + \mathbf{g}_{\text{grav}} - {\color{#1f5ccc}{\boldsymbol{\Omega}\times(\boldsymbol{\Omega}\times\mathbf{r})}} + \mathbf{F}\]
\(\mathbf{g}_{\text{grav}}\): Newton’s gravitational attraction, towards the centre of the Earth; \(\mathbf{F}\): friction
But: we never feel the centrifugal force on its own. Why?
Seen from the Earth, two forces appear that come only from our turning point of view
(Vallis 2017, sec. 2.1.3; Persson 1998)
\[\mathbf{g} = \mathbf{g}_{\text{grav}} + \Omega^2\mathbf{r}_\perp = -\nabla\Phi\]
\(\mathbf{r}_\perp\): from the axis to the parcel; \(\Phi_{ce}\): centrifugal potential
\(D\mathbf{u}/Dt + 2\boldsymbol{\Omega}\times\mathbf{u} = -\nabla p/\rho - \nabla\Phi + \mathbf{F}\): the centrifugal force is kept, inside \(\Phi\)
(Vallis 2017, sec. 2.1.2, eq. 2.14, sec. 2.1.3, eq. 2.16, and sec. 2.2.1, eqs. 2.23–2.26; Cushman-Roisin and Beckers 2011, sec. 2.2)
Notebook 02b (open in Colab · download): Simulating gravity, centrifugal and Coriolis forces in a rotating frame.
\[-g\nabla Z = -\Omega^2\mathbf{r}_\perp, \qquad Z = \tfrac{1}{2}\Omega^2 r_\perp^2/g\]
\(Z\): height of the dish; \(\mathbf{r}_\perp\): from the axis; \(V\): speed; \(f = 2\Omega\). The slope pulls in as hard as the centrifugal force pushes out
\[\left(\frac{d\mathbf{u}_I}{dt}\right)_{\!I} = -\Omega^2\mathbf{r}_\perp\]
from space: an ellipse, period \(2\pi/\Omega\)
\[\left(\frac{d\mathbf{u}_R}{dt}\right)_{\!R} = -2\boldsymbol{\Omega}\times\mathbf{u}_R\]
on the dish: a circle of radius \(V/f\), period \(2\pi/f\)
One motion: in space the slope pulls the puck back; on the dish the Coriolis force turns it
(Cushman-Roisin and Beckers 2011, secs. 2.2–2.4, eqs. 2.11 and 2.15–2.16; Durran 1993)
Balance is the average state; the oscillations around it are inertial
(Durran 1993; Cushman-Roisin and Beckers 2011, sec. 2.3)
1. Longitude \(\lambda\), latitude \(\varphi\), radius \(r\); Earth-fixed axes \(X, Y, Z\), \(Z\) along \(\boldsymbol{\Omega}\):
\[\mathbf{r} = r\,(\cos\varphi\cos\lambda,\; \cos\varphi\sin\lambda,\; \sin\varphi)\]
2. Unit vectors (east, north, up) from its derivatives, and the velocity:
\[\mathbf{i} = \frac{1}{r\cos\varphi}\frac{\partial\mathbf{r}}{\partial\lambda},\quad \mathbf{j} = \frac{1}{r}\frac{\partial\mathbf{r}}{\partial\varphi},\quad \mathbf{k} = \frac{\partial\mathbf{r}}{\partial r}\]
\[u = r\cos\varphi\,\frac{D\lambda}{Dt},\quad v = r\,\frac{D\varphi}{Dt},\quad w = \frac{Dr}{Dt}\]
3. The unit vectors turn as the parcel moves:
\[\frac{D\mathbf{u}}{Dt} = \frac{Du}{Dt}\,\mathbf{i} + \frac{Dv}{Dt}\,\mathbf{j} + \frac{Dw}{Dt}\,\mathbf{k} + {\color{#1f5ccc}{u\,\frac{D\mathbf{i}}{Dt} + v\,\frac{D\mathbf{j}}{Dt} + w\,\frac{D\mathbf{k}}{Dt}}}\]
e.g. \(D\mathbf{k}/Dt = (u\,\mathbf{i} + v\,\mathbf{j})/r\); the blue terms give the metric terms
On a sphere the unit vectors depend on the place: following a parcel, they turn
(Vallis 2017, sec. 2.2.2, eqs. 2.36–2.39 (here from the Cartesian components); Holton 2004, sec. 2.3)
Edges of the box: \(\delta x = r\cos\varphi\,\delta\lambda\), \(\delta y = r\,\delta\varphi\), \(\delta z = \delta r\)
Areas of its faces: they change with \(\cos\varphi\) and with \(r^2\)
\[\begin{aligned} \nabla &= \frac{\mathbf{i}}{r\cos\varphi}\frac{\partial}{\partial\lambda} + \frac{\mathbf{j}}{r}\frac{\partial}{\partial\varphi} + \mathbf{k}\,\frac{\partial}{\partial r}\\[2pt] \nabla\cdot\mathbf{u} &= \frac{1}{r\cos\varphi}\frac{\partial u}{\partial\lambda} + \frac{1}{r\cos\varphi}\frac{\partial (v\cos\varphi)}{\partial\varphi} + \frac{1}{r^2}\frac{\partial (r^2 w)}{\partial r}\\[2pt] \zeta = \mathbf{k}\cdot\nabla\times\mathbf{u} &= \frac{1}{r\cos\varphi}\Big[\frac{\partial v}{\partial\lambda} - \frac{\partial (u\cos\varphi)}{\partial\varphi}\Big]\\[2pt] \nabla^2 &= \frac{1}{r^2\cos^2\varphi}\frac{\partial^2}{\partial\lambda^2} + \frac{1}{r^2\cos\varphi}\frac{\partial}{\partial\varphi}\Big(\cos\varphi\,\frac{\partial}{\partial\varphi}\Big) + \frac{1}{r^2}\frac{\partial}{\partial r}\Big(r^2\frac{\partial}{\partial r}\Big) \end{aligned}\]
\(\nabla\): divide by the edge lengths; \(\nabla\cdot\): net flux through the faces over the volume \(r^2\cos\varphi\,\delta\lambda\,\delta\varphi\,\delta r\); \(\zeta\): vorticity, the vertical component of the curl: the circulation round the top face over its area; \(\nabla^2 = \nabla\cdot\nabla\)
Derivatives along distances, fluxes through faces that shrink to the pole and grow with height
(Vallis 2017, sec. 2.2.2, eqs. 2.27–2.35)
\[\begin{aligned} \frac{Du}{Dt} - \Big(2\Omega + \frac{u}{r\cos\varphi}\Big)(v\sin\varphi - w\cos\varphi) &= -\frac{1}{\rho\, r\cos\varphi}\frac{\partial p}{\partial\lambda}\\ \frac{Dv}{Dt} + \frac{wv}{r} + \Big(2\Omega + \frac{u}{r\cos\varphi}\Big)u\sin\varphi &= -\frac{1}{\rho\, r}\frac{\partial p}{\partial\varphi}\\ \frac{Dw}{Dt} - \frac{u^2 + v^2}{r} - 2\Omega u\cos\varphi &= -\frac{1}{\rho}\frac{\partial p}{\partial r} - g \end{aligned}\]
\(\dfrac{D}{Dt} = \dfrac{\partial}{\partial t} + \dfrac{u}{r\cos\varphi}\dfrac{\partial}{\partial\lambda} + \dfrac{v}{r}\dfrac{\partial}{\partial\varphi} + w\dfrac{\partial}{\partial r}\); \(u\) east, \(v\) north, \(w\) up
The same law in the coordinates of a sphere: what global models solve
(Vallis 2017, secs. 2.2.3–2.2.4; Holton 2004, sec. 2.3)
\[p = \rho\,R\,T\]
But: what makes \(T\) change? Energy: the first law (Clausius).
U.S. Standard Atmosphere (1976): pressure halves every 5.5 km or so.
Pressure, density and temperature are tied together: knowing two gives the third
(Vallis 2017, sec. 1.4; NOAA et al. 1976)
Heat added = gain of internal energy + work done in expanding (per unit mass):
\[Q = c_v\frac{DT}{Dt} + {\color{#1f5ccc}{p\,\frac{D\alpha}{Dt}}}\] \(Q\): heating rate (W/kg) by radiation, condensation, conduction; \(c_v = 717\ \mathrm{J/(kg\,K)}\): specific heat at constant volume; \(\alpha = 1/\rho\): specific volume
With \(p\alpha = RT\) and \(c_p = c_v + R\):
\[c_p\frac{DT}{Dt} - \frac{1}{\rho}\frac{Dp}{Dt} = Q\] \(c_p = 1004\ \mathrm{J/(kg\,K)}\): specific heat at constant pressure
Adiabatic: \(Q = 0\), no heat exchanged. \(T\) still changes: expansion cools, compression warms.
A rising parcel expands and cools even without losing heat: −37 °C at 500 hPa from 15 °C
(Vallis 2017, sec. 1.6.1; Holton 2004, sec. 2.6)
Definition: \(\theta\) is the temperature a parcel would have if moved adiabatically (\(Q = 0\)) to \(p_0 = 1000\) hPa.
On the way, the first law with \(Q = 0\), divided by \(T\), and \(\frac{1}{\rho T} = \frac{R}{p}\) (gas law): \(c_p\,d\ln T = R\,d\ln p\). From \((T, p)\) to \((\theta, p_0)\): \[\int_T^{\theta} c_p\,d\ln T - \int_p^{p_0} R\,d\ln p = 0 \quad\Rightarrow\quad \ln\frac{\theta}{T} = \frac{R}{c_p}\,\ln\frac{p_0}{p}\]
\[\theta = T\left(\frac{p_0}{p}\right)^{R/c_p}\] \(R/c_p = 0.286\) for dry air
\(\theta\) takes out the cooling by expansion: air at 5 km, at −17.5 °C, has \(\theta = 305\) K
(Vallis 2017, sec. 1.6.1, eqs. 1.103–1.105; Holton 2004, sec. 2.7)
Now follow the real flow, with any heating \(Q\). Take the logarithm of \(\theta\) and its material derivative:
\[ \begin{aligned} \ln\theta &= \ln T - \frac{R}{c_p}\ln p + \text{const}\\[4pt] c_p\frac{D\ln\theta}{Dt} &= \frac{c_p}{T}\frac{DT}{Dt} - \frac{R}{p}\frac{Dp}{Dt}\\[4pt] &= \frac{1}{T}\left(c_p\frac{DT}{Dt} - \frac{1}{\rho}\frac{Dp}{Dt}\right) && \text{gas law: } \tfrac{R}{p} = \tfrac{1}{\rho T}\\[4pt] &= \frac{Q}{T} && \text{first law} \end{aligned} \]
With \(D\ln\theta/Dt = (1/\theta)\,D\theta/Dt\):
\[\frac{D\theta}{Dt} = \frac{\theta}{c_p T}\,Q\]
\(\theta\) labels a parcel: in adiabatic motion it is carried unchanged, like a tracer
(Vallis 2017, sec. 1.6.1, eqs. 1.106–1.108; Holton 2004, sec. 2.7)
\[\rho = \rho_0\big[1 - \beta_T(T - T_0) + {\color{#1f5ccc}{\beta_S(S - S_0)}}\big]\]
\(\rho_0, T_0, S_0\): reference state; \(\beta_T\): thermal expansion coefficient; \(\beta_S\): haline contraction coefficient
In the ocean salt matters as much as heat: a few kg/m³ drive the deep circulation
(Vallis 2017, sec. 1.4 and 1.7, eqs. 1.96 and 1.141; Cushman-Roisin and Beckers 2011, sec. 3.3)
Exercise 2 — Who wins, temperature or salinity? Use the linear equation of state \(\rho = \rho_0\,[1 - \beta_T (T - T_0) + \beta_S (S - S_0)]\) with \(\rho_0 = 1028\) kg/m\(^3\), \(\beta_T = 1.7\times10^{-4}\) K\(^{-1}\), \(\beta_S = 7.6\times10^{-4}\) (g/kg)\(^{-1}\). At Gibraltar, Atlantic water flows into the Mediterranean (15.5 \(^\circ\)C, \(S = 36.2\) g/kg) and Mediterranean water flows out (12.8 \(^\circ\)C, \(S = 38.4\) g/kg). (a) Which water is denser, by how many kg/m\(^3\)? Which one flows out at the bottom? (b) Which difference matters more, temperature or salinity? How warm would the Mediterranean water have to be to flow out on top?
(c) Where does deep water form? Compare warm, salty subtropical surface water (25 \(^\circ\)C, \(S = 37.0\) g/kg) with cold, fresher Labrador Sea water in winter (3 \(^\circ\)C, \(S = 34.9\) g/kg). Which is denser, by how much, and which difference wins here? Where in the ocean would you expect water to sink to the bottom?
In notebook 02c (exercise 1.1): open in Colab · download
(Cushman-Roisin and Beckers 2011, sec. 3.3 and problem 3.4)
\[\underbrace{\frac{D\mathbf{u}}{Dt}}_{\text{material derivative}} + \underbrace{2\boldsymbol{\Omega}\times\mathbf{u}}_{\text{rotating frame}} = \underbrace{-\frac{1}{\rho}\nabla p}_{\text{pressure on a box}} \underbrace{-\,\nabla\Phi}_{\text{gravity + centrifugal}} + \underbrace{\mathbf{F}}_{\text{friction}}\]
\[\underbrace{\frac{D\rho}{Dt} + \rho\,\nabla\cdot\mathbf{u} = 0}_{\text{mass: box or parcel}} \qquad \underbrace{p = \rho R T, \quad c_p\frac{DT}{Dt} - \frac{1}{\rho}\frac{Dp}{Dt} = Q}_{\text{gas law, first law}} \qquad \underbrace{\frac{Dq}{Dt} = \dot q}_{\text{water vapour}}\]
A closed system: seven equations for seven unknowns, for air and for seawater
(Bjerknes 1904; Vallis 2017, Ch. 1–2)
The weather is slow, but the equations also carry fast waves
(Vallis 2017, sec. 1.8 and Ch. 7; Lynch 1999, 2008)
Notebooks 02a (open in Colab · download), 02b (open in Colab · download), 02c (open in Colab · download): exercise 1 comes back in 02a, the parcel runs in 02b, exercise 2 in 02c.
Newton’s laws, mass and heat for a fluid on the rotating Earth: a closed system
Reading: (Vallis 2017, secs. 1.1–1.7 and 2.1–2.2; Cushman-Roisin and Beckers 2011, Ch. 2–3)