In the atmosphere, (see zandp-vert-coord
), we interpret:
r = p is the pressure
ϕ = g z is the geopotential height
S = q is the specific humidity
where
T is absolute temperature
p is the pressure
In the above the ideal gas law, p = ρRT, has been expressed in terms of the Exner function Π(p) given by exner
(see also atmos_appendix
)
where pc is a reference pressure and κ = R/cp with R the gas constant and cp the specific heat of air at constant pressure.
At the top of the atmosphere (which is ‘fixed’ in our r coordinate):
Rfixed = ptop = 0
In a resting atmosphere the elevation of the mountains at the bottom is given by
Rmoving = Ro(x, y) = po(x, y)
i.e. the (hydrostatic) pressure at the top of the mountains in a resting atmosphere.
The boundary conditions at top and bottom are given by:
ω = 0 at r = Rfixed (top of the atmosphere)
Then the (hydrostatic form of) equations horiz-mtm
-humidity-salt
yields a consistent set of atmospheric equations which, for convenience, are written out in p−coordinates in atmos_appendix
- see eqs. atmos-prime
-atmos-prime5
.