Hostname: page-component-78c5997874-fbnjt Total loading time: 0 Render date: 2024-11-17T16:28:28.307Z Has data issue: false hasContentIssue false

Quantifying mixing and available potential energy in vertically periodic simulations of stratified flows

Published online by Cambridge University Press:  05 March 2021

Christopher J. Howland*
Affiliation:
Physics of Fluids Group, Max Planck Center for Complex Fluid Dynamics, MESA+ Institute and J.M. Burgers Centre for Fluid Dynamics, University of Twente, P.O. Box 217, 7500AEEnschede, Netherlands
John R. Taylor
Affiliation:
Department of Applied Mathematics and Theoretical Physics, Centre for Mathematical Sciences, University of Cambridge, Wilberforce Road, CambridgeCB3 0WA, UK
C.P. Caulfield
Affiliation:
Department of Applied Mathematics and Theoretical Physics, Centre for Mathematical Sciences, University of Cambridge, Wilberforce Road, CambridgeCB3 0WA, UK BP Institute, University of Cambridge, Madingley Road, CambridgeCB3 0EZ, UK
*
Email address for correspondence: c.j.howland@outlook.com

Abstract

Turbulent mixing exerts a significant influence on many physical processes in the ocean. In a stably stratified Boussinesq fluid, this irreversible mixing describes the conversion of available potential energy (APE) to background potential energy (BPE). In some settings the APE framework is difficult to apply and approximate measures are used to estimate irreversible mixing. For example, numerical simulations of stratified turbulence often use triply periodic domains to increase computational efficiency. In this set-up, however, BPE is not uniquely defined and the method of Winters et al. (J. Fluid Mech., vol. 289, 1995, pp. 115–128) cannot be directly applied to calculate the APE. We propose a new technique to calculate APE in periodic domains with a mean stratification. By defining a control volume bounded by surfaces of constant buoyancy, we can construct an appropriate background buoyancy profile $b_\ast (z,t)$ and accurately quantify diapycnal mixing in such systems. This technique also permits the accurate calculation of a finite-amplitude local APE density in periodic domains. The evolution of APE is analysed in various turbulent stratified flow simulations. We show that the mean dissipation rate of buoyancy variance $\chi$ provides a good approximation to the mean diapycnal mixing rate, even in flows with significant variations in local stratification. When quantifying measures of mixing efficiency in transient flows, we find significant variation depending on whether laminar diffusion of a mean flow is included in the kinetic energy dissipation rate. We discuss how best to interpret these results in the context of quantifying diapycnal diffusivity in real oceanographic flows.

Type
JFM Papers
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2021. Published by Cambridge University Press

1. Introduction

The transport of heat and salt across surfaces of constant density (isopycnals) in the ocean provides a vital contribution to the closure of the ocean's energy budget (Wunsch & Ferrari Reference Wunsch and Ferrari2004; Hughes, Hogg & Griffiths Reference Hughes, Hogg and Griffiths2009). As originally highlighted by Munk (Reference Munk1966), such a diapycnal flux arising from molecular diffusion alone is insufficient to balance the generation of dense water in polar regions and close the global circulation. Turbulence therefore plays an important role in enhancing mixing through the stirring of tracer fields (such as temperature or salinity) and the subsequent generation of small-scale gradients. In the ocean interior, turbulence is often associated with breaking internal waves (MacKinnon et al. Reference MacKinnon2017), which in turn lead to mixing that is strongly intermittent in both space and time. Identifying the mechanisms by which turbulence is generated, and how much mixing can be associated with them, is vital in understanding and accurately modelling the transport of tracers through the ocean.

Here we define mixing as the irreversible diffusive flux across isopycnals that arises due to macroscopic fluid motions, as in Peltier & Caulfield (Reference Peltier and Caulfield2003). This flux is sometimes expressed as the mean vertical flux of density $\rho$, or equivalently buoyancy ${b=-g(\rho -\rho _0)/\rho _0}$, where $g$ is gravitational acceleration and $\rho_0$ is some reference density. Calculated from vertical velocity and buoyancy perturbations, the buoyancy flux $\langle w^\prime b^\prime \rangle$ can, however, include significant contributions from entirely reversible processes such as internal waves. Indeed, equating buoyancy flux and irreversible mixing is only appropriate when both are averaged over time and applied to a statistically stationary state. Winters et al. (Reference Winters, Lombard, Riley and D'Asaro1995) show that the true rate of irreversible, diapycnal mixing in a Boussinesq fluid is equal to the conversion rate of available potential energy (APE) to background potential energy (BPE). As introduced by Lorenz (Reference Lorenz1955), APE refers to the change in energy resulting from adiabatically sorting the buoyancy field of a fluid to its state of minimum potential energy. By extending the APE framework to compressible flows, Tailleux (Reference Tailleux2009) argues that mixing should in fact be described as the dissipation of APE into internal energy, which is balanced exactly by an enhancement in the generation of BPE in the Boussinesq limit. In this study, we focus on the dynamics of a single-component Boussinesq fluid with a linear equation of state, and refer the reader to Tailleux (Reference Tailleux2009, Reference Tailleux2013a) for a discussion of mixing and APE in more complex scenarios.

Although the Winters et al. (Reference Winters, Lombard, Riley and D'Asaro1995) framework provides an exact expression with which to calculate diapycnal mixing, it is not practical for use in oceanographic observations. The most precise observational estimates of mixing come from vertical microstructure profilers that record small-scale gradients of velocity or temperature in isolated vertical profiles. The methods of Osborn & Cox (Reference Osborn and Cox1972) and Osborn (Reference Osborn1980), which are derived from mean balances in the buoyancy variance and turbulent kinetic energy equations respectively, can then be used to estimate an effective diapycnal diffusivity $K_d$. This diffusivity is related to the mixing rate through $\mathcal {M} = K_d N^2$ where $N$ is some appropriate measure of the buoyancy frequency. Note that $N$ may not be straightforward to identify if there is significant spatio-temporal variability in the flow (Arthur et al. Reference Arthur, Venayagamoorthy, Koseff and Fringer2017). Both estimation methods are derived on the assumption that the flow is statistically steady and thus that the mixing is well described by some average of the buoyancy flux. The diffusivity $K_d$ obtained from these microstructure measurements can then be checked against estimates of diffusivity from tracer release experiments (Ledwell et al. Reference Ledwell, Montgomery, Polzin, Laurent, Schmitt and Toole2000). Understanding how $K_d$ varies throughout the ocean is also vital for improving the accuracy of global circulation models, where diapycnal turbulent fluxes are only captured through a prescribed parameterisation of $K_d$, such as that of Klymak & Legg (Reference Klymak and Legg2010).

Accurately quantifying mixing in computational fluid dynamics requires the use of direct numerical simulations (DNS) that resolve down to the dissipative scales of motion. These simulations can then be used to test the assumptions used to derive the above models (as in Taylor et al. Reference Taylor, de Bruyn Kops, Caulfield and Linden2019), or to quantify the differences in inferred diffusivity arising from the models (Salehipour & Peltier Reference Salehipour and Peltier2015). The need to resolve the smallest scales of motion restricts the Reynolds numbers $Re$ it is possible to attain through DNS, and so massive computational grids are needed to push $Re$ up towards geophysical values. Since the earliest days of simulating turbulence through DNS, triply periodic domains have been used to reduce computational cost (Orszag & Patterson Reference Orszag and Patterson1972). The lack of fixed boundaries in this set-up means that higher values of $Re$ can be obtained. Thin boundary layers do not need to be resolved and highly efficient pseudospectral methods, exploiting the imposed periodicity, can be implemented.

Riley, Metcalfe & Weissman (Reference Riley, Metcalfe and Weissman1981) were the first to include a mean density stratification in such a triply periodic set-up by decomposing the buoyancy field into a linear profile $N_0^2 z$ and a periodic perturbation $\theta$. This system has since proved popular for studying the dynamics of high $Re$ stratified turbulence (e.g. Staquet & Godeferd Reference Staquet and Godeferd1998; Riley & de Bruyn Kops Reference Riley and de Bruyn Kops2003; Brethouwer et al. Reference Brethouwer, Billant, Lindborg and Chomaz2007). Investigations of mixing in periodic domains, recent examples of which can be found in Maffioli, Brethouwer & Lindborg (Reference Maffioli, Brethouwer and Lindborg2016) and Garanaik & Venayagamoorthy (Reference Garanaik and Venayagamoorthy2019), do not, however, implement the rigorous (Winters et al. Reference Winters, Lombard, Riley and D'Asaro1995) framework for quantifying APE, thus identifying explicitly irreversible mixing. It is common instead to describe diapycnal mixing in terms of the destruction rate of buoyancy variance $\chi$. Indeed, destruction of variance is often how one would quantify the mixing of a passive scalar (e.g. Villermaux Reference Villermaux2019). The buoyancy variance also acts as a small-amplitude approximation to the APE, and its dissipation rate $\chi$ has long been of use in field measurements (Osborn & Cox Reference Osborn and Cox1972; Oakey Reference Oakey1982; Gargett & Holloway Reference Gargett and Holloway1984).

As we later explore in § 4.3, approximating mixing with $\chi$ can result in an over/under-estimate depending on whether the most intense turbulence in the flow preferentially samples regions of locally high/low stratification (and thus is associated with different characteristic local values of the buoyancy frequency). It is therefore important to be able to quantify mixing accurately in the periodic system and identify whether such discrepancies can be significant. Since the buoyancy in the system is only defined through its periodic perturbation $\theta$, ambiguity arises in how to construct the background state of minimum potential energy. In § 2 we use a simple example to highlight this issue and then provide an extension to the framework of Winters et al. (Reference Winters, Lombard, Riley and D'Asaro1995) that resolves the ambiguity in the case of triply periodic domains. Section 3 gives a brief overview of the numerical simulations we shall use to test the new framework, including the numerical method used. Section 4 uses the new framework to analyse the simulations, and compares the exact mixing rates to commonly used estimates. Finally, we conclude and discuss these results in § 5, with a particular focus on how our findings impact the estimation and parameterisation of mixing in the ocean.

2. Quantifying mixing in triply periodic domains

We consider the problem of quantifying irreversible mixing in a system governed by the dimensionless Boussinesq equations subject to an imposed, constant, mean stratification. We decompose the buoyancy field as $b=z+\theta$, where $b=z$ represents the buoyancy profile of the imposed mean stratification. Note that $b$ has been non-dimensionalised by $L_0N_0^2$, where $L_0$ is a typical length scale and $N_0$ is the mean dimensional buoyancy frequency, so the mean buoyancy gradient in the dimensionless system is always equal to one.

(2.1)\begin{gather} \boldsymbol{\nabla} \boldsymbol{\cdot} \boldsymbol{u} = 0 , \end{gather}
(2.2)\begin{gather}\frac{\partial \boldsymbol{u}}{\partial t} + (\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla})\boldsymbol{u} = -\boldsymbol{\nabla} p + \frac{1}{Re}\nabla^2\boldsymbol{u} + Ri_0 \theta\hat{\boldsymbol{z}} , \end{gather}
(2.3)\begin{gather}\frac{\partial \theta}{\partial t} + (\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla})\theta = \frac{1}{RePr}\nabla^2\theta - w . \end{gather}

We apply periodic boundary conditions in all three directions to the flow velocity $\boldsymbol {u}$, pressure $p$ and buoyancy perturbation $\theta$. The (dimensionless) domain sizes in the $x$, $y$, and $z$ directions are $L_x$, $L_y$, and $L_z$, respectively. The dimensionless parameters in the system are the Reynolds number, Prandtl number and bulk Richardson number, given by

(2.4ac)\begin{equation} Re = \frac{L_0U_0}{\nu}, \quad Pr = \frac{\nu}{\kappa}, \quad Ri_0 = \frac{{N_0}^2 {L_0}^2}{{U_0}^2} , \end{equation}

where $U_0$ is a velocity scale, $\nu$ is the kinematic viscosity and $\kappa$ is the diffusivity of buoyancy. As mentioned in the introduction, these equations are frequently used in studies of stratified turbulence where the periodicity allows for the use of efficient spectral methods and removes the effect of solid boundaries.

Although the buoyancy perturbation $\theta$ is periodic in the vertical, the total buoyancy ${b=z+\theta }$ is not. We are instead left with a jump condition for $b$ at the upper and lower boundaries that has consequences for the calculation of irreversible mixing and potential energy. The mean potential energy in the domain is defined as

(2.5)\begin{equation} \mathcal{P}(t) = \langle -Ri_0 b z \rangle, \end{equation}

where $\langle \,f \rangle = ({1}/{V})\int _V f \, \textrm {d} V$ denotes an average over the domain volume $V$. Substituting $\theta = b - z$ into (2.3) and multiplying by $-Ri_0z$ provides an evolution equation for the potential energy in the form

(2.6)\begin{equation} \frac{\textrm{d} \mathcal{P}}{\textrm{d} t} = -Ri_0\langle wb\rangle + \frac{Ri_0}{V}\int_{\partial V} zb\boldsymbol{u}\boldsymbol{\cdot} \boldsymbol{n} \,\mathrm{d}S + \frac{Ri_0}{RePr}\left\langle \frac{\partial b}{\partial z}\right\rangle - \frac{Ri_0}{VRePr}\int_{\partial V} z\boldsymbol{\nabla} b \boldsymbol{\cdot} \boldsymbol{n} \,\mathrm{d}S.\end{equation}

Taking the top and bottom boundaries to be at $z=L_z$ and $z=0$ respectively, and applying the periodic boundary conditions simplifies the equation to

(2.7)\begin{equation} \frac{\textrm{d} \mathcal{P}}{\textrm{d} t} = -Ri_0 \langle w\theta \rangle + Ri_0 \overline{w\theta}|_{z=0} - \frac{Ri_0}{RePr} \left.\frac{\partial\bar{\theta}}{\partial z}\right|_{z=0},\end{equation}

where an overbar denotes a horizontal average, defined as $\bar {f} = ({1}/{A})\iint _A f \,\mathrm {d}A$ where $A$ is the cross-sectional area of the domain and $\,\mathrm {d}A = \mathrm {d} x\,\mathrm {d} y$ is the area element. The conversion rate of internal energy to potential energy, given by the third term on the right-hand side of (2.6), has been cancelled out by the main contribution of the diffusive flux through the boundary – the final term in (2.6). The evolution equation (2.7) highlights how sensitive the evolution of the potential energy can be to the choice of the boundary.

The accurate quantification of irreversible mixing requires partitioning the potential energy into background and available components. The BPE is defined as the minimum value of potential energy that can be achieved through adiabatic rearrangement of the fluid in the domain. In this minimum state, the buoyancy profile is given by a monotonically increasing one-dimensional function $b_*(z,t)$, so the mean BPE is given by $\mathcal {P}_B = \langle -Ri_0b_*z\rangle$. Winters et al. (Reference Winters, Lombard, Riley and D'Asaro1995) show that BPE can also be expressed as

(2.8)\begin{equation} \mathcal{P}_B(t) = \langle -Ri_0 b(\boldsymbol{x}, t) z_*(\boldsymbol{x},t) \rangle, \end{equation}

where $z_*$ is the height a parcel of fluid with buoyancy $b(\boldsymbol {x},t)$ is moved to under the adiabatic rearrangement. Following Lorenz (Reference Lorenz1955), the APE is defined as the surplus potential energy

(2.9)\begin{equation} \mathcal{P}_A(t) = \langle -Ri_0 b (z - z_*)\rangle.\end{equation}

The rate of irreversible mixing associated with fluid motion is then given by the energy transfer rate from APE to BPE, which takes the form

(2.10)\begin{equation} \mathcal{M} = \frac{Ri_0}{RePr}\left\langle \left.\frac{\partial Z_*}{\partial b}\right|_{b(\boldsymbol{x},t)} |\boldsymbol{\nabla} b|^2 - \frac{\partial b}{\partial z}\right\rangle = \frac{Ri_0}{RePr}\left(\left\langle \left.\frac{\partial Z_*}{\partial b}\right|_{b(\boldsymbol{x},t)} |\boldsymbol{\nabla} b|^2\right\rangle - 1\right), \end{equation}

where $Z_*(b,t)$ is the inverse function associated with the sorted buoyancy profile $b_*$ which satisfies $z_*(\boldsymbol {x}, t) = Z_*(b(\boldsymbol {x},t), t)$. It is important to appreciate that the term scaling $|\boldsymbol {\nabla } b|^2$ in (2.10) is effectively the inverse square of the buoyancy frequency of the sorted variables, and so accentuates the contributions where the sorted buoyancy gradient is relatively weak. As discussed below in § 4.3, this is a potential source of difference between $\mathcal {M}$ and the buoyancy variance destruction rate $\chi$.

Note that Tailleux (Reference Tailleux2013a) argues for a more general definition of APE, where $b_*$ is replaced by an arbitrary reference state $b_r$ that can depend on a wide range of thermodynamic quantities. This definition is particularly useful for its possible extension to multicomponent, compressible fluids as shown by Tailleux (Reference Tailleux2018). Defining buoyancy relative to an arbitrary reference state also highlights an inherent ambiguity in calculating APE. If APE is quantified as the cumulative work done against buoyancy forces, then different definitions of a reference buoyancy state may alter how one interprets mixing and APE dissipation. For the single-component, Boussinesq, linear equation of state considered here, we shall continue to use the adiabatically sorted $b_*$ given its aforementioned connection to a widely studied approach used for the quantification of diapycnal mixing.

We now present a simple example to highlight how the aperiodicity of $b$ can cause issues for calculating the mixing rate $\mathcal {M}$. We consider the buoyancy field given by $\theta = \sin x$ in a domain of length $2{\rm \pi}$. This might be thought of as a representation of the buoyancy field associated with a standing internal gravity wave, at an instant when half the columns of fluid in the domain are raised up and half are pushed down relative to their equilibrium location.

The total buoyancy field $b=z+\sin x$ and its corresponding sorted profile $Z_*(b)$ are shown in figures 1(a) and 1(b) respectively. In an unbounded domain, we would expect a linear profile for $Z_*$ since the wave is simply a rearrangement of the initial linear stratification. However, by taking the boundaries at $z=0$ and $z=2{\rm \pi}$, we produce a profile with deviations from a uniform slope close to these values. Since $\theta$ is independent of $z$, we would also expect the mixing rate $\mathcal {M}$ to be constant regardless of the vertical extent that we average over. Figure 1(c) instead shows that the variations in $\partial Z_*/\partial b$ change the value of $\mathcal {M}$ across much of the domain, with the horizontally averaged mixing rate even taking negative values close to the boundary.

Figure 1. $(a)$ Displays contours of the total buoyancy field given by $\theta =\sin x$; $(b)$ shows the sorted profile $Z_*(b)$ associated with this buoyancy field; $(c)$ shows the horizontally averaged irreversible mixing rate $\bar {\mathcal {M}}(z) = (\overline{{\partial Z_\ast }/{\partial b}) |\boldsymbol {\nabla } b|^2} - {\partial \bar {b}}/{\partial z}$. Note that an overbar here denotes an average over $x$, and $\partial Z_\ast /\partial b$ is evaluated at $b(x,z)$.

This issue has caused problems in the literature before. By sorting the buoyancy profile of a rectangular, periodic domain, Bouruet-Aubertot et al. (Reference Bouruet-Aubertot, Koudella, Staquet and Winters2001) observe extremely large oscillations in the APE of a breaking internal wave (as shown in figure 9a of that paper) due to fluxes across the top/bottom boundary of the domain. The large oscillations make it difficult to draw precise, quantitative conclusions about the evolution of APE and diapycnal mixing in that system.

2.1. Potential energy between isopycnal boundaries

We propose the use of a control volume bounded by surfaces of constant buoyancy (isopycnals) to tackle the highlighted issue of quantifying mixing in triply periodic domains. Consider tiling the computational domain by stacking several computational domains vertically, as in figure 2. The velocity and buoyancy perturbation repeat in each domain, but the vertical coordinate, $z$, is continuous such that the total buoyancy in one tile is $L_z$ larger than the total buoyancy at the same relative position in the tile immediately below it. In this system it is particularly useful to consider two isopycnals separated by the vertical periodic length, i.e. $L_z$. These isopycnals will have the same shape due to the periodicity of $\theta$, and the volume enclosed by these two isopycnals will therefore be constant. The buoyancy profile can then be sorted into a background state $b_*(z)$, where the parcels are sorted into the one-dimensional domain $0\leq z < L_z$. Although this background profile must have a mean vertical gradient equal to the imposed mean stratification, its local gradients $\partial b_\ast /\partial z$ can vary more generally. In the simple example considered in figure 1, this technique recovers the linear profile $Z_\ast (b)=b$ expected from the column displacement argument mentioned above.

Figure 2. Example schematic of tiling the periodic computational domain vertically. The vertical velocity $w$, shown in $(a,b)$, and buoyancy perturbation $\theta$, shown in $(c)$, simply repeat thanks to their periodic boundary conditions. The total buoyancy $b=z+\theta$, shown in $(d)$, is not periodic in the vertical, although isopycnal surfaces separated by the vertical period $L_z$ are of identical shape.

We now describe more precisely the details of implementing isopycnal boundaries for quantifying APE and mixing. We first choose a buoyancy value $b_0$ that defines the lower boundary surface $z_1(x,y,t)$ implicitly through

(2.11)\begin{equation} b(x, y, z_1(x,y,t), t) = b_0 . \end{equation}

Vertical periodicity of $\theta$ then requires that the upper boundary surface $b=b_0 + L_z$ is defined by ${z_2 = L_z + z_1}$. It is important to appreciate that (2.11) defines $z_1$ (and hence also $z_2$) as a single surface that spans the horizontal cross-section of the domain. This ensures that the volume enclosed by the isopycnals is clearly defined. To aid the calculation of volume integrals, we also require (essentially for clarity of exposition) $z_1$ to be a single-valued function of $x$ and $y$, or equivalently that the boundary isopycnal cannot exhibit overturning. Such an isopycnal may be difficult to find in homogeneous turbulence, although stratified flows are often strongly spatially inhomogeneous. A discussion of how this approach could be generalised for an overturning isopycnal surface can be found in appendix A.

Constructing evolution equations for mean energy quantities involves taking time derivatives of volume integrals. Since the boundaries of our domain are now time dependent, we must apply the Leibniz rule to any such integral, that is

(2.12)\begin{equation} \frac{\textrm{d} }{\textrm{d} t}\left( \int_V f \,\mathrm{d}V \right) = \int_V \frac{\partial f}{\partial t} \,\mathrm{d}V + \int_A \left(\, f|_{z=z_2} - f|_{z=z_1}\right) \frac{\partial z_1}{\partial t} \,\mathrm{d}A , \end{equation}

where $A$ is the horizontal cross-sectional area of the domain and the area element $\mathrm {d}A = \mathrm {d} x\,\textrm {d} y$.

The mean kinetic energy of the system $\mathcal {K} = \langle |\boldsymbol {u}|^2\rangle /2$ is unaffected by the change of boundaries, since its integrand is periodic in the vertical direction. The evolution of $\mathcal {K}$ can therefore be derived straightforwardly from (2.2) by applying (2.1) to obtain the simple form

(2.13)\begin{equation} \frac{\textrm{d} \mathcal{K}}{\textrm{d} t} = \mathcal{J} - \varepsilon , \end{equation}

where the buoyancy flux and kinetic energy dissipation rate are respectively given by

(2.14a,b)\begin{equation} \mathcal{J} = Ri_0 \langle w\theta \rangle, \quad \varepsilon = \frac{1}{Re} \left\langle \frac{\partial u_i}{\partial x_j} \frac{\partial u_i}{\partial x_j} \right\rangle. \end{equation}

Note that from this definition, positive values of buoyancy flux correspond to a conversion of potential energy to kinetic energy.

However, extra terms do arise compared to (2.6) when deriving the potential energy evolution equation. These new terms provide a secondary reservoir of potential energy for the system, as is explained below. The advective flux across the boundary, given by the second term on the right of (2.6), is now zero since the bounding isopycnals have the same shape and the same gradients due to periodicity. Applying the Leibniz result (2.12) to the potential energy $\mathcal {P}$ and imposing the boundary conditions therefore produces the evolution equation

(2.15)\begin{equation} \frac{\textrm{d} \mathcal{P}}{\textrm{d} t} + \frac{\textrm{d} \mathcal{S}}{\textrm{d} t} = - \mathcal{J} + \mathcal{D}_p - \mathcal{F}_d. \end{equation}

(A more detailed derivation of this equation can be found in appendix B.1.) $\mathcal {D}_p=Ri_0/RePr$ is the conversion rate of internal energy to potential energy, and $\mathcal {F}_d$ is the diffusive boundary term given by

(2.16)\begin{equation} \mathcal{F}_d = \frac{Ri_0}{ARePr} \int_A \left[ \frac{|\boldsymbol{\nabla} b|^2}{\partial b/\partial z}\right]_{z=z_1} \,\mathrm{d}A = \frac{Ri_0}{RePr} \overline{\left( \frac{|\boldsymbol{\nabla} b|^2}{\partial b/\partial z}\right)_{z=z_1}} , \end{equation}

where the overbar denotes a cross-sectional average over $x$ and $y$, importantly taken after the quantity in brackets is evaluated at $z=z_1(x,y,t)$. We refer to the quantity $\mathcal {S}$ as the surface potential energy, where $\mathcal {S}$ is defined as

(2.17)\begin{equation} \mathcal{S} = Ri_0\left( \langle b_0 z \rangle + \frac{\overline{{z_2}^2}}{2}\right) . \end{equation}

We can arbitrarily set $b_0=0$ in all of the above by shifting our vertical coordinate to $z-b_0$. $\mathcal {S}$ then takes the form of potential energy associated with an interface at $z_2$, motivating our choice for its name.

2.2. APE and BPE between isopycnal boundaries

Using the Winters et al. (Reference Winters, Lombard, Riley and D'Asaro1995) form of APE defined in (2.9) is not appropriate for the time-varying domains considered here. This can be understood by considering the simple two-layer system shown in figure 3. Panel $(a)$ shows the background state obtained through constructing the one-dimensional buoyancy profile $b_*$ for the buoyancy fields in panels $(b,c)$. Since the buoyancy field in figure 3(b) can be obtained from the background state through shifting the same number of fluid columns up as down, $\mathcal {P}$ does not change between states $(a)$ and $(b)$. $\mathcal {P} = \mathcal {P}_B$ therefore holds for state $(b)$, and hence $\mathcal {P}_A=0$. It is simple, however, to construct a state $(c)$ with lower potential energy than state $(b)$. The Winters et al. (Reference Winters, Lombard, Riley and D'Asaro1995) definition would then in fact give $\mathcal {P}_A < 0$ for the buoyancy profile in figure 3(c), which is not consistent with the concept of APE.

Figure 3. A sketch of two-layer buoyancy fields with varying vertical boundaries.

We aim to define a new APE variable $\mathcal {A}$ that can be used in the time-varying domain. Progress can be made by considering the total potential energy $\mathcal {P}+\mathcal {S}$ that appears in (2.15). The decrease in $\mathcal {P}$ from figures 3(a) to 3(c) is matched exactly by an increase in $\mathcal {S}$. In terms of the total potential energy, states $(a)$ and $(c)$ are therefore equivalent background states. This motivates subdividing the potential energy into

(2.18)\begin{equation} \mathcal{P} + \mathcal{S} = \mathcal{A} + \mathcal{B} . \end{equation}

We expect $\mathcal {A}=0$ for states $(a,c,d)$ in figure 3. In particular for state $(d)$ this means that any change in $\mathcal {P}+\mathcal {S}$ due to a vertical shift of the domain is captured by the BPE $\mathcal {B}$. We therefore construct the background profile $b_*(z)$ over the domain $\overline {z_1} < z < \overline {z_2}$, such that

(2.19ad)\begin{equation} Z_*(0,t) = \overline{z_1}(t), \quad Z_*(L_z,t) = \overline{z_2}(t), \quad b_*(\overline{z_1},t) = 0, \quad b_*(\overline{z_2},t) = L_z.\end{equation}

This ensures that any change in $\mathcal {P}$ due to a shift in the mean height of the lower isopycnal $\overline {z_1}$ leads to a corresponding change in $\mathcal {P}_B$. Accounting also for the corresponding change in $\mathcal {S}$ leads to the following definitions for background and APE:

(2.20)\begin{gather} \mathcal{B} = \langle -Ri_0 b z_\ast \rangle + \frac{Ri_0}{2} \overline{z_2}^{2}, \end{gather}
(2.21)\begin{gather}\mathcal{A} = \langle -Ri_0 b (z-z_\ast) \rangle + \frac{Ri_0}{2} ( \overline{{z_2}^2} - \overline{z_2}^{2}). \end{gather}

Note that for a closed system with fixed, insulated boundaries, these definitions recover the Winters et al. (Reference Winters, Lombard, Riley and D'Asaro1995) form for BPE and APE up to a constant in the BPE.

Evolution equations for these quantities can be readily obtained through multiplying the buoyancy evolution equation (2.3) by $z_*$ and taking volume averages. An analogous derivation as that leading to (2.15), as shown in appendix B.2, results in

(2.22)\begin{equation} \frac{\textrm{d} \mathcal{B}}{\textrm{d} t} = \mathcal{M} + \mathcal{D}_p - \mathcal{F}_d, \end{equation}

where $\mathcal {M}$ is the irreversible mixing rate defined in (2.10). Subtracting (2.22) from (2.15) also gives an evolution equation for our new APE variable as

(2.23)\begin{equation} \frac{\textrm{d} \mathcal{A}}{\textrm{d} t} = -\mathcal{J} - \mathcal{M} . \end{equation}

We therefore recover the simple evolution equation for APE in a closed system, where the irreversible mixing rate $\mathcal {M}$ may also be identified with a destruction of APE (e.g. Peltier & Caulfield Reference Peltier and Caulfield2003).

2.3. Comparison to local APE of Scotti & White (2014)

The concept of local APE is used as an alternative framework for quantifying APE in situations where fluxes through a boundary are important. Originally devised by Holliday & McIntyre (Reference Holliday and McIntyre1981) and Andrews (Reference Andrews1981), local APE quantifies the work done against buoyancy forces to move a fluid parcel from a reference position to its actual position. The framework has seen renewed interest recently in its application to numerical simulations. We follow Scotti & White (Reference Scotti and White2014) in defining the local APE density $E_{APE}$ as a function of space and time by

(2.24)\begin{equation} E_{APE}(\boldsymbol{x},t) = -Ri_0 \int_{b_*(z,t)}^{b(\boldsymbol{x},t)} z - Z_*(s,t) \,\mathrm{d}s . \end{equation}

We use this form primarily for its ease of notation, although as we show in appendix C, for the set-up we consider it is equivalent to various other expressions proposed for local APE density. Although this quantity varies in space and time, its dependence on the globally sorted profiles $b_*$ and $Z_*$ means that it cannot be calculated solely from local fields. In particular, the issue for quantifying mixing highlighted by figure 1 remains unless we change the domain over which $b_*$ is constructed. If we instead take isopycnal boundaries as in § 2.1, then $E_{APE}$ becomes a useful tool for investigating the local mechanisms that lead to mixing in the domain.

Indeed, we can relate the volume-averaged $E_{APE}$ to our global APE variable $\mathcal {A}$ as follows. The mean local APE defined in this way can also be written in the form

(2.25)\begin{equation} E_A \equiv \langle E_{APE} \rangle = -Ri_0 \langle b ( z-z_\ast ) \rangle - Ri_0 \left\langle \int_z^{z_\ast(\boldsymbol{x},t)} b_\ast (s,t) \,\mathrm{d}s \right\rangle . \end{equation}

Winters & Barkan (Reference Winters and Barkan2013) explain that the final term in this expression accounts for the energy changes arising from the requirement of incompressibility, leading to displacement of some fluid elements to make room for the rearrangement of a fluid parcel in the sorting process. They also showed through considering fluid parcel exchanges that this term vanishes in the case of fixed horizontal boundaries.

We now consider a simple example to show how this term can change with non-horizontal boundaries and how it relates to the additional terms in (2.21). We take $\theta = - z_1(x,y,t)$ as the buoyancy perturbation field, so the domain represents that of a uniform stratification where each fluid column has been shifted so that the $b=0$ isopycnal is at $z_1$, analogously to the situations shown in figures 1(a) and 3(b). In this case, the reference profiles simply take the form $b_*(s,t)=s-\overline {z_1}(t)$, and $Z_*(s,t) = s+\overline {z_1}(t)$. We can therefore analytically compute

(2.26)\begin{equation} E_{APE}(\boldsymbol{x},t) = \frac{Ri_0}{2} \left(z_1(x,y,t) - \overline{z_1}(t)\right)^2 . \end{equation}

Considering each of the terms in (2.25) separately, we also find that

(2.27a,b)\begin{equation} -Ri_0\langle b(z-z_\ast) \rangle = 0, \quad -Ri_0\left\langle \int_z^{z_\ast(\boldsymbol{x},t)} b_\ast (s,t) \,\mathrm{d}s \right\rangle = \frac{Ri_0}{2}\left(\overline{{z_1}^2} - \overline{z_1}^{2}\right). \end{equation}

The integral term therefore accounts for all of the available potential energy associated with the surface potential energy $\mathcal {S}$. Since $\overline{{z_2}^2} - \overline {z_2}^{\,2} = \overline {{z_1}^2} - \overline {z_1}^{\,2}$, we find that the volume-integrated local APE exactly matches the changes we propose for the global APE in (2.21).

In contrast to $\mathcal {A}$, the calculation of $E_{APE}$ does not rely on computing a surface integral over the isopycnal boundary. Indeed the moving boundary only affects the calculation of local APE through the boundary conditions (2.19ad) for the reference profiles $b_*(z,t)$ and $Z_*(s,t)$, and even here one only needs to know the mean height of the isopycnal. The strong agreement between $\mathcal {A}$ and $E_A$ gives us hope that in flows where $\mathcal {A}$ is not well defined, $E_A$ can provide an accurate measure of APE.

3. Numerical simulations

We apply the extended APE framework developed in § 2.2 to two sets of DNS. All of these simulations are performed using Diablo, which uses a third-order Runge–Kutta scheme for time stepping and a pseudo-spectral method for calculating spatial derivatives (Taylor Reference Taylor2008). The software also implements dealiasing of nonlinear terms through a $2/3$ rule. One set of simulations (set F) adds forcing terms to (2.2) and (2.3) to produce a flow in a statistically steady state, whereas the other simulations (in set U) solve the equations unforced as an initial value problem. All of the simulations considered here are performed using a bulk Richardson number $Ri_0=1$ and Prandtl number $Pr=1$.

The first set of simulations is that used in our previous study on mixing in forced stratified turbulence (Howland, Taylor & Caulfield Reference Howland, Taylor and Caulfield2020). We refer to the simulations $H, R$ and $P$ in that paper by F1, F2, and F3, respectively, and outline some of their key parameters in table 1. Simulation F1 is forced by randomly phased large-scale vortical modes, and importantly features no direct forcing of the buoyancy field. The evolution equations (2.22) and (2.23) for $\mathcal {B}$ and $\mathcal {A}$ still therefore hold. On the other hand, simulations F2 and F3 are forced by large-scale internal gravity waves that include a buoyancy forcing component. The buoyancy forcing can act as a source or sink of potential energy, modifying the evolution equations. However, if we are primarily concerned with diapycnal mixing, it remains useful to calculate the irreversible mixing rate $\mathcal {M}$ in these cases. For more precise details of the forcing in these simulations, we refer the reader to Howland et al. (Reference Howland, Taylor and Caulfield2020).

Table 1. Overview of the various numerical simulations, all of which are performed using a bulk Richardson number $Ri_0=1$ and Prandtl number $Pr=1$. IGW, internal gravity wave.

The second set of simulations investigates the interaction of a sinusoidal vertical shear flow and a plane internal gravity wave. The initial velocity and buoyancy fields are given by ${\boldsymbol {u} = (\sin z )\hat {\boldsymbol {x}} + \boldsymbol {u}^\prime }$ and $\theta = \theta ^\prime$ respectively, where

(3.1a,b)\begin{equation} \theta^\prime = \frac{s}{m} \cos (kx+mz), \quad \boldsymbol{u}^\prime = \frac{s}{\sqrt{k^2+m^2}} \sin(kx+mz) \left( 1, 0, -\frac{k}{m}\right). \end{equation}

We express the initial amplitude of the internal wave through its steepness $s$ and choose the wave vector $\boldsymbol {k}=(k,l,m)=(1/4, 0, 3)$ based on the typical aspect ratios of waves observed in the thermocline by Alford & Pinkel (Reference Alford and Pinkel2000). Small-amplitude noise is added to the initial velocity field to allow the development of three-dimensional motion from the two-dimensional initial condition. Simulations U1 and U3 use an initial wave steepness of $s=1$, with $s=0.5$ for simulation U2 and $s=0.75$ for simulation U4. As an example, the initial buoyancy and spanwise vorticity fields for U4 are shown in figure 4. Note that by taking ${b=z+\theta \ \mathrm {mod} \ 2{\rm \pi} }$ in figure 4(a), we have effectively defined isopycnal boundaries at $b=0$ and $b=2{\rm \pi}$. (A more detailed analysis of the properties of these simulations is presented in Howland, Taylor & Caulfield (Reference Howland, Taylor and Caulfield2021).)

Figure 4. The initial condition of simulation U4, where $s=0.75$. $(a)$ Contours and colour map of the total buoyancy field $b=z+\theta \ \mathrm {mod} \ 2{\rm \pi}$. $(b)$ Colour map of the spanwise vorticity $\zeta _y = {\partial u}/{\partial z} - {\partial w}/{\partial x}$.

4. Results

4.1. Energy budgets

We now investigate the evolution of BPE and APE in the various simulations, and consider how terms in the energy budgets (2.22) and (2.23) relate to the flow dynamics. Figure 5 plots a range of time series associated with the unforced simulation U1. The kinetic energy budget terms $\mathcal {J}$ and $\varepsilon$, defined in (2.14a,b), are shown in figure 5(a), and the BPE budget terms from (2.22) are shown in figure 5(b). Time series of $\mathcal {A}$ and $\mathcal {B}$ are finally shown in figure 5(c). Up to time $t\approx 20$, the energetics are dominated by large, reversible changes through the buoyancy flux. The initial increase in $\mathcal {A}$ seen in figure 5(c) is almost entirely returned to the kinetic energy through wave–mean flow interactions. During this time, there is little mixing and any changes in $\mathcal {B}$ are small. A wave breaking event follows, producing an intermittent burst of turbulent activity that coincides with high values of the diapycnal mixing rate $\mathcal {M}$ and the kinetic energy dissipation rate $\varepsilon$. For $30<t<50$, this mixing coincides with positive values of the mean buoyancy flux, leading to a fast drop in $\mathcal {A}$. The flow relaminarises at late times, with all quantities tending to constant values and small fluctuations persisting in the APE and buoyancy flux.

Figure 5. Energy budgets for simulation U1. $(a)$ Time series of the mean buoyancy flux and viscous dissipation rate; $(b)$ time series of the BPE budget terms; $(c)$ time series of APE and BPE defined in (2.20) and (2.21). The time series for $\mathcal {B}$ is shifted by $-\mathcal {B}(0)$ for clarity. Terms denoted by symbols are computed from full flow output files, and so have lower time resolution than $\mathcal {J}$ and $\varepsilon$, which are computed ‘on the fly’.

The increase in $\mathcal {B}$ over the full duration of the simulation is well described by the total diapycnal mixing associated with the breaking event. Indeed the other non-negligible terms in the budget (2.22) are close to being equal, as shown in both figures 5 and 6. The diffusive boundary term $\mathcal {F}_d$ primarily acts to cancel out any increase in $\mathcal {B}$ due to the conversion of internal energy to potential energy through $\mathcal {D}_p$. This cancellation is exact when the boundary has no lateral variation, and arises since the system is forced to maintain a constant mean buoyancy gradient through the periodicity of $\theta$.

Figure 6. Potential energy budgets for the late-time statistically steady state achieved in simulation F1. Panels are as in figure 5, with $-\mathcal {J}$ additionally plotted on panel $(b)$.

Figure 6 repeats the analysis of figure 5 for the forced simulation F1. We only consider the statistically steady period achieved at late times in this flow. Unlike in the unforced simulation, the mean buoyancy flux remains negative throughout as shown in figure 6(a), providing a source of APE from the kinetic energy. Figure 6(b) furthermore shows that the buoyancy flux is on average in balance with the mixing rate, leading to an approximately constant value of $\mathcal {A}$, as shown in figure 6(c). The constant mixing rate also predictably leads to a linear increase in the BPE.

4.2. Visualising mixing with local APE

We can further investigate the local processes that lead to the global results above by analysing the distribution of local APE throughout the domain. Figure 7 plots snapshots of $E_{APE}(\boldsymbol {x},t)$ from simulations F1–F3 and from simulation U1 at various times. Since the turbulence arising in each simulation is patchy and inhomogeneous, we are able to choose appropriate isopycnal boundaries for each simulation and hence calculate the surface potential energy $\mathcal {S}$. These isopycnal boundaries are shown in figure 7 as solid black lines.

Figure 7. Vertical plane snapshots of $E_{APE}$ as defined in (2.24). Solid lines in each case denote the isopycnal boundary $z_1$ from which the APE is calculated. Snapshots from the forced simulations are each taken at time $t\approx 150$ with runs F1, F2 and F3 shown in $(a)$, $(b)$ and $(c)$ respectively. Panels $(d{-}f)$ display the evolution of $E_{APE}$ in simulation U1 from the initial condition to the peak in mixing at time $t=30$.

Data from the forced simulations of set F are presented in figures 7(ac). Each snapshot of $E_{APE}$ is taken at time $t\approx 150$, when the turbulence is in a statistically steady state. Figure 7(a) highlights low local APE values throughout the domain of simulation F1. Increased $E_{APE}$ occurs only at small scales and in regions with high turbulent dissipation rates (not shown). In this sense, APE is primarily associated here with the distortion of the buoyancy field by turbulence, and not with internal waves. By contrast, figures 7(b) and 7(c) show patches of high local APE throughout the domain at a range of scales. This is consistent with associating mixing with intermittent, large-scale overturns and convectively driven turbulence, as discussed in Howland et al. (Reference Howland, Taylor and Caulfield2020).

The development of local APE during the unforced simulation U1 is presented in figures 7(df). The distribution of $E_{APE}$ in the initial condition is shown in figure 7(d), and is entirely associated with the internal gravity wave described by (3.1a,b). At early times, the wave is refracted by the shear flow, leading to a distortion of the banded structure in the local APE field. By time $t=20$, $E_{APE}$ preferentially accumulates in the upper half of the domain while maintaining some signal of the wave structure, as shown in figure 7(e). The large values of $E_{APE}$ lead to locally unstable buoyancy profiles, and the development of convective instabilities. The associated convection converts APE to kinetic energy through the buoyancy flux, and also promotes the emergence of small scale structures seen in figure 7(e). Later, at $t=30$, the flow becomes more complex with the development of shear-driven turbulent billow structures. These structures, seen prominently on the right of figure 7(f), span regions of both high and low $E_{APE}$. Although the volume-averaged mixing rate peaks near this time, the banded structure of $E_{APE}$ leads to strong local variation in local mixing rates within the turbulent patches. Mixing is high where turbulence and APE coexist, and it cannot occur where there is no APE to remove.

4.3. Estimating mixing with $\chi$

In the limit of small buoyancy perturbations from the uniform, imposed buoyancy gradient, APE can be approximated by

(4.1)\begin{equation} \mathcal{\tilde{A}} = \frac{Ri_0}{2}\langle \theta^2 \rangle . \end{equation}

This quantity satisfies the simple evolution equation

(4.2)\begin{equation} \frac{\textrm{d} \tilde{\mathcal{A}}}{\textrm{d} t} = -\mathcal{J} - \chi , \end{equation}

where $\chi$ is the rate of destruction of buoyancy variance, i.e. the dissipation rate defined by

(4.3)\begin{equation} \chi = \frac{Ri_0}{RePr}\big\langle |\boldsymbol{\nabla} \theta|^2 \big\rangle = \frac{Ri_0}{RePr} \big\langle |\boldsymbol{\nabla} b|^2 - 1 \big\rangle . \end{equation}

Comparing the definitions (2.10) and (4.3), we see that $\chi$ precisely takes the form of the irreversible, diapycnal mixing rate $\mathcal {M}$ only for the specific case where the sorted background buoyancy profile $b_*$ exactly matches the imposed uniform stratification. Recall that this imposed constant stratification has a dimensionless buoyancy gradient equal to one by construction. In our simulations, local deviations in the buoyancy field are not always small and we should treat the above approximation with caution. For example, during the convective phase ($20<t<30$) of simulation U1 there are sizeable regions of the domain with statically unstable buoyancy gradients. The peak mixing in this case occurs where the (horizontal) mean buoyancy is in a layered state, with ‘layers’ of relatively low stratification separated by ‘interfaces’ of relatively high stratification compared to the imposed constant buoyancy gradient. Such layered states are observed to arise naturally in turbulent stratified flows, for a wide variety of dynamical reasons (see Caulfield (Reference Caulfield2021) for a review).

Nevertheless, the dissipation rate $\chi$ is significantly more straightforward to quantify than the true diapycnal mixing rate $\mathcal {M}$, and so it is useful to investigate how well it can actually approximate the mixing. The accuracy of $\chi$ for estimating mixing is also important in the context of ocean microstructure measurements, where small-scale gradients are measured directly but there is no way to obtain the relevant reference profile $b_*$. In figures 8(ac), we therefore plot the time series of both $\chi$ and $\mathcal {M}$ for each of our simulations. By inspection, the two quantities appear to match up very well, with the symbols marking the mixing rate overlapping the lines plotting the time series of $\chi$. To quantify how well $\chi$ approximates $\mathcal {M}$, we plot the time series of their ratio in figures 8(df). Throughout the forced simulations, and for the early times of the unforced simulations, $\chi$ remains within 10 % of the true mixing rate. At late times in simulations U1 and U3 the difference increases up to 20 %, but at this stage the flow is relaminarising and $\mathcal {M}$ and $\chi$ are both small. Indeed we show that this discrepancy is unimportant for quantifying the total mixing achieved over the course of the simulations in figures 8(gi), where we plot the ratio of time-integrated $\chi$ and $\mathcal {M}$. The time integral of $\mathcal {M}$ is equal to the increase in BPE due to diapycnal mixing, and we see that using $\chi$ to estimate this quantity results in at most a 5 % error in the total BPE change (corresponding to the final values of the cumulative ratio plotted in figures 8gi).

Figure 8. A time series comparison of the irreversible mixing rate $\mathcal {M}$ and the dissipation rate $\chi$ for each simulation in table 1. $(a{-}c)$ plot the time series of $\mathcal {M}$ and $\chi$; $(d{-}f)$ plot the time series of $\chi /\mathcal {M}$ to highlight the fractional difference between the two; $(g{-}i)$ plot the time series of the ratio of the time-integrated quantities.

In the unforced simulations, $\chi$ consistently provides a slight underestimate of the diapycnal mixing rate. This suggests that regions of intense turbulent mixing, associated with high values of $|\boldsymbol {\nabla } b|$, preferentially sample regions where $\partial Z_\ast /\partial b>1$. These regions are in turn associated with the reference buoyancy profile $b_*$ having a locally weaker stratification than the mean. In simulations F2 and F3, where forcing is applied in the form of internal gravity waves, the opposite is true and $\chi$ provides a slight overestimate of $\mathcal {M}$. However, it is not true that intense mixing occurs only in regions of strong or weak local stratification in each flow. In all of the forced simulations, for example, the standard deviation of $\partial Z_*/\partial b$ rises from the range 0.1–0.15 at time $t=50$ up to 0.25–0.3 at $t=150$, suggesting that as mixing persists throughout the simulations, the background profile is modified. The fractional error between $\chi$ and $\mathcal {M}$ seen in figure 8(d) does not show this increasing trend, suggesting that some local overestimates of $\mathcal {M}$ (where $\partial Z_*/\partial b<1$) cancel with some local underestimates (where $\partial Z_*/\partial b>1$) in the global average. Similarly, the standard deviation of $\partial Z_*/\partial b$ reaches values in the range 0.15–0.2 for simulations U1 and U3 when $t>30$, approximately double the fractional error during the period of peak mixing.

4.4. The effect of mean flow dissipation

In the unforced simulations of set U, the majority of the kinetic energy is associated with the initial mean shear profile $\bar {u} = \sin z$. At late times in these scenarios, the flow begins to relaminarise and the kinetic energy dissipation rate $\varepsilon$ is dominated by the laminar diffusion of the mean shear. Mixing efficiency is, however, often calculated using the turbulent kinetic energy dissipation rate, that we quantify here as

(4.4)\begin{equation} \varepsilon^\prime = \frac{1}{Re}\left\langle \frac{\partial {u_i}^\prime}{\partial x_j}\frac{\partial {u_i}^\prime}{\partial x_j} \right\rangle , \end{equation}

where $\boldsymbol {u}^\prime = \boldsymbol {u} -\bar {\boldsymbol {u}}$ is the velocity field perturbation from the horizontal average. Figure 9 compares time series of the following definitions of mixing efficiency calculated using either the turbulent dissipation rate $\varepsilon ^\prime$ or the total rate $\varepsilon$

(4.5a,b)\begin{equation} \eta = \frac{\chi}{\chi+\varepsilon} ,\quad \eta^\prime = \frac{\chi}{\chi+\varepsilon^\prime}. \end{equation}

We use $\chi$ rather than $\mathcal {M}$ in our definition of efficiency, since we have seen that the difference between them is small in the previous section, and our records of $\chi$ have better resolution in time. Large discrepancies between $\eta$ and $\eta ^\prime$ are observed when the average turbulent kinetic energy dissipation rate $\varepsilon ^\prime$ is small compared to the dissipation rate of the mean flow $\bar {\varepsilon }=\langle |\partial \bar {\boldsymbol {u}}/\partial z|^2\rangle /Re$. In simulation U2, wave breaking occurs at $t\approx 50$ and consists of small, strongly localised overturns that dissipate relatively quickly. Consequentially $\varepsilon ^\prime$ remains smaller than $\bar {\varepsilon }$ for the entire duration, leading to large differences between the efficiencies in figure 9(b). The parameter $\eta ^\prime$ takes much larger values than $\eta$ in all of the unforced simulations at early and late times, with $\eta ^\prime$ close to its initial value of 0.5. This value corresponds to the diffusion associated with the plane wave form of (3.1a,b) and is a consequence of the choice $Pr=1$, that is molecular diffusion of buoyancy occurs at the same rate as the diffusion of momentum. At larger values of $Pr$, diffusion of the wave would result in a far lower value of $\eta ^\prime$.

Figure 9. Time series of $(a{-}c)$ instantaneous and $(d{-}f)$ cumulative mixing efficiency, calculated with and without the mean flow dissipation, as defined in (4.5a,b) and (4.6) respectively.

In figures 9(df) we also plot associated cumulative mixing efficiencies, defined here in terms of appropriate integrals of $\chi$ and $\varepsilon$ (or $\varepsilon ^\prime$)

(4.6)\begin{equation} \eta_c = \frac{\displaystyle\int_{t_0}^t \chi(t^\prime) \,\mathrm{d}t^\prime}{\displaystyle\int_{t_0}^t \chi(t^\prime) + \varepsilon(t^\prime) \,\mathrm{d}t^\prime}, \quad \eta_c^\prime = \frac{\displaystyle\int_{t_0}^t \chi(t^\prime) \,\mathrm{d}t^\prime}{\displaystyle\int_{t_0}^t \chi(t^\prime) + \varepsilon^\prime(t^\prime) \,\mathrm{d}t^\prime}, \end{equation}

where $t_0=50$ for the forced cases, and $t_0=0$ for the unforced cases. The time integrals represent the energy changes associated with the cumulative effects of $\chi$ and $\varepsilon$. Figures 9(e) and 9(f) show that the diffusion of the mean shear flow has a significant impact on the total cumulative efficiency in the unforced simulations. To emphasise that this is primarily a Reynolds number effect, we have listed measures of the buoyancy Reynolds number for the unforced simulations in table 2. Since the flows considered are extremely inhomogeneous in the vertical (as seen in figures 7e,f) we have calculated $Re_b$ from both volume and horizontal averages. In oceanographic flows, we expect molecular diffusion to be negligible compared to the turbulent dissipation rate for the vast majority of the internal wave spectrum. This result therefore highlights the challenge of using direct numerical simulations, where $Re$ is inevitably limited by computational resources, to investigate ocean mixing processes.

Table 2. Peak values of the buoyancy Reynolds number in the unforced simulations. The top row displays maximum (over $t$) values computed from the volume average $\varepsilon ^\prime$. The bottom row shows the maximum (over $z$) value of $Re_b$ computed from horizontal averages at the time instant of peak $\varepsilon ^\prime$.

5. Discussion and conclusions

In this study, we have highlighted how the APE framework of Winters et al. (Reference Winters, Lombard, Riley and D'Asaro1995) should be generalised in the triply periodic system often used in numerical simulations of stratified turbulent flows. In these systems it is important to constrain the buoyancy field, inferred from the periodic perturbation $\theta$, to lie in a prescribed range. We can then construct an accurate background buoyancy profile $b_*$ that is consistent with the periodic nature of the system. However, setting limits on the buoyancy values effectively means that the shape of the domain can change in time. In the case where the limiting buoyancy value has a non-overturning isopycnal surface, we find that this introduces an extra potential energy term $\mathcal {S}$ as defined in (2.17). Appropriate definitions of available and BPE can then be obtained by accounting for this additional term as in (2.20) and (2.21).

Constructing the correct background profile is also vital for accurately calculating the local APE density $E_{APE}$ defined by Scotti & White (Reference Scotti and White2014). This quantity can then provide useful information for identifying mechanisms by which mixing can occur. When integrated over the domain, the local APE also recovers all of the additional terms in our new global APE variable $\mathcal {A}$. Furthermore, the local APE can even be quantified in scenarios where our global APE is not well defined. So long as the background profile $b_*$ is identified, both $E_A\equiv \langle E_{APE} \rangle$ and the irreversible, diapycnal mixing rate $\mathcal {M}$ can be calculated. The evolution of $E_A$ is then entirely determined by the mixing rate and the buoyancy flux, with zero contribution from boundary fluxes. We can therefore calculate the exact rate of diapycnal mixing in more energetic stratified flows that use periodic domains, such as those considered by de Bruyn Kops & Riley (Reference de Bruyn Kops and Riley2019) and Portwood, de Bruyn Kops & Caulfield (Reference Portwood, de Bruyn Kops and Caulfield2019).

This technique for calculating APE could also be applied to unstably stratified periodic systems, where $Ri_0 < 0$, used to study bulk properties of convection (e.g. Lohse & Toschi Reference Lohse and Toschi2003). In traditional Rayleigh–Bénard convection, Gayen, Hughes & Griffiths (Reference Gayen, Hughes and Griffiths2013) find that irreversible mixing is largely confined to thermal boundary layers. It would therefore be interesting to investigate whether the theoretical prediction of $\eta \rightarrow 0.5$ at high $Ra$ holds for the periodic convection set-up, where such boundary layers are absent. The sorting technique presented here is also applicable to the case of passive scalar flows where a mean gradient is imposed. Such set-ups are useful for studying the mixing of biogeochemical tracers, which are often found with significant mean gradients in the ocean (Williams & Follows Reference Williams and Follows2011). Although the concept of APE would not be relevant here, sorting between isoscalar surfaces would provide an appropriate background profile to enable accurate calculation of the diascalar flux as proposed by Winters & D'Asaro (Reference Winters and D'Asaro1996).

In observational oceanography, turbulent mixing can be estimated by using fast-response thermistors to measure small-scale temperature gradients. The primary aim in this context is to estimate a diapycnal diffusivity, defined in our dimensionless formulation as

(5.1)\begin{equation} K_d = \frac{Ri_0}{RePr} \left\langle \left(\left.\frac{\partial Z_*}{\partial b}\right|_{b(\boldsymbol{x},t)}\right)^2 |\boldsymbol{\nabla} b|^2 \right\rangle = \frac{Ri_0}{RePr} \left\langle \frac{| \boldsymbol{\nabla} b|^2}{(\partial b_*/\partial z|_{z_*(\boldsymbol{x},t)})^2} \right\rangle . \end{equation}

Since the reference profile $b_*$ cannot be obtained in the ocean, a large-scale average is taken of the buoyancy (or temperature) gradient. The estimate often attributed to Osborn & Cox (Reference Osborn and Cox1972) is then used such that

(5.2)\begin{equation} K_d \approx \frac{Ri_0}{RePr} \frac{\langle | \boldsymbol{\nabla} \theta |^2 \rangle}{\langle \partial b/\partial z \rangle^2} =\chi. \end{equation}

Note that the internal energy conversion rate $\mathcal {D}_p$ is neglected here, since it is assumed to be much smaller than $\chi$ in a turbulent flow. In dimensional form it is common to see (5.2) written as $K_d=\chi /N^2$, but in our non-dimensionalisation the mean buoyancy gradient in the denominator is prescribed to be equal to one. The approximation made in estimating $K_d$ in (5.2) is the same approximation used in § 4.3 to estimate the mixing rate $\mathcal {M}$ with $\chi$. Precisely, we approximate the reference buoyancy gradient $\partial b_\ast /\partial z$ by the imposed mean stratification. We test this approximation in the context of diapycnal diffusivity in figure 10 by plotting the time series of $(\chi +\mathcal {D}_p)/K_d$. The fractional error between the estimate $\chi +\mathcal {D}_p$ and the true diffusivity remains within one standard deviation of $\partial Z_\ast /\partial b$ for every simulation. Figures 10(b) and 10(c) show that $\chi +\mathcal {D}_p$ underestimates the diffusivity at the time of most intense mixing in the unforced simulations. This reaffirms the conclusion drawn from figures 8(e) and 8(f) that the turbulent mixing in this flow preferentially samples regions of relatively weak local stratification. Salehipour & Peltier (Reference Salehipour and Peltier2015) find a similar underestimation of $K_d$ in turbulent flows developing from Kelvin–Helmholtz instability in a stratified shear layer. An investigation to identify in which flows (5.2) provides an over/underestimate of the diffusivity would be valuable for understanding the variability associated with the approximation.

Figure 10. A time series comparison of the diapycnal diffusivity $K_d$ and the approximation of $\chi +\mathcal {D}_p$. The ratio of the two is plotted in an analogous fashion to figures 8(df).

We include the internal energy conversion rate $\mathcal {D}_p$ in our estimate in figure 10 since it is not always negligible in the simulations. Furthermore Gregg et al. (Reference Gregg, D'Asaro, Riley and Kunze2018) remark that $\mathcal {D}_p$ should be included when applying mixing results to the strongly stratified pycnocline where mixing is localised and intermittent. In the periodic set-up studied here, the boundary flux $\mathcal {F}_d$ counteracts $\mathcal {D}_p$ in the BPE energy budget (2.22) to maintain the constant mean stratification. When quantifying diffusivity in this system, it is therefore important to include the contribution from $\mathcal {D}_p$ and to compute $\mathcal {M}+\mathcal {D}_p$ directly, instead of relying on changes in BPE. In many observational studies focused on mixing in turbulent patches (where $\mathcal {D}_p$ is negligible), practical difficulties in obtaining an accurate value of $\chi$ result in far larger implied levels of uncertainty than those apparent in in figure 10 (see for example Waterhouse et al. Reference Waterhouse2014). In this sense our results show that (5.2) provides a good estimate of the diapycnal diffusivity in the stratified flows considered.

In the case of homogeneous turbulence subject to a uniform mean stratification, Stretch & Venayagamoorthy (Reference Stretch and Venayagamoorthy2010) show $\chi$ and $\mathcal {M}$ to be equivalent. Indeed, if such homogeneous turbulence is maintained in a steady state by energy transfers from the velocity field, then $\chi$ is also equivalent to $-\mathcal {J}$. This is exactly the reasoning of Osborn & Cox (Reference Osborn and Cox1972). In the periodic system considered here, if mixing were homogeneous throughout the domain then the boundary flux $\mathcal {F}_d$ would also balance the interior diapycnal flux $\mathcal {M}+\mathcal {D}_p$ such that the BPE equation (2.22) was steady. As highlighted by Portwood et al. (Reference Portwood, de Bruyn Kops, Taylor, Salehipour and Caulfield2016), many stratified flows are not homogeneous in this sense, with turbulence becoming more patchy and intermittent when subject to stronger stratification. This even applies to flows where the initial state is homogeneous, such as the decay of a turbulent cloud in an initially uniform stratification (e.g. Bartello & Tobias Reference Bartello and Tobias2013). We believe the APE framework presented above will prove useful in determining the potential impacts of such developing inhomogeneities.

Due to the aforementioned difficulties involved in accurately resolving small-scale temperature gradients, shear probes are used more frequently than thermistors to infer mixing rates in the ocean. Further assumptions are, however, needed to obtain mixing estimates from such velocity gradient measurements. On top of the Osborn & Cox (Reference Osborn and Cox1972) model, the buoyancy variance destruction rate may be approximated by $\chi \simeq -\mathcal {J}=\varGamma \varepsilon$, where the turbulent flux coefficient $\varGamma$ is taken to be a constant, usually 0.2 in practice after Osborn (Reference Osborn1980), under a set of assumptions that the turbulent flow is, for example quasi-steady. The turbulent flux coefficient is related to the mixing efficiency defined in (4.5a,b) through

(5.3)\begin{equation} \varGamma = \frac{\eta}{1-\eta} . \end{equation}

Many experimental and numerical studies have shown variation in the mixing efficiency across a range of stratified flows, as reviewed by Ivey, Winters & Koseff (Reference Ivey, Winters and Koseff2008) and Caulfield (Reference Caulfield2021). This has motivated a body of work to investigate the functional dependence of $\eta$ on various dimensionless parameters, including the Richardson number, buoyancy Reynolds number $Re_b=\varepsilon /\nu N^2$, and turbulent Froude number $Fr=\varepsilon /N\mathcal {K}$. Despite this concerted effort to provide insight into how $\eta$ varies, there is no clear physical explanation as to why $\varGamma =0.2$ is a sensible assumption or why it appears to provide diffusivity estimates in line with those from tracer release experiments (Ledwell et al. Reference Ledwell, Montgomery, Polzin, Laurent, Schmitt and Toole2000). In figure 9 we highlight examples where laminar diffusion of a shear flow can strongly impact the calculated values of $\eta$. Although not relevant for high Reynolds number flows found in the ocean, it is important to acknowledge the effect of this diffusion in idealised numerical studies that discuss mixing efficiency in the context of ocean mixing. This is most relevant for flows where turbulence is transient and localised, such as those arising from instabilities in stratified shear layers.

In the context of estimating mixing from oceanic measurements, the poorly constrained variability of $\varGamma$ implies that the Osborn & Cox (Reference Osborn and Cox1972) model will instead provide the best estimates of mixing from microstructure data. Indeed, our results above show that in turbulent flows with a large-scale mean buoyancy gradient $N_0^2$, the Osborn & Cox (Reference Osborn and Cox1972) model (5.2) provides a reliable estimate of the diapycnal diffusivity. In oceanic flows calculating $N_0$ can, however, prove challenging, particularly in the case of internal waves breaking close to boundaries as highlighted by Arthur et al. (Reference Arthur, Venayagamoorthy, Koseff and Fringer2017). Given the significant dissipation of energy close to boundaries in the ocean, the calculation of $N_0$ in such flows remains an important outstanding issue for estimating diapycnal mixing in these regions. Furthermore, the Osborn & Cox (Reference Osborn and Cox1972) method can only be applied in regions where the ocean is stratified by temperature. Where salt acts as a stratifying agent, the turbulent flux coefficient $\varGamma$ must be specified to obtain microstructure mixing estimates through the Osborn (Reference Osborn1980) method.

In particular, for the energetic framework presented here to be truly applicable to real oceanographic flows, there are at least three open issues which need to be addressed. First, it is not at all clear what the effect of more realistic Reynolds numbers, or indeed realistically higher values of $Pr = O(10\text {--}1000)$ will have on the various mixing properties and energetic pathways discussed here. Second, it is still an open question of some controversy whether ${\varGamma \approx 0.2}$, or equivalently $\eta \approx 1/6$, is actually ‘typical’ of quasi-steady mixing processes, or whether $\varGamma$ actually depends on parameters of the flow. Portwood et al. (Reference Portwood, de Bruyn Kops and Caulfield2019) recently demonstrated the emergence of ${\varGamma =0.2}$ in sheared DNS that was controlled by construction to be quasi-steady. It is at least plausible that the higher values of efficiency observed for the flows discussed here are artefacts of the inherent transience of these flows. Of course, mixing events in the ocean are likely to be highly spatio-temporally intermittent, not least because of the key role played by ‘breaking’ internal waves, as argued by MacKinnon et al. (Reference MacKinnon2017) and modelled here, so the relevance of quasi-steady sustained stratified turbulence to the real ocean is not immediately obvious. Thirdly, complications associated with layered states, either due to hydrodynamic mechanisms associated with turbulence (Caulfield Reference Caulfield2021) or associated with double-diffusive convection (Schmitt Reference Schmitt1994) are clearly of interest. The energetic framework presented here is nevertheless well-suited to address these three open issues, or indeed other challenges of real relevance to the quantification and parameterisation of mixing in realistic stratified flows.

Acknowledgements

We are grateful to R. Tailleux and two anonymous referees for their insightful and constructive comments on this manuscript. The work of C.J.H. was supported by the Cambridge Earth System Science NERC DTP (NE/L002507/1). The data and Python notebooks used to create the figures, as well as a Python script implementing the sorting method described above, are freely available at https://doi.org/10.17863/CAM.58957.

Declaration of interest

The authors report no conflict of interest.

Appendix A. Consideration of a more general boundary isopycnal

In (2.11), we assume that the boundary buoyancy contour can be parameterised by $x$ and $y$. Now let us consider a more general isopycnal boundary that may overturn, where the surface of constant buoyancy is parameterised by arbitrary coordinates $p$ and $q$. The implicit definition of the isopycnal surface $\boldsymbol {x}_1(p,q,t)$ is then given by

(A1)\begin{equation} b( x_1(p,q,t), y_1(p,q,t), z_1(p,q,t), t) = b_0 . \end{equation}

Considering the same volume integral as in (2.12), we apply the Reynolds transport theorem to obtain

(A2)\begin{equation} \frac{\textrm{d} }{\textrm{d} t}\left(\int_V f \,\mathrm{d}V\right) = \int_V \frac{\partial f}{\partial t} \,\mathrm{d}V + \int_S \left(\,f|_{\boldsymbol{x}=\boldsymbol{x}_2} - f|_{\boldsymbol{x}=\boldsymbol{x}_1}\right) \frac{\partial \boldsymbol{x}_1}{\partial t} \boldsymbol{\cdot} \boldsymbol{n} \, \mathrm{d}S. \end{equation}

Here, $S$ denotes the domain in $(p,q)$ space that parameterises the surface, $\boldsymbol {x}_1 = (x_1, y_1, z_1)$ is the location of the isopycnal surface in Cartesian coordinates and the area element is given by

(A3)\begin{equation} \boldsymbol{n} \,\mathrm{d}S = \left(\frac{\partial \boldsymbol{x}}{\partial p} \times \frac{\partial \boldsymbol{x}}{\partial q}\right) \,\mathrm{d}p\,\mathrm{d}q . \end{equation}

Note that, for $p=x$ and $q=y$, this recovers the original Leibniz rule result of (2.12) since $\boldsymbol {x}_1 = (x, y, z_1(x,y,t))$ and

(A4)\begin{equation} \boldsymbol{n} \,\mathrm{d}S = \frac{\boldsymbol{\nabla} b}{\partial b/\partial z} \,\mathrm{d} x \,\mathrm{d} y . \end{equation}

We know in general that the direction of the normal is that of the buoyancy gradient $\boldsymbol {\nabla } b$, but for the arbitrary form (A3) the magnitude of $\boldsymbol {x}_p\times \boldsymbol {x}_q$ depends on the coordinates chosen. Since we wish to calculate the surface integral from simulation data, it is convenient to restrict ourselves to non-overturning isopycnals, where the magnitude of the area element can be straightforwardly obtained.

We can, however, manipulate (A2) further by noting that $\boldsymbol {n}=\boldsymbol {\nabla } b/|\boldsymbol {\nabla } b|$, and defining the average over the surface $S$ as

(A5)\begin{equation} \bar{f}^* = \frac{1}{A_S}\int_S f \,\mathrm{d}S , \end{equation}

where $A_S$ is the surface area of the isopycnal defined in (A1). Applying this to the Reynolds transport theorem result (A2) gives

(A6) \begin{equation} \frac{\textrm{d} }{\textrm{d} t}\left(\int_V f \,\mathrm{d}V\right) = \int_V \frac{\partial f}{\partial t} \,\mathrm{d}V + \overline{[f]_{b=b_0}^{b=b_0+L_z} \frac{\partial \boldsymbol{x}_1}{\partial t} \boldsymbol{\cdot} \frac{\boldsymbol{\nabla} b}{|\boldsymbol{\nabla} b|}}^{\,*}. \end{equation}

Substituting $f=-Ri_0bz$ to find the extra term in the potential energy equation provides

(A7)\begin{equation} \frac{\textrm{d} \mathcal{P}}{\textrm{d} t} = -Ri_0 \left\langle z\frac{\partial b}{\partial t}\right\rangle - Ri_0 \frac{A_S}{A} \overline{(b_0+z_2)\frac{\partial \boldsymbol{x}_1}{\partial t}\boldsymbol{\cdot} \frac{\boldsymbol{\nabla} b}{|\boldsymbol{\nabla} b|}}^{\,*}, \end{equation}

where $A$ is the cross-sectional area of the domain in the $x$$y$ plane, and from Winters & D'Asaro (Reference Winters and D'Asaro1996) we know that

(A8) \begin{equation} \frac{A_S}{A} = \frac{\partial Z_*}{\partial b} \frac{\overline{|\boldsymbol{\nabla} b|{^{2}}}^{\,*}}{\overline{|\boldsymbol{\nabla} b|}^{\,*}}. \end{equation}

Although the last term in (A7) can be expressed analytically, its computation is far more arduous than $-{\rm d}\mathcal {S}/{\rm d}t$, and it does not appear (thus far) to simplify to a similar form.

Appendix B. Derivation of the potential energy equations

B.1. Total potential energy

In this section, the control volume is bounded by the isopycnals $b=b_0$ ($z_1$) and $b=b_0+L_z$ ($z_2$). Consider the time evolution of $\mathcal {P}=-Ri_0 \langle bz\rangle$ by applying the Leibniz rule as in (2.12)

(B1)\begin{align} \frac{\textrm{d} \mathcal{P}}{\textrm{d} t} &= -Ri_0 \left\langle \frac{\partial (bz)}{\partial t} \right\rangle - \frac{Ri_0}{V}\int_A [ bz ]_{z=z_1}^{z_2} \frac{\partial z_1}{\partial t} \,\mathrm{d}A , \end{align}
(B2)\begin{align} &= -Ri_0 \left\langle z\frac{\partial b}{\partial t} \right\rangle - \frac{Ri_0}{V} \int_A L_z(b_0 + z_2) \frac{\partial z_2}{\partial t} \,\mathrm{d}A, \end{align}
(B3)\begin{align} &= -Ri_0 \left\langle z\frac{\partial b}{\partial t} \right\rangle - Ri_0 b_0 \frac{\textrm{d} \overline{z_2}}{\textrm{d} t} - Ri_0 \frac{\textrm{d} }{\textrm{d} t} \left( \frac{\overline{{z_2}^2}}{2}\right). \end{align}

Defining $\mathcal {S}$ as in (2.17), we move the last two terms in the above equation to the right-hand side, and use the buoyancy evolution equation (2.3) to expand the first term as

(B4)\begin{align} \frac{\textrm{d} \mathcal{P}}{\textrm{d} t} + \frac{\textrm{d} \mathcal{S}}{\textrm{d} t} &= -Ri_0\left\langle z\left( -\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla} b + \frac{1}{RePr}\nabla^2 b\right) \right\rangle, \end{align}
(B5)\begin{align} &= Ri_0 \left\langle \boldsymbol{\nabla} \boldsymbol{\cdot} (zb\boldsymbol{u} ) - wb - \frac{z}{RePr} \boldsymbol{\nabla} \boldsymbol{\cdot} \boldsymbol{\nabla} b \right\rangle, \end{align}
(B6)\begin{align} &= Ri_0 \left\langle \boldsymbol{\nabla} \boldsymbol{\cdot} (zb\boldsymbol{u})\right\rangle - Ri_0\left\langle w\theta\right\rangle - Ri_0 \left\langle wz \right\rangle - \frac{Ri_0}{RePr}\left\langle \boldsymbol{\nabla} \boldsymbol{\cdot}\left(z\boldsymbol{\nabla} b\right) - \boldsymbol{\nabla} z \boldsymbol{\cdot}\boldsymbol{\nabla} b\right\rangle, \end{align}
(B7)\begin{align} &= Ri_0 \left\langle \boldsymbol{\nabla} \boldsymbol{\cdot} (zb\boldsymbol{u})\right\rangle - \mathcal{J} - Ri_0 \left\langle \boldsymbol{\nabla} \boldsymbol{\cdot} \left(\frac{z^2}{2}\boldsymbol{u} \right) \right\rangle - \frac{Ri_0}{RePr} \left\langle \boldsymbol{\nabla} \boldsymbol{\cdot}\left(z\boldsymbol{\nabla} b\right)\right\rangle + \mathcal{D}_p. \end{align}

The final term in the above equation is obtained through

(B8)\begin{equation} \frac{Ri_0}{RePr} \langle \boldsymbol{\nabla} z \boldsymbol{\cdot} \boldsymbol{\nabla} b \rangle = \frac{Ri_0}{RePr} \left\langle \frac{\partial b}{\partial z} \right\rangle = \frac{Ri_0}{VRePr} \int_A [ b ]_{z=z_1}^{z=z_2} \,\mathrm{d}A = \frac{Ri_0}{RePr} \equiv \mathcal{D}_p. \end{equation}

With the boundaries we have specified, the divergence theorem for an arbitrary vector field $\boldsymbol {f}(\boldsymbol {x},t)$ takes the form

(B9)\begin{equation} \int_V \boldsymbol{\nabla} \boldsymbol{\cdot} \boldsymbol{f} \,\mathrm{d}V = \int_A [\, \boldsymbol{f} ]_{z=z_1}^{z_2} \boldsymbol{\cdot} \frac{\boldsymbol{\nabla} b}{\partial b/\partial z} \,\mathrm{d}A ,\end{equation}

where $\boldsymbol {\nabla } b/(\partial b/\partial z)$ is evaluated on the surface $z=z_1$ (and takes the same value on the surface $z=z_2$). Applying the divergence theorem to each of the above terms then gives

(B10)\begin{gather} \langle \boldsymbol{\nabla}\boldsymbol{\cdot}(zb\boldsymbol{u})\rangle = \frac{1}{V}\int_A [zb\boldsymbol{u}]_{z_1}^{z_2} \boldsymbol{\cdot} \frac{\boldsymbol{\nabla} b}{\partial b/\partial z} \,\mathrm{d}A = \frac{1}{A}\int_A (b_0+z_2) \left[\frac{\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla} b}{\partial b/\partial z}\right]_{z_1} \,\mathrm{d}A , \end{gather}
(B11)\begin{gather}\langle \boldsymbol{\nabla}\boldsymbol{\cdot}(z^2\boldsymbol{u}/2)\rangle = \frac{1}{V}\int_A \left[\frac{z^2\boldsymbol{u}}{2}\right]_{z_1}^{z_2} \boldsymbol{\cdot} \frac{\boldsymbol{\nabla} b}{\partial b/\partial z} \,\mathrm{d}A = \frac{1}{A}\int_A \left(\frac{L_z}{2}+z_1\right) \left[\frac{\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla} b}{\partial b/\partial z}\right]_{z_1} \,\mathrm{d}A , \end{gather}
(B12)\begin{gather}\langle\boldsymbol{\nabla}\boldsymbol{\cdot}(z\boldsymbol{\nabla} b)\rangle = \frac{1}{V}\int_A [z\boldsymbol{\nabla} b]_{z_1}^{z_2} \boldsymbol{\cdot} \frac{\boldsymbol{\nabla} b}{\partial b/\partial z} \,\mathrm{d}A = \frac{1}{A}\int_A \left[\frac{|\boldsymbol{\nabla} b|^2}{\partial b/\partial z}\right]_{z_1} \,\mathrm{d}A . \end{gather}

The potential energy evolution therefore simplifies to

(B13)\begin{equation} \frac{\textrm{d} \mathcal{P}}{\textrm{d} t} + \frac{\textrm{d} \mathcal{S}}{\textrm{d} t} = -\mathcal{J} - \mathcal{F}_d + \mathcal{D}_p + \left(b_0+\frac{L_z}{2}\right) \frac{1}{A}\int_A \left[\frac{\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla} b}{\partial b/\partial z}\right]_{z_1} \,\mathrm{d}A. \end{equation}

We can show that this final integral is zero by considering the evolution of the volume-averaged buoyancy. Since $b=z+\theta$, we know that $\langle b\rangle = L_z/2 + \overline {z_1}+\langle \theta \rangle$. The mean buoyancy perturbation is coupled to the mean vertical velocity through the system

(B14a,b)\begin{equation} \frac{\textrm{d} \langle\theta\rangle}{\textrm{d} t} = \left\langle \frac{\partial \theta}{\partial t} \right\rangle = - \langle w\rangle, \quad \frac{\textrm{d} \langle w\rangle}{\textrm{d} t} = \left\langle \frac{\partial w}{\partial t}\right\rangle = Ri_0 \langle\theta\rangle. \end{equation}

Importantly, if both $\langle \theta \rangle$ and $\langle w\rangle$ are initially zero, then they remain so forever. This is the scenario most commonly applied in studies using the periodic stratified set-up, so we proceed taking $\langle \theta \rangle \equiv 0$. We therefore know that

(B15)\begin{equation} \frac{\textrm{d} \langle b\rangle}{\textrm{d} t} = \frac{\textrm{d} \overline{z_1}}{\textrm{d} t} . \end{equation}

Applying the Leibniz rule of (2.12) to $\langle b\rangle$ instead gives

(B16)\begin{equation} \frac{\textrm{d} \langle b\rangle}{\textrm{d} t} = \left\langle \frac{\partial b}{\partial t} \right\rangle + \frac{1}{V}\int_A[b]_{z_1}^{z_2} \frac{\partial z_1}{\partial t} \,\mathrm{d}A = \left\langle \frac{\partial b}{\partial t} \right\rangle + \frac{\textrm{d} \overline{z_1}}{\textrm{d} t} . \end{equation}

We can then deduce that the desired integral is zero as follows

(B17)\begin{align} 0 &= \left\langle \frac{\partial b}{\partial t}\right\rangle = \left\langle -\boldsymbol{\nabla}\boldsymbol{\cdot} (b\boldsymbol{u}) + \frac{1}{RePr} \boldsymbol{\nabla} \boldsymbol{\cdot} \boldsymbol{\nabla} b \right\rangle, \end{align}
(B18)\begin{align} &= -\frac{1}{V} \int_A [ b\boldsymbol{u}]_{z_1}^{z_2} \boldsymbol{\cdot} \frac{\boldsymbol{\nabla} b}{\partial b/\partial z} \,\mathrm{d}A + \frac{1}{VRePr}\int_A [ \boldsymbol{\nabla} b]_{z_1}^{z_2} \boldsymbol{\cdot} \frac{\boldsymbol{\nabla} b}{\partial b/\partial z} \,\mathrm{d}A, \end{align}
(B19)\begin{align} &= -\frac{1}{A}\int_A \left[\frac{\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla} b}{\partial b/\partial z}\right]_{z_1} \,\mathrm{d}A , \end{align}

where we have applied the divergence theorem and used that $\boldsymbol {\nabla } b|_{z_1}=\boldsymbol {\nabla } b|_{z_2}$.

B.2. Background potential energy

In this section, we set $b_0=0$ so the boundary surfaces $z_1$ and $z_2$ correspond to the isopycnals $b=0$ and $b=L_z$. We begin by determining the time evolution of $\mathcal {P}_B = -Ri_0\langle b z_* \rangle$. Applying the Leibniz result of (2.12) to this quantity gives

(B20)\begin{align} \frac{\textrm{d} \mathcal{P}_B}{\textrm{d} t} &= -Ri_0 \left\langle \frac{\partial (b z_*)}{\partial t} \right\rangle - \frac{Ri_0}{V} \int_A [ bz_* ]_{z=z_1}^{z_2} \frac{\partial z_1}{\partial t} \,\mathrm{d}A , \end{align}
(B21)\begin{align} &= -Ri_0 \left\langle z_*\frac{\partial b}{\partial t} + b\frac{\partial z_*}{\partial t} \right\rangle - \frac{Ri_0}{V} \int_A L_z \overline{z_2} \frac{\partial z_1}{\partial t} \,\mathrm{d}A , \end{align}
(B22)\begin{align} &= -Ri_0 \left\langle z_*\frac{\partial b}{\partial t}\right\rangle - Ri_0 \left\langle b\frac{\partial z_*}{\partial t} \right\rangle - Ri_0 \overline{z_2} \frac{\textrm{d} \overline{z_2}}{\textrm{d} t} . \end{align}

The second term in the line above is zero in the case of fixed, insulating, horizontal boundaries. We therefore consider the simple case of $\theta =-z_1(x,y,t)$ to investigate the contribution this term has in the case of time-dependent isopycnal boundaries. As in § 2.3, this example has the linear background profiles $Z_*(s,t)=s+\overline {z_1}$, and $b_*(s,t) = s - \overline {z_1}$, so

(B23)\begin{equation} z_*(\boldsymbol{x},t) = Z_*(b(\boldsymbol{x},t), t)=b(\boldsymbol{x},t) + \overline{z_1}(t)=z-z_1(x,y,t) + \overline{z_1}(t) . \end{equation}

For this simple example we find that

(B24)\begin{equation} \left\langle b \frac{\partial z_*}{\partial t} \right\rangle = 0 , \end{equation}

and conclude that there is no additional contribution to this term when considering a moving boundary. We now consider the first term in (B22), and use the buoyancy evolution equation (2.3) to obtain

(B25)\begin{align} \left\langle z_* \frac{\partial b}{\partial t} \right\rangle &= \left\langle z_* \left( -\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla} b + \frac{1}{RePr} \nabla^2 b \right) \right\rangle, \end{align}
(B26)\begin{align} &= \left\langle -\boldsymbol{u}\boldsymbol{\cdot} z_*\boldsymbol{\nabla} b + \frac{1}{RePr} z_*\boldsymbol{\nabla} \boldsymbol{\cdot} \boldsymbol{\nabla} b \right\rangle, \end{align}
(B27)\begin{align} &= \left\langle -\boldsymbol{\nabla}\boldsymbol{\cdot}(\psi\boldsymbol{u}) + \frac{1}{RePr}(\boldsymbol{\nabla}\boldsymbol{\cdot}(z_*\boldsymbol{\nabla} b) - \boldsymbol{\nabla} z_* \boldsymbol{\cdot} \boldsymbol{\nabla} b ) \right\rangle. \end{align}

Here, we have introduced the Casimir

(B28)\begin{equation} \psi(b)=\int_0^b Z_*(s) \,\mathrm{d}s , \end{equation}

that satisfies $\boldsymbol {\nabla }\psi =z_*\boldsymbol {\nabla } b$. Since $Z_*$ is the inverse of $b_*$, and we know that $\langle b_*(z)\rangle = \langle b(\boldsymbol {x}) \rangle$, we can furthermore deduce that

(B29)\begin{equation} \psi(L_z) = \int_0^{L_z} Z_*(s) \,\mathrm{d}s = L_z \overline{z_2} - \int_{\overline{z_1}}^{\overline{z_2}} b_*(s) \mathrm{d}s = \frac{{L_z}^2}{2} . \end{equation}

We also note that $\boldsymbol {\nabla } z_* = (\partial Z_*/\partial b)\boldsymbol {\nabla } b$, and this can be applied to the final term in (B27). Applying the divergence theorem (B9) to the term involving the Casimir produces

(B30)\begin{equation} \langle \boldsymbol{\nabla} \boldsymbol{\cdot} (\psi \boldsymbol{u})\rangle = \frac{L_z}{2A}\int_A \left[\frac{\boldsymbol{u}\boldsymbol{\cdot}\boldsymbol{\nabla} b}{\partial b/\partial z}\right]_{z=z_1} \,\mathrm{d}A = 0. \end{equation}

Only the diffusive terms remain, giving

(B31)\begin{align} -Ri_0 \left\langle z_* \frac{\partial b}{\partial t} \right\rangle &= \frac{-Ri_0}{RePr} \left( \frac{1}{A}\int_A \left[\frac{|\boldsymbol{\nabla} b|^2}{\partial b/\partial z}\right]_{z=z_1} \,\mathrm{d}A - \left\langle \frac{\partial Z_*}{\partial b}|\boldsymbol{\nabla} b|^2 \right\rangle \right) , \end{align}
(B32)\begin{align} &= -\mathcal{F}_d + \mathcal{M} + \mathcal{D}_p. \end{align}

We now have

(B33)\begin{equation} \frac{\textrm{d} \mathcal{P}_B}{\textrm{d} t} = \mathcal{M} + \mathcal{D}_p - \mathcal{F}_d - Ri_0 \frac{\textrm{d} }{\textrm{d} t}\left( \frac{\overline{z_2}^{\,2}}{2} \right). \end{equation}

Defining $\mathcal {B}=\mathcal {P}_B + Ri_0 \overline {z_2}^{\,2}/2$ as in (2.20), we finally arrive at the evolution equation

(B34)\begin{equation} \frac{\textrm{d} \mathcal{B}}{\textrm{d} t} = \mathcal{M} + \mathcal{D}_p - \mathcal{F}_d . \end{equation}

Appendix C. Equivalence of various local APE definitions for an adiabatically sorted buoyancy profile

Tailleux (Reference Tailleux2013b) proposes the following APE density as work against buoyancy forces defined relative to an arbitrary $z$-dependent reference density profile $\rho _r(z,t)$:

(C1)\begin{equation} \mathcal{E}_a(S_i,T,z,t) = \int_{z_r}^z \frac{g}{\rho_0} \left(\rho(S_i, T, z^\prime) - \rho_r(z^\prime,t) \right) \,\mathrm{d}z^\prime. \end{equation}

Here, the density field depends on a materially conserved temperature variable $T$ as well as an arbitrary number of compositional variables $S_i$, and $z_r$ is the level of neutral buoyancy satisfying $\rho (S_i, T, z_r)=\rho _r(z_r,t)$. The above expression generalises the ‘potential energy density’ of Andrews (Reference Andrews1981) to an arbitrary nonlinear equation of state. Although (C1) only applies under the Boussinesq approximation, this expression can be extended as in Tailleux (Reference Tailleux2018) to describe APE density for a compressible multicomponent fluid. The arbitrary reference profile can be useful for defining alternative measures of APE. For example if the uniform, mean gradient is taken as the reference buoyancy profile $b_r=z$, then (C1) recovers the APE defined in (4.1).

In this study, we consider a Boussinesq fluid with a linear equation of state in one variable, and take the reference profile to be the adiabatically sorted buoyancy $b_r=b_*$. With these assumptions, and applying our non-dimensionalisation, (C1) becomes

(C2)\begin{equation} \mathcal{E}_a(\boldsymbol{x}, t) = -Ri_0 \int_{z_*(\boldsymbol{x},t)}^z b(\boldsymbol{x}, t) - b_*(z^\prime, t) \,\mathrm{d}z^\prime . \end{equation}

This expression is exactly that used by Roullet & Klein (Reference Roullet and Klein2009). Note that (C2) can also be rearranged into the form

(C3)\begin{equation} \mathcal{E}_a(\boldsymbol{x}, t) = -Ri_0 (z-z_*(\boldsymbol{x},t)) \left[b(\boldsymbol{x},t) - \frac{1}{z-z_*(\boldsymbol{x},t)} \int_{z_*(\boldsymbol{x},t)}^z b_*(z^\prime, t) \,\mathrm{d}z^\prime \right] , \end{equation}

the expression for APE density used by Winters & Barkan (Reference Winters and Barkan2013).

We can further relate (C2) to the definition of APE by Scotti & White (Reference Scotti and White2014) (which itself is equivalent to the original definition of Holliday & McIntyre (Reference Holliday and McIntyre1981) but with simpler notation). We rewrite (C2) as

(C4)\begin{equation} \mathcal{E}_a = -Ri_0 b(z-z_*) + Ri_0 \int_{z_*}^z b_*(z^\prime, t) \,\mathrm{d}z^\prime , \end{equation}

and make the substitution $z^\prime = Z_*(s,t)$, where $Z_*$ is the inverse map of the sorted buoyancy profile $b_*$. The integral part of (C4) then becomes

(C5)\begin{equation} \int_{z_*}^z b_*(z^\prime, t) \,\mathrm{d}z^\prime = \int_b^{b_*} s \frac{\partial Z_*}{\partial s} \mathrm{d}s , \end{equation}

since $b_*(Z_*(s,t),t) = s$ and $b_*(z_*(\boldsymbol {x},t), t) = b_*(Z_*(b(\boldsymbol {x},t),t), t) = b(\boldsymbol {x},t)$. Integrating by parts then leads to

(C6)\begin{align} \int_{z_*}^z b_*(z^\prime, t) \,\mathrm{d}z^\prime &= [sZ_*(s,t)]_{s=b}^{s=b_*} - \int_b^{b_*} Z_*(s,t) \,\mathrm{d}s , \end{align}
(C7)\begin{align} &= b_* z - b z_* - \int_{b}^{b_*} Z_*(s,t) \,\mathrm{d}s . \end{align}

Finally, we can substitute this expression into (C4) to recover the form of Holliday & McIntyre (Reference Holliday and McIntyre1981) and Scotti & White (Reference Scotti and White2014)

(C8)\begin{align} \mathcal{E}_a &= -Ri_0 [bz - bz_* - b_* z + bz_* + \int_{b}^{b_*} Z_*(s,t) \, \textrm{d} s ] , \end{align}
(C9)\begin{align} \Rightarrow \mathcal{E}_a &= E_{APE} \equiv -Ri_0 \int_{b_*}^b z - Z_*(s,t) \,\mathrm{d}s . \end{align}

References

REFERENCES

Alford, M.H. & Pinkel, R. 2000 Observations of overturning in the thermocline: the context of ocean mixing. J. Phys. Oceanogr. 30 (5), 805832.2.0.CO;2>CrossRefGoogle Scholar
Andrews, D.G. 1981 A note on potential energy density in a stratified compressible fluid. J. Fluid Mech. 107, 227236.CrossRefGoogle Scholar
Arthur, R.S., Venayagamoorthy, S.K., Koseff, J.R. & Fringer, O.B. 2017 How we compute N matters to estimates of mixing in stratified flows. J. Fluid Mech. 831, R2.CrossRefGoogle Scholar
Bartello, P. & Tobias, S.M. 2013 Sensitivity of stratified turbulence to the buoyancy Reynolds number. J. Fluid Mech. 725, 122.CrossRefGoogle Scholar
Bouruet-Aubertot, P., Koudella, C., Staquet, C. & Winters, K.B. 2001 Particle dispersion and mixing induced by breaking internal gravity waves. Dyn. Atmos. Oceans 33 (2), 95134.CrossRefGoogle Scholar
Brethouwer, G., Billant, P., Lindborg, E. & Chomaz, J.-M. 2007 Scaling analysis and simulation of strongly stratified turbulent flows. J. Fluid Mech. 585, 343368.CrossRefGoogle Scholar
de Bruyn Kops, S.M. & Riley, J.J. 2019 The effects of stable stratification on the decay of initially isotropic homogeneous turbulence. J. Fluid Mech. 860, 787821.CrossRefGoogle Scholar
Caulfield, C. 2021 Layering, instabilities, and mixing in turbulent stratified flows. Annu. Rev. Fluid Mech. 53, 113145.CrossRefGoogle Scholar
Garanaik, A. & Venayagamoorthy, S.K. 2019 On the inference of the state of turbulence and mixing efficiency in stably stratified flows. J. Fluid Mech. 867, 323333.CrossRefGoogle Scholar
Gargett, A.E. & Holloway, G. 1984 Dissipation and diffusion by internal wave breaking. J. Mar. Res. 42 (1), 1527.CrossRefGoogle Scholar
Gayen, B., Hughes, G.O. & Griffiths, R.W. 2013 Completing the mechanical energy pathways in turbulent Rayleigh–Bénard convection. Phys. Rev. Lett. 111 (12), 124301.CrossRefGoogle ScholarPubMed
Gregg, M., D'Asaro, E., Riley, J. & Kunze, E. 2018 Mixing efficiency in the ocean. Annu. Rev. Mar. Sci. 10, 443473.CrossRefGoogle ScholarPubMed
Holliday, D. & McIntyre, M.E. 1981 On potential energy density in an incompressible, stratified fluid. J. Fluid Mech. 107, 221225.CrossRefGoogle Scholar
Howland, C.J., Taylor, J.R. & Caulfield, C.P. 2020 Mixing in forced stratified turbulence and its dependence on large-scale forcing. J. Fluid Mech. 898, A7.CrossRefGoogle Scholar
Howland, C.J., Taylor, J.R. & Caulfield, C.P. 2021 Shear-induced breaking of internal gravity waves. J. Fluid Mech. (under review), arXiv:2007.09942.Google Scholar
Hughes, G.O., Hogg, A.M.C. & Griffiths, R.W. 2009 Available potential energy and irreversible mixing in the meridional overturning circulation. J. Phys. Oceanogr. 39 (12), 31303146.CrossRefGoogle Scholar
Ivey, G.N., Winters, K.B. & Koseff, J.R. 2008 Density stratification, turbulence, but how much mixing? Annu. Rev. Fluid Mech. 40, 169184.CrossRefGoogle Scholar
Klymak, J.M. & Legg, S.M. 2010 A simple mixing scheme for models that resolve breaking internal waves. Ocean Model. 33 (3), 224234.CrossRefGoogle Scholar
Ledwell, J.R., Montgomery, E.T., Polzin, K.L., Laurent, L.C.S., Schmitt, R.W. & Toole, J.M. 2000 Evidence for enhanced mixing over rough topography in the abyssal ocean. Nature 403 (6766), 179182.CrossRefGoogle ScholarPubMed
Lohse, D. & Toschi, F. 2003 Ultimate state of thermal convection. Phys. Rev. Lett. 90 (3), 034502.CrossRefGoogle ScholarPubMed
Lorenz, E.N. 1955 Available potential energy and the maintenance of the general circulation. Tellus 7 (2), 157167.CrossRefGoogle Scholar
MacKinnon, J.A., et al. . 2017 Climate process team on internal wave–driven ocean mixing. Bull. Am. Meteorol. Soc. 98 (11), 24292454.CrossRefGoogle Scholar
Maffioli, A., Brethouwer, G. & Lindborg, E. 2016 Mixing efficiency in stratified turbulence. J. Fluid Mech. 794, R3.CrossRefGoogle Scholar
Munk, W.H. 1966 Abyssal recipes. Deep Sea Res. Oceanogr. Abstr. 13 (4), 707730.CrossRefGoogle Scholar
Oakey, N.S. 1982 Determination of the rate of dissipation of turbulent energy from simultaneous temperature and velocity shear microstructure measurements. J. Phys. Oceanogr. 12 (3), 256271.2.0.CO;2>CrossRefGoogle Scholar
Orszag, S.A. & Patterson, G.S. 1972 Numerical simulation of three-dimensional homogeneous isotropic turbulence. Phys. Rev. Lett. 28 (2), 7679.CrossRefGoogle Scholar
Osborn, T.R. 1980 Estimates of the local rate of vertical diffusion from dissipation measurements. J. Phys. Oceanogr. 10 (1), 8389.2.0.CO;2>CrossRefGoogle Scholar
Osborn, T.R. & Cox, C.S. 1972 Oceanic fine structure. Geophys. Fluid Dyn. 3 (4), 321345.CrossRefGoogle Scholar
Peltier, W.R. & Caulfield, C.P. 2003 Mixing efficiency in stratified shear flows. Annu. Rev. Fluid Mech. 35, 135167.CrossRefGoogle Scholar
Portwood, G.D., de Bruyn Kops, S.M. & Caulfield, C.P. 2019 Asymptotic dynamics of high dynamic range stratified turbulence. Phys. Rev. Lett. 122 (19), 194504.CrossRefGoogle ScholarPubMed
Portwood, G.D., de Bruyn Kops, S.M., Taylor, J.R., Salehipour, H. & Caulfield, C.P. 2016 Robust identification of dynamically distinct regions in stratified turbulence. J. Fluid Mech. 807, R2.CrossRefGoogle Scholar
Riley, J.J. & de Bruyn Kops, S.M. 2003 Dynamics of turbulence strongly influenced by buoyancy. Phys. Fluids 15 (7), 20472059.CrossRefGoogle Scholar
Riley, J.J., Metcalfe, R.W. & Weissman, M.A. 1981 Direct numerical simulations of homogeneous turbulence in density-stratified fluids. AIP Conf. Proc. 76, 79112.CrossRefGoogle Scholar
Roullet, G. & Klein, P. 2009 Available potential energy diagnosis in a direct numerical simulation of rotating stratified turbulence. J. Fluid Mech. 624, 4555.CrossRefGoogle Scholar
Salehipour, H. & Peltier, W.R. 2015 Diapycnal diffusivity, turbulent Prandtl number and mixing efficiency in Boussinesq stratified turbulence. J. Fluid Mech. 775, 464500.CrossRefGoogle Scholar
Schmitt, R.W. 1994 Double diffusion in oceanography. Annu. Rev. Fluid Mech. 26, 255285.CrossRefGoogle Scholar
Scotti, A. & White, B. 2014 Diagnosing mixing in stratified turbulent flows with a locally defined available potential energy. J. Fluid Mech. 740, 114135.CrossRefGoogle Scholar
Staquet, C. & Godeferd, F.S. 1998 Statistical modelling and direct numerical simulations of decaying stably stratified turbulence. Part 1. Flow energetics. J. Fluid Mech. 360, 295340.CrossRefGoogle Scholar
Stretch, D.D. & Venayagamoorthy, S.K. 2010 Diapycnal diffusivities in homogeneous stratified turbulence. Geophys. Res. Lett. 37 (2), L02602.CrossRefGoogle Scholar
Tailleux, R. 2009 On the energetics of stratified turbulent mixing, irreversible thermodynamics, Boussinesq models and the ocean heat engine controversy. J. Fluid Mech. 638, 339382.CrossRefGoogle Scholar
Tailleux, R. 2013 a Available potential energy and exergy in stratified fluids. Annu. Rev. Fluid Mech. 45, 3558.CrossRefGoogle Scholar
Tailleux, R. 2013 b Available potential energy density for a multicomponent Boussinesq fluid with arbitrary nonlinear equation of state. J. Fluid Mech. 735, 499518.CrossRefGoogle Scholar
Tailleux, R. 2018 Local available energetics of multicomponent compressible stratified fluids. J. Fluid Mech. 842, R1.CrossRefGoogle Scholar
Taylor, J.R. 2008 Numerical simulations of the stratified oceanic bottom layer. PhD Thesis, University of California.Google Scholar
Taylor, J.R., de Bruyn Kops, S.M., Caulfield, C.P. & Linden, P.F. 2019 Testing the assumptions underlying ocean mixing methodologies using direct numerical simulations. J. Phys. Oceanogr. 49 (11), 27612779.CrossRefGoogle Scholar
Villermaux, E. 2019 Mixing versus stirring. Annu. Rev. Fluid Mech. 51, 245273.CrossRefGoogle Scholar
Waterhouse, A.F., et al. . 2014 Global patterns of diapycnal mixing from measurements of the turbulent dissipation rate. J. Phys. Oceanogr. 44 (7), 18541872.CrossRefGoogle Scholar
Williams, R.G. & Follows, M.J. 2011 Ocean Dynamics and the Carbon Cycle: Principles and Mechanisms. Cambridge University Press.CrossRefGoogle Scholar
Winters, K.B. & Barkan, R. 2013 Available potential energy density for Boussinesq fluid flow. J. Fluid Mech. 714, 476488.CrossRefGoogle Scholar
Winters, K.B. & D'Asaro, E.A. 1996 Diascalar flux and the rate of fluid mixing. J. Fluid Mech. 317, 179193.CrossRefGoogle Scholar
Winters, K.B., Lombard, P.N., Riley, J.J. & D'Asaro, E.A. 1995 Available potential energy and mixing in density-stratified fluids. J. Fluid Mech. 289, 115128.CrossRefGoogle Scholar
Wunsch, C. & Ferrari, R. 2004 Vertical mixing, energy, and the general circulation of the oceans. Annu. Rev. Fluid Mech. 36, 281314.CrossRefGoogle Scholar
Figure 0

Figure 1. $(a)$ Displays contours of the total buoyancy field given by $\theta =\sin x$; $(b)$ shows the sorted profile $Z_*(b)$ associated with this buoyancy field; $(c)$ shows the horizontally averaged irreversible mixing rate $\bar {\mathcal {M}}(z) = (\overline{{\partial Z_\ast }/{\partial b}) |\boldsymbol {\nabla } b|^2} - {\partial \bar {b}}/{\partial z}$. Note that an overbar here denotes an average over $x$, and $\partial Z_\ast /\partial b$ is evaluated at $b(x,z)$.

Figure 1

Figure 2. Example schematic of tiling the periodic computational domain vertically. The vertical velocity $w$, shown in $(a,b)$, and buoyancy perturbation $\theta$, shown in $(c)$, simply repeat thanks to their periodic boundary conditions. The total buoyancy $b=z+\theta$, shown in $(d)$, is not periodic in the vertical, although isopycnal surfaces separated by the vertical period $L_z$ are of identical shape.

Figure 2

Figure 3. A sketch of two-layer buoyancy fields with varying vertical boundaries.

Figure 3

Table 1. Overview of the various numerical simulations, all of which are performed using a bulk Richardson number $Ri_0=1$ and Prandtl number $Pr=1$. IGW, internal gravity wave.

Figure 4

Figure 4. The initial condition of simulation U4, where $s=0.75$. $(a)$ Contours and colour map of the total buoyancy field $b=z+\theta \ \mathrm {mod} \ 2{\rm \pi}$. $(b)$ Colour map of the spanwise vorticity $\zeta _y = {\partial u}/{\partial z} - {\partial w}/{\partial x}$.

Figure 5

Figure 5. Energy budgets for simulation U1. $(a)$ Time series of the mean buoyancy flux and viscous dissipation rate; $(b)$ time series of the BPE budget terms; $(c)$ time series of APE and BPE defined in (2.20) and (2.21). The time series for $\mathcal {B}$ is shifted by $-\mathcal {B}(0)$ for clarity. Terms denoted by symbols are computed from full flow output files, and so have lower time resolution than $\mathcal {J}$ and $\varepsilon$, which are computed ‘on the fly’.

Figure 6

Figure 6. Potential energy budgets for the late-time statistically steady state achieved in simulation F1. Panels are as in figure 5, with $-\mathcal {J}$ additionally plotted on panel $(b)$.

Figure 7

Figure 7. Vertical plane snapshots of $E_{APE}$ as defined in (2.24). Solid lines in each case denote the isopycnal boundary $z_1$ from which the APE is calculated. Snapshots from the forced simulations are each taken at time $t\approx 150$ with runs F1, F2 and F3 shown in $(a)$, $(b)$ and $(c)$ respectively. Panels $(d{-}f)$ display the evolution of $E_{APE}$ in simulation U1 from the initial condition to the peak in mixing at time $t=30$.

Figure 8

Figure 8. A time series comparison of the irreversible mixing rate $\mathcal {M}$ and the dissipation rate $\chi$ for each simulation in table 1. $(a{-}c)$ plot the time series of $\mathcal {M}$ and $\chi$; $(d{-}f)$ plot the time series of $\chi /\mathcal {M}$ to highlight the fractional difference between the two; $(g{-}i)$ plot the time series of the ratio of the time-integrated quantities.

Figure 9

Figure 9. Time series of $(a{-}c)$ instantaneous and $(d{-}f)$ cumulative mixing efficiency, calculated with and without the mean flow dissipation, as defined in (4.5a,b) and (4.6) respectively.

Figure 10

Table 2. Peak values of the buoyancy Reynolds number in the unforced simulations. The top row displays maximum (over $t$) values computed from the volume average $\varepsilon ^\prime$. The bottom row shows the maximum (over $z$) value of $Re_b$ computed from horizontal averages at the time instant of peak $\varepsilon ^\prime$.

Figure 11

Figure 10. A time series comparison of the diapycnal diffusivity $K_d$ and the approximation of $\chi +\mathcal {D}_p$. The ratio of the two is plotted in an analogous fashion to figures 8(df).