1 Introduction
The concept of available potential energy (APE), first developed by Margules (Reference Margules1903) and Lorenz (Reference Lorenz1955), aims to quantify the part of the total potential energy (PE) of a stratified fluid that is available for (reversible) conversions with kinetic energy (KE). In Lorenz’s view, any realisable state of a stratified fluid is viewed as an adiabatic rearrangement of some notional rest state, whose background potential energy
$PE_{r}$
is ‘inert’ or ‘unavailable’ in some sense, thus motivating the partition
$PE=APE+PE_{r}$
. From a fundamental viewpoint, the concept of APE provides a natural solution to a number of outstanding problems plaguing the standard PE. Indeed, in contrast to the latter, (1) APE is independent of the arbitrary reference level defining geopotential height and of the unknowable constants generally entering the construction of internal energy; (2) APE is naturally positive definite and at least quadratic in perturbations, thus allowing it to be meaningfully partitioned into mean and eddy components; (3) APE does not suffer from the ‘cooling’ paradox, which occurs when a given forcing acts as a sink of potential energy (such as high-latitude cooling in the oceans), but nevertheless results in the creation of KE due to such a forcing being a source of APE; (4) the APE budget naturally yields a prediction for the thermodynamic efficiency of the system considered that appears to be physically much more meaningful than that predicted by the entropy budget, as discussed by Tailleux (Reference Tailleux2010). This is particularly important for understanding how to define and quantify the power input due to surface buoyancy fluxes in the ocean, for instance. It is no surprise, therefore, that Lorenz APE theory has been and still primarily remains the main tool for discussing the energy cycle of the atmosphere and oceans, e.g. Peixoto & Oort (Reference Peixoto and Oort1992).
A longstanding difficulty with Lorenz APE theory, however, is that it is only global in nature. This is an important drawback, complicating its use in local or regional studies of energetics, which has historically prompted much research effort into identifying a suitable local extension, the main attempts being reviewed in Tailleux (Reference Tailleux2013a ). The most successful attempts, and those most clearly related to Lorenz APE theory, are the local frameworks proposed by Andrews (Reference Andrews1981) for a simple compressible stratified fluid and by Holliday & McIntyre (Reference Holliday and McIntyre1981) for a Boussinesq fluid with a linear equation of state; these attempts, along with other related older formulations, were subsequently unified within the context of Hamiltonian theory by Shepherd (Reference Shepherd1993). Yet, despite having been established over 35 years ago, it is only relatively recently that local theories of APE have started to receive attention in the context of stratified turbulence (Roullet & Klein Reference Roullet and Klein2009; Molemaker & McWilliams Reference Molemaker and McWilliams2010; Winters & Barkan Reference Winters and Barkan2013; Scotti & White Reference Scotti and White2014), ocean energetics (Scotti, Beardsley & Butman Reference Scotti, Beardsley and Butman2006; Tailleux Reference Tailleux2013b ; Roullet, Capet & Maze Reference Roullet, Capet and Maze2014; Saenz et al. Reference Saenz, Tailleux, Butler, Hughes and Oliver2015; Zemskova, White & Scotti Reference Zemskova, White and Scotti2015; MacCready & Giddings Reference MacCready and Giddings2016), and atmospheric energetics (Kucharski Reference Kucharski1997; Kucharski & Thorpe Reference Kucharski and Thorpe2000; Peng, Zhang & Zhang Reference Peng, Zhang and Zhang2015; Novak & Tailleux Reference Novak and Tailleux2018).
Despite all recent advances and increased interest, however, a satisfactory generalisation of the Andrews (Reference Andrews1981) local APE theory to a multicomponent compressible stratified fluid accounting for diabatic sources and sinks has remained out of reach. Yet, such a generalisation is essential for the development of any rigorous theoretical understanding of the role played by salinity or humidity, as well as of turbulent mixing, in the oceanic and atmospheric energy cycles. Bannon (Reference Bannon2003) attempted such a generalisation by means of the Shepherd (Reference Shepherd1993) Hamiltonian framework, but his theory only pertains to an ideal fluid whose constituents are all independent of horizontal position in the reference state, thus excluding the possibility of density compensation (Tailleux, Lazar & Reason Reference Tailleux, Lazar and Reason2005), a key aspect of real fluids. Recently, Peng et al. (Reference Peng, Zhang and Zhang2015) have proposed a local APE theory for a moist atmosphere, but it is not exact and is limited to the anelastic approximation. How to achieve such a generalisation by means of elementary manipulation of the full Navier–Stokes equations is the main aim of the present paper, and is derived in § 2. Section 3 discusses the effects of diabatic sources and sinks and the links between the energy conversions taking place in real and Boussinesq fluids. Section 4 reviews and discusses the physical issues underlying the construction of the reference state(s) in local APE theories. Section 5 summarises and discusses the results.
2 Available energetics of a stratified compressible binary fluid
We start by revisiting the Andrews (Reference Andrews1981) construction of PE density so as to generalise it easily to multicomponent compressible stratified fluids. As in Andrews (Reference Andrews1981) or Bannon (Reference Bannon2003), we define the PE density of a stratified fluid as the sum of its available elastic energy (AEE) density and APE density. As shown below, this can be achieved without loss of generality by restricting attention to the case of a binary fluid; that is, one whose equation of state for density depends on composition
$S$
(referred to as ‘salinity’ hereafter) in addition to specific entropy
$\unicode[STIX]{x1D702}$
and pressure
$p$
, all quantities being functions of spatial position
$(x,y,z)$
and time
$t$
. A full set of governing equations in the Earth rotating frame is
Here,
$\boldsymbol{v}=(u,v,w)$
is the velocity field,
$\unicode[STIX]{x1D734}$
is the Earth rotation vector,
$\unicode[STIX]{x1D6F7}(z)=g_{0}z$
is the geopotential (
$g_{0}$
is gravitational acceleration),
$z$
is height, increasing positively upwards,
$\unicode[STIX]{x1D710}=1/\unicode[STIX]{x1D70C}$
is the specific volume,
$\unicode[STIX]{x1D70C}$
is density,
$\boldsymbol{F}$
is frictional force, while
$\dot{\unicode[STIX]{x1D702}}$
and
${\dot{S}}$
represent diabatic sources of entropy and salt.
We first address the case of an ideal fluid, thus setting
$\boldsymbol{F}=\dot{\unicode[STIX]{x1D702}}={\dot{S}}=0$
in (2.1)–(2.4). In this case, a standard expression for the total energy budget is
where
$e=e(\unicode[STIX]{x1D702},S,p)=h(\unicode[STIX]{x1D702},S,p)-p\unicode[STIX]{x1D710}$
is the specific internal energy and
$h$
is the specific enthalpy. In order to obtain an expression for the PE density of the fluid considered, one first needs to identify suitably defined reference specific volume
$\unicode[STIX]{x1D710}_{0}(z)$
and pressure
$p_{0}(z)$
profiles as functions of
$z$
only and in mechanical (hydrostatic) equilibrium,
A discussion of the physical issues pertaining to the construction of the reference state is deferred to § 4. The next key step is to assign to each fluid parcel a reference position
$z_{r}(\unicode[STIX]{x1D702},S)$
in that reference state. This can be done most generally by regarding
$z_{r}$
as the particular depth at which the specific volume of the fluid parcel moved adiabatically to that level matches that of the reference state. Mathematically, this is equivalent to defining
$z_{r}$
as a solution of the so-called level of neutral buoyancy (LNB) equation,
similarly to Tailleux (Reference Tailleux2013b
), where
$p_{r}(\unicode[STIX]{x1D702},S)=p_{0}(z_{r}(\unicode[STIX]{x1D702},S))$
. Depending on how the reference specific volume
$\unicode[STIX]{x1D710}_{0}(z)$
is defined, (2.7) may have no solution, one solution or even multiple solutions. In the former case,
$z_{r}$
should be defined at either the top or the bottom of the domain depending on the buoyancy of the fluid parcel in the actual state (Tailleux Reference Tailleux2013b
). The latter case is rarely encountered in the ocean (Saenz et al.
Reference Saenz, Tailleux, Butler, Hughes and Oliver2015) but is commonplace in a moist atmosphere (Wong, Tailleux & Gray Reference Wong, Tailleux and Gray2016; Harris & Tailleux Reference Harris and Tailleux2018). How to select the solution in this case is still poorly understood, however.
Following Andrews (Reference Andrews1981), we next use the following identity:
to rewrite the standard energy budget (2.5) in terms of the perturbation pressure
$p-p_{0}$
as follows:
where the quantity
is a hybrid function of thermodynamic coordinates and height, reminiscent of the non-KE part of the classical Bernoulli head. The introduction of
${\mathcal{B}}$
proves determinant, for it turns out that the quantity
obtained as the difference between
${\mathcal{B}}$
and its value in the reference state, naturally happens to be positive definite and our sought PE density. The quantity
$\unicode[STIX]{x1D6F1}+\boldsymbol{v}^{2}/2$
is then the ‘pseudoenergy’ of Shepherd (Reference Shepherd1993), and obeys the following conservation law:
To prove its positive definite character, it is useful to rewrite
$\unicode[STIX]{x1D6F1}$
in terms of the enthalpies
$h(\unicode[STIX]{x1D702},S,p)=e(\unicode[STIX]{x1D702},S,p)+p/\unicode[STIX]{x1D70C}$
and
$h(\unicode[STIX]{x1D702},S,p_{r})=e(\unicode[STIX]{x1D702},S,p_{r})+p_{r}/\unicode[STIX]{x1D70C}_{r}$
as follows:
as this naturally yields the decomposition
$\unicode[STIX]{x1D6F1}=\unicode[STIX]{x1D6F1}_{1}+\unicode[STIX]{x1D6F1}_{2}$
, where
The quantity
$\unicode[STIX]{x1D6F1}_{1}$
is the so-called AEE density previously derived by Andrews (Reference Andrews1981) and Bannon (Reference Bannon2003), and may be rewritten as follows:
where the identities
$\text{d}h=T\,\text{d}\unicode[STIX]{x1D702}+\unicode[STIX]{x1D707}\,\text{d}S+\unicode[STIX]{x1D710}\,\text{d}p$
and
$\unicode[STIX]{x1D710}_{p}=-(\unicode[STIX]{x1D70C}^{2}c_{s}^{2})^{-1}$
have been used. The result
$\unicode[STIX]{x1D6F1}_{1}\geqslant 0$
follows from the
$\unicode[STIX]{x1D70C}$
and
$c_{s}$
both being strictly positive quantities. For small pressure perturbation
$p^{\prime }=p-p_{0}$
,
$\unicode[STIX]{x1D6F1}_{1}$
reduces to the well-known quadratic approximation,
as noted by Andrews (Reference Andrews1981) and Shepherd (Reference Shepherd1993), among others. Physically,
$\unicode[STIX]{x1D6F1}_{1}$
represents the work required to bring the reference pressure
$p_{0}(z)$
of a fluid parcel to its actual pressure
$p$
by means of an adiabatic compression
$(p>p_{0})$
or expansion
$(p<p_{0})$
. Andrews (Reference Andrews1981) argues that such a term vanishes in the incompressible limit
$c_{s}\rightarrow +\infty$
, thus justifying its absence in Boussinesq fluids.
The quantity
$\unicode[STIX]{x1D6F1}_{2}$
is the APE density of the fluid and is the only part of the PE density generally retained in incompressible Boussinesq fluids. Physically, it is equivalent to the
$\unicode[STIX]{x1D6F1}_{2}$
of Andrews (Reference Andrews1981), but, mathematically, (2.15) is actually much simpler. Moreover, in contrast to the constructions of Andrews (Reference Andrews1981) and Bannon (Reference Bannon2003), it does not require the introduction of purely depth-dependent reference profiles for specific entropy and salinity, which is overly restrictive in real fluids. In order to clarify the link between the APE density of a compressible fluid and that of the Boussinesq or hydrostatic primitive equations, we make use of (2.6) and the change of variables
$p^{\prime }=p_{0}(z^{\prime })$
,
$\text{d}p^{\prime }=-\unicode[STIX]{x1D70C}_{0}(z^{\prime })g_{0}\,\text{d}z^{\prime }$
to rewrite
$\unicode[STIX]{x1D6F1}_{2}$
in the following mathematically equivalent ways:
$$\begin{eqnarray}\displaystyle \displaystyle \unicode[STIX]{x1D6F1}_{2} & = & \displaystyle -\int _{z_{r}}^{z}\unicode[STIX]{x1D710}_{0}(z^{\prime }){\displaystyle \frac{\text{d}p_{0}}{\text{d}z}}(z^{\prime })\,\text{d}z^{\prime }+\int _{p_{0}(z_{r})}^{p_{0}(z)}\unicode[STIX]{x1D710}(\unicode[STIX]{x1D702},S,p^{\prime })\,\text{d}p^{\prime }\nonumber\\ \displaystyle \displaystyle & = & \displaystyle \int _{p_{0}(z_{r})}^{p_{0}(z)}[\unicode[STIX]{x1D710}(\unicode[STIX]{x1D702},S,p^{\prime })-\hat{\unicode[STIX]{x1D710}}_{0}(p^{\prime })]\,\text{d}p^{\prime }=g_{0}\int _{z_{r}}^{z}{\displaystyle \frac{[\unicode[STIX]{x1D70C}(\unicode[STIX]{x1D702},S,p_{0}(z^{\prime }))-\unicode[STIX]{x1D70C}_{0}(z^{\prime })]}{\unicode[STIX]{x1D70C}(\unicode[STIX]{x1D702},S,p_{0}(z^{\prime }))}}\,\text{d}z^{\prime },\quad\end{eqnarray}$$
where
$\hat{\unicode[STIX]{x1D710}}_{0}(p)=\unicode[STIX]{x1D710}_{0}(Z_{0}(p))$
,
$Z_{0}(p)$
being the inverse function of
$p_{0}(z)$
satisfying
$p_{0}(Z_{0}(p))=p$
. Equations (2.18) are classical expressions for the work against buoyancy forces required to move a fluid parcel from its reference position at pressure
$p_{r}=p_{0}(z_{r})$
to its actual position at pressure
$p_{0}(z)$
by means of an adiabatic and isohaline process. It is easily seen that the APE density for a Boussinesq fluid derived by Holliday & McIntyre (Reference Holliday and McIntyre1981) or Tailleux (Reference Tailleux2013c
) can be recovered (1) by replacing the denominator
$\unicode[STIX]{x1D70C}(\unicode[STIX]{x1D702},S,p)$
in the last term of (2.18) by the constant reference Boussinesq density
$\unicode[STIX]{x1D70C}_{00}$
and (2) by replacing everywhere the reference pressure
$p_{0}(z)$
by the Boussinesq pressure
$p_{00}(z)=-\unicode[STIX]{x1D70C}_{00}g_{0}z$
. As to the APE density for a hydrostatic dry atmosphere discussed by Novak & Tailleux (Reference Novak and Tailleux2018), it is simply recovered from the first term in (2.18) by replacing the upper bound
$p_{0}$
by the hydrostatic pressure
$p$
itself. As a result, the arguments of Tailleux (Reference Tailleux2013b
) may be used to prove the positive definite character of
$\unicode[STIX]{x1D6F1}$
, as well as its small-amplitude approximation
$\unicode[STIX]{x1D6F1}_{2}\approx N_{r}^{2}(z-z_{r})^{2}/2$
, with
$N_{r}^{2}$
given by
It should be noted here that in a binary or multicomponent fluid, the possibility of density compensation means that only the reference density and pressure profiles may be assumed to be functions of
$z$
alone; all other quantities, including
$N_{r}^{2}$
, must in general depend on horizontal position as well. To conclude, let us remark that
$\unicode[STIX]{x1D6F1}$
is ‘local’ only in the sense of being definable at any location, since it possesses some degree of non-locality due to being defined relative to a ‘globally defined’ reference state. For this reason,
$\unicode[STIX]{x1D6F1}$
is best viewed as a sophisticated form of density variance, which – like other standard statistical quantities such as ‘anomalies’ – is also non-local in some sense.
3 Energy conversions in the presence of diabatic sinks and sources
We now turn to the issue of how diabatic sinks and sources of
$(\unicode[STIX]{x1D702},S)$
affect the evolution of the PE density. To that end, we reintroduce the diabatic terms
$(\dot{\unicode[STIX]{x1D702}},{\dot{S}})$
in the equations for
$(\unicode[STIX]{x1D702},S)$
. Because the reference state may be altered by diabatic effects, we assume from now on that the specific volume and pressure reference profiles
$\unicode[STIX]{x1D710}_{0}(z,t)$
and
$p_{0}(z,t)$
also depend on time (Winters et al.
Reference Winters, Lombard, Riley and d’Asaro1995). The LNB equation (2.7) thus becomes
$\unicode[STIX]{x1D710}[\unicode[STIX]{x1D702},S,p_{0}(z_{r},t)]=\unicode[STIX]{x1D710}_{0}(z_{r},t)$
and now defines
$z_{r}=z_{r}(\unicode[STIX]{x1D702},S,t)$
as a time-dependent material function of
$(\unicode[STIX]{x1D702},S)$
. Evolution equations for
$\unicode[STIX]{x1D6F1}_{1}$
and
$\unicode[STIX]{x1D6F1}_{2}$
are obtained by taking the material derivatives of (2.14) and (2.15). The addition of an evolution equation for the KE
$E_{k}=\boldsymbol{v}^{2}/2$
(obtained in the usual way) yields the following description of energetics:
In (3.2) and (3.3), the local diabatic production terms
$\dot{\unicode[STIX]{x1D6F1}}_{1}$
and
$\dot{\unicode[STIX]{x1D6F1}}_{2}$
are defined by
where
$T$
and
$\unicode[STIX]{x1D707}$
denote in situ temperature and relative chemical potential respectively. Moreover, the suffix ‘
$h$
’ indicates a variable estimated at the pressure
$p_{0}(z,t)$
, e.g.
$T_{h}=T(\unicode[STIX]{x1D702},S,p_{0}(z,t))$
, while the suffix ‘
$r$
’ indicates a variable estimated at the pressure
$p_{r}=p_{0}(z_{r},t)$
, e.g.
$T_{r}=T(\unicode[STIX]{x1D702},S,p_{r})=T(\unicode[STIX]{x1D702},S,p_{0}(z_{r},t))$
. Addition of (3.2) and (3.3) yields the following equation for
$\unicode[STIX]{x1D6F1}$
:
$$\begin{eqnarray}\displaystyle & \displaystyle \unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F1}}{\text{D}t}}=\underbrace{\unicode[STIX]{x1D735}\boldsymbol{\cdot }(p_{0}\boldsymbol{v})+\unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F7}}{\text{D}t}}-{\displaystyle \frac{p}{\unicode[STIX]{x1D710}}}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D710}}{\text{D}t}}}_{C(E_{k},\unicode[STIX]{x1D6F1})}+\unicode[STIX]{x1D70C}\dot{\unicode[STIX]{x1D6F1}}+{\displaystyle \frac{\unicode[STIX]{x2202}p_{0}}{\unicode[STIX]{x2202}t}}(z,t)-{\displaystyle \frac{\unicode[STIX]{x1D70C}}{\unicode[STIX]{x1D70C}_{r}}}{\displaystyle \frac{\unicode[STIX]{x2202}p_{0}}{\unicode[STIX]{x2202}t}}(z_{r},t), & \displaystyle\end{eqnarray}$$
where the local diabatic production/destruction term
$\dot{\unicode[STIX]{x1D6F1}}$
is defined by
It should be noted that because the diabatic terms
${\dot{S}}$
and
$\dot{\unicode[STIX]{x1D702}}$
couple
$\unicode[STIX]{x1D6F1}$
to the background potential energy
${\mathcal{B}}_{r}=\unicode[STIX]{x1D6F7}(z_{r})+e(\unicode[STIX]{x1D702},S,p_{r})+p_{r}/\unicode[STIX]{x1D70C}_{r}$
, the pseudoenergy
$E_{k}+\unicode[STIX]{x1D6F1}$
is no longer a conservative quantity.
The two different possible approaches to defining the energy conversions between
$E_{k}$
,
$\unicode[STIX]{x1D6F1}_{1}$
and
$\unicode[STIX]{x1D6F1}_{2}$
in a turbulent multicomponent compressible stratified fluid discussed in this paper.

We now discuss the nature of the energy conversions between
$E_{k}$
,
$\unicode[STIX]{x1D6F1}_{1}$
and
$\unicode[STIX]{x1D6F1}_{2}$
implied by (3.1)–(3.3) in order to understand their links with Boussinesq energetics. As is well known, such an exercise is prone to conceptual difficulties, because there is no universally agreed way to define energy conversions, which can often be defined in several plausible mathematically equivalent ways. In the present case, for instance, there appear to be two natural such ways – synthesised in table 1 – which we refer to as the ‘standard’ and ‘Boussinesq’ conversions. The standard conversions are those that naturally follow from the energy budget written as (3.1)–(3.3), and consist of regarding the work of compression/expansion as a conversion between KE and AEE and the term
$\unicode[STIX]{x1D70C}g_{0}w$
as a conversion between KE and APE. In this standard view, ‘large’ conversions are permitted to occur between all of the different energy reservoirs. The Boussinesq view, on the other hand, exploits the tendency for the standard energy conversions to compensate each other, thus suggesting that the terms of (3.2) and (3.3) should be recombined as follows:
$$\begin{eqnarray}\displaystyle & \displaystyle \unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F1}_{1}}{\text{D}t}}=\underbrace{\unicode[STIX]{x1D735}\boldsymbol{\cdot }(p_{0}\boldsymbol{v})+\unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F7}}{\text{D}t}}-{\displaystyle \frac{p}{\unicode[STIX]{x1D710}}}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D710}}{\text{D}t}}}_{C(E_{k},\unicode[STIX]{x1D6F1}_{1})}+\unicode[STIX]{x1D70C}\dot{\unicode[STIX]{x1D6F1}}_{1}-\underbrace{\left(1-{\displaystyle \frac{\unicode[STIX]{x1D70C}_{0}}{\unicode[STIX]{x1D70C}_{h}}}\right)\unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F7}}{\text{D}t}}}_{C(\unicode[STIX]{x1D6F1}_{1},\unicode[STIX]{x1D6F1}_{2})}+\,\text{N.L.}, & \displaystyle\end{eqnarray}$$
$$\begin{eqnarray}\displaystyle & \displaystyle \unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F1}_{2}}{\text{D}t}}=\underbrace{\left(1-{\displaystyle \frac{\unicode[STIX]{x1D70C}_{0}}{\unicode[STIX]{x1D70C}_{h}}}\right)\unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F7}}{\text{D}t}}}_{C(\unicode[STIX]{x1D6F1}_{1},\unicode[STIX]{x1D6F1}_{2})}+\unicode[STIX]{x1D70C}\dot{\unicode[STIX]{x1D6F1}}_{2}+\,\text{ N.L.}, & \displaystyle\end{eqnarray}$$
where the acronym N.L. denotes the non-local terms proportional to the various
$\unicode[STIX]{x2202}p_{0}/\unicode[STIX]{x2202}t$
partial derivatives. The Boussinesq reorganisation has the key advantage of transforming
$C(\unicode[STIX]{x1D6F1}_{1},\unicode[STIX]{x1D6F1}_{2})$
into a density flux anomaly, without actually introducing any form of average. This makes it arguably more relevant/useful to the study of turbulent stratified fluids than the standard view. Physically, (3.7)–(3.8) no longer allow for any direct conversion between KE and the APE density
$\unicode[STIX]{x1D6F1}_{2}$
, so that conversion between KE and
$\unicode[STIX]{x1D6F1}_{2}$
appears to be indirect and mediated via
$\unicode[STIX]{x1D6F1}_{1}$
. As one referee put it,
$\unicode[STIX]{x1D6F1}_{1}$
becomes a ‘pass-through’ energy reservoir. The usefulness of this property becomes evident in the incompressible limit
$c_{s}\rightarrow +\infty$
. Indeed, in this case,
$\unicode[STIX]{x1D6F1}_{1}$
vanishes but the energy conversions on the right-hand side of (3.7) do not. As a consequence, (3.7) becomes a diagnostic equation imposing that the following balance holds approximately at all times:
$$\begin{eqnarray}\displaystyle & \displaystyle \underbrace{\unicode[STIX]{x1D735}\boldsymbol{\cdot }(p_{0}\boldsymbol{v})+\unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F7}}{\text{D}t}}-{\displaystyle \frac{p}{\unicode[STIX]{x1D710}}}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D710}}{\text{D}t}}}_{C(E_{k},\unicode[STIX]{x1D6F1}_{1})}+\unicode[STIX]{x1D70C}\dot{\unicode[STIX]{x1D6F1}}_{1}-\underbrace{\left(1-{\displaystyle \frac{\unicode[STIX]{x1D70C}_{0}}{\unicode[STIX]{x1D70C}_{h}}}\right)\unicode[STIX]{x1D70C}{\displaystyle \frac{\text{D}\unicode[STIX]{x1D6F7}}{\text{D}t}}}_{C(\unicode[STIX]{x1D6F1}_{1},\unicode[STIX]{x1D6F1}_{2})}+\,\text{ N.L.}\approx 0. & \displaystyle\end{eqnarray}$$
If
$\unicode[STIX]{x1D70C}\dot{\unicode[STIX]{x1D6F1}}_{1}$
and N.L. can be neglected in (3.9), the above balance reduces to
$C(\unicode[STIX]{x1D6F1}_{1},\unicode[STIX]{x1D6F1}_{2})\approx C(E_{k},\unicode[STIX]{x1D6F1}_{1})$
, which formally allows one to regard the density flux anomaly
$C(\unicode[STIX]{x1D6F1}_{1},\unicode[STIX]{x1D6F1}_{2})$
as a conversion between KE and
$\unicode[STIX]{x1D6F1}_{2}$
, precisely as in Boussinesq energetics. Any KE converted into
$\unicode[STIX]{x1D6F1}_{1}$
is instantaneously converted into
$\unicode[STIX]{x1D6F1}_{2}$
, and conversely. To establish that such a view is valid and physically meaningful, one presumably would need to prove that such conversions are primarily achieved by sound waves, as these are the only ones capable of transmitting information at infinite speed in the limit
$c_{s}\rightarrow +\infty$
, but this is a challenging technical issue that we regard as being beyond the scope of this paper.
4 Issues pertaining to the choice of reference state
How to define and construct the APE reference state has been a continuing source of confusion and difficulty in APE theory since its inception. To date, the issue remains controversial and outstanding. Here, we briefly review and discuss two well-known key difficulties in §§ 4.1 and 4.2 below. The first one pertains to the possible use of ‘non-resting’ reference states. The second one pertains to the apparent arbitrariness of the reference state in local APE theory and whether it implies the possibility of using reference states other than those originally proposed by Lorenz (Reference Lorenz1955).
4.1 Resting versus non-resting reference states
The standard form of APE is commonly understood to originate from horizontal variations in the density field, and therefore is naturally defined relative to a ‘resting’ reference state function of
$z$
only (aside from possible temporal dependence). A common objection, however, is that in the presence of rotation, idealised fluid flow configurations such as steady and stable zonal flows or vortices may have a large fraction of their APE actually locked up by a geostrophic or higher-order type of balance and therefore seemingly unavailable. Such examples have prompted a few authors to look for a generalisation of APE to account for momentum constraints, e.g. Codoban & Shepherd (Reference Codoban and Shepherd2003), Andrews (Reference Andrews2006). Whether such an approach is necessarily the ‘right’ one is not clear, however. Indeed, the alternative and much simpler approach advocated here considers that the definition of APE should not depend on the presence of rotation and flow stability, and that the potential energy density
$\unicode[STIX]{x1D6F1}_{e}$
defined relative to a non-resting reference state should be regarded as a form of ‘eddy’ potential energy in a mean/eddy decomposition
$\unicode[STIX]{x1D6F1}=\unicode[STIX]{x1D6F1}_{e}+\unicode[STIX]{x1D6F1}_{m}+\unicode[STIX]{x1D6FF}\unicode[STIX]{x1D6F1}$
of the total potential energy density
$\unicode[STIX]{x1D6F1}$
. Such an approach is easily implemented in the present framework by noting that the construction of
$\unicode[STIX]{x1D6F1}$
outlined in § 2 applies equally well to reference pressure and specific volume
$p_{m}(x,y,z)$
and
$\unicode[STIX]{x1D710}_{m}(x,y,z)$
that also depend on horizontal position. As a result, the above components of the partition of
$\unicode[STIX]{x1D6F1}$
can be explicitly defined by
In (4.1)–(4.3),
$p_{r}=p_{r}(\unicode[STIX]{x1D702},S)$
,
$\unicode[STIX]{x1D70C}_{r}=\unicode[STIX]{x1D70C}_{r}(\unicode[STIX]{x1D702},S)$
and
$z_{r}=z_{r}(\unicode[STIX]{x1D702},S)$
have the same meanings as in § 2 and are functions of the materially conserved variables
$(\unicode[STIX]{x1D702},S)$
only, whereas
$z_{rm}$
is the reference depth solution of the LNB equation for the non-resting state
$\unicode[STIX]{x1D710}(\unicode[STIX]{x1D702},S,p(x,y,z_{rm}))=\unicode[STIX]{x1D710}_{m}(x,y,z_{rm})$
, with
$p_{rm}=p_{m}(x,y,z_{rm})$
. Physically,
$\unicode[STIX]{x1D6F1}_{e}$
represents the ‘eddy’ potential energy density of a fluid parcel relative to the ‘non-resting’ mean state, whereas
$\unicode[STIX]{x1D6F1}_{m}$
represents the potential energy density of the fluid parcel in its mean equilibrium position relative to its ‘resting’ equilibrium position. It should be noted that the above mean/eddy partition of
$\unicode[STIX]{x1D6F1}$
does not explicitly depend on the introduction of any particular averaging operator, and is valid for arbitrarily defined ‘non-resting’ and ‘resting’ reference states
$(p_{m},\unicode[STIX]{x1D710}_{m})$
and
$(p_{0},\unicode[STIX]{x1D710}_{0})$
; from a mathematical viewpoint, it is the counterpart of the mean/eddy partitioning of the KE as
$\boldsymbol{v}^{2}/2=\boldsymbol{v}_{m}^{2}/2+\boldsymbol{v}_{e}^{2}/2+\boldsymbol{v}_{m}\boldsymbol{\cdot }\boldsymbol{v}_{e}$
, which also does not require the introduction of any particular averaging operator. The interaction term
$\unicode[STIX]{x1D6FF}\unicode[STIX]{x1D6F1}$
can a priori takes on both signs, and is the counterpart of the interaction
$\boldsymbol{v}_{m}\boldsymbol{\cdot }\boldsymbol{v}_{e}$
.
Physically, the expectation is that if
$(p_{m},\unicode[STIX]{x1D710}_{m})$
correspond to a steady and stable zonal flow or vortex, rotation should inhibit conversions between
$\unicode[STIX]{x1D6F1}_{m}$
and
$\unicode[STIX]{x1D6F1}_{e}$
. To confirm this, let use derive the evolution equations for
$\boldsymbol{v}^{2}/2+\unicode[STIX]{x1D6F1}_{e}$
,
$\unicode[STIX]{x1D6F1}_{m}$
and
$\unicode[STIX]{x1D6FF}\unicode[STIX]{x1D6F1}$
in the usual manner,
where
$\unicode[STIX]{x1D735}_{h}$
denotes the horizontal part of the gradient operator. It is easily verified that by summing (4.4)–(4.6), one recovers (2.5). Equations (4.4)–(4.5) show that the conversion between
$\unicode[STIX]{x1D6F1}_{m}$
and
$\unicode[STIX]{x1D6F1}_{e}$
is controlled by the product of the horizontal velocity times the horizontal gradient of
$p_{rm}$
, which vanishes for a steady geostrophically balanced state
$\boldsymbol{u}\propto f_{0}^{-1}\boldsymbol{k}\times \unicode[STIX]{x1D735}_{h}p_{rm}$
, where
$f_{0}$
denotes the local rotation rate and
$\boldsymbol{k}$
the unit vector pointing upwards. Therefore, as far as we can judge, the inhibiting effects of rotation can be understood in the context of the mean/eddy decomposition of
$\unicode[STIX]{x1D6F1}$
(see Scotti & White (Reference Scotti and White2014) and Novak & Tailleux (Reference Novak and Tailleux2018) for alternative ways of performing such a decomposition), and do not therefore seem to require a definition of APE accounting for momentum constraints. Obviously, this is a subtle and complicated issue that will warrant extensive discussion in a separate and forthcoming dedicated paper.
4.2 On the arbitrariness of the reference state
The apparent arbitrariness of the reference state in local APE theory, first noted by Andrews (Reference Andrews1981) and Shepherd (Reference Shepherd1993), has been exploited by a few authors to use reference states that are easier or more convenient to compute than the Lorenz reference state, such as the horizontally averaged density field (Tailleux Reference Tailleux2013b
) or an analytic profile (Peng et al.
Reference Peng, Zhang and Zhang2015). Because the choice of reference state affects the magnitude of the APE reservoir, as well as the rates at which it is created, stored and destroyed (Wong et al.
Reference Wong, Tailleux and Gray2016), the present state of affairs is obviously unsatisfactory and will remain so until the physical basis for how to specify it is identified. The key role played by
${\mathcal{B}}$
in the construction of
$\unicode[STIX]{x1D6F1}$
suggests that the reference pressure
$p_{0}(z)$
or
$p_{0}(z,t)$
should be chosen so as to approximate the actual pressure field
$p(x,y,z,t)$
as accurately as is feasible. If least squares were the relevant principle, one would have a physical basis for arguing that the reference density field
$\unicode[STIX]{x1D70C}_{0}(z,t)$
should be defined as the horizontally averaged density
$\overline{\unicode[STIX]{x1D70C}}(z,t)$
rather than in terms of the Lorenz reference state. Such an approach would also ensure that
$\unicode[STIX]{x1D6F1}$
vanishes identically in a state of rest, a desirable property of
$\unicode[STIX]{x1D6F1}$
that is not necessarily satisfied with the Peng et al. (Reference Peng, Zhang and Zhang2015) analytically specified reference state. Clarification of this issue once and for all therefore remains a key priority for future research.
5 Conclusions
In this paper, we succeeded in extending the local concept of potential energy density
$\unicode[STIX]{x1D6F1}$
of Andrews (Reference Andrews1981) to a multicomponent compressible stratified fluid and in deriving evolution equations for the attendant energy cycle accounting for diabatic sinks and sources. In contrast to the previous approaches by Andrews (Reference Andrews1981) and Bannon (Reference Bannon2003), our construction of APE density stands out by its simplicity and economy, as well as by its considerably more transparent link to the APE density of the Boussinesq and hydrostatic primitive equations. The key step that makes our approach so simple is the introduction of the quantity
${\mathcal{B}}(z,\unicode[STIX]{x1D702},S,p)=\unicode[STIX]{x1D6F7}(z)+e(\unicode[STIX]{x1D702},S,p)+p_{0}(z)\unicode[STIX]{x1D710}(\unicode[STIX]{x1D702},S,p)$
, which is just the standard potential energy plus the term
$p_{0}/\unicode[STIX]{x1D70C}$
. Indeed, all one has to do is to subtract the reference value of
${\mathcal{B}}$
to obtain
$\unicode[STIX]{x1D6F1}={\mathcal{B}}(z,\unicode[STIX]{x1D702},S,p)-{\mathcal{B}}(z_{r},\unicode[STIX]{x1D702},S,p_{0}(z_{r}))$
, a quantity that is naturally positive definite, in contrast to the integrand of Lorenz (Reference Lorenz1955) globally defined APE. Such an approach can be adopted for any arbitrary resting or non-resting reference state, which points to new ways to rigorously partition
$\unicode[STIX]{x1D6F1}$
into mean and eddy components or to think about the role played by rotation on occasionally inhibiting a large fraction of the total APE. Nevertheless, the exact physical principle(s) underlying the specification of the reference state(s) remain(s) an outstanding issue in need of further research.
As in Andrews (Reference Andrews1981) and Bannon (Reference Bannon2003), the total potential energy density of a fluid parcel is the sum of its AEE and APE densities, of which only the latter subsists in soundproof systems of equations such as the Boussinesq or hydrostatic primitive equations. This can be formally justified by noting that the AEE vanishes in the limit
$c_{s}\rightarrow +\infty$
, as pointed out by Andrews (Reference Andrews1981). However, although the AEE vanishes in the incompressible limit, this is not in general the case for the individual terms entering its evolution equation. As a result, the AEE evolution equation becomes a diagnostic equation in the limit
$c_{s}\rightarrow +\infty$
, which turns out to be key for establishing a formal link between the energetics of Boussinesq and real fluids.
The present results are important, as they provide for the first time the tools needed to tackle many outstanding issues in the field, ranging from elucidation of the role of salt and humidity in the oceanic and atmospheric energy cycles to the development of new energetically and thermodynamically consistent mixing parameterisations for use in numerical oceanic and atmospheric models, as we hope to demonstrate in future studies.

