1 Introduction

A turbulence parametrization scheme is an integral part of a physical parametrization package of any model of atmospheric circulation, including numerical weather prediction (NWP) and climate models. The importance of turbulence parametrization schemes will likely further increase as the resolution of the atmospheric models is refined. As the mesh size becomes small, quasi-organized flow structures, such as deep convective plumes that are chiefly responsible for non-local convective transport of momentum and scalars, are increasingly resolved. The focus of parametrizations of the subgrid-scale processes is then shifted towards motions at smaller scales and towards other issues, as, e.g., the anisotropy of turbulence near the surface and in stably-stratified regions of the flow, and the interaction between boundary-layer turbulence and shallow clouds. Turbulence closure schemes based on truncated second-order moment equations are viable tools for describing these features.

The so-called one-equation turbulence closure schemes have been very popular in geophysical applications over several decades. Those schemes carry the turbulence kinetic energy (TKE) equation, including the time rate-of-change (or substantial derivative if the TKE advection is included) and the third-order turbulent transport terms. All other second-moment equations, viz., the equations for the Reynolds stress, for the fluxes of scalar quantities (e.g., temperature and humidity), and for the scalar variances and covariance, are reduced to diagnostic algebraic expressions. The closure schemes, which carry prognostic transport equations not only for the TKE but also for the variances and covariance of scalar quantities, represent a natural step beyond one-equation TKE schemes. Examples are the schemes presented by Mellor and Yamada (1974, their level-3 closure), Cheng et al. (2002), Kenjereš and Hanjalić (2002) and Z̆eli et al. (2019) for the dry atmosphere, and by Nakanishi and Niino (2004) and Mironov and Machulskaya (2017) (see also Machulskaya and Mironov 2013) for the moist atmosphere. The latter scheme, termed the TKE–scalar variance (TKESV) scheme, receives major attention in the present study. An obvious advantage of the TKESV and similar schemes over the TKE schemes is a more consistent treatment of the flow energies. In atmospheric flows, where the buoyancy stratification is either unstable or stable but virtually never neutral, the TKE and the turbulence potential energy (TPE), characterized by the variances and covariances of scalar quantities, are equally important and should be treated in a similar way (see Mironov 2009, for discussion). An improved treatment of scalar (co)variances helps to improve the performance of atmospheric models in several respects. These are, for example, a consistent treatment of counter-gradient fluxes of scalars (which is not possible with the one-equation TKE schemes) and an improved representation of the fractional cloudiness within the framework of statistical cloud schemes.

In the present study, the problem of realizability of truncated second-order closure schemes for moist atmospheric boundary-layer turbulence is addressed through consideration of the so-called stability functions (Mellor and Yamada 1974). Stability functions appear within the framework of truncated closure schemes in the expressions for the Reynolds stress and scalar fluxes if (i) the Reynolds-stress and scalar-flux equations (and, within the framework of one-equation TKE schemes, also equations for the scalar variances and covariances) are reduced to the diagnostic algebraic formulations by neglecting the substantial derivatives and the third-order transport terms, and (ii) linear parametrizations (in the second-order moments involved) of the pressure-scrambling terms are used. The stability functions are ill-behaved over a certain range of governing parameters, e.g., mean velocity shear and buoyancy gradient. The ill-behaved stability functions yield physically meaningless values of the Reynolds stress and scalar fluxes, e.g., negative velocity variances or infinite scalar fluxes.

An appealing way to tackle the problem of ill behaviour of truncated closures was proposed by Helfand and Labraga (1988), see also du Vachat (1989) and Helfand and Labraga (1989). These authors analyzed the pathological behaviour of stability functions of the one-equation TKE scheme. Using rather plausible physical arguments, they developed regularized functions that reveal no pathological behaviour over their entire parameter space. In the present study, we extend the approach of Helfand and Labraga to the TKESV scheme. We develop regularized stability functions that are well-behaved over their entire parameter space and cause no pathological behaviour of the Reynolds stress and scalar fluxes. We discuss the physical meaning of the regularization procedure and examine its relation to the non-linear, more physically sound parametrizations of the pressure-scrambling terms and to weak non-equilibrium hypothesis often used to develop turbulence closures.

In what follows, a well-accepted terminology of Mellor and Yamada (1974, 1982; Yamada 1977) is used. The level 3 refers to the TKESV and similar schemes that carry transport equations for the TKE and for the scalar (co)variances. The level 2 refers to the schemes, where all second-moment equations are reduced to the diagnostic algebraic formulations. The level 2.5 refers to one-equation TKE schemes.

An outline of the salient features of the TKESV scheme pertinent to the present analysis is given in Sect. 2. Section 3 presents the diagnostic algebraic equations for the Reynolds stress and scalar fluxes used within the framework of the TKESV scheme. Those equations are obtained with the aid of the boundary-layer approximation and are one-dimensional (the flow variables depend on the vertical coordinate only). In Sect. 4, the stability functions are introduced. The regularization procedure of Helfand and Labraga (1988) is presented in Sect. 5, and the regularized, well-behaved stability functions of the TKESV scheme are developed in Sect. 6. In Sect. 7, the relation of the regularization procedure to the non-linear parametrizations of the pressure-scrambling terms is discussed. The relation of the Helfand and Labraga (1988) regularization procedure to the so-called weak non-equilibrium hypothesis (Rodi 1976; Gibson and Launder 1976; Hanjalić and Launder 2011) is discussed in Sect. 8. In Sect. 9, realizability of turbulence closures is considered within a more general framework of the moments problem of the probability theory. Conclusions are presented in Sect. 10. In order to keep the discussion in the main body of the text more concise, we include three Appendices. Turbulence potential energy is discussed in Appendix 1. The ill behaviour of stability functions in the shear-free flow is demonstrated analytically in Appendix 2. Appendix 3 outlines the derivation of regularized stability functions of the TKESV scheme in the case of shear-free flow.

2 Outline of the TKESV Scheme

In this section, a brief outline of the TKE–scalar variance turbulence parametrization scheme is given, where the focus is on the aspects pertinent to the present analysis. A detailed description of the scheme is given in Mironov and Machulskaya (2017). The governing equations are presented in their full three-dimensional form. The one-dimensional equations (where the flow variables depend on the vertical coordinate only) obtained with the aid of the boundary-layer approximation are used in the subsequent text.

The TKESV scheme is formulated in terms of variables that are approximately conserved for phase changes in the absence of precipitation (Betts 1973; Deardorff 1976). These are the total water specific humidity \(q_{t}\) and the liquid water potential temperature \(\theta _{l}\) defined as

$$\begin{aligned} q_{t}= & {} q + q_{l}, \end{aligned}$$
(1a)
$$\begin{aligned} \theta _{l}= & {} \theta - \displaystyle \frac{\theta }{T}\displaystyle \frac{L_{v}}{c_{p}}q_{l}, \end{aligned}$$
(1b)

where q is the water vapour specific humidity (the mass of water vapour per unit mass of moist air), \(q_{l}\) is the liquid water specific humidity (the mass of cloud water per unit mass of moist air), \(c_{p}\) is the specific heat of air at constant pressure, \(L_{v}\) is the latent heat of vaporization, \(\theta \) is the potential temperature related to the absolute temperature T through \(\theta =T(\tilde{P}_0/\tilde{P})^{R_{d}/c_{p}}\), \(\tilde{P}\) and \(\tilde{P}_0\) being the atmospheric pressure and its reference value, respectively, and \(R_{d}\) being the gas constant for dry air. No supersaturation is assumed, so that \(q_{l}=q_{t}-q_{s}\) if \(q_{t}>q_{s}\), \(q_{s}\) being the saturation specific humidity, and \(q_{l}=0\) otherwise. Clearly, \(q_{t}\) and \(\theta _{l}\) reduce to q and \(\theta \), respectively, in unsaturated conditions. In what follows, the total water specific humidity and the liquid water potential temperature are also referred to as simply humidity and temperature, respectively.

The TKESV scheme uses prognostic transport equations for the TKE, \(e\equiv \frac{1}{2}\left\langle u_i'^2\right\rangle \), for the scalar variances \(\left\langle \theta _l'^2\right\rangle \) and \(\left\langle q_t'^2\right\rangle \), and for the scalar covariance \(\left\langle \theta _l'q_t'\right\rangle \). Here, \(u_{i}\) is the velocity, and \(\displaystyle \left\langle {u}_i'{u}_j'\right\rangle \) is the Reynolds stress.Footnote 1 The angle brackets denote mean quantities, and a prime denotes a turbulent fluctuation. The Einstein summation convention for repeated indices is adopted. The Boussinesq approximation is used, and the molecular diffusion terms in the second-moment budget equations are neglected (a good approximation for the atmospheric flows, where the Reynolds number is very high). The equations for the TKE and for the temperature–humidity covariance read

$$\begin{aligned}&\displaystyle \frac{1}{2} \left( \frac{\partial }{\partial t} + \left\langle u_k\right\rangle \frac{\partial }{\partial x_k} \right) \left\langle u_i'^2\right\rangle + \frac{\partial }{\partial x_{k}} \left( \frac{1}{2} \left\langle u_k' {u}_i'^2\right\rangle + \left\langle {u}_k'p'\right\rangle \right) \nonumber \\&\quad \displaystyle = - \left\langle {u}_i'u_k'\right\rangle \frac{\partial \left\langle u_i\right\rangle }{\partial x_k} + \beta _{i} \left\langle u_i'\theta _v'\right\rangle - \epsilon , \end{aligned}$$
(2)
$$\begin{aligned}&\displaystyle \left( \frac{\partial }{\partial t} + \left\langle u_k\right\rangle \frac{\partial }{\partial x_k} \right) \left\langle \theta _l'q_t'\right\rangle + \frac{\partial }{\partial x_{k}} \left\langle {u}_k'\theta _l'q_t'\right\rangle \nonumber \\&\quad \displaystyle = - \left\langle {u}_k'q_t'\right\rangle \frac{\partial \left\langle \theta _l\right\rangle }{\partial x_k} - \left\langle {u}_k'\theta _l'\right\rangle \frac{\partial \left\langle q_t\right\rangle }{\partial x_k} - 2 \epsilon _{\theta q}. \end{aligned}$$
(3)

Replacing \(q_t\) with \(\theta _l\) in Eq. 3 yields the temperature-variance equation, and replacing \(\theta _l\) with \(q_t\) yields the humidity-variance equation. In Eqs. 2 and 3, t is the time, \(x_i\) are the space coordinates, \(\beta _i=-g_i\alpha _T\) is the buoyancy parameter, \(g_i\) is the acceleration due to gravity, \(\alpha _T\) is the thermal expansion coefficient, \(\rho \) is the density, and p is the kinematic pressure (deviation of pressure from the hydrostatically balanced pressure divided by the reference density \(\rho _r\)). The last terms on the right-hand sides (r.h.s.) of Eqs. 2 and 3 are the molecular destruction (dissipation) rates of the TKE and of the scalar covariance. The quantity \(\theta _v\) is the virtual potential temperature that is defined with due regard for the water loading effect (Lilly 1968; Bannon 2007),

$$\begin{aligned} \displaystyle \theta _v = \theta \left[ 1+\left( \frac{R_v}{R_d}-1\right) q-q_l \right] , \end{aligned}$$
(4)

where \(R_v\) is the gas constant for water vapour.

Equations 2 and 3 are not closed. Parametrizations (closure assumptions) are required for the buoyancy flux in the TKE equation (the term incorporating \(\theta _v\)), for the dissipation rates, and for the third-order turbulent transport terms. The buoyancy terms are discussed at the end of this section. The dissipation rates of the TKE and of the scalar covariance (similar for the scalar variances) are parametrized in terms of the TKE dissipation time scale \(\tau _{\epsilon }\) through the following algebraic expressions,

$$\begin{aligned} \epsilon= & {} \frac{e}{\tau _{\epsilon }}, \end{aligned}$$
(5a)
$$\begin{aligned} \epsilon _{\theta q}= & {} \frac{\left\langle \theta _l'q_t'\right\rangle }{2R_{\tau } \tau _{\epsilon }}, \end{aligned}$$
(5b)

where \(R_{\tau }\) is the dissipation time scale ratio. The TKE dissipation time scale is determined diagnostically through e and the turbulence length scale, see Eq. 11 below. For the third-order transport terms, either the simplest isotropic down-gradient parametrizations, or more advanced anisotropic parametrizations are used (see Mironov and Machulskaya 2017, for details). The specific form of those parametrizations are not required for the present analysis. A key point is that the third-order transport terms along with the substantial derivatives (which reduce to the time rate-of-change in the one-dimensional case) are retained in the equations for the TKE and for the scalar variances and covariance.

Within the framework of the TKESV scheme, the transport equations for the Reynolds stress \(\displaystyle \left\langle {u}_i'u_j'\right\rangle \) and for the scalar fluxes \(\left\langle u_i'\theta _l'\right\rangle \) and \(\left\langle u_i'q_t'\right\rangle \) are reduced (truncated) to the diagnostic algebraic expressions by neglecting the substantial derivatives and the third-order transport of \(\displaystyle \left\langle {u}_i'u_j'\right\rangle \), \(\left\langle u_i'\theta _l'\right\rangle \), and \(\left\langle u_i'q_t'\right\rangle \), and the pressure transport of \(\displaystyle \left\langle {u}_i'u_j'\right\rangle \). In atmospheric flows, the Coriolis terms in the second-moment equations are typically small and can safely be neglected. The resulting algebraic equations are recast in terms of the departure-from-isotropy tensor

$$\begin{aligned} a_{ij} = \left\langle {u}_i'u_j'\right\rangle - \frac{2}{3}\delta _{ij}e. \end{aligned}$$
(6)

The diagnostic algebraic equation for \(a_{ij}\) (and hence for \(\displaystyle \left\langle {u}_i'u_j'\right\rangle \)) reads

$$\begin{aligned}&- \left[ \displaystyle \frac{4}{3} e S_{ij} + \left( a_{ik}S_{jk} + a_{jk}S_{ik} - \displaystyle \frac{2}{3}\delta _{ij} a_{km}S_{km} \right) + \left( a_{ik}W_{jk} + a_{jk}W_{ik} \right) \right] \nonumber \\&\quad +\,\left( \beta _{i} \left\langle u_j'\theta _v' \right\rangle + \beta _{j}\left\langle u_i'\theta _v' \right\rangle - \displaystyle \frac{2}{3}\delta _{ij} \beta _{k} \left\langle u_k'\theta _v' \right\rangle \right) \nonumber \\&\quad +\,\left\langle p' \left( \frac{\partial u_i'}{\partial x_j}+ \frac{\partial u_j'}{\partial x_i}\right) \right\rangle - \epsilon ^d_{ij} = 0, \end{aligned}$$
(7)

where \(\displaystyle S_{ij}=\frac{1}{2} \left( \frac{\partial \left\langle u_i\right\rangle }{\partial x_j}+ \frac{\partial \left\langle u_j\right\rangle }{\partial x_i}\right) \) and \(\displaystyle W_{ij}=\frac{1}{2} \left( \frac{\partial \left\langle u_i\right\rangle }{\partial x_j}- \frac{\partial \left\langle u_j\right\rangle }{\partial x_i}\right) \) are the symmetric and the antisymmetric parts, respectively, of the mean-velocity gradient tensor, and \(\epsilon ^d_{ij}=\epsilon _{ij}-\frac{2}{3}\delta _{ij}\epsilon \) is the deviatoric part of the Reynolds-stress dissipation tensor. In order to obtain Eq. 7, a decomposition of the pressure gradient–velocity covariance \(\displaystyle \left\langle u_i'{\partial p'}/{\partial x_j}\right\rangle +\left\langle u_j'{\partial p'}/{\partial x_i}\right\rangle \) into pressure-strain (traceless) and pressure transport (diffusion) is used. The traceless part does not alter the TKE but acts to redistribute the energy between the components, thus driving turbulence towards the isotropic state (hence the term “pressure scrambling”). The non-uniqueness of decomposition of the pressure gradient–velocity covariance into pressure scrambling and pressure diffusion and the associated issues are briefly discussed in Mironov and Machulskaya (2017). The diagnostic algebraic equation for the temperature flux \(\left\langle u_i'\theta _l'\right\rangle \) reads

$$\begin{aligned}&- \left( \displaystyle \frac{2}{3} e \delta _{ik} + a_{ik} \right) \displaystyle \frac{\partial \left\langle \theta _l\right\rangle }{\partial x_k} - \left( S_{ik} + W_{ik} \right) \left\langle {u}_k'\theta _l'\right\rangle + \beta _{i} \left\langle \theta _l'\theta _v'\right\rangle \nonumber \\&\quad -\,\left\langle \theta _l'\frac{\partial p'}{\partial x_i} \right\rangle - \epsilon _{\theta i} = 0, \end{aligned}$$
(8)

where \(\epsilon _{\theta i}\) is the temperature-flux dissipation rate. Equation for the humidity flux \(\left\langle u_i'q_t'\right\rangle \) is obtained from Eq. 8 by replacing \(\theta _l\) with \(q_t\).

The following parametrizations of the pressure-scrambling terms in Eqs. 7 and 8 are used that are linear in the second-order moments,

$$\begin{aligned}&- \left\langle p' \left( \frac{\partial u_i'}{\partial x_j}+ \frac{\partial u_j'}{\partial x_i}\right) \right\rangle = C^{u}_{t} \displaystyle \frac{a_{ij}}{\tau _{\epsilon }} - C^{u}_{s1} S_{ij} e \nonumber \\&\quad -\, C^{u}_{s2}\left( S_{ik}a_{kj}+S_{jk}a_{ki}-\displaystyle \frac{2}{3}\delta _{ij}S_{kl}a_{kl} \right) - C^{u}_{s3}\left( W_{ik}a_{kj}+W_{jk}a_{ki}\right) \nonumber \\&\quad +\, C^{u}_{b}\left( \beta _{i}\left\langle u_j'\theta _v'\right\rangle + \beta _{j}\left\langle u_i'\theta _v'\right\rangle -\displaystyle \frac{2}{3}\delta _{ij}\beta _k\left\langle u_k'\theta _v'\right\rangle \right) , \end{aligned}$$
(9)
$$\begin{aligned}&\left\langle \theta _l'\frac{\partial p'}{\partial x_i} \right\rangle = C^{\theta }_{t} \displaystyle \frac{\left\langle u_i'\theta _l'\right\rangle }{\tau _{\epsilon }} - \left( C^{\theta }_{s1} S_{ij} + C^{\theta }_{s2} W_{ij} \right) \left\langle u_j'\theta _l'\right\rangle + C^{\theta }_{b} \beta _i \left\langle \theta _l'\theta _v'\right\rangle . \end{aligned}$$
(10)

The expression for the pressure-scrambling term \(\left\langle q_t'{\partial p'}/{\partial x_i} \right\rangle \) in the humidity-flux equation is obtained from Eq. 10 by replacing \(\theta _l\) with \(q_t\). It is significant that the use of linear formulations of the pressure-scrambling terms yields a linear equation system for the Reynolds-stress and scalar-flux components. The following estimates of dimensionless constants are used: \(C^{u}_{t}=1.8\), \(C^{u}_{s1}=4/5\), \(C^{u}_{s2}=3/5\), \(C^{u}_{s3}=13/15\), \(C^{u}_{b}=3/10\), \(C^{\theta }_{t}=5.0\), \(C^{\theta }_{s1}=3/5\), \(C^{\theta }_{s2}=1\), and \(C^{\theta }_{b}=1/3\). The constants \(C^{q}_{t}\), \(C^{q}_{s1}\), \(C^{q}_{s2}\), and \(C^{q}_{b}\) in the humidity-flux equation are set equal to the respective constants in the temperature-flux equation. A detailed consideration of disposable constants and parameters of the TKESV scheme is presented in Mironov and Machulskaya (2017).

The deviatoric part of the Reynolds-stress dissipation rate \(\epsilon ^d_{ij}\) and the temperature-flux dissipation rate \(\epsilon _{\theta i}\) (similar for the humidity-flux dissipation rate \(\epsilon _{qi}\)) are incorporated into the return-to-isotropy parts of the respective pressure-scrambling terms, the first terms on the r.h.s. of Eqs. 9 and 10, respectively.

The TKE dissipation time scale is expressed in terms of the TKE e and the turbulence length scale l as

$$\begin{aligned} \tau _{\epsilon } = \frac{1}{C_{\epsilon }}\frac{l}{e^{1/2}}, \end{aligned}$$
(11)

where \(C_{\epsilon }\) is a dimensionless constant. The turbulence length scale is computed through a Blackadar-type interpolation formula (Blackadar 1962) which includes a correction term due to stable density stratification (e.g., Stull 1973; Zeman and Tennekes 1977), or through a more advanced non-local formulation (e.g., Bougeault and Lacarrère 1989), see Mironov and Machulskaya (2017) for details. The buoyancy terms (the terms with \(\beta _i\)) in Eqs. 2 and 710 are parametrized with due regard for the presence of cloud condensate. The problem essentially amounts to modelling the virtual potential-temperature flux \(\left\langle u_i'\theta _v' \right\rangle \) and the scalar–virtual-potential-temperature covariances, \(\left\langle \theta _l'\theta _v'\right\rangle \) and \(\left\langle q_t'\theta _v'\right\rangle \), in terms of other moments that include fluctuations of \(u_i\), \(\theta _l\), and \(q_t\) (but not of \(q_l\) that enters the definition of \(\theta _v\)). The following formulation is used within the framework of the TKESV scheme,

$$\begin{aligned} \left\langle f'\theta _v'\right\rangle= & {} \left[ 1+\left( R-1\right) \left\langle q_t\right\rangle -R\left\langle q_l\right\rangle \right] \left\langle f'\theta _l'\right\rangle + \left( R-1\right) \left\langle \theta \right\rangle \left\langle f'q_t'\right\rangle \nonumber \\&+\,\hat{\mathcal {R}} \left[ -\frac{\mathcal {A}\mathcal {P}}{\mathcal {Q}} \left\langle f'\theta _l'\right\rangle + \frac{\mathcal {A}}{\mathcal {Q}} \left\langle f'q_t'\right\rangle \right] , \end{aligned}$$
(12)

where a generic variable f stands for \(u_i\), \(\theta _l\), or \(q_t\). In Eq. 12, \(R={R_v}/{R_d}\), \(\displaystyle \mathcal {A}=\frac{\left\langle \theta \right\rangle }{\left\langle T\right\rangle }\frac{L_v}{c_p} \left[ 1 + \left( R-1\right) \left\langle q_t\right\rangle - R\left\langle q_l\right\rangle \right] - R\left\langle \theta \right\rangle \), \(\displaystyle \mathcal {P}=\frac{\left\langle T\right\rangle }{\left\langle \theta \right\rangle }\left\langle q_{sl,T}\right\rangle \), \(\displaystyle \mathcal {Q}=1+\frac{L_v}{c_p}\left\langle q_{sl,T}\right\rangle \), and \(\displaystyle \left\langle q_{sl,T}\right\rangle \equiv \left. \frac{\partial q_s}{\partial T}\right| _{T=\left\langle T_l\right\rangle }\), \(T_l\) being the liquid water absolute temperature, is computed from the Clausius–Clapeyron equation, \(\displaystyle \frac{\partial q_s}{\partial T}=\frac{L_vq_s}{R_vT^2}\). The variable \(\hat{\mathcal {R}}\) satisfies \(0\le \hat{\mathcal {R}}\le 1\). Equation 12 interpolates between the “dry” limit (\(\hat{\mathcal {R}}=0\)), where a given grid box of a host atmospheric model is cloud-free (but the water vapour may be present), and the “wet” limit (\(\hat{\mathcal {R}}=1\)), where the entire atmospheric-model grid box is saturated (i.e., \(q_l=q_t-q_s>0\) at each point of the grid box). The interpolation variable \(\hat{\mathcal {R}}\) is related to the fractional cloud cover \(\hat{\mathcal {C}}\) which is determined with the aid of a statistical cloud scheme. In the stratus and stratocumulus regimes, \(\hat{\mathcal {R}}\) may be set equal to \(\hat{\mathcal {C}}\). In the cumulus regime, highly localized cumulus clouds account for much of the buoyancy terms in the Reynolds-stress, scalar-flux and TKE equations, although the fractional cloud cover is typically small. Then, \(\hat{\mathcal {R}}\) should be (considerably) larger than \(\hat{\mathcal {C}}\).

A comprehensive discussion of various issues related to the parametrization of clouds and cloud–turbulence interaction in atmospheric models is beyond the scope of the present paper. Readers are referred to Sommeria and Deardorff (1977), Golaz et al. (2002), Tompkins (2003, 2005), Machulskaya (2015), and Larson (2017). Essential for the present discussion is the fact that the covariances \(\left\langle u_i'\theta _v'\right\rangle \), \(\left\langle \theta _l'\theta _v'\right\rangle \) and \(\left\langle q_t'\theta _v'\right\rangle \) are expressed as linear combinations of \(\left\langle u_i'\theta _l'\right\rangle \) and \(\left\langle u_i'q_t'\right\rangle \), \(\left\langle \theta _l'^2\right\rangle \) and \(\left\langle \theta _l'q_t'\right\rangle \), and \(\left\langle q_t'^2\right\rangle \) and \(\left\langle \theta _l'q_t'\right\rangle \), respectively, using Eq. 12.

3 Algebraic Reynolds-Stress and Scalar-Flux Equations

A simplification typically made in geophysical applications is the so-called boundary-layer approximation. This approximation is fairly accurate for large-scale and mesoscale atmospheric models whose grid-box aspect ratio (the ratio of the horizontal grid size to the vertical grid size) is large. Within the framework of the boundary-layer approximation, all derivatives in the \(x_1\) and \(x_2\) horizontal directions in the second-moment equations are neglected and the grid-box mean vertical velocity \(\left\langle u_3\right\rangle \) is zero in the second-moment equations (but not in the equations for the mean fields). The equations become one-dimensional, i.e., the flow variables depend on the \(x_3\) vertical coordinate only.

Substituting parametrizations of the pressure-scrambling terms (9) and (10) into Eqs. 7 and 8, respectively, and applying the boundary-layer approximation, we obtain the following algebraic equations for the departure-from-isotropy tensor (and hence for the Reynolds stress) and for the scalar fluxes,

$$\begin{aligned}&\displaystyle C^{u}_{t} \frac{a_{ij}}{\tau _{\epsilon }} + \left( 1-C^{u}_{s2}\right) \left( a_{ik}S_{jk} + a_{jk}S_{ik} - \displaystyle \frac{2}{3}\delta _{ij} a_{kl}S_{kl} \right) \nonumber \\&\qquad +\,\left( 1-C^{u}_{s3}\right) \left( a_{ik}W_{jk} + a_{jk}W_{ik} \right) \nonumber \\&\qquad -\,\left( 1-C^{u}_{b}\right) \left( \delta _{i3} \beta _{3} \left\langle u_j'\theta _v' \right\rangle + \delta _{j3}\beta _{3}\left\langle u_i'\theta _v' \right\rangle - \displaystyle \frac{2}{3}\delta _{ij} \beta _{3} \left\langle u_3'\theta _v' \right\rangle \right) \nonumber \\&\quad = - \displaystyle \left( \frac{4}{3} - C^{u}_{s1} \right) e S_{ij}, \end{aligned}$$
(13)
$$\begin{aligned}&\displaystyle C^{\theta }_{t} \frac{\left\langle {u}_i'\theta _l'\right\rangle }{\tau _{\epsilon }} + a_{i3} \frac{\partial \left\langle \theta _l\right\rangle }{\partial x_3} + \left[ \left( 1-C^{\theta }_{s1}\right) S_{ik} + \left( 1-C^{\theta }_{s2}\right) W_{ik} \right] \left\langle {u}_k'\theta _l'\right\rangle \nonumber \\&\quad \displaystyle = - \displaystyle \frac{2}{3} e \delta _{i3} \frac{\partial \left\langle \theta _l\right\rangle }{\partial x_3} + \left( 1-C^{\theta }_{b}\right) \delta _{i3}\beta _{3} \left\langle \theta _l'\theta _v'\right\rangle , \end{aligned}$$
(14)
$$\begin{aligned}&C^{q}_{t} \frac{\left\langle {u}_i'q_t'\right\rangle }{\tau _{\epsilon }} + \displaystyle a_{i3} \frac{\partial \left\langle q_t\right\rangle }{\partial x_3} + \left[ \left( 1-C^{q}_{s1}\right) S_{ik} + \left( 1-C^{q}_{s2}\right) W_{ik} \right] \left\langle {u}_k'q_t'\right\rangle \nonumber \\&\quad \displaystyle = - \frac{2}{3} e \delta _{i3} \frac{\partial \left\langle q_t\right\rangle }{\partial x_3} + \left( 1-C^{q}_{b}\right) \delta _{i3}\beta _{3} \left\langle q_t'\theta _v'\right\rangle . \end{aligned}$$
(15)

The estimates of dimensionless constants are given in Sect. 2. Within the framework of the boundary-layer approximation, \(S_{13}=S_{31}=W_{13}=-W_{31}=\frac{1}{2}\partial \left\langle u_1\right\rangle /\partial x_3\), \(S_{23}=S_{32}=W_{23}=-W_{32}=\frac{1}{2}\partial \left\langle u_2\right\rangle /\partial x_3\), and other components of \(S_{ij}\) and \(W_{ij}\) are zero. The vertical \(x_3\) axis is taken to be aligned with the vector of gravity, so that the only non-zero component of the buoyancy parameter is \(\beta _3\), which is denoted by \(\beta \) in what follows.

Equations 1315 constitute a system of 12 linear equations for the components of \(a_{ij}\) (six independent components), of \(\left\langle u_i'\theta _l'\right\rangle \) (three independent components), and of \(\left\langle u_i'q_t'\right\rangle \) (three independent components). This linear system is readily solved, yielding explicit expressions for the Reynolds stress and scalar fluxes. Unfortunately, the solution to Eqs. 1315 is non-realizable. That is, it yields physically meaningless values of \(a_{ij}\) (and hence of \(\displaystyle \left\langle u_i'u_j'\right\rangle \)), \(\left\langle u_i'\theta _l'\right\rangle \), and \(\left\langle u_i'q_t'\right\rangle \), such as negative velocity variances or infinite scalar fluxes, over a certain range of governing parameters.

Note that the term “realizability” is used in a somewhat loose sense throughout much of the paper. Basically efforts are mounted to make sure that the quantities, which must be non-negative and finite by definition (e.g., velocity and scalar variances), remain non-negative and finite. In Sect. 9, the notion of realizability is defined in a mathematically more rigorous way within the framework of the moments problem of the probability theory.

4 The Stability Functions

The system of linear equations 1315 yields explicit expressions for the Reynolds-stress and scalar-flux components. The solutions for \(\left\langle u_3'u_1'\right\rangle \) and \(\left\langle u_3'u_2'\right\rangle \) (components of the vertical flux of horizontal momentum) have the following down-gradient form,

$$\begin{aligned} \displaystyle \left\langle u_3'u_1'\right\rangle= & {} - \mathcal {F}_{\mathrm {M}} \tau _{\epsilon } e \frac{\partial \left\langle u_1\right\rangle }{\partial x_3}, \end{aligned}$$
(16a)
$$\begin{aligned} \displaystyle \left\langle u_3'u_2'\right\rangle= & {} - \mathcal {F}_{\mathrm {M}} \tau _{\epsilon } e \frac{\partial \left\langle u_2\right\rangle }{\partial x_3}. \end{aligned}$$
(16b)

The solutions for the vertical scalar fluxes contain both the down-gradient terms and the non-gradient terms that describe the generation of scalar fluxes by buoyancy,

$$\begin{aligned} \displaystyle \left\langle u_3'\theta _l'\right\rangle= & {} - \mathcal {F}_{\mathrm {H}1} \tau _{\epsilon } e \frac{\partial \left\langle \theta _l\right\rangle }{\partial x_3} + \mathcal {F}_{\mathrm {H}2} \tau _{\epsilon } \beta \left\langle \theta _l'\theta _v'\right\rangle , \end{aligned}$$
(17)
$$\begin{aligned} \displaystyle \left\langle u_3'q_t'\right\rangle= & {} - \mathcal {F}_{\mathrm {H}1} \tau _{\epsilon } e \frac{\partial \left\langle q_t\right\rangle }{\partial x_3} + \mathcal {F}_{\mathrm {H}2} \tau _{\epsilon } \beta \left\langle q_t'\theta _v'\right\rangle . \end{aligned}$$
(18)

The quantities \(\mathcal {F}_{\mathrm {M}}\), \(\mathcal {F}_{\mathrm {H}1}\), and \(\mathcal {F}_{\mathrm {H}2}\) are referred to as the stability functions (Mellor and Yamada 1974). It should be emphasized at once that the stability functions are merely the notation introduced to represent the formulations of fluxes in a compact form. Basically, \(\mathcal {F}_{\mathrm {M}}\), \(\mathcal {F}_{\mathrm {H}1}\), and \(\mathcal {F}_{\mathrm {H}2}\) reflect the parametrization assumptions invoked to arrive at the algebraic Reynolds-stress and scalar-flux equations, first of all, the parametrizations of the pressure-scrambling terms.

The functions \(\mathcal {F}_{\mathrm {M}}\) and \(\mathcal {F}_{\mathrm {H}1}\) that appear in the down-gradient terms in Eqs. 1618 depend on three dimensionless governing parameters. These are the squared dimensionless shear \(\left( \tau _{\epsilon }S\right) ^{2}\), the squared dimensionless buoyancy frequency \(\left( \tau _{\epsilon }N\right) ^{2}\), and the potential to kinetic energy ratio P/e. The stability function \(\mathcal {F}_{\mathrm {H}2}\) that appears in the non-gradient terms in Eqs. 17 and 18 depends on \(\left( \tau _{\epsilon }S\right) ^{2}\) and \(\left( \tau _{\epsilon }N\right) ^{2}\) but does not depend on P/e. Here, \(S^2\), \(N^2\), and P are given by

$$\begin{aligned} S^2= & {} \left( \frac{\partial \left\langle u_1\right\rangle }{\partial x_3}\right) ^2 + \left( \frac{\partial \left\langle u_2\right\rangle }{\partial x_3}\right) ^2, \end{aligned}$$
(19)
$$\begin{aligned} N^2= & {} \beta \left( \mathcal {I}_{\theta } \frac{\partial \left\langle \theta _l\right\rangle }{\partial x_3} + \mathcal {I}_{q} \frac{\partial \left\langle q_t\right\rangle }{\partial x_3} \right) , \end{aligned}$$
(20)
$$\begin{aligned} P= & {} \tau _{\epsilon }^{2}\beta ^{2} \left[ \mathcal {I}_{\theta } \left( \mathcal {I}_{\theta }\left\langle \theta _l'^2\right\rangle +\mathcal {I}_{q}\left\langle \theta _l'q_t'\right\rangle \right) + \mathcal {I}_{q} \left( \mathcal {I}_{\theta }\left\langle \theta _l'q_t'\right\rangle +\mathcal {I}_{q}\left\langle q_t'^2\right\rangle \right) \right] , \end{aligned}$$
(21)
$$\begin{aligned} \mathcal {I}_{\theta }= & {} 1+\left( R-1\right) \left\langle q_t\right\rangle -R\left\langle q_l\right\rangle - \hat{\mathcal {R}}\frac{\mathcal {A}\mathcal {P}}{\mathcal {Q}}, \end{aligned}$$
(22a)
$$\begin{aligned} \mathcal {I}_{q}= & {} \left( R-1\right) \left\langle \theta \right\rangle + \hat{\mathcal {R}}\frac{\mathcal {A}}{\mathcal {Q}}, \end{aligned}$$
(22b)

where \(\mathcal {A}\), \(\mathcal {P}\), \(\mathcal {Q}\) and \(\hat{\mathcal {R}}\) are defined in Sect. 2. The thermodynamic factors \(\mathcal {I}_{\theta }\) and \(\mathcal {I}_{q}\) weigh the relative contributions of the two scalars to \(N^2\) and P. The quantity P characterizes potential energy of the turbulent flow and may be referred to as the turbulence potential energy. Other definitions of TPE have also been used in the analyses of atmospheric turbulence. A brief discussion is given in Appendix 1. Instead of \(\left( \tau _{\epsilon }S\right) ^{2}\) and \(\left( \tau _{\epsilon }N\right) ^{2}\), the stability functions can be presented in terms of \(\left( \tau _{\epsilon }S\right) ^{2}\) [or \(\left( \tau _{\epsilon }N\right) ^{2}\)] and the gradient Richardson number \(Ri=N^2/S^2\).

The stability functions in (16)–(18) that result from the solution of Eqs. 1315 are ill-behaved over a certain range of governing parameters. Figure 1 shows \(\mathcal {F}_{\mathrm {M}}\) and \(\mathcal {F}_{\mathrm {H}1}\) as dependent on Ri and \(\left( \tau _{\epsilon }S\right) ^{2}\) at a fixed value of P/e. As seen from the figure, the stability functions have physically meaningless values, i.e., they tend to infinity or become negative over a part of their parameter space. The scalar-flux stability function \(\mathcal {F}_{\mathrm {H}2}\) (not shown) reveals qualitatively similar ill behaviour as \(\mathcal {F}_{\mathrm {H}1}\). The expressions of \(\mathcal {F}_{\mathrm {M}}\), \(\mathcal {F}_{\mathrm {H}1}\), and \(\mathcal {F}_{\mathrm {H}2}\) are rather lengthy and are not presented here. However, those expressions are drastically simplified in the case of shear-free (and rotation-free) flow, and the ill behaviour of the stability functions can be easily demonstrated analytically. The analysis is presented in Appendix 2. The full linear algebraic system of equations for the Reynolds-stress and scalar-flux components (12 equations for the TKESV scheme) was solved using symbolic algebra software. [The resulting expressions can be received from the first author upon request.]

Fig. 1
figure 1

The momentum-flux \(\mathcal {F}_{\mathrm {M}}\) and the scalar-flux \(\mathcal {F}_{\mathrm {H}1}\) stability functions of the TKESV scheme as dependent on Ri and \(\left( \tau _{\epsilon }S\right) ^{2}\) at a fixed value of \(P/e=5\). The functions are computed with the estimates of dimensionless constants given in Sect. 2. The values of \(\mathcal {F}_{\mathrm {M}}\) and \(\mathcal {F}_{\mathrm {H}1}\) are indicated by the colour scale. The white area is a part of the parameter space where the stability functions are negative

In order to obtain the Reynolds-stress and scalar-flux formulations that remain in force over the entire parameter space, the stability functions should be modified (regularized) in one way or the other. A straightforward approach is to simply impose the upper and lower bounds on the stability functions themselves. Alternatively, constraints may be imposed on the arguments, e.g., on \(\left( \tau _{\epsilon }S\right) ^{2}\) and \(\left( \tau _{\epsilon }N\right) ^{2}\), so that the stability functions cannot become infinite or negative (see, e.g., Mellor and Yamada 1982; Hassid and Galperin 1994). These methods applied within the framework of a one-equation TKE scheme may lead to either the model blow-up or to physically implausible solutions (Helfand and Labraga 1988). One more method is to replace the ill-behaved stability functions with more simple functions that reveal no pathological behaviour. For example, the stability functions of the algebraic turbulence parametrization scheme (level 2), where all second-moment equations, including the TKE equation, are reduced to the diagnostic algebraic formulations, are well-behaved over their entire parameter space. The use of the algebraic-scheme stability functions within the one-equation TKE scheme yields regular solutions. However, an arbitrary replacement of stability functions makes the resulting scheme internally inconsistent. Furthermore, with the level-2 stability functions, the adjustment of the TKE towards the production–dissipation equilibrium state would occur on too short a time scale. In other words, turbulence would respond too quickly to changes in the shear and buoyancy forcing. A more detailed discussion of the above (and some other) regularization methods is given in Helfand and Labraga (1988), see also Hanjalić and Launder (2011) and Lazeroms et al. (2013, 2015).

5 Regularization Procedure of Helfand and Labraga

An appealing way to tackle the problem was proposed by Helfand and Labraga (1988), see also du Vachat (1989) and Helfand and Labraga (1989). These authors analyzed the stability functions of the level-2.5 scheme (one-equation TKE scheme). They considered dry atmosphere, where \(\theta \) is the only thermodynamic variable that affects buoyancy. As the subsequent analysis of the TKESV scheme is for the moist air, we consider the moist level-2.5 scheme, using thermodynamic variables \(\theta _l\) and \(q_t\).

Within the framework of the level-2.5 scheme, the scalar-variance and scalar-covariance transport equations are truncated to the diagnostic expressions reflecting the steady-state local balance between the mean-gradient production and the dissipation. The vertical scalar fluxes are given by the following down-gradient formulations,

$$\begin{aligned} \displaystyle \left\langle u_3'\theta _l'\right\rangle= & {} - \mathcal {F}_{\mathrm {H}}^{2.5} \tau _{\epsilon } e \frac{\partial \left\langle \theta _l\right\rangle }{\partial x_3}, \end{aligned}$$
(23a)
$$\begin{aligned} \left\langle u_3'q_t'\right\rangle= & {} - \mathcal {F}_{\mathrm {H}}^{2.5} \tau _{\epsilon } e \frac{\partial \left\langle q_t\right\rangle }{\partial x_3}, \end{aligned}$$
(23b)

where \(\mathcal {F}_{\mathrm {H}}^{2.5}\) is the level-2.5 scalar-flux stability function. The momentum-flux components \(\left\langle u_3'u_1'\right\rangle \) and \(\left\langle u_3'u_2'\right\rangle \) are given by Eqs. 16, where \(\mathcal {F}_{\mathrm {M}}\) is replaced with the level-2.5 stability function \(\mathcal {F}_{\mathrm {M}}^{2.5}\). The level-2.5 stability functions depend on \(\left( \tau _{\epsilon }S\right) ^{2}\) and \(\left( \tau _{\epsilon }N\right) ^{2}\), or, alternatively, on \(\left( \tau _{\epsilon }S\right) ^{2}\) [or \(\left( \tau _{\epsilon }N\right) ^{2}\)] and Ri. The level-2.5 functions suffer from the same deficiencies as the level-3 functions, i.e., they are ill-behaved over a part of their parameter space (Appendix 2).

Helfand and Labraga (1988) recast the functions \(\mathcal {F}_{\mathrm {M}}^{2.5}\left( Ri, \tau _{\epsilon }^{2}S^{2} \right) \) and \(\mathcal {F}_{\mathrm {H}}^{2.5}\left( Ri, \tau _{\epsilon }^{2}S^{2} \right) \) in terms of Ri and the ratio \(e/e_e\) of the actual TKE \(e=e_{2.5}\) of the level-2.5 scheme (hence the subscript) to the equilibrium value of the TKE \(e_{e}=e_{2}\) of the level-2 scheme. In order to change the variables \(\left( Ri, \tau _{\epsilon }^{2}S^{2} \right) \) to the variables \(\left( Ri, e/e_e\right) \), the equality \(\tau _{\epsilon }^{2}S^{2}= \left( \tau _{\epsilon }/\tau _{\epsilon e}\right) ^2\tau _{\epsilon e}^{2}S^{2}= \left( e_e/e\right) \tau _{\epsilon e}^{2}S^{2}\) is used, where \(\tau _{\epsilon e}\) is the equilibrium TKE dissipation time scale, i.e., \(\tau _{\epsilon }\) computed with \(e_e\) (see Eq. 11). The value of \(\tau _{\epsilon e}^{2}S^{2}\) for a given Ri is found by solving the equilibrium TKE equation of the level-2 scheme, which is a quadratic equation in \(\tau _{\epsilon e}^{2}S^{2}\). Since the stability functions \(\mathcal {F}_{\mathrm {M}}^{2}\left( Ri\right) \) and \(\mathcal {F}_{\mathrm {H}}^{2}\left( Ri\right) \) are well-behaved over their entire parameter space (any value of Ri), a physically meaningful solution can always be found. Helfand and Labraga (1988) noticed that \(\mathcal {F}_{\mathrm {M}}^{2.5}\) and \(\mathcal {F}_{\mathrm {H}}^{2.5}\) become pathological in the case of growing turbulence, \(e/e_e=e_{2.5}/e_2<1\), where the TKE production (locally) dominates over the TKE dissipation. Figure 2 illustrates the pathological behaviour of the level-2.5 stability functions on the \(Ri\times e_{2.5}/e_2\) plane. Note that \(\mathcal {F}_{\mathrm {M}}^{2.5}\) and \(\mathcal {F}_{\mathrm {H}}^{2.5}\) are computed with the estimates of dimensionless constants given in Sect. 2, which are somewhat different from the estimates used by Helfand and Labraga (1988). This difference does not appreciably affect the result; Fig. 2 of the present paper and Figs. 8 and 9 of Helfand and Labraga (1988) are very similar both qualitatively and quantitatively [within a factor of \(2^{1/2}C_{\epsilon }\) since the expression for fluxes are cast in terms of \(l(2e)^{1/2}\) in op. cit. and in terms of \(\tau _{\epsilon }e\) in the present paper]. As seen from Fig. 2, \(\mathcal {F}_{\mathrm {M}}^{2.5}\) and \(\mathcal {F}_{\mathrm {H}}^{2.5}\) are well-behaved in the case of equilibrium or decaying turbulence, \(e/e_e\ge 1\), but become pathological at \(e/e_e<1\) (a brief explanation of this behaviour in the regime of shear-free convection is given in Appendix 2).

Fig. 2
figure 2

The stability functions of the level-2.5 scheme as dependent on Ri and \(e_{2.5}/e_{2}\). The values of \(\mathcal {F}_{\mathrm {M}}^{2.5}\) and \(\mathcal {F}_{\mathrm {H}}^{2.5}\) are indicated by the colour scale. The white area is a part of the parameter space where the stability functions are negative

The failure of the level-2.5 scheme is attributed to the closure assumptions used to develop the scheme, namely, (i) the neglect of the substantial derivative and the third-order transport (diffusion) of the Reynolds stress, scalar fluxes, and scalar variances and covariance, and (ii) the use of simplified linear parametrizations of the pressure-scrambling terms in the Reynolds-stress and scalar-flux equations. These closure assumptions are valid for the flows where turbulence is not far from the stationary, homogeneous, and isotropic state. Helfand and Labraga (1988) argue that it is precisely in the regime of growing TKE, where \(e/e_e<1\), that the turbulence becomes strongly anisotropic (also non-stationary and non-homogeneous) and the above assumptions are too crude, leading to the ill behaviour of the stability functions and to malfunctioning of the turbulence closure scheme. In order to remedy the situation, Helfand and Labraga proposed to account, in an approximate way, for the effects of time rate-of-change, advection and diffusion in those truncated second-moment equations in which these effects have been neglected. In other words, the idea is to restore to the second-moment equations some information that has been lost because of truncation. The following approximation was proposed,

$$\begin{aligned} \displaystyle \frac{\mathrm{d}\mathcal {M}/\mathrm{d}t+\mathcal {D}_\mathcal {M}}{\mathcal {G}_\mathcal {M}} = \frac{\mathrm{d}e/\mathrm{d}t+\mathcal {D}_e}{\mathcal {G}_e}. \end{aligned}$$
(24)

Here, \(\mathcal {M}\) stands for (component of) the Reynolds stress, (component of) the scalar flux, and (within the framework of the level-2.5 scheme) the scalar variances and covariance, \(\mathrm{d}/\mathrm{d}t\) is the substantial derivative that coincides with \(\partial /\partial t\) within the framework of the boundary-layer approximation, \(\mathcal {D}\) is the diffusion rate of the respective second-order moment, and \(\mathcal {G}\) is its production (generation) rate. The production rate \(\mathcal {G}_\mathcal {M}\) includes the terms due to mean velocity shear and buoyancy (in the Reynolds-stress and scalar-flux equations), and due to mean scalar gradients (in the scalar-flux, scalar-variance, and scalar-covariance equations). It should be mentioned that, within the framework of the Helfand and Labraga approach, the production rate is defined with due regard for the rapid parts of the pressure-scrambling terms (all but the first terms on the r.h.s. of Eqs. 9 and 10). Equation 24 states that the ratio of the tendency of the second-order moment \(\mathcal {M}\) due to \(\mathrm{d}/\mathrm{d}t\) and \(\mathcal {D}\) to the production rate of \(\mathcal {M}\) is the same as the respective ratio for the TKE.

Some comments on the validity of Eq. 24 are in order. Equation 24 is obviously exact in the regime of production–destruction equilibrium. In this regime, the production rate of any moment \(\mathcal {M}\), including the TKE, is balanced by the destruction rate of \(\mathcal {M}\) due to return-to-isotropy (\(\mathcal {M}\) stands for the Reynolds stress or scalar flux) or viscous dissipation (\(\mathcal {M}\) stands for the scalar variance, scalar covariance, or TKE). In the regime of production–destruction equilibrium, both the r.h.s. and the left-hand side (l.h.s.) of Eq. 24 are zero. Equation 24 is also valid asymptotically if the production rate of the moment \(\mathcal {M}\) strongly dominates over its destruction rate, and the same holds for the TKE. A transport equation for \(\mathcal {M}\) can be written in the following form,

$$\begin{aligned} \displaystyle \frac{\mathrm{d}\mathcal {M}/\mathrm{d}t+\mathcal {D}_\mathcal {M}}{\mathcal {G}_\mathcal {M}} = 1 - \frac{\epsilon _\mathcal {M}}{\mathcal {G}_\mathcal {M}}, \end{aligned}$$
(25)

where \(\epsilon _\mathcal {M}\) denotes the destruction rate of the moment \(\mathcal {M}\). The r.h.s. of Eq. 25 approaches one as the ratio \(\epsilon _\mathcal {M}/\mathcal {G}_\mathcal {M}\) tends to zero. If the ratio \(\epsilon /\mathcal {G}_{e}\) for the TKE also tends to zero, both the r.h.s. and the l.h.s. of Eq. 24 approach one. In the real-world flows, this never holds exactly. However, \(\epsilon _\mathcal {M}/\mathcal {G}_\mathcal {M}\ll 1\) may hold approximately following a rapid increase of forcing (by mean scalar gradient, mean velocity shear, or buoyancy), i.e., precisely in the regime of growing turbulence.

Using Eq. 24, the truncated, algebraic equations of the level-2.5 scheme can be modified to approximately account for (mimic) the effects of the time rate-of-change and turbulent diffusion. To this end, approximations \({\mathrm{d}\mathcal {M}/\mathrm{d}t+\mathcal {D}_\mathcal {M}}=\alpha _e{\mathcal {G}_\mathcal {M}}\), where \(\alpha _e=\left( \mathrm{d}e/\mathrm{d}t+\mathcal {D}_e\right) /\mathcal {G}_e\) is known from the solution of the TKE equation, are added to the truncated algebraic equations. In substance, these modifications amount to multiplying the production terms in the Reynolds-stress and scalar-flux equations (all but the first terms on the l.h.s. of Eqs. 1315) and in the scalar-variance and scalar-covariance equations (the first two terms on the r.h.s. of Eq. 3) by a factor \(1-\alpha _e\). With due regard to the definition of \(\alpha _e\), the one-dimensional TKE equation is written as

$$\begin{aligned} \displaystyle - \left( 1-\alpha _e\right) \left[ \left\langle {u}_3'u_1'\right\rangle \frac{\partial \left\langle u_1\right\rangle }{\partial x_3} + \left\langle {u}_3'u_2'\right\rangle \frac{\partial \left\langle u_2\right\rangle }{\partial x_3} - \beta \left\langle u_3'\theta _v'\right\rangle \right] - \frac{e}{\tau _{\epsilon }} = 0. \end{aligned}$$
(26)

The resulting system of the second-moment equations remains algebraic and linear in the Reynolds stress and scalar fluxes. Its solution (see Helfand and Labraga 1988, for details) yields the down-gradient formulations of the vertical momentum and scalar fluxes, Eqs. 16 and 23, with the following expressions of the stability functions of the regularized level-2.5 scheme,

$$\begin{aligned} \displaystyle \mathcal {F}_{\mathrm {M}{\mathrm {r}}}^{2.5}= & {} \left( \frac{e_{2.5}}{e_{2}}\right) ^{1/2} \mathcal {F}_{\mathrm {M}}^{2}, \end{aligned}$$
(27a)
$$\begin{aligned} \mathcal {F}_{\mathrm {H}{\mathrm {r}}}^{2.5}= & {} \left( \frac{e_{2.5}}{e_{2}}\right) ^{1/2} \mathcal {F}_{\mathrm {H}}^{2}, \end{aligned}$$
(27b)

where the subscript “r” indicates the modified (regularized) stability functions. The regularized functions given by Eq. 27 are used in the regime of growing turbulence, where the actual value of TKE \(e_{2.5}\) of the level-2.5 scheme is less than the equilibrium TKE \(e_2\) of the level-2 scheme. In the regime of equilibrium or decaying turbulence, the original, non-modified stability functions of the level-2.5 scheme are used that are well-behaved at \(e_{2.5}/e_2\ge 1\) and pose no problem. Note that matching of regularized and non-regularized stability functions is smooth since \(\mathcal {F}_{\mathrm {M}}^{2.5} = \mathcal {F}_{\mathrm {M}{\mathrm {r}}}^{2.5}=\mathcal {F}_{\mathrm {M}}^{2}\) at \(e_{2.5}/e_2=1\) (similar for the scalar-flux stability functions). Recall that the stability functions \(\mathcal {F}_{\mathrm {M}}^{2}\) and \(\mathcal {F}_{\mathrm {H}}^{2}\) of the level-2 algebraic scheme are well-behaved over their entire parameter space. Figure 3 illustrates the regularized stability functions of the level-2.5 scheme that reveal no pathological behaviour.

Fig. 3
figure 3

The regularized stability functions of the level-2.5 scheme as dependent on Ri and \(e_{2.5}/e_{2}\). The values of \(\mathcal {F}_{\mathrm {Mr}}^{2.5}\) and \(\mathcal {F}_{\mathrm {Hr}}^{2.5}\) are indicated by the colour scale. In the case of growing turbulence, \(e_{2.5}/e_{2}<1\), the stability functions are computed from Eq. 27

A note on the critical Richardson number is in order. The critical Richardson number \(Ri_{cr}\) is defined here as the value of Ri beyond which the shear-generated turbulence cannot be maintained against the destructive action of gravity, i.e., the TKE (as well as the TPE) is zero at \(Ri\ge Ri_{cr}\). The Richardson number is the local quantity, and any turbulence scheme that accounts for non-local effects in space (third-order transport) and/or time (non-stationarity) should be able to maintain turbulence at supercritical values of Ri. Clearly, there is no critical Richardson number within the framework of the level-2.5 scheme, where the effects of non-stationarity and third-order transport in the TKE equation are accounted for. This is different for the level-2 scheme, where the non-local effects are neglected, the turbulence energy is always in the equilibrium state, and a finite value of \(Ri_{cr}\) does exist. With the estimates of dimensionless constants given in Sect. 2, \(Ri_{cr}=0.96\) (cf. Cheng et al. 2002). As Ri approaches \(Ri_{cr}\), the equilibrium TKE \(e_2\) of the level-2 scheme approaches zero and so do the stability functions \(\mathcal {F}_{\mathrm {M}}^{2}\) and \(\mathcal {F}_{\mathrm {H}}^{2}\). At \(Ri\ge Ri_{cr}\), a non-trivial solution of the level-2 system does not exist. In this part of the domain, \(e_2=0\), \(e_{2.5}/e_2\ge 1\), and the original, non-regularized stability functions are applied (which are well-behaved there). Thin white stripes near the right margins of the plots in Figs. 2 and 3 merely indicate that \(\mathcal {F}_{\mathrm {M}}^{2.5}\) and \(\mathcal {F}_{\mathrm {H}}^{2.5}\) cannot be shown on the \(Ri\times e_{2.5}/e_2\) plane beyond the critical Richardson number of the level-2 scheme.

6 Regularized Stability Functions of the TKESV Scheme

The regularization method of Helfand and Labraga (1988) is now applied to the TKESV (level-3) scheme. Using Eq. 24, the Reynolds-stress and scalar-flux equations are modified, and the resulting system of algebraic equations for \(a_{ij}\), \(\left\langle u_i'\theta _l'\right\rangle \) and \(\left\langle u_i'q_t'\right\rangle \) is solved. In the general case of stratified shear flow, the derivations are cumbersome and are omitted here. The derivations for the shear-free flow are presented in Appendix 3. The following expressions of the stability functions in Eqs. 1618 are obtained,

$$\begin{aligned} \displaystyle \mathcal {F}_{\mathrm {M}{\mathrm {r}}}^{3}= & {} \left( \frac{e_{3}}{e_{2.{\mathrm {p}}}}\right) ^{1/2} \mathcal {F}_{\mathrm {M}}^{2.{\mathrm {p}}}, \end{aligned}$$
(28a)
$$\begin{aligned} \displaystyle \mathcal {F}_{\mathrm {H}1{\mathrm {r}}}^{3}= & {} \left( \frac{e_{3}}{e_{2.{\mathrm {p}}}}\right) ^{1/2} \mathcal {F}_{\mathrm {H}1}^{2.{\mathrm {p}}}, \end{aligned}$$
(28b)
$$\begin{aligned} \mathcal {F}_{\mathrm {H}2{\mathrm {r}}}^{3}= & {} \left( \frac{e_{3}}{e_{2.{\mathrm {p}}}}\right) ^{1/2} \mathcal {F}_{\mathrm {H}2}^{2.{\mathrm {p}}}, \end{aligned}$$
(28c)

where “3” refers to the level-3 (i.e., to the TKESV) scheme, and “r” indicates the regularized stability functions. The scheme referred to as “2.p” utilizes the equilibrium TKE equation but carries transport equations for the scalar variances and scalar covariance. That is, the TKE is determined diagnostically using the steady-state production–dissipation balance, whereas the scalar variances and covariance (and hence the TPE) are determined prognostically with due regard for the third-order turbulent transport.Footnote 2 The equilibrium TKE equation of the level-2.p scheme is cubic in \(e_e=e_{2.{\mathrm {p}}}\) (cf. the level-2 scheme, where the equilibrium TKE equation is quadratic in \(e_e=e_2\)).

Figure 4 shows the stability functions of the level-2.p scheme as dependent on Ri and \(\left\langle s'^2\right\rangle =P/\left[ e\left( \tau _{\epsilon }^2S^2\right) ^2\right] \), where \(\left\langle s'^2\right\rangle \) is the dimensionless TPE normalized so that it does not contain the TKE. The momentum-flux stability function \(\mathcal {F}_{\mathrm {M}}^{2.{\mathrm {p}}}\) is well-behaved over its entire parameter space. The scalar-flux functions \(\mathcal {F}_{\mathrm {H}1}^{2.{\mathrm {p}}}\) and \(\mathcal {F}_{\mathrm {H}2}^{2.{\mathrm {p}}}\) are also well-behaved over most of their parameter space, but they become pathological with strong static stability (large values of Ri) where the TKE is small. For most practical purposes, a simple clipping should be sufficient to remedy the situation.

Fig. 4
figure 4

The level-2.p stability functions on the \(Ri\times \left\langle s'^2\right\rangle \) plane (\(\left\langle s'^2\right\rangle \) is the dimensionless TPE defined in the text). The values of stability functions are indicated by the colour scale. Black line in \(\mathcal {F}_{\mathrm {H}1}^{2.{\mathrm {p}}}\) and \(\mathcal {F}_{\mathrm {H}2}^{2.{\mathrm {p}}}\) plots shows the equilibrium value of \(\left\langle s'^2\right\rangle \) as function of Ri, i.e., the TPE of the level-2 scheme

A more physically appealing remedy is based on the observation that the ill behaviour is caused by the factor

$$\begin{aligned} \displaystyle \mathcal {B} = 1 - C_{*} \tau _{\epsilon }^2 S^2 = 1 - \frac{C_{*}}{C_{\epsilon }^2}\frac{l^2 S^2}{e} \end{aligned}$$
(29)

that appears in the denominator of the expressions of both scalar-flux stability functions. Here, \(C_{*}\) is a dimensionless constant (a combination of model constants given in Sect. 2), and the second expression on the r.h.s. is obtained using (11). As the static stability becomes strong, the equilibrium e decreases, \(\tau _{\epsilon }\) increases, and \(\mathcal {B}\) eventually becomes negative, leading to the ill behaviour of \(\mathcal {F}_{\mathrm {H}1}^{2.{\mathrm {p}}}\) and \(\mathcal {F}_{\mathrm {H}2}^{2.{\mathrm {p}}}\). However, this happens only if the turbulence length scale l is taken to be independent of the density (buoyancy) stratification. This assumption is in fact unrealistic where the stratification is stable. In the TKESV scheme, a stability correction to the Blackadar-type interpolation formula for the turbulence length scale is used (e.g. Stull 1973; Zeman and Tennekes 1977). In the limit of strongly stable stratification, the length scale behaves as

$$\begin{aligned} \displaystyle l = C_{N} \frac{e^{1/2}}{N}, \end{aligned}$$
(30)

where \(C_{N}\) is a dimensionless constant of order 1. Note that an advanced non-local formulation of the length scale proposed by Bougeault and Lacarrère (1989) also accounts for the effect of stable density stratification on l; it reduces to Eq. 30 in a particular case of height-constant N. With due regard for (30), the expression of \(\mathcal {B}\) becomes

$$\begin{aligned} \displaystyle \mathcal {B} = 1 - \frac{C_{*} C_{N}^2}{C_{\epsilon }^2} Ri^{-1}. \end{aligned}$$
(31)

As the static stability increases, the second term on the r.h.s. of Eq. 31 decreases, \(\mathcal {B}\) remains positive, and no pathological behaviour of the scalar-flux stability functions takes place. Thus, it is necessary to use a stability-dependent formulation of the turbulence length (time) scale in order to ensure that the scalar-flux stability functions of the level-2.p scheme are well-behaved over their entire parameter space.

Figure 5 shows the original, non-modified stability functions \(\mathcal {F}_{\mathrm {M}}^{3}\) and \(\mathcal {F}_{\mathrm {H}1}^{3}\) of the level-3 scheme (\(\mathcal {F}_{\mathrm {H}2}^{3}\) is not shown) on the \(Ri\times e_{3}/e_{2.{\mathrm {p}}}\) plane at a fixed value of \(\left\langle s'^2\right\rangle =0.01\). Again, the stability functions are well-behaved in the case of equilibrium or decaying turbulence, but become pathological in the case of growing turbulence. Although the ill behaviour is only seen over a part of growing-turbulence domain, we apply the regularized functions at \(e_{3}/e_{2.{\mathrm {p}}}<1\). In order to apply the regularized stability functions over a part of the growing-turbulence domain, additional objective criteria are required to separate out the “dangerous” part of the \(e_{3}/e_{2.{\mathrm {p}}}<1\) domain (for example, the realizability constraints considered in Sect. 9 can be used). Note also that matching \(\mathcal {F}_{\mathrm {M}}^{3}\) and \(\mathcal {F}_{\mathrm {H}1}^{3}\) with \(\mathcal {F}_{\mathrm {Mr}}^{3}\) and \(\mathcal {F}_{\mathrm {Hr}}^{3}\), respectively, at any value different from \(e_{3}/e_{2.{\mathrm {p}}}=1\) would result in discontinuous stability functions. Figure 6 shows the regularized stability functions of the level-3 scheme. As can be seen, the stability functions reveal no pathological behaviour (and are continuous). Note that the regularized, well-behaved expressions are obtained for all components of the Reynolds stress and scalar fluxes, not only for \(\left\langle u_3'u_1'\right\rangle \), \(\left\langle u_3'u_2'\right\rangle \), \(\left\langle u_3'\theta _l'\right\rangle \), and \(\left\langle u_3'q_t'\right\rangle \). Those expressions are not presented here.

Fig. 5
figure 5

The original, non-regularized momentum-flux \(\mathcal {F}_{\mathrm {M}}^{3}\) and scalar-flux \(\mathcal {F}_{\mathrm {H}1}^{3}\) stability functions of the TKESV (level-3) scheme as dependent on Ri and \(e_{3}/e_{2.{\mathrm {p}}}\) at a fixed value of \(\left\langle s'^2\right\rangle =0.01\). The values of stability functions are indicated by the colour scale. The white area is a part of the parameter space where the stability functions are negative

Fig. 6
figure 6

The regularized momentum-flux \(\mathcal {F}_{\mathrm {Mr}}^{3}\) and scalar-flux \(\mathcal {F}_{\mathrm {H1r}}^{3}\) stability functions of the TKESV (level-3) scheme as dependent on Ri and \(e_{3}/e_{2.{\mathrm {p}}}\) at a fixed value of \(\left\langle s'^2\right\rangle =0.01\). The values of stability functions are indicated by the colour scale. In the case of growing turbulence, \(e_{3}/e_{2.{\mathrm {p}}}<1\), the stability functions are computed from Eq. 28

It is interesting to draw analogies between Eqs. 27 and  28. As Eq. 27 shows, the regularized level-2.5 stability functions are expressed in terms of the level-2 stability functions. For the level-2.5 scheme, the level-2 scheme is the nearest lower-level scheme, whose stability functions are well-behaved. Likewise, for the level-3 scheme, the level-2.p scheme is the nearest lower-level scheme with well-behaved stability functions (provided the stability-dependent formulation of the length/time scale is used). The level-2 and the level-2.p schemes differ significantly in the way they treat the scalar variances and covariance. However, both schemes utilize a steady-state equilibrium TKE equation, suggesting that it is the use of the TKE transport equation in combination with the simplified algebraic formulations of the Reynolds stress and scalar fluxes that causes ill behaviour of truncated turbulence closure schemes.

Note an important factor \(\left( {e_{3}}/{e_{2.{\mathrm {p}}}}\right) ^{1/2}\) in the expressions (28) for the regularized level-3 stability functions. It is this factor that takes care of a gradual transition of the TKE towards the production–dissipation equilibrium. Dropping the factor \(\left( {e_{3}}/{e_{2.{\mathrm {p}}}}\right) ^{1/2}\) in Eq. 28 would result in a too quick response of turbulence to changes in the forcing and in overestimation of momentum and scalar fluxes in the regime of growing TKE. The factor \(\left( {e_{2.5}}/{e_{2}}\right) ^{1/2}\) in Eq. 27 has a similar effect on the behaviour of the level-2.5 scheme.

Neither the level-3 scheme nor the level-2.p scheme has a critical Richardson number. Within the framework of the level-3 scheme, the effects of non-stationarity and third-order transport are accounted for in both the TKE and the scalar (co)variance equations. Within the framework of the level-2.p scheme, the TKE transport equation is truncated to the diagnostic expression reflecting the steady-state local balance between production and dissipation. However, the TKE can be maintained at an arbitrary large value of Ri at the expense of the TPE, whose local value can be different from zero due to the effects of non-stationarity and third-order transport of scalar (co)variances.

The various truncated second-order closure schemes are summarized pictorially in Fig. 7 on the \(e/e_e \times P/P_e\) plane, where \(P_e\) is the equilibrium TPE resulting from the production–destruction balance of the truncated equations for the scalar variances and scalar covariance. Within the framework of the level-2 scheme, all second-moment equations are reduced to diagnostic algebraic expressions. That is, all second-order moments are in the state of local production–destruction equilibrium. The level-2 scheme corresponds to a single point \((e/e_e=1,P/P_e=1)\) on the \(e/e_e \times P/P_e\) plane. A horizontal line \(P/P_e=1\) depicts the level-2.5 scheme, where the TPE is in the state of local production–destruction equilibrium, whereas the TKE can take on any value different from \(e_e\) due to the effects of time rate-of-change, advection and diffusion. A vertical line \(e/e_e=1\) corresponds to the level-2.p scheme, where the TKE is in the production–destruction equilibrium, whereas the TPE can be different from the equilibrium TPE. Finally, the entire \(e/e_e \times P/P_e\) plane (e and P are non-negative) corresponds to the most flexible level-3 (TKESV) scheme, where both the TKE and the TPE can assume any values away from their equilibrium states.

Fig. 7
figure 7

Truncated second-order closure scheme diagram. The red dot depicts the level-2 algebraic scheme. The level-2.5 and the level-2.p schemes are shown by the blue and green lines, respectively. The level-3 scheme is represented by the entire \(e/e_e \times P/P_e\) plane (shown by the background colour)

7 Relation to Non-linear Parametrizations of the Pressure-Scrambling Terms

The idea of the regularization method of Helfand and Labraga (1988) is to restore to the second-moment equations some information that has been lost because of truncation. Equation 24 is used to approximately account for the effects of the time rate-of-change and turbulent diffusion in the Reynolds-stress and scalar-flux (and, in the case of level-2.5 scheme, in the scalar-variance and scalar-covariance) equations. An alternative a posteriori interpretation can be suggested, however.

As discussed above, the use of Eq. 24 amounts to multiplying the production terms in the truncated equations by a factor \(1-\alpha _e\), where \(\alpha _e=\left( \mathrm{d}e/\mathrm{d}t+\mathcal {D}_e\right) /\mathcal {G}_e\) depends on time t and vertical coordinate \(x_3\). Consider, for example, the buoyancy production term in the temperature-flux equation 14,

$$\begin{aligned} \left( 1-C^{\theta }_{b}\right) \tau _{\epsilon } \beta \left\langle \theta _l'\theta _v'\right\rangle , \end{aligned}$$
(32)

where \(C^{\theta }_{b}\) is a constant that stems from a linear parametrization of the buoyancy contribution to the pressure-scrambling term. With the estimate of \(C^{\theta }_{b}=1/3\), the isotropic turbulence constraint is satisfied. Recall that the use of simplified linear parametrizations of the pressure-scrambling terms is identified as one reason for failure of truncated second-order schemes. If Eq. 24 is utilized to develop regularized, well-behaved expressions for fluxes, the buoyancy production term in the temperature-flux equation becomes

$$\begin{aligned} \left[ 1-\alpha _e\left( t,x_3\right) \right] \left( 1-C^{\theta }_{b}\right) \tau _{\epsilon } \beta \left\langle \theta _l'\theta _v'\right\rangle = \left[ 1-C^{\theta }_{b*}\left( t,x_3\right) \right] \tau _{\epsilon } \beta \left\langle \theta _l'\theta _v'\right\rangle , \end{aligned}$$
(33)

where \(C^{\theta }_{b*}=C^{\theta }_{b}+\alpha _e\left( 1-C^{\theta }_{b}\right) \) is no longer a constant, but a function of t and \(x_3\). It varies from \(C^{\theta }_{b*}=C^{\theta }_{b}\) where \(\alpha _e=0\) (which recovers the original, non-regularized formulation) to \(C^{\theta }_{b*}=1\) where \(\alpha _e=1\). Then, the Helfand and Labraga regularization procedure can be viewed as a parametrization assumption that is in effect similar to the use of non-linear parametrizations of the pressure-scrambling effects.

A turbulence closure proposed by Craft et al. (1996) (see also Mironov 2001) is an illustrative example of a closure based on non-linear parametrizations of the pressure-scrambling terms. The closure of Craft et al. (1996) incorporates a non-linear formulation, where \(C^{\theta }_{b*}\) is a function of the departure-from-isotropy tensor. It satisfies both the isotropic constraint and the so-called two-component limit (TCL) constraint of strongly anisotropic turbulence. The TCL is the limit that turbulence approaches when the velocity component (both mean velocity and turbulent fluctuation) in one direction vanishes. This occurs, for example, near the rigid boundary, where the velocity component normal to the boundary vanishes as the boundary is approached. It also occurs in stably stratified layers, where the velocity component aligned with the vector of gravity vanishes as the stratification becomes strong. In order to satisfy the TCL constraint, \(C^{\theta }_{b*}\) should tend to one as the velocity component aligned with the vector of gravity tends to zero. Otherwise, spurious generation of the temperature flux by the buoyancy forces takes place. Clearly, it is impossible to satisfy both the isotropic and the TCL constraints if linear parametrizations of the pressure-scrambling terms with a constant \(C^{\theta }_{b*}\) are used. The formulation (33) is not the same as the TCL formulation. For example, \(\alpha _e\rightarrow 1\) and hence \(C^{\theta }_{b*}\rightarrow 1\) may occur in the case of quickly growing nearly isotropic turbulence, which is clearly not the TCL. However, if the quickly growing turbulence is nearly two-component, Eq. 33 would affect the buoyancy terms in the scalar-flux equations in a similar way as the TCL formulation.

8 Relation to Weak Non-equilibrium Hypothesis

The so-called weak non-equilibrium hypothesis (Rodi 1976; Gibson and Launder 1976; Hanjalić and Launder 2011) is often used to develop turbulence closure schemes of wider applicability than the schemes, where the time rate-of-change, advection, and third-order transport of the Reynolds stress and scalar fluxes are entirely neglected. Within the framework of the weak non-equilibrium hypothesis, the above effects are accounted for in an approximate way. In this section, the relation between the Helfand and Labraga (1988) approach and the weak non-equilibrium hypothesis is discussed.

The weak non-equilibrium hypothesis (Rodi 1976) states that during the flow evolution the sum of the substantial derivative (equal to \(\partial /\partial t\) within the framework of the boundary-layer approximation) and the diffusion of the dimensionless departure-from-isotropy tensor \(a_{ij}/e\) is zero. This yields

$$\begin{aligned} \displaystyle {\mathrm{d}\left\langle u_i'u_j'\right\rangle /\mathrm{d}t+\mathcal {D}_{ij}} = { \left\langle u_i'u_j'\right\rangle } \frac{\mathrm{d}e/\mathrm{d}t+\mathcal {D}_e}{e}, \end{aligned}$$
(34)

which states that the ratio of the tendency of the Reynolds-stress component due to \(\mathrm{d}/\mathrm{d}t\) and \(\mathcal {D}\) to that component itself is the same as the respective ratio for the TKE. This is at variance with the Helfand and Labraga approach, where a parametrization assumption is made about the ratio of the Reynolds-stress component tendency to its production rate, see Eq. 24.

The application of the weak non-equilibrium hypothesis to the scalar (temperature) flux (Gibson and Launder 1976) assumes that the normalized scalar flux (the \(u_i'\)\(\theta '\) correlation coefficient) \(\left\langle \theta 'u_i'\right\rangle /\left( \left\langle \theta '^2\right\rangle e\right) ^{1/2}\) remains unchanged as the flow evolves. This yields

$$\begin{aligned} \displaystyle {\mathrm{d}\left\langle u_i'\theta '\right\rangle /\mathrm{d}t+\mathcal {D}_{\theta i}} = \frac{\left\langle u_i'\theta '\right\rangle }{2} \left[ \frac{\mathrm{d}e/\mathrm{d}t+\mathcal {D}_e}{e} + \frac{\mathrm{d}\left\langle \theta '^2\right\rangle /\mathrm{d}t+\mathcal {D}_{\theta \theta }}{\left\langle \theta '^2\right\rangle } \right] . \end{aligned}$$
(35)

Consider a simplified case of shear-free temperature-stratified flow, where the potential temperature is the only thermodynamic variable that affects buoyancy. Using Eqs. 34 and 35, we obtain the following equations for \(a_{33}\) and \(\left\langle u_3'\theta '\right\rangle \),

$$\begin{aligned}&\displaystyle \frac{C^{u}_{t}}{\tau _{\epsilon }} \left[ 1+\frac{\gamma _{e}\tau _{\epsilon }}{C^{u}_{t}}\right] a_{33} - \frac{4\left( 1-C^{u}_{b}\right) }{3} \beta \left\langle u_3'\theta '\right\rangle = 0, \end{aligned}$$
(36)
$$\begin{aligned}&\displaystyle \frac{C^{\theta }_{t}}{\tau _{\epsilon }} \left[ 1+\frac{\left( \gamma _{e}+\gamma _{\theta }\right) \tau _{\epsilon }}{2C^{\theta }_{t}}\right] \left\langle {u}_3'\theta '\right\rangle \nonumber \\&\quad \displaystyle +\,a_{33}\frac{\partial \left\langle \theta \right\rangle }{\partial x_3} + \frac{2}{3} e \frac{\partial \left\langle \theta \right\rangle }{\partial x_3} - \left( 1-C^{\theta }_{b}\right) \beta \left\langle \theta '^2\right\rangle = 0, \end{aligned}$$
(37)

where the quantities

$$\begin{aligned} \gamma _e = \frac{\mathrm{d}e/\mathrm{d}t+\mathcal {D}_e}{e} \; \; \; \; \; \; \mathrm {and} \; \; \; \; \; \; \gamma _{\theta } = \frac{\mathrm{d}\left\langle \theta '^2\right\rangle /\mathrm{d}t+\mathcal {D}_{\theta \theta }}{\left\langle \theta '^2\right\rangle } \end{aligned}$$
(38)

have the dimensions of reciprocal time and are taken to be known from the solutions of the TKE and the \(\left\langle \theta '^2\right\rangle \) equations. If \(\gamma _e>0\), which corresponds to the regime of growing TKE, the use of the weak non-equilibrium hypothesis results in the reduction of the Reynolds-stress relaxation (return-to-isotropy) time scale by a factor of \(\left( 1+{\gamma _{e}\tau _{\epsilon }}/{C^{u}_{t}}\right) ^{-1}\) (as compared to the non-modified system). The reduction of the scalar-flux relaxation time scale is by a factor of \(\left[ 1+{\left( \gamma _{e}+\gamma _{\theta }\right) \tau _{\epsilon }}/{2C^{\theta }_{t}}\right] ^{-1}\) (provided \(\gamma _{e}+\gamma _{\theta }\) is positive). The application of the Helfand and Labraga procedure effectively results in the reduction of the Reynolds-stress and scalar-flux production rates by a factor of \(1-\alpha _e\), where \(\alpha _e=\left( \mathrm{d}e/\mathrm{d}t+\mathcal {D}_e\right) /\mathcal {G}_e\) is known from the solution of the TKE equation.

A comparison of Eqs. 36 and 37 with Eqs. 59 and 60, respectively, suggests that in the regime of growing turbulence the two approaches have similar effect on the Reynolds stress and scalar fluxes. If \(\gamma _{e}=\gamma _{\theta }\) and in addition \(C^{\theta }_{t}=C^{u}_{t}\), the two approaches are equivalent. Both approaches yield Eqs. 5962 where \(1-\alpha _e=\left( 1+{\gamma _{e}\tau _{\epsilon }}/{C^{u}_{t}}\right) ^{-1}\). It should be pointed out, however, that the weak non-equilibrium hypothesis is usually applied not only in the regime of growing turbulence, but also during the turbulence decay, where \(\gamma _e<0\) and/or \(\gamma _{e}+\gamma _{\theta }<0\). As seen from Eqs. 36 and 37, large negative \(\gamma _e\) and/or \(\gamma _{e}+\gamma _{\theta }\) may yield infinite or negative relaxation time scale(s), i.e., a spurious result. Then, further modifications of the Reynolds-stress and scalar-flux formulations are necessary to avoid their ill behaviour (see, e.g., Lazeroms et al. 2013, 2015; Z̆eli et al. 2019).

9 Realizability of Turbulence Closures and the Problem of Moments

Until now, we used the notion of realizability in a somewhat loose sense, being concentrated mostly on the physically meaningful boundedness of the quantities in question in general and on the non-negativeness of the non-negatively defined quantities in particular. Whereas the non-negativeness is a well-defined criterion, the physically meaningful boundedness had a rather diffuse meaning. Observing continuous unbounded growth of the stability functions, we were unable to argue without any further knowledge where exactly they still have physically meaningful values and where already not. The notion of realizability can, however, be defined mathematically more precisely as the assurance of the existence of the probability distribution of a random variable with prescribed statistical moments (du Vachat 1977). This is also known as the moments problem (Shohat and Tamarkin 1943). The solution of the moments problem can be represented as a precise and complete set of constraints that the modelled statistical moments should obey. If the modelled statistical moments do not obey those necessary constraints, then there cannot exist any probability distribution or, equivalently, any random variable possessing those moments. In such a case, one may justifiably say that the model produces an unphysical solution and is non-realizable. As far as the stability functions are concerned, the solution to the moments problem does not tell us what their values should be. However, it tells what the values of stability functions may not take on.

A general solution of the moments problem is deduced from the condition that the probability density function should be non-negative. For a multi-variate random variable, it consists in the requirement that a matrix of a special kind containing all statistical moments should be positive semi-definite. It is not easy to present that matrix in a generic and compact way. By way of illustration, we denote the components of the multi-variate random variable as \(\{a,b,...,z\}\) and present the first row of the matrix which should contain all moments in the ascending order, starting with the zeroth-order moment. That is

$$\begin{aligned} \displaystyle 1 \left\langle a\right\rangle \left\langle b\right\rangle \cdots \left\langle z\right\rangle \left\langle a^2\right\rangle \left\langle ab\right\rangle \cdots \left\langle az\right\rangle \left\langle b^2\right\rangle \cdots \left\langle bz\right\rangle \cdots \left\langle z^2\right\rangle \left\langle a^3\right\rangle \left\langle a^2b\right\rangle \cdots \end{aligned}$$
(39)

The same sequence as in (39) constitutes the first column. The element in the ith row and the jth column of the matrix is determined by multiplying the (not averaged) quantities standing in the first row of the jth column and in the first column of the ith row and by subsequent averaging. Note that in our application the variables are centered (fluctuations about the mean values are considered). Hence \(\left\langle a\right\rangle =0\), and the same holds for all other variables.

In accordance with the Sylvester’s criterion (see, e.g., Shafarevich and Remizov 2013), positive semi-definiteness of a matrix is equivalent to non-negativeness of all its principal minors (the determinants of smaller quadratic matrices obtained by crossing out all possible subsets of columns and rows with the same number). This requirement leads to an infinite chain of inequalities relating the moments of all orders to each other. If, however, positive definiteness of the matrix in question rather than its positive semi-definiteness were required (e.g., if we would not allow variances to be exactly zero), then it would be sufficient to demand that all leading principal minors be positive. Recall that the leading principal minors are the determinants of the smaller quadratic matrices (of all orders), which are merely the upper left corners of the original matrix. It may seem that the order of the variables in the matrix matters and different variables will not have equal rights. This is not the case, however. Crossing out all columns and rows except for m first columns and rows (\(m=1,\dots \)) is in fact equivalent, in the case of positive definiteness, to crossing out all possible sub-sets of columns and rows. This can readily be seen from the following example. Consider the second-order and the third-order leading principal minors of the matrix

$$\begin{aligned} \displaystyle \begin{pmatrix} 1 &{}\quad 0 &{}\quad 0 &{}\quad \cdots \\ 0 &{}\quad \left\langle a^2\right\rangle &{}\quad \left\langle ab\right\rangle &{}\quad \cdots \\ 0 &{}\quad \left\langle ab\right\rangle &{}\quad \left\langle b^2\right\rangle &{}\quad \cdots \\ \cdots &{}\quad \cdots &{}\quad \cdots &{}\quad \cdots \end{pmatrix}. \end{aligned}$$
(40)

The requirements \(\left\langle a^2\right\rangle > 0\) (second-order leading principal minor is positive) and \(\left\langle a^2\right\rangle \left\langle b^2\right\rangle -\left\langle ab\right\rangle ^2 > 0\) (third-order leading principal minor is positive) immediately yield \(\left\langle b^2\right\rangle > 0\). However, this is no longer true if \(\left\langle a^2\right\rangle \) is allowed to be zero. Indeed, if \(\left\langle a^2\right\rangle =0\) and \(\left\langle ab\right\rangle =0\), \(\left\langle a^2\right\rangle \left\langle b^2\right\rangle -\left\langle ab\right\rangle ^2 \ge 0\) is satisfied at any value of \(\left\langle b^2\right\rangle \). This point was apparently overlooked in Schumann (1977), where it was pointed out that non-negative leading principal minors are sufficient for the matrix to be positive semi-definite.

Now we consider moist turbulence and limit ourselves to the second-order moments. For five random fields (three components of \(u_i\), \(\theta _l\) and \(q_t\)), the matrix has the following form

$$\begin{aligned} \displaystyle \begin{pmatrix} \left\langle u_1'^2\right\rangle &{}\quad \left\langle u_1'u_2'\right\rangle &{}\quad \left\langle u_1'u_3'\right\rangle &{}\quad \left\langle u_1'\theta _l'\right\rangle &{}\quad \left\langle u_1'q_t'\right\rangle \\ \left\langle u_2'u_1'\right\rangle &{}\quad \left\langle u_2'^2\right\rangle &{}\quad \left\langle u_2'u_3'\right\rangle &{}\quad \left\langle u_2'\theta _l'\right\rangle &{}\quad \left\langle u_2'q_t'\right\rangle \\ \left\langle u_3'u_1'\right\rangle &{}\quad \left\langle u_3'u_2'\right\rangle &{}\quad \left\langle u_3'^2\right\rangle &{}\quad \left\langle u_3'\theta _l'\right\rangle &{}\quad \left\langle u_3'q_t'\right\rangle \\ \left\langle \theta _l'u_1'\right\rangle &{}\quad \left\langle \theta _l'u_2'\right\rangle &{}\quad \left\langle \theta _l'u_3'\right\rangle &{}\quad \left\langle \theta _l'^2\right\rangle &{}\quad \left\langle \theta _l'q_t'\right\rangle \\ \left\langle q_t'u_1'\right\rangle &{}\quad \left\langle q_t'u_2'\right\rangle &{}\quad \left\langle q_t'u_3'\right\rangle &{}\quad \left\langle q_t'\theta _l'\right\rangle &{}\quad \left\langle q_t'^2\right\rangle \end{pmatrix}, \end{aligned}$$
(41)

where the row and the column containing only one and zeros (the variables are centered) are omitted. The requirement of non-negative definiteness of the matrix (41) generates five inequalities from the first-order minors, ten inequalities from the second-order minors, ten inequalities from the third-order minors, five inequalities from the fourth-order minors, and one inequality expressing the non-negativeness of the determinant of the entire matrix. Those inequalities impose powerful constraints on the second-order moments and hence on the stability functions. Consideration of all 21 constraints is rather cumbersome. By way of illustration, we analyze a simplified case of dry, shear-free flow considered in Appendices 2 and 3. Note though that the white area in Fig. 5 where the stability functions are ill-behaved widens as Ri decreases, suggesting that it is this seemingly simple shear-free convection case that is potentially the most dangerous.

In the dry, shear-free flow, \(\left\langle u_1'q_t'\right\rangle =\left\langle u_2'q_t'\right\rangle =\left\langle u_3'q_t'\right\rangle =0\), \(\left\langle q_t'^2\right\rangle =0\), \(\left\langle q_t'\theta _l'\right\rangle =0\), \(\left\langle u_1'u_2'\right\rangle =\left\langle u_1'u_3'\right\rangle =\left\langle u_2'u_3'\right\rangle =0\), \(\left\langle u_1'\theta _l'\right\rangle =\left\langle u_2'\theta _l'\right\rangle =0\), and \(\theta _l=\theta \). The matrix (41) is simplified to give

$$\begin{aligned} \displaystyle \begin{pmatrix} \left\langle u_1'^2\right\rangle &{}\quad 0 &{}\quad 0 &{}\quad 0 \\ 0 &{}\quad \left\langle u_2'^2\right\rangle &{}\quad 0 &{}\quad 0 \\ 0 &{}\quad 0 &{}\quad \left\langle u_3'^2\right\rangle &{}\quad \left\langle u_3'\theta '\right\rangle \\ 0 &{}\quad 0 &{}\quad \left\langle \theta 'u_3'\right\rangle &{}\quad \left\langle \theta '^2\right\rangle \end{pmatrix}. \end{aligned}$$
(42)

The requirement of non-negative definiteness of the matrix (42) yields the following inequalities,

$$\begin{aligned}&\displaystyle \left\langle u_1'^2\right\rangle \ge 0, \; \; \; \; \; \; \left\langle u_2'^2\right\rangle \ge 0, \; \; \; \; \; \; \left\langle u_3'^2\right\rangle \ge 0, \; \; \; \; \; \; \left\langle \theta '^2\right\rangle \ge 0, \end{aligned}$$
(43)
$$\begin{aligned}&\displaystyle \left\langle u_3'^2\right\rangle \left\langle \theta '^2\right\rangle -\left\langle u_3'\theta '\right\rangle ^2 \ge 0, \end{aligned}$$
(44)

which state that the variances are non-negative and the magnitude of the temperature-flux correlation coefficient does not exceed 1. In what follows, we derive the constraints these inequalities impose on the second-order moments of the regularized TKESV scheme.

For the level-3 schemes, the temperature variance \(\left\langle \theta '^2\right\rangle \) is an independent prognostic variable that may be regarded as an external parameter for the algebraic equation system for the second-order moments. Non-negativeness of \(\left\langle \theta '^2\right\rangle \) must be ensured by its transport equation. Since in shear-free convection regime \(\left\langle u_3'\theta '\right\rangle \ge 0\), Eq. 59 shows that the vertical-velocity variance is non-negative as well.

Substituting the expression of \(\left\langle u_3'^2\right\rangle \) from (59) and (67) into (44), then eliminating \(\left\langle u_3'\theta '\right\rangle \) with the help of (61) and (67), we obtain the following constraint,

$$\begin{aligned} \left[ \frac{2}{3} + \frac{4\left( 1-C^{u}_{b}\right) }{3C^{u}_{t}}\right] \frac{P}{e} \ge \left( \frac{e}{e_e}\right) ^{-1}. \end{aligned}$$
(45)

Equation 45 shows that, although the stability functions of the regularized TKESV scheme are well-behaved, the scheme can still be non-realizable at certain values of TPE and/or TKE. In other words, realizability in strict mathematical sense imposes additional, more rigid constraints as compared to the requirements that some quantities are non-negative and finite.

Although it may seem different at a glance, the realizability constraint (45) is in fact very mild as far as practical applications are concerned. The above inequality may be violated where either e is (very) small as compared to \(e_e\), or P is (very) small as compared to e (or both conditions hold). This is rarely encountered in practice. Numerical experiments with the TKESV scheme (results not shown) indicate that the inequality (45) is virtually never violated. The violation may occur over a certain adjustment period if TPE is poorly initialized, e.g., if e and \(e_e\) are both positive but P is set equal to zero. However, mean-gradient production and vertical diffusion will ensure a quick build-up of the scalar variances, and hence of the TPE, if the TKE is non-zero. Still there is no guarantee that a turbulence scheme will never fall into the non-realizable state, but it is highly desirable that the scheme is able to handle any theoretically allowable values of the mean and turbulence quantities. We therefore propose to apply a simple clipping to the scalar (co)variances, or to the scalar fluxes, so that the realizability requirements are satisfied.

The realizability constraints given by the first two members of Eq. 43 state that the horizontal velocity variances are non-negative. Using Eq. 62 with due regard for (60), (61) and (67), we obtain after some algebra

$$\begin{aligned} C^{u}_{t} \ge 1-C^{u}_{b}. \end{aligned}$$
(46)

This relation demonstrates the usefulness of the realizability considerations in developing turbulence models. The realizability constraints may help limit the allowable values of the model constants. With the values of \(C^{u}_{t}\) and \(C^{u}_{b}\) used within the TKESV scheme (see Sect. 2), Eq. 46 is satisfied.

The above analysis is limited to the second-order turbulence moments. Principle minors containing higher-order moments yield further powerful constraints that help limit disposable parameters of turbulence models and help control the model behaviour during the integration. Illustrative examples are the relations between skewness and kurtosis of fluctuating fields (e.g., André et al. 1976; Gryanik et al. 2005). Consideration of realizability constraints on high-order turbulence moments is beyond the scope of the present paper.

10 Conclusions

The problem of realizability of truncated second-order closure schemes for moist atmospheric boundary-layer turbulence is addressed through the consideration of the so-called stability functions. The emphasis is on the TKE–scalar variance closure schemes (the level-3 schemes in the nomenclature of Mellor and Yamada 1974) that carry prognostic transport equations for the TKE and for the (co)variances of scalar quantities (e.g., liquid water potential temperature and total water specific humidity). The stability functions were introduced (Mellor and Yamada 1974, 1982; Yamada 1977) to represent the formulations of the Reynolds stress and scalar fluxes in a compact form. They appear within the framework of truncated closure schemes, where (i) the Reynolds-stress and scalar-flux equations (and, within the framework of one-equation TKE schemes, also equations for scalar variances and covariance) are reduced to the diagnostic algebraic formulations by neglecting the substantial derivatives and the third-order transport terms, and (ii) linear parametrizations (in the second-order moments involved) of the pressure-scrambling terms are used. The stability functions are ill-behaved over a certain range of governing parameters, e.g., mean velocity shear and buoyancy gradient. They tend to infinity or become negative in the regime of growing turbulence, where the actual value of the TKE is smaller than the equilibrium TKE corresponding to the steady-state production–dissipation balance. The ill-behaved stability functions inevitably lead to malfunctioning of turbulence closure schemes.

Regularized stability functions for the TKESV closure scheme (Mironov and Machulskaya 2017) are developed that reveal no pathological behaviour over their entire parameter space (provided a stability-dependent formulation of the turbulence length/time scale is used). To this end, the approach (regularization procedure) of Helfand and Labraga (1988) is invoked. The approach, originally developed for the one-equation TKE schemes, is extended to the TKESV scheme. The idea is to account, in an approximate way, for the effects of time rate-of-change, advection, and diffusion in those truncated second-moment equations in which these effects have been neglected. That is, some information that has been lost because of truncation is restored to the second-moment equations. The physical meaning of the regularization procedure and its relation to the non-linear, more physically sound parametrizations of the pressure-scrambling terms are discussed. It is shown that the Helfand and Labraga approach can be viewed as a parametrization assumption that is in effect similar to the use of non-linear parametrizations of the pressure-scrambling effects.

The relation between the Helfand and Labraga (1988) approach and the weak non-equilibrium hypothesis (Rodi 1976; Gibson and Launder 1976; Hanjalić and Launder 2011) often used to develop turbulence closure schemes is considered. It is demonstrated that, in the regime of growing turbulence, the use of the Helfand and Labraga procedure effectively results in the reduction of the Reynolds-stress and scalar-flux production rates, whereas the use of the weak non-equilibrium hypothesis results in the reduction of the Reynolds-stress and scalar-flux relaxation (return-to-isotropy) time scales. Where the TKE is smaller than its equilibrium value, the two approaches have similar effect on the Reynolds stress and scalar fluxes.

Finally, realizability of turbulence closures is considered within a more general and mathematically more rigorous framework of the moments problem of the probability theory. Realizability in strict mathematical sense imposes additional, more rigid constraints as compared to the requirements that some quantities handled by a turbulence scheme are merely non-negative and finite. The realizability constraints help control the model behaviour by imposing limits on the values of turbulence moments computed by a closure scheme. They can also limit disposable parameters of turbulence schemes and are, therefore, of considerable help for the model development purposes.

The results from the present study are useful for numerical weather prediction, climate modelling, and related applications. Numerical weather prediction and climate models require physically sound and, importantly, robust turbulence parametrization schemes. Those schemes should be applied around the clock and (within global models) over the entire atmosphere, they should be able to handle any atmospheric turbulence regime. Unless regularized stability functions are applied, the TKESV scheme, as well as similar rather advanced turbulence parametrization schemes, cannot be utilised. Ill-behaved stability functions will inevitably lead to an atmospheric model blow-up. The use of regularized stability functions developed herein makes the schemes much more robust.

The TKESV closure scheme of Mironov and Machulskaya (2017) with the regularized, well-behaved stability functions reported in the present study is implemented into the numerical weather prediction model ICON (ICOsahedral Nonhydrostatic modelling framework). Testing through numerical experiments is underway at the German Weather Service; results will be reported later.