Chapter 6
Stratified flows
Oceans and atmospheres are vertically stratified due to the effects of gravity. In the previous chapters, we derived our equations for mass and momentum conservation and we incorporated the effects of rotation. We also explored how the density may vary in the vertical according to the ideas gas law (in the atmosphere) or the equation of state for seawater. We now explore the effects of density stratification on the flow and examine a common approximation used for large-scale oceanic flows.
The Boussinesq equations
We will now explore within our framework the density perturbations that will allow for buoyancy effects in a flow. The Boussinesq approximation is an approximation to the full equations of motion. It assumes that the density and pressure perturbations are much smaller than their means, and when applied to the Navier-Stokes equations, results in the Boussinesq equations.
To start, we will allow the density to have small variations around its mean value. Decompose the density into the mean and the perturbation components:
where is the mean density and is its perturbation. Further, we decompose the pressure as:
where is the horizontally and temporally averaged pressure and is its perturbation. Unlike in the density decomposition, the mean pressure component is allowed to vary in . For both quantities, we require that their perturbations are much smaller than their respective means, i.e. , . In other words, the pressure vary much more in the vertical than in the horizontal or over time, and any perturbations in density, including those in the vertical, are much smaller than the mean density. This approximation can be demonstrated to hold well by using the equation of state for seawater (Eq. 4.52), for example. The hydrostatic approximation in this framework is trivially satisfied:
Now that we’ve established the approximation we need, let’s proceed to apply it to our momentum and continuity equations.
Momentum balance
Let’s first apply the Boussinesq approximation to the momentum balance. Recall the Navier-Stokes equation with rotation (Eq. 5.13), while neglecting the viscosity term:
Apply Eqs. 6.1-6.2 to the above equation to get:
Now, recall that , so we can drop the on the left-hand side:
For convenience of notation, let’s now define buoyancy as , and re-write the above to obtain the Boussinesq momentum equation:
This equation states that now that we are in a gradually stratified fluid, the gravity term is scaled by to yield the appropriate vertical acceleration, and the pressure gradient is due to the relatively small perturbations in density around the mean density .
Continuity
As we did for the momentum equation, we’ll now apply the Boussinesq approximation (i.e. , ) to the continuity equation. Recall the continuity equation in its complete form:
Insert Eq. 6.1 to get:
Then, if we can state that that , which we will for the Boussinesq approximation, we recover the original continuity equation for incompressible flows:
Note that we do not say that strictly , but rather that we can neglect it in this equation in favor of the velocity divergence term. The evolution of is still governed by the evolution of buoyancy, which in turn is governed by the evolution of the temperature and salinity fields and the equation of state. The buoyancy evolves as:
and the equation of state can be expressed in terms of buoyancy:
which is just another form of Eq. 4.52.
Finally the temperature and salinity evolve as before, following Eqs. 4.53 and 4.54, respectively.
Complete system of equations
The full system of Boussinesq equations for the ocean are then:
Thermal wind balance
Now that we regard the ocean as a stratified and rotating fluid with a buoyancy defined as , an emerging property of the flow appears if we combine this fact with the geostrophic balance (see Section Geostrophic balance). Recall the components of geostrophic velocity (Eqs. 6.20-6.21):
Differentiate each with respect to to get:
Applying the hydrostatic approximation (Eq. 6.3) to the above equations, and recalling the definition of buoyancy, we get:
Equations 6.24-6.25 are known as the thermal wind balance (despite the name, it applies to oceans and atmopsheres alike!). It states that the geostrophic velocity must be vertically sheared in the presence of a horizontal buoyancy (density) gradient. This is illustrated in Fig. 6.1. Warm and light air means and thus , while cold and dense air means and thus . By hydrostasy, the vertical gradient of the pressure anomaly is positive on the left and negative on the right. This establishes negative horizontal pressure gradient aloft and a positive one near the ground. As the Coriolis force balances the horizontal pressure gradients, the geostrophic wind is positive aloft (out of the page) and negative near the ground (into the page). Thus, in a geostrophic balanced flow alone, introducing a horizontal buoyancy gradient results in a vertical shear of the horizontal velocity.
The mechanism of thermal wind. A cold fluid is denser than a warm fluid, so by hydrostasy the vertical pressure gradient is greater where the fluid is cold. Thus, pressure gradients form as shown, where “higher” and “lower” mean relative to the average at that height. The horizontal pressure gradients are balanced by the Coriolis force, producing (for ) the horizontal winds shown. Only the wind shear is given by the thermal wind. This is Fig. 2.6 in AOFD (Vallis, 2017).
Static instability
We now consider how a fluid parcel may oscillate when its density is perturbed from its resting state and in absence of horizontal flow. This allows us to study the vertical motions due to the vertical differences in density and in isolation from other processes. We will approach this problem by displacing a fluid parcel adiabatically (i.e. without exchange of heat or mass with the environment) by a small distance and examining how the pressure and gravity forces act on it in response (Fig. 6.2). Recall that in Eq. 6.1 we allowed for the density variations to be much smaller than the mean density, i.e. . Here we expand the density decomposition to a finer detail, specifically:
where we now differentiate between the mean density and the vertically-varying environmental density , while the perturbation includes the vertical, horizontal, and temporal density variations.
A parcel is adiabatically displaced upward from level to . A tilde denotes the value in the environment, and variables without tildes are those in the parcel. The parcel preserves its potential density, , which it takes from the environment at level . If is the reference level, the potential density there is equal to the actual density. The parcel’s stability is determined by the difference between its density and the environmental density. If the difference is positive, the displacement is stable, and if negative the displacement is unstable. This is Fig. 2.8 in AOFD (Vallis, 2017).
As the fluid parcel is displaced adiabatically, its pressure changes instantaneously to assume the same pressure as the environment. However, its temperature and salinity do not change instantaneously, resulting in a density change. To account for the instantaneous change in pressure as the parcel is displaced in height, rather than the actual density we need to consider the parcel’s potential density, . The potential density is the density the parcel would have if it were returned to the level where the initial pressure was :
where is the square of the speed of sound in the fluid, which we here assume to be constant and equal to . is also related to the pressure compressibility of the fluid in the equation of state for seawater (Eq. 4.52), . Thus, if the parcel ascends or descends adiabatically, without a change in temperature or salinity, but allowing it to assume environmental pressure, its density will change but its potential density will remain constant. Potential density is thus a useful concept for understanding the static stability of the fluid.
Our goal now is to express a small change in density of the parcel relative to the environment solely in terms of the vertical gradient of the potential density. From Fig. 6.2, we start from:
which is the difference between the parcel’s density and the environmental density at the new level. Taking the reference level to be means that:
so we can re-write the above as:
Since the parcel’s potential density is conserved during the adiabatic displacement, , and recall that at the starting level the parcel’s potential density equals the environmental potential density, i.e. , we can write:
Then, for small :
The parcel’s static stability is thus determined by the vertical gradient of the locally-referenced potential density of the environment, :
Now, to determine the oscillatory motion of the parcel, we apply Newton’s second law and balance the acceleration of the parcel with the buoyancy force:
where we have defined the Brunt-Väisälä frequency (or buoyancy frequency) as:
while noting that within . A parcel displaced from its equilibrium position will oscillate with angular frequency if (statically stable), and freely accelerate upward if (statically unstable). To demonstrate this, we recognize that, like the inertial oscillation equations in Section Inertial oscillations, this is a second-order, linear, homogeneous, ordinary differential equation with constant coefficients. Its general solution is:
As before, the values of coefficients , , , and can be found by applying the initial conditions for and at . They are , , , assuming that the initial vertical velocity is zero.
In Python, the solution for the static instability oscillation can be coded like this:
import numpy as np
def parcel_displacement(z0: float, N2: float, t: float) -> float:
"""Given initial parcel displacement z0, buoyancy frequency squared N2,
return the parcel displacement at time t."""
N = np.sqrt(complex(N2))
if N2 > 0: # stable
return z0 * np.cos(N * t)
else: # unstable
return z0 * np.cosh(np.abs(N) * t)
This oscillation is illustrated in Fig. 6.3. In stable stratification (top panel), the parcel oscillates around its equilibrium position with frequency . Higher stratification (larger ), leads to faster oscillations, while the amplitude is controlled by the initial displacement . In unstable stratification (bottom panel), the parcel accelerates away from its equilibrium position, with the rate of acceleration controlled by . This solution is, of course, confined to the small values of . This assumption is reasonable because the ocean is generally stably stratified, and so large displacements, or large vertical extents of unstable stratification, are uncommon. Use the function above to calculate the trajectory of the parcel for different values of and initial displacement , and get a sense of how the oscillation changes with these parameters.
Static instability oscillations in a stably (top) and unstably (bottom) stratified fluid.
Exercises
-
Use the linear equation of state for seawater to demonstrate that the variations of density in the ocean are very small compared to the mean density. How large (in percent relative change) are these variations with respect to the changes in temperature, salinity, and pressure in the ocean?
-
Calculate the Brunt-Väisälä frequency for: (a) a typical mid-latitude thermocline with temperature decreasing from 20°C to 5°C over 500 m depth; (b) the deep ocean where potential temperature decreases from 4°C to 2°C over 2000 m depth. Assume constant salinity of 35 g/kg.
Summary
In this chapter, we covered:
-
The Boussinesq approximation, which assumes density variations are small compared to the mean density;
-
Decomposition of density and pressure into mean and perturbation components;
-
Static stability and its relationship to the vertical density gradient;
-
The Brunt-Väisälä frequency as a measure of stratification strength and the natural frequency of vertical oscillations in a stratified fluid.