7.2 First-Order Closures 一阶封闭[cfd-7-2]

一阶封闭(first-order closures)是在雷诺/Favre平均Navier-Stokes方程中近似雷诺应力的最简单方法。它们基于Boussinesq涡黏性模型或非线性涡黏性模型,我们分别在小节7.1.5和7.1.6中讨论过。因此,相应湍流建模的任务就是计算涡黏性\(\mu_T\)。en

The first-order closures represent the easiest way to approximate the Reynolds stresses in the Reynolds-/Favre-averaged Navier-Stokes equations. They are based on Boussinesq or non-linear eddy-viscosity models, which we discussed in the Subsections 7.1.5 and 7.1.6, respectively. Consequently, the task of an associated turbulence model is to compute the eddy viscosity \(\mu_T\).

从种类繁多的一阶封闭模型中,我们选出了三种广泛使用、代表当前技术水平的方法。这三种模型都可以方便地在结构网格和非结构网格上实现。首先,我们讨论Spalart和Allmaras提出的单方程模型;其次,我们介绍著名的K-\(\varepsilon\)双方程模型;最后,我们考察由Menter提出的K-\(\omega\) SST(剪切应力输运,Shear-Stress Transport)双方程模型。关于这些湍流模型在各种算例下的详细比较可参见[37]。en

From the large variety of first-order closure models, we selected three widely-used approaches which represent the current state-of-the-art. All three models can be implemented easily on structured as well as on unstructured grids. First, we shall discuss the one-equation model due to Spalart and Allmaras. Second, we shall present the well-known K-\(\varepsilon\) two-equation model. Finally, we shall consider the K-\(\omega\) SST (Shear-Stress Transport) two-equation model proposed by Menter. A detailed comparison of this turbulence models for various cases can be found in [37].

在下文中,密度和速度分量都应理解为雷诺平均/Favre平均量,只是为简便起见省略了相应的记号。en

In the following, the density and the velocity components should be understood as Reynolds-/Favre-averaged, although the corresponding notation is omitted for convenience.

7.2.1 Spalart-Allmaras One-Equation Model Spalart-Allmaras 单方程模型[cfd-7-2-1]

Spalart-Allmaras单方程湍流模型[38]对涡黏性变量\(\tilde{\nu}\)求解输运方程。它是在经验、量纲分析和伽利略不变性的基础上发展起来的,并利用二维混合层、尾流和平板边界层的结果进行了标定。Spalart-Allmaras模型还能对具有逆压梯度的湍流流动给出相当准确的预测。此外,它能够在用户指定的位置实现从层流到湍流的平滑转捩。Spalart-Allmaras模型具有若干良好的数值特性:它是“局部的”,即某一点处的方程不依赖于其他点上的解,因此可以方便地在结构多块网格或非结构网格上实现;它还稳健、向定态收敛快,并且近壁区域只需适中的网格分辨率。en

The Spalart-Allmaras one-equation turbulence model [38] employs transport equation for an eddy-viscosity variable \(\tilde{\nu}\). It was developed based on empiricism, dimensional analysis and Galilean invariance. It was calibrated using results for 2-D mixing layers, wakes and flat-plate boundary layers. The Spalart-Allmaras model also allows for reasonably accurate predictions of turbulent flows with adverse pressure gradients. Furthermore, it is capable of smooth transition from laminar to turbulent flow at user specified locations. The Spalart-Allmaras model has several favourable numerical features. It is "local" which means that the equation at one point does not depend on the solution at other points. Therefore, it can be readily implemented on structured multi-block or on unstructured grids. It is also robust, converges fast to steady-state and requires only moderate grid resolution in the near-wall region.

Differential Form 微分形式

Spalart-Allmaras湍流模型用张量记号可以写成如下形式[38]en

The Spalart-Allmaras turbulence model can be written in tensor notation as follows [38]

\[ \begin{aligned} \frac{\partial \tilde{\nu}}{\partial t} + \frac{\partial}{\partial x_j}\left(\tilde{\nu}\, v_j\right) &= C_{b1}\left(1 - f_{t2}\right)\tilde{S}\,\tilde{\nu} \\ &+ \frac{1}{\sigma}\left\{ \frac{\partial}{\partial x_j}\left[\left(\nu_L + \tilde{\nu}\right)\frac{\partial\tilde{\nu}}{\partial x_j}\right] + C_{b2}\frac{\partial\tilde{\nu}}{\partial x_j}\frac{\partial\tilde{\nu}}{\partial x_j} \right\} \\ &- \left[C_{w1} f_w - \frac{C_{b1}}{\kappa^2} f_{t2}\right]\left(\frac{\tilde{\nu}}{d}\right)^2 + f_{t1}\|\Delta\vec{v}\|_2^2. \end{aligned} \tag{7.36} \]

右端各项分别代表涡黏性生成、守恒性扩散、非守恒性扩散、近壁湍流破坏、生成的转捩阻尼以及湍流的转捩源。此外,\(\nu_L = \mu_L/\rho\)表示层流运动黏度,\(d\)为到最近壁面的距离(壁面距离的计算见文献[39])。式(7.28)和(7.29)中的湍流涡黏性由下式得到en

The terms on the right-hand side represent eddy-viscosity production, conservative diffusion, non-conservative diffusion, near-wall turbulence destruction, transition damping of production, and transition source of turbulence. Furthermore, \(\nu_L = \mu_L/\rho\) denotes the laminar kinematic viscosity and \(d\) is the distance to the closest wall (for the computation of wall distances see Ref. [39]). The turbulent eddy viscosity in Eq. (7.28) and (7.29) is obtained from

\[\mu_T = f_{v1}\,\rho\,\tilde{\nu}. \tag{7.37}\]

生成项用下列公式求值en

The production term is evaluated with the following formulae

\[ \begin{aligned} \tilde{S} &= f_{v3}\, S + \frac{\tilde{\nu}}{\kappa^2 d^2}\, f_{v2}, \\ f_{v1} &= \frac{\chi^3}{\chi^3 + C_{v1}^3}, \qquad f_{v2} = \left(1 + \frac{\chi}{C_{v2}}\right)^{-3}, \\ f_{v3} &= \frac{\left(1 + \chi f_{v1}\right)\left(1 - f_{v2}\right)}{\max(\chi,\, 0.001)}, \qquad \chi = \frac{\tilde{\nu}}{\nu_L} \end{aligned} \tag{7.38} \]

在方程(7.38)中,\(S\)表示平均旋转率的大小,即en

In Equation (7.38), \(S\) stands for the magnitude of the mean rotation rate, i.e.,

\[S = \sqrt{2\,\Omega_{ij}\Omega_{ij}}, \tag{4}\]

其中\(\Omega_{ij}\)由式(7.4)给出。注意\(\tilde{S}\)与文献[38]中的原始定义不同,这一修改是Spalart提出的,目的是防止\(\tilde{S}\)变为零(参见文献[40],第155页)。en

where \(\Omega_{ij}\) is given by Eq. (7.4). Note that \(\tilde{S}\) differs from its original definition in [38]. The modification was suggested by Spalart in order to prevent \(\tilde{S}\) from reaching zero (cf. Ref. [40], p. 155).

控制涡黏性破坏的项为en

The terms controlling the destruction of the eddy viscosity read

\[ \begin{aligned} f_w &= g\left(\frac{1 + C_{w3}^6}{g^6 + C_{w3}^6}\right)^{1/6}, \\ g &= r + C_{w2}\left(r^6 - r\right), \qquad r = \frac{\tilde{\nu}}{\tilde{S}\,\kappa^2 d^2}. \end{aligned} \tag{7.39} \]

用于模拟层流-湍流转捩的函数为en

Functions used for modelling the laminar-turbulent transition are given by

\[ \begin{aligned} f_{t1} &= g_t\, C_{t1}\exp\left(-C_{t2}\,\frac{\omega_t^2}{\Delta U^2}\left(d^2 + g_t^2 d_t^2\right)\right), \\ f_{t2} &= C_{t3}\exp\left(-C_{t4}\,\chi^2\right), \qquad g_t = \min\left[0.1,\ \|\Delta\vec{v}\|_2/(\omega_t\,\Delta x_t)\right], \end{aligned} \tag{7.40} \]

其中\(\omega_t\)表示转捩触发点(trip point,位置须由用户指定)处壁面上的涡量,\(\|\Delta\vec{v}\|_2\)表示触发点速度与当前流场点速度之差的2-范数,\(d_t\)为到最近触发点的距离,\(\Delta x_t\)表示触发点处沿壁面的网格间距。en

where \(\omega_t\) represents the vorticity at the wall at the trip point (position has to be specified by the user), \(\|\Delta\vec{v}\|_2\) denotes the 2-norm of the difference between the velocity at the trip point and the current field point, \(d_t\) is the distance to the nearest trip point, and \(\Delta x_t\) stands for the spacing along the wall at the trip point.

最后,式(7.36)-(7.40)中的各个常数定义为en

Finally, the various constants in Eqs. (7.36)-(7.40) are defined as

\[ \begin{aligned} &C_{b1} = 0.1355, \qquad C_{b2} = 0.622, \\ &C_{v1} = 7.1, \qquad C_{v2} = 5, \qquad \sigma = 2/3, \qquad \kappa = 0.41, \\ &C_{w1} = C_{b1}/\kappa^2 + (1 + C_{b2})/\sigma, \qquad C_{w2} = 0.3, \qquad C_{w3} = 2, \\ &C_{t1} = 1, \qquad C_{t2} = 2, \qquad C_{t3} = 1.3, \qquad C_{t4} = 0.5. \end{aligned} \tag{7.41} \]

为了考虑非平衡效应对生成项的影响,最近有文献提出把\(C_{b1}\)表示为应变率的函数[41]。en

In order to account for non-equilibrium effects on the production term, it was recently proposed to express \(C_{b1}\) as a function of the strain rate [41].

正如文献[38]所指出的,把方程(7.36)中的非守恒性扩散项,即en

As pointed out in [38], it is convenient to substitute the non-conservative diffusion term in Eq. (7.36), i.e.,

\[\frac{1}{\sigma}\left\{ \frac{\partial}{\partial x_j}\left[\left(\nu_L + \tilde{\nu}\right)\frac{\partial\tilde{\nu}}{\partial x_j}\right] + C_{b2}\frac{\partial\tilde{\nu}}{\partial x_j}\frac{\partial\tilde{\nu}}{\partial x_j} \right\} \tag{8}\]

用下面的表达式来代替en

by the following expression

\[\frac{1 + C_{b2}}{\sigma}\frac{\partial}{\partial x_j}\left[\left(\nu_L + \tilde{\nu}\right)\frac{\partial\tilde{\nu}}{\partial x_j}\right] - \frac{C_{b2}}{\sigma}\left(\nu_L + \tilde{\nu}\right)\nabla^2\tilde{\nu}. \tag{7.42}\]

这样就可以避开对项\(\left(\partial\tilde{\nu}/\partial x_j\right)^2\)做离散化的困难。en

In this way, difficulties with the discretisation of the term \(\left(\partial\tilde{\nu}/\partial x_j\right)^2\) are circumvented.

Integral Form 积分形式

把Spalart-Allmaras湍流模型(方程(7.36))变换到有限体积框架后,形式如下en

The Spalart-Allmaras turbulence model (Eq. (7.36)) reads after the transformation into the finite-volume framework as follows

\[\frac{\partial}{\partial t}\int_{\Omega}\tilde{\nu}\ d\Omega + \oint_{\partial\Omega}\left(F_{c,T} - F_{v,T}\right)dS = \int_{\Omega}Q_T\ d\Omega, \tag{7.43}\]

其中\(\Omega\)表示控制体,\(\partial\Omega\)为其表面,\(dS\)是\(\Omega\)的面元。对流通量定义为en

where \(\Omega\) represents the control volume, \(\partial\Omega\) its surface, and \(dS\) is a surface element of \(\Omega\). The convective flux is defined as

\[F_{c,T} = \tilde{\nu}\, V \tag{7.44}\]

其中\(V\)为逆变速度(见式(2.22))。对流通量一般用一阶上风格式离散。黏性通量为en

with \(V\) being the contravariant velocity (see Eq. (2.22)). The convective flux is in general discretised using a first-order upwind scheme. The viscous flux is given by

\[F_{v,T} = n_x\tau_{xx}^T + n_y\tau_{yy}^T + n_z\tau_{zz}^T, \tag{7.45}\]

其中\(n_x\)、\(n_y\)和\(n_z\)是单位法向量的分量。法向黏性应力为en

where \(n_x\), \(n_y\), and \(n_z\) are the components of the unit normal vector. The normal viscous stresses read

\[ \begin{aligned} \tau_{xx}^T &= \frac{1}{\sigma}\left(\nu_L + \tilde{\nu}\right)\frac{\partial\tilde{\nu}}{\partial x}, \qquad \tau_{yy}^T = \frac{1}{\sigma}\left(\nu_L + \tilde{\nu}\right)\frac{\partial\tilde{\nu}}{\partial y}, \\ \tau_{zz}^T &= \frac{1}{\sigma}\left(\nu_L + \tilde{\nu}\right)\frac{\partial\tilde{\nu}}{\partial z}. \end{aligned} \tag{7.46} \]

最后,方程(7.43)中的源项为en

Finally, the source term in Eq. (7.43) becomes

\[ \begin{aligned} Q_T &= C_{b1}\left(1 - f_{t2}\right)\tilde{S}\,\tilde{\nu} + \frac{C_{b2}}{\sigma}\left[\left(\frac{\partial\tilde{\nu}}{\partial x}\right)^2 + \left(\frac{\partial\tilde{\nu}}{\partial y}\right)^2 + \left(\frac{\partial\tilde{\nu}}{\partial z}\right)^2\right] \\ &- \left[C_{w1} f_w - \frac{C_{b1}}{\kappa^2} f_{t2}\right]\left(\frac{\tilde{\nu}}{d}\right)^2 + f_{t1}\|\Delta\vec{v}\|_2^2. \end{aligned} \tag{7.47} \]

另一种做法是按方程(7.42)所建议的方式来表述非守恒性扩散。模型常数由方程(7.41)给出。en

Alternatively, the non-conservative diffusion can be formulated as suggested by Eq. (7.42). The model constants are provided in Eq. (7.41).

Initial and Boundary Conditions 初始条件与边界条件

\(\tilde{\nu}\)的初值通常取\(\tilde{\nu} = 0.1\,\nu_L\)。入口边界上也指定同样的值。在出口边界上,\(\tilde{\nu}\)直接由计算域内部外推。在固体壁面上,宜取\(\tilde{\nu} = 0\),从而\(\mu_T = 0\)。en

The initial value of \(\tilde{\nu}\) is usually taken as \(\tilde{\nu} = 0.1\,\nu_L\). The same value is also specified at inflow boundaries. At outflow boundaries, \(\tilde{\nu}\) is simply extrapolated from the interior of the computational domain. At solid walls, it is appropriate to set \(\tilde{\nu} = 0\) and hence \(\mu_T = 0\).

7.2.2 K-ε Two-Equation Model K-ε 双方程模型[cfd-7-2-2]

K-\(\varepsilon\)湍流模型是应用最广泛的双方程涡黏性模型。它基于对湍动能\(K\)和湍流耗散率\(\varepsilon\)的方程求解。K-\(\varepsilon\)模型的历史渊源可以追溯到周培源的工作[42]。20世纪70年代期间,该模型的多种形式被提出,其中最重要的贡献来自Jones和Launder[43]、[44],Launder和Sharma[45],以及Launder和Spalding[46]。en

The K-\(\varepsilon\) turbulence model is the most widely employed two-equation eddy-viscosity model. It is based on the solution of equations for the turbulent kinetic energy \(K\) and the turbulent dissipation rate \(\varepsilon\). The historic roots of the K-\(\varepsilon\) model reach to the work of Chou [42]. During the 1970's, various formulations of the model were proposed. The most important contributions were due to Jones and Launder [43], [44], Launder and Sharma [45] as well as due to Launder and Spalding [46].

K-\(\varepsilon\)湍流模型需要加入所谓的阻尼函数(damping functions),才能在黏性底层内一直有效直至壁面。阻尼函数的目的是保证\(K\)和\(\varepsilon\)在壁面处具有正确的极限行为,即en

The K-\(\varepsilon\) turbulence model requires addition of the so-called damping functions in order to stay valid through the viscous sublayer to the wall. The aim of the damping functions is to assure proper limiting behaviour of \(K\) and \(\varepsilon\) at the wall, i.e.,

\[K \sim y^2 \quad \text{and} \quad \frac{\varepsilon}{K} \sim \frac{2\nu}{y^2} \quad \text{for} \quad y \rightarrow 0, \tag{7.48}\]

其中\(y\)表示垂直于壁面的坐标。此外还可以证明,雷诺剪切应力在近壁处的行为如(参见例如[17],第138-139页)en

where \(y\) represents the coordinate normal to the wall. Further, it can be shown that the Reynolds shear stress behaves like (see, e.g., [17] pp. 138-139)

\[\tau_{ij}^R \sim y^3 \quad \text{for} \quad y \rightarrow 0,\ i \neq j. \tag{7.49}\]

带阻尼函数的K-\(\varepsilon\)模型也被称为低雷诺数(low Reynolds number)模型。使用最广泛的阻尼函数形式由Jones和Launder[43]、Launder和Sharma[45]、Lam和Bremhorst[47]以及Chien[48]提出。七种不同的低雷诺数K-\(\varepsilon\)模型的比较可在文献[49]中找到。en

The K-\(\varepsilon\) models with damping functions are also denoted as low Reynolds number models. The most widely used formulations of the damping functions were proposed by Jones and Launder [43], Launder and Sharma [45], Lam and Bremhorst [47], and by Chien [48]. The reader may find a comparison of seven different low Reynolds number K-\(\varepsilon\) models in Ref. [49].

K-\(\varepsilon\)湍流模型在数值求解上比前述Spalart-Allmaras模型(小节7.2.1)更困难。特别是,阻尼函数使湍流方程带有刚性源项。这一点,加上壁面附近为解析黏性底层所必需的高网格分辨率,要求至少采用点隐式、最好采用全隐式的时间推进格式。文献[50]给出了关于K-\(\varepsilon\)方程显式时间离散的有用提示。K-\(\varepsilon\)模型在结构网格和非结构网格上实现的例子可参见例如[51]-[59]。最后,需要特别指出,对于具有逆压梯度的流动,K-\(\varepsilon\)模型的精度会下降[49]、[17]。en

The K-\(\varepsilon\) turbulence model is more difficult to solve numerically than the previously discussed Spalart-Allmaras model (Subsection 7.2.1). Particularly, the damping functions lead to turbulence equations with stiff source terms. This, and the necessary high grid resolution nearby walls (in order to resolve the viscous sublayer), requires the utilisation of at least point-implicit or better full-implicit time-stepping schemes. Reference [50] contains useful hints on the explicit time discretisation of the K-\(\varepsilon\) equations. Examples of implementations of the K-\(\varepsilon\) model on structured as well as on unstructured grids can be found, e.g., in [51]-[59]. Finally, it is important to note that the accuracy of the K-\(\varepsilon\) model degrades for flows with adverse pressure gradient [49], [17].

Differential Form 微分形式

一个低雷诺数K-\(\varepsilon\)模型可以写成en

A low Reynolds number K-\(\varepsilon\) model can be written as

\[ \begin{aligned} \frac{\partial\rho K}{\partial t} + \frac{\partial}{\partial x_j}\left(\rho v_j K\right) &= \frac{\partial}{\partial x_j}\left[\left(\mu_L + \frac{\mu_T}{\sigma_K}\right)\frac{\partial K}{\partial x_j}\right] + \tau_{ij}^F S_{ij} - \rho\varepsilon \\ \frac{\partial\rho\varepsilon^{*}}{\partial t} + \frac{\partial}{\partial x_j}\left(\rho v_j\varepsilon^{*}\right) &= \frac{\partial}{\partial x_j}\left[\left(\mu_L + \frac{\mu_T}{\sigma_{\varepsilon}}\right)\frac{\partial\varepsilon^{*}}{\partial x_j}\right] + C_{\varepsilon1} f_{\varepsilon1}\frac{\varepsilon^{*}}{K}\tau_{ij}^F S_{ij} \\ &- C_{\varepsilon2} f_{\varepsilon2}\,\rho\,\frac{(\varepsilon^{*})^2}{K} + \phi_{\varepsilon}. \end{aligned} \tag{7.50} \]

右端各项分别代表守恒性扩散、涡黏性生成和耗散。此外,\(\phi_{\varepsilon}\)表示所谓的显式壁面项。Favre平均湍流应力\(\tau_{ij}^F\)由式(7.25)给出,应变率张量\(S_{ij}\)由式(7.3)得到。式(7.28)和(7.29)中的湍流涡黏性由下式求得en

The terms on the right-hand side represent conservative diffusion, eddy-viscosity production and dissipation, respectively. Furthermore, \(\phi_{\varepsilon}\) denotes the so-called explicit wall term. The Favre-averaged turbulent stresses \(\tau_{ij}^F\) are given by Eq. (7.25) and the strain-rate tensor \(S_{ij}\) follows from Eq. (7.3). The turbulent eddy viscosity in Eq. (7.28) and (7.29) results from

\[\mu_T = C_{\mu} f_{\mu}\,\rho\,\frac{K^2}{\varepsilon^{*}}. \tag{7.51}\]

按式(7.24)或式(7.25)计算涡黏性时也要用到湍动能。量\(\varepsilon^{*}\)与湍流耗散率\(\varepsilon\)通过下式相联系en

The turbulent kinetic energy is also employed for the evaluation of the eddy viscosity according to Eq. (7.24) or Eq. (7.25). The quantity \(\varepsilon^{*}\) is related to the turbulent dissipation rate \(\varepsilon\) by

\[\varepsilon = \varepsilon_w + \varepsilon^{*}. \tag{7.52}\]

其中\(\varepsilon_w\)是耗散率在壁面上的取值。方程(7.52)的定义大大简化了壁面边界条件的施加(见下文)。en

The term \(\varepsilon_w\) is the value of the dissipation rate at the wall. The definition in Eq. (7.52) greatly simplifies the application of wall-boundary conditions (see further below).

在不同的K-\(\varepsilon\)模型中,常数、近壁阻尼函数以及壁面项各不相同。这里我们选择Launder-Sharma模型,因为它在很宽的应用范围内都给出良好结果[49]。对Launder-Sharma模型,常数和湍流Prandtl数为[45]en

The constants, the near-wall damping functions as well as the wall term differ between the various K-\(\varepsilon\) models. Here, we choose the Launder-Sharma model because it gives good results for a wide range of applications [49]. For the Launder-Sharma model, the constants and the turbulent Prandtl number are given by [45]

\[ \begin{aligned} &C_{\mu} = 0.09, \qquad C_{\varepsilon1} = 1.44, \qquad C_{\varepsilon2} = 1.92, \\ &\sigma_K = 1.0, \qquad \sigma_{\varepsilon} = 1.3, \qquad Pr_T = 0.9. \end{aligned} \tag{7.53} \]

此外,近壁阻尼函数为en

Furthermore, the near-wall damping functions read

\[ \begin{aligned} f_{\mu} &= \exp\left(\frac{-3.4}{\left(1 + 0.02\,Re_T\right)^2}\right) \\ f_{\varepsilon1} &= 1 \\ f_{\varepsilon2} &= 1 - 0.3\exp\left(Re_T^2\right) \end{aligned} \tag{7.54} \]

其中\(Re_T = \rho K^2/(\varepsilon^{*}\mu_L)\)为湍流雷诺数。(译注:\(f_{\varepsilon2}\)中的指数项原书印作\(\exp(Re_T^2)\),无负号;按Launder–Sharma模型的通行形式应为\(\exp(-Re_T^2)\),疑为原书排印疏漏,此处照录原书。)en

with \(Re_T = \rho K^2/(\varepsilon^{*}\mu_L)\) being the turbulent Reynolds number.

最后,显式壁面项\(\phi_{\varepsilon}\)和\(\varepsilon_w\)的值定义为en

Finally, the explicit wall term \(\phi_{\varepsilon}\) and the value \(\varepsilon_w\) are defined as

\[\phi_{\varepsilon} = 2\mu_T\frac{\mu_L}{\rho}\left(\frac{\partial^2 v_s}{\partial y_n^2}\right)^2 \quad \text{and} \quad \varepsilon_w = \frac{2\mu_L}{\rho}\left(\frac{\partial\sqrt{K}}{\partial y_n}\right)^2, \tag{7.55}\]

其中\(v_s\)表示平行于壁面的速度,\(y_n\)表示垂直于壁面的坐标。为了避免显式地知道壁面距离和壁面取向,通常用下面的笛卡尔张量形式[60]、[57]来计算壁面项和\(\varepsilon_w\)en

where \(v_s\) stands for the velocity parallel to the wall, and \(y_n\) represents the coordinate normal to the wall. In order to avoid an explicit knowledge of the wall distance and orientation, it is common to compute the wall term and \(\varepsilon_w\) from the following Cartesian tensor form [60], [57]

\[\phi_{\varepsilon} = 2\mu_T\frac{\mu_L}{\rho}\left(\frac{\partial^2 v_i}{\partial x_j \partial x_k}\right)^2 \quad \text{and} \quad \varepsilon_w = \frac{2\mu_L}{\rho}\left(\frac{\partial\sqrt{K}}{\partial x_j}\right)^2 \tag{7.56}\]

以代替方程(7.55)。en

instead of Eq. (7.55).

Integral Form 积分形式

对控制体\(\Omega\)(面元为\(dS\))写成随时间变化的积分形式,低雷诺数K-\(\varepsilon\)湍流模型为en

Written in time-dependent integral form for a control volume \(\Omega\) with a surface element \(dS\), the low Reynolds number K-\(\varepsilon\) turbulence model reads

\[\frac{\partial}{\partial t}\int_{\Omega}\vec{W}_T\ d\Omega + \oint_{\partial\Omega}\left(\vec{F}_{c,T} - \vec{F}_{v,T}\right)dS = \int_{\Omega}\vec{Q}_T\ d\Omega. \tag{7.57}\]

守恒变量向量取如下形式en

The vector of the conservative variables takes the form

\[\vec{W}_T = \begin{bmatrix} \rho K \\ \rho\varepsilon^{*} \end{bmatrix}. \tag{7.58}\]

对流通量向量定义为en

The vector of the convective fluxes is defined

\[\vec{F}_{c,T} = \begin{bmatrix} \rho K V \\ \rho\varepsilon^{*} V \end{bmatrix}, \tag{7.59}\]

其中\(V\)表示逆变速度(见式(2.22))。黏性通量向量为en

where \(V\) denotes the contravariant velocity (see Eq. (2.22)). The vector of the viscous fluxes is given by

\[\vec{F}_{v,T} = \begin{bmatrix} n_x\tau_{xx}^K + n_y\tau_{yy}^K + n_z\tau_{zz}^K \\ n_x\tau_{xx}^{\varepsilon} + n_y\tau_{yy}^{\varepsilon} + n_z\tau_{zz}^{\varepsilon} \end{bmatrix} \tag{7.60}\]

其中的法向湍流黏性应力为en

with the normal turbulent viscous stresses

\[ \begin{aligned} \tau_{xx}^K &= \left(\mu_L + \frac{\mu_T}{\sigma_K}\right)\frac{\partial K}{\partial x},\ \cdots \\ \tau_{xx}^{\varepsilon} &= \left(\mu_L + \frac{\mu_T}{\sigma_{\varepsilon}}\right)\frac{\partial\varepsilon^{*}}{\partial x},\ \cdots \end{aligned} \tag{7.61} \]

在方程(7.60)中,\(n_x\)、\(n_y\)、\(n_z\)表示表面\(\partial\Omega\)外指单位法向量的分量。源项由下式求值en

In Eq. (7.60), \(n_x\), \(n_y\), \(n_z\) represent the components of the outward-facing unit normal vector of the surface \(\partial\Omega\). The source term is evaluated from

\[\vec{Q}_T = \begin{bmatrix} P - \rho\varepsilon \\ \left(C_{\varepsilon1} f_{\varepsilon1} P - C_{\varepsilon2} f_{\varepsilon2}\,\rho\varepsilon^{*}\right)\dfrac{\varepsilon^{*}}{K} + \phi_{\varepsilon} \end{bmatrix}, \tag{7.62}\]

其中\(P\)表示湍动能的生成项,其定义为en

where \(P\) denotes the production term of the turbulent kinetic energy. It is defined as

\[ \begin{aligned} P &= \tau_{xx}^F\frac{\partial u}{\partial x} + \tau_{yy}^F\frac{\partial v}{\partial y} + \tau_{zz}^F\frac{\partial w}{\partial z} \\ &+ \tau_{xy}^F\left(\frac{\partial u}{\partial y} + \frac{\partial v}{\partial x}\right) + \tau_{xz}^F\left(\frac{\partial u}{\partial z} + \frac{\partial w}{\partial x}\right) + \tau_{yz}^F\left(\frac{\partial v}{\partial z} + \frac{\partial w}{\partial y}\right) \end{aligned} \tag{7.63} \]

其中Favre平均湍流应力\(\tau_{ij}^F\)由式(7.25)给出。对Launder-Sharma模型,常数、近壁阻尼函数以及壁面项均按式(7.52)-(7.56)中的定义取值。湍流涡黏性\(\mu_T\)由方程(7.51)求得。en

with the Favre-averaged turbulent stresses \(\tau_{ij}^F\) given by Eq. (7.25). The constants, the near-wall damping functions as well as the wall term follow for the Launder-Sharma model from the definitions in Eqs. (7.52)-(7.56). The turbulent eddy viscosity \(\mu_T\) is obtained from Eq. (7.51).

Initial and Boundary Conditions 初始条件与边界条件

最简单的做法是用自由来流值初始化\(K\)和\(\varepsilon^{*}\)。更好的替代方案是在固体壁面附近为\(K\)和\(\varepsilon^{*}\)指定分布。该分布可以通过与湍流平板边界层的类比得到[51]。但这需要知道壁面距离,而在非结构网格上壁面距离未必容易获得。en

The simplest approach is to initialise \(K\) and \(\varepsilon^{*}\) with their freestream values. A better alternative consists of prescribing profiles for \(K\) and \(\varepsilon^{*}\) near solid walls. The profiles can be obtained from analogy to turbulent flat-plate boundary layer [51]. However, this requires the knowledge of wall distances which may not be readily available like it is the case on unstructured grids.

若采用方程(7.52)的变换,固体壁面上的正确边界条件为\(K = 0\)和\(\varepsilon^{*} = 0\),这也意味着壁面上\(\mu_T = 0\)。在入口边界上,\(K\)和\(\varepsilon^{*}\)可以由湍流强度和长度尺度的关系式计算,即en

The proper boundary conditions at solid walls are \(K = 0\) and \(\varepsilon^{*} = 0\), provided the transformation in Eq. (7.52) is utilised. This also implies \(\mu_T = 0\) at walls. At inflow boundaries, \(K\) and \(\varepsilon^{*}\) can be computed from relations for the turbulent intensity and length scale, i.e.,

\[\left(T_u\right)_{\infty} = \frac{\sqrt{\dfrac{2}{3}K_{\infty}}}{\|\vec{v}_{\infty}\|_2}, \qquad \left(l_T\right)_{\infty} = \frac{C_{\mu}K_{\infty}^{3/2}}{\varepsilon_{\infty}^{*}}, \tag{7.64}\]

这里假定了\(\varepsilon_{\infty}^{*} = \varepsilon_{\infty}\)。在叶轮机械中,\(\left(l_T\right)_{\infty}\)取为平均径向叶片间距的\(10^{-3}\)至\(10^{-2}\)倍[61]。在出口边界上,\(K\)和\(\varepsilon^{*}\)的值由计算域内部外推。en

where we assumed \(\varepsilon_{\infty}^{*} = \varepsilon_{\infty}\). In turbomachinery, \(\left(l_T\right)_{\infty}\) is chosen between \(10^{-3}\) and \(10^{-2}\) times the mean radial blade spacing [61]. The values of \(K\) and \(\varepsilon^{*}\) are extrapolated from the interior at outflow boundaries.

Wall functions 壁面函数

如前所述,低雷诺数模型要求壁面处的网格非常细。标准条件是第一个节点(或单元质心)距壁面\(y^{+} \le 1\)。为了降低湍流方程的刚性并节省网格点/单元数量,常采用\(10 \le y^{+} \le 100\)的较粗网格。在这种情形下,K-\(\varepsilon\)模型——方程(7.50)或方程(7.57)——在不含阻尼函数(\(f_{\mu} = f_{\varepsilon1} = f_{\varepsilon2} = 1\);\(\varepsilon_w = 0\))和壁面项(\(\phi_{\varepsilon} = 0\))的情况下使用。这就是所谓的高雷诺数(high Reynolds number)湍流模型。显然,第一个节点(单元质心)与壁面之间的距离必须由所谓的壁面函数(wall functions)来弥合。壁面函数给出紧邻壁面的节点(单元质心)处\(K\)和\(\varepsilon^{*}\)的值。湍流方程不在壁面本身以及第一层节点(单元)上求解。壁面函数有多种形式,一般基于对数壁面律。一个例子是Spalding的函数[62],它同时模拟了黏性底层、过渡区和对数层。高雷诺数模型的实现可参见例如[63]-[67]或[58]。en

As we already noted, the low Reynolds number models require very fine grids at walls. The standard condition is that the first node (or cell centroid) should be located at the distance \(y^{+} \le 1\) from the wall. In order to reduce the the stiffness of the turbulence equations and to save a number of grid points/cells, coarser grids with \(10 \le y^{+} \le 100\) are often employed. In such a case, the K-\(\varepsilon\) model Eq. (7.50) or Eq. (7.57) is applied without the damping functions (\(f_{\mu} = f_{\varepsilon1} = f_{\varepsilon2} = 1\); \(\varepsilon_w = 0\)) and the wall term (\(\phi_{\varepsilon} = 0\)). We speak here of a high Reynolds number turbulence model. Apparently, the distance between the first node (cell centroid) and the wall has to be bridged by the so-called wall functions. The wall functions deliver the values of \(K\) and \(\varepsilon^{*}\) at the node (cell centroid) adjacent to the wall. The turbulence equations are not solved at the wall itself and at the first layer of nodes (cells). Various formulation of the wall functions are used, in general based on the logarithmic wall-law. One example is the function of Spalding [62], which models the viscous sublayer, the transition region as well as the logarithmic layer. Implementations of high Reynolds number models were described, e.g., in [63]-[67] or [58].

只要网格不太粗,使用壁面函数对附着边界层可以得到相当准确的结果。它还允许采用纯显式时间推进格式。然而,对分离流动而言,壁面函数的使用就非常成问题了。en

The application of the wall functions leads (provided the grid is not too coarse) to reasonably accurate results for attached boundary layers. It also allows the utilisation of purely explicit time-stepping schemes. However, the use of wall functions becomes highly questionable for separated flows.

7.2.3 SST Two-Equation Model of Menter Menter 的 SST 双方程模型[cfd-7-2-3]

Menter的K-\(\omega\)剪切应力输运(SST)湍流模型[68]、[69]把Wilcox的K-\(\omega\)模型[70]、[17]与一个高雷诺数K-\(\varepsilon\)模型(变换为K-\(\omega\)形式)合并在一起。SST模型力求结合两种模型的优点。因此,在边界层的底层内采用K-\(\omega\)方法,原因是K-\(\omega\)模型不需要阻尼函数,这使得在精度相近的情况下,数值稳定性比K-\(\varepsilon\)模型显著提高。此外,在边界层的对数区内也使用K-\(\omega\)模型,因为在逆压流动和可压缩流动中它优于K-\(\varepsilon\)方法。另一方面,在边界层的尾迹区采用K-\(\varepsilon\)模型,因为K-\(\omega\)模型对\(\omega\)的自由来流值非常敏感[71]。自由剪切层中也使用K-\(\varepsilon\)方法,因为它对尾流、射流和混合层的精度是一个较好的折中。en

The K-\(\omega\) Shear Stress Transport (SST) turbulence model of Menter [68], [69] merges the K-\(\omega\) model of Wilcox [70], [17] with a high Reynolds number K-\(\varepsilon\) model (transformed into the K-\(\omega\) formulation). The SST model seeks to combine the positive features of both models. Therefore, the K-\(\omega\) approach is employed in the sublayer of the boundary layer. The reason is that the K-\(\omega\) model needs no damping function. This leads, for similar accuracy, to significantly higher numerical stability in comparison to the K-\(\varepsilon\) model. Furthermore, the K-\(\omega\) model is also utilised in logarithmic part of the boundary layer, where it is superior to the K-\(\varepsilon\) approach in adverse pressure flows and in compressible flows. On the other hand, the K-\(\varepsilon\) model is employed in the wake region of the boundary layer because the K-\(\omega\) model is strongly sensitive to the freestream value of \(\omega\) [71]. The K-\(\varepsilon\) approach is also used in free shear layers since it represents a fair compromise in accuracy for wakes, jets, and mixing layers.

SST湍流模型的一个独特之处是修改了的湍流涡黏性函数,其目的是提高对强逆压梯度流动和压力诱导边界层分离的预测精度。这一修改考虑了湍流剪切应力的输运,其依据是Bradshaw的观察:主剪切应力与湍动能成正比。en

One distinct feature of the SST turbulence model is the modified turbulent eddy-viscosity function. The purpose is to improve the accuracy of prediction of flows with strong adverse pressure gradients and of pressure-induced boundary layer separation. The modification accounts for the transport of the turbulent shear stress. It is based on the observation of Bradshaw that the principal shear stress is proportional to the turbulent kinetic energy.

SST模型的一个缺点是必须显式地知道到最近壁面的距离,这在多块结构网格或非结构网格上需要特殊处理。壁面距离的计算参见例如文献[39]。SST湍流模型的应用实例可见[72]-[74]。en

A certain disadvantage of the SST model is that distances to the nearest wall have to be known explicitly. This requires special provisions on multiblock structured or on unstructured grids. See, e.g., Ref. [39] for the computation of wall distances. Examples for applications of the SST turbulence model can be found in [72]-[74].

Differential Form 微分形式

湍动能与湍流比耗散率的输运方程的微分形式为[68]en

The transport equations for the turbulent kinetic energy and the specific dissipation of turbulence read in differential form [68]

\[ \begin{aligned} \frac{\partial\rho K}{\partial t} + \frac{\partial}{\partial x_j}\left(\rho v_j K\right) &= \frac{\partial}{\partial x_j}\left[\left(\mu_L + \sigma_K\mu_T\right)\frac{\partial K}{\partial x_j}\right] + \tau_{ij}^F S_{ij} - \beta^{*}\rho\omega K \\ \frac{\partial\rho\omega}{\partial t} + \frac{\partial}{\partial x_j}\left(\rho v_j\omega\right) &= \frac{\partial}{\partial x_j}\left[\left(\mu_L + \sigma_{\omega}\mu_T\right)\frac{\partial\omega}{\partial x_j}\right] + \frac{C_{\omega}\rho}{\mu_T}\tau_{ij}^F S_{ij} \\ &- \beta\rho\omega^2 + 2\left(1 - f_1\right)\frac{\rho\sigma_{\omega2}}{\omega}\frac{\partial K}{\partial x_j}\frac{\partial\omega}{\partial x_j}. \end{aligned} \tag{7.65} \]

方程(7.65)右端各项分别代表守恒性扩散、涡黏性生成和耗散;此外,\(\omega\)方程中的最后一项描述交叉扩散(cross diffusion)。Favre平均湍流应力\(\tau_{ij}^F\)由式(7.25)给出,应变率张量\(S_{ij}\)由式(7.3)得到。式(7.28)和(7.29)中的湍流涡黏性由下式得到[68]en

The terms on the right-hand side of Eq. (7.65) represent conservative diffusion, eddy-viscosity production and dissipation, respectively. Furthermore, the last term in the \(\omega\)-equation describes the cross diffusion. The Favre-averaged turbulent stresses \(\tau_{ij}^F\) are given by Eq. (7.25) and the strain-rate tensor \(S_{ij}\) follows from Eq. (7.3). The turbulent eddy viscosity in Eq. (7.28) and (7.29) is obtained from [68]

\[\mu_T = \frac{a_1\rho K}{\max\left(a_1\omega,\ f_2\|\text{curl}\,\vec{v}\|_2\right)}. \tag{7.66}\]

湍流黏性的这一定义保证了在逆压梯度边界层内——那里\(K\)的生成大于其耗散\(\omega\)(因而\(a_1\omega < \|\text{curl}\,\vec{v}\|_2\))——Bradshaw假设,即\(\tau = a_1\rho K\)(剪切应力正比于湍动能)得到满足。en

This definition of the turbulent viscosity guarantees that in an adverse pressure gradient boundary layer, where the production of \(K\) is larger than its dissipation \(\omega\) (hence \(a_1\omega < \|\text{curl}\,\vec{v}\|_2\)), Bradshaw's assumption, i.e., \(\tau = a_1\rho K\) (shear stress proportional to turbulent kinetic energy) is satisfied.

方程(7.65)中的函数\(f_1\)用于把边界层内K-\(\omega\)模型的模型系数与自由剪切层及自由来流区中变换后的K-\(\varepsilon\)模型的系数混合起来,其定义为en

The function \(f_1\) in Eq. (7.65), which blends the model coefficients of the K-\(\omega\) model in boundary layers with the transformed K-\(\varepsilon\) model in free-shear layers and freestream zones, is defined as

\[ \begin{aligned} f_1 &= \tanh\left(arg_1^4\right) \\ arg_1 &= \min\left[\max\left(\frac{\sqrt{K}}{0.09\,\omega d},\ \frac{500\,\mu_L}{\rho\omega d^2}\right),\ \frac{4\rho\sigma_{\omega2}K}{CD_{K\omega}d^2}\right], \end{aligned} \tag{7.67} \]

其中\(d\)表示到最近壁面的距离,\(CD_{K\omega}\)是方程(7.65)中交叉扩散项的正部,即en

where \(d\) stands for the distance to the nearest wall and \(CD_{K\omega}\) is the positive part of the cross-diffusion term in Eq. (7.65), i.e.,

\[CD_{K\omega} = \max\left(2\,\frac{\rho\sigma_{\omega2}}{\omega}\frac{\partial K}{\partial x_j}\frac{\partial\omega}{\partial x_j},\ 10^{-20}\right). \tag{7.68}\]

方程(7.66)中的辅助函数\(f_2\)由下式给出en

The auxiliary function \(f_2\) in Eq. (7.66) is given by

\[ \begin{aligned} f_2 &= \tanh\left(arg_2^2\right) \\ arg_2 &= \max\left(\frac{2\sqrt{K}}{0.09\,\omega d},\ \frac{500\,\mu_L}{\rho\omega d^2}\right). \end{aligned} \tag{7.69} \]

模型常数如下en

The model constants are as follows

\[a_1 = 0.31, \qquad \beta^{*} = 0.09, \qquad \kappa = 0.41. \tag{7.70}\]

最后,SST湍流模型的系数\(\beta\)、\(C_{\omega}\)、\(\sigma_K\)和\(\sigma_{\omega}\)由K-\(\omega\)模型的系数(记作\(\phi_1\))与变换后的K-\(\varepsilon\)模型的系数(\(\phi_2\))混合得到。相应的关系式为en

Finally, the coefficients of the SST turbulence model \(\beta\), \(C_{\omega}\), \(\sigma_K\), and \(\sigma_{\omega}\) are obtained by blending the coefficients of the K-\(\omega\) model, denoted as \(\phi_1\), with those of the transformed K-\(\varepsilon\) model (\(\phi_2\)). The corresponding relation reads

\[\phi = f_1\phi_1 + \left(1 - f_1\right)\phi_2. \tag{7.71}\]

内层模型(K-\(\omega\))的系数为en

The coefficients of the inner model (K-\(\omega\)) are given by

\[ \begin{aligned} &\sigma_{K1} = 0.85, \qquad \sigma_{\omega1} = 0.5, \qquad \beta_1 = 0.075, \\ &C_{\omega1} = \beta_1/\beta^{*} - \sigma_{\omega1}\kappa^2/\sqrt{\beta^{*}} = 0.533. \end{aligned} \tag{7.72} \]

外层模型(K-\(\varepsilon\))的系数定义为en

The coefficients of the outer model (K-\(\varepsilon\)) are defined as

\[ \begin{aligned} &\sigma_{K2} = 1.0, \qquad \sigma_{\omega2} = 0.856, \qquad \beta_2 = 0.0828, \\ &C_{\omega2} = \beta_2/\beta^{*} - \sigma_{\omega2}\kappa^2/\sqrt{\beta^{*}} = 0.440. \end{aligned} \tag{7.73} \]

SST湍流模型的积分形式原则上与小节7.2.2中K-\(\varepsilon\)模型的积分形式相同,故此处不再重复。en

The integral formulation of the SST turbulence model corresponds, in principle, to that of the K-\(\varepsilon\) model from Subsection 7.2.2. Therefore, it is not repeated here.

Boundary Conditions 边界条件

固体壁面上湍动能与比耗散率的边界条件为en

The boundary conditions for the kinetic turbulent energy and the specific dissipation at solid walls are

\[K = 0 \qquad \text{and} \qquad \omega = 10\,\frac{6\mu_L}{\rho\beta_1\left(d_1\right)^2} \tag{7.74}\]

其中\(d_1\)为第一个节点(单元质心)到壁面的距离。网格须加密至\(y^{+} < 3\)。en

with \(d_1\) being the distance of the first node (cell centroid) from the wall. The grid has to be refined such that \(y^{+} < 3\).

对入口边界,建议采用如下自由来流值en

For the inflow boundaries, the following freestream values are recommended

\[\omega_{\infty} = C_1\frac{\|\vec{v}_{\infty}\|_2}{L}, \qquad \left(\mu_T\right)_{\infty} = \left(\mu_L\right)_{\infty}10^{-C_2}, \qquad K_{\infty} = \frac{\left(\mu_T\right)_{\infty}}{\rho_{\infty}}\,\omega_{\infty}, \tag{7.75}\]

其中\(L\)表示计算域的长度,\(1 \le C_1 \le 10\),\(2 \le C_2 \le 5\)。在出口边界上,\(K\)和\(\omega\)的值由计算域内部外推。en

where \(L\) denotes the length of the computational domain, \(1 \le C_1 \le 10\) and \(2 \le C_2 \le 5\), respectively. The values of \(K\) and \(\omega\) are extrapolated from the interior at outflow boundaries.