4.3.1 Central Scheme with Artificial Dissipation 含人工耗散的中心格式[cfd-4-3-1]

与其他离散方法相比,含人工耗散的中心格式非常简单。它既容易与单元中心格式结合实现,也容易与两种单元顶点格式结合实现。因此该格式得到了非常广泛的应用。en

The central scheme with artificial dissipation is very simple compared to other discretisation methods. It is easy to implement with either the cell-centred scheme or with both cell-vertex schemes. For these reasons the scheme became very wide-spread.

中心格式的基本思想,是用面两侧守恒变量的算术平均来计算控制体面上的对流通量。由于这会导致解的奇偶失联(odd-even decoupling,即离散方程产生两个独立的解)以及激波处的过冲,为保证稳定性必须加入人工耗散(其形式与黏性通量类似)。该格式由Jameson等人[6]最先实现于欧拉方程。以作者姓氏命名,它也简称为JST格式。en

The basic idea of the central scheme is to compute the convective fluxes at a face of the control volume from the arithmetic average of the conservative variables on both sides of the face. Since this would allow for odd-even decoupling of the solution (generation of two independent solutions of the discretised equations) and for overshoots at shocks, artificial dissipation (which is similar to the viscous fluxes) has to be added for stability. The scheme was first implemented for the Euler equations by Jameson et al. [6]. Because of the names of the authors, it is also abbreviated as the JST scheme.

与上风格式等相比,中心格式在间断和边界层的分辨率方面一般较差,但计算代价要低得多。因此,人们尝试在保持数值开销较低的同时提高格式精度。例如,有改进方案用于减少边界层内的人工耗散量[31]、[32],或增强激波分辨率[33]-[35]。文献[35]中的另一个想法是利用对流通量的Jacobian矩阵,使每个守恒方程的耗散得到各自独立的缩放。这一成功的方法称为矩阵耗散格式(matrix dissipation scheme),可视为原始标量格式与上风格式之间的折中。基本格式还采用单一的、基于压力的传感器,在间断处从二阶精度切换到一阶精度,以防止流动变量的非物理振荡。文献[36]中,Jameson提出了称为SLIP(对称限制正,Symmetric Limited Positive)格式的概念,其中对每个守恒方程分别施加限制器。文献[37]简要描述了上述各种方法,并给出了无黏与黏性二维流动的比较结果。en

The central scheme is generally less accurate in the resolution of discontinuities and boundary layers than, let say, the upwind schemes. However, it is computationally considerably cheaper. Therefore, attempts were made to improve the accuracy of the scheme, while still keeping the numerical effort low. For example, improvements were devised to reduce the amount of the artificial dissipation in boundary layers [31], [32], or to enhance the shock resolution [33]-[35]. Another idea, followed in [35], is to utilise the Jacobian matrix of the convective fluxes, in order to scale the dissipation independently for each conservation equation. This successful approach is known as the matrix dissipation scheme. It can be viewed as a compromise between the original scalar scheme and the upwind schemes. The basic scheme also employs a single, pressure-based sensor to switch from second- to first-order accuracy at discontinuities to prevent non-physical oscillations of the flow variables. In [36], Jameson developed a concept called the SLIP (Symmetric Limited Positive) scheme, where a limiter is applied separately for each conservation equation. A brief description of the previous approaches and comparisons for inviscid and viscous 2-D flows was presented in [37].

Scalar Dissipation Scheme 标量耗散格式

通过控制体面的对流通量(方程(2.21))用变量的平均来近似,分别依照方程(4.16)、(4.21)、(4.36)或(4.41)。然后,为使格式稳定,在中心通量上加入人工耗散[6]、[38]。于是,面\((I+1/2,J,K)\)上的总对流通量为en

The convective fluxes (Eq. (2.21)) through a face of the control volume are approximated using the average of variables, according to the Equations (4.16), (4.21), (4.36), or (4.41), respectively. Artificial dissipation is then added to the central fluxes for stability [6], [38]. Thus, the total convective flux at face \((I+1/2,J,K)\) reads

\[(\vec{F}_c\,\Delta S)_{I+1/2,J,K} \approx \vec{F}_c(\vec{W}_{I+1/2,J,K})\,\Delta S_{I+1/2,J,K} - \vec{D}_{I+1/2,J,K}\,, \tag{4.48}\]

其中流动变量取平均为(另见图4.8)en

where the flow variables are averaged as (see also Fig. 4.8)

\[\vec{W}_{I+1/2,J,K} = \frac{1}{2}\left(\vec{W}_{I,J,K} + \vec{W}_{I+1,J,K}\right). \tag{4.49}\]

在采用对偶控制体的单元顶点格式情形,将改用节点指标\((i,j,k)\)。为简便起见,今后把\((I+1/2,J,K)\)缩写为\((I+1/2)\)。人工耗散通量由自适应的二阶与四阶差分的混合构成,它们来自一阶与三阶差分算子之和en

In the case of the cell-vertex scheme with dual control volumes, node indices \((i,j,k)\) would be used instead. For simplicity, \((I+1/2,J,K)\) will be abbreviated as \((I+1/2)\) hereafter. The artificial dissipation flux consists of a blend of adaptive second- and fourth-order differences, which result from the sum of first- and third-order difference operators

\[\vec{D}_{I+1/2} = \hat{\Lambda}^{S}_{I+1/2}\left[\epsilon^{(2)}_{I+1/2}(\vec{W}_{I+1} - \vec{W}_I) - \epsilon^{(4)}_{I+1/2}(\vec{W}_{I+2} - 3\vec{W}_{I+1} + 3\vec{W}_I - \vec{W}_{I-1})\right]. \tag{4.50}\]

由方程(4.50)可见,该格式在二维具有紧凑的9点模板,在三维为13点模板。耗散用所有坐标方向上对流通量Jacobian的谱半径之和来缩放en

From Eq. (4.50) we can see that the scheme possesses a compact 9-point stencil in two dimensions and a 13-point stencil in three dimensions. The dissipation is scaled by the sum of the spectral radii of the convective flux Jacobians in all coordinate directions

\[\hat{\Lambda}^{S}_{I+1/2} = (\hat{\Lambda}^{I}_{c})_{I+1/2} + (\hat{\Lambda}^{J}_{c})_{I+1/2} + (\hat{\Lambda}^{K}_{c})_{I+1/2}\,. \tag{4.51}\]

单元面\((I+1/2)\)处的谱半径——例如I方向(以上标\(I\)表示)——由平均得到en

The spectral radius at the cell face \((I+1/2)\), e.g., in I-direction (represented by the superscript \(I\)), results from the average

\[(\hat{\Lambda}^{I}_{c})_{I+1/2} = \frac{1}{2}\left[(\hat{\Lambda}^{I}_{c})_{I} + (\hat{\Lambda}^{I}_{c})_{I+1}\right]. \tag{4.52}\]

它用下式计算en

It is evaluated using the formula

\[\hat{\Lambda}_{c} = \left(\left|V\right| + c\right)\Delta S\,, \tag{4.53}\]

其中\(V\)为逆变量速度(contravariant velocity)(2.22),\(c\)为声速。格式用一个基于压力的传感器在激波处关闭四阶差分——在那里四阶差分会引起解的强烈振荡;该传感器同时在流场光滑区域关闭二阶差分,以把耗散降到尽可能低的水平。据此,方程(4.50)中的系数\(\epsilon^{(2)}\)与\(\epsilon^{(4)}\)定义为en

where \(V\) stands for the contravariant velocity (2.22) and \(c\) for the speed of sound, respectively. A pressure-based sensor is used to switch off the fourth-order differences at shocks, where they would lead to strong oscillation of the solution. The sensor also switches off the second-order differences in smooth parts of the flow field, in order to reduce the dissipation to the lowest possible level. Herewith, the coefficients \(\epsilon^{(2)}\) and \(\epsilon^{(4)}\) in Eq. (4.50) are defined as

\[\begin{aligned} \epsilon^{(2)}_{I+1/2} &= k^{(2)} \max(\Upsilon_I, \Upsilon_{I+1})\\ \epsilon^{(4)}_{I+1/2} &= \max\left[0,\,(k^{(4)} - \epsilon^{(2)}_{I+1/2})\right] \end{aligned} \tag{4.54}\]

其中压力传感器为en

with the pressure sensor given by

\[\Upsilon_I = \frac{\left|p_{I+1} - 2p_I + p_{I-1}\right|}{p_{I+1} + 2p_I + p_{I-1}}\,. \tag{4.55}\]

参数的典型取值为\(k^{(2)} = 1/2\)与\(1/128 \le k^{(4)} \le 1/64\)。为了减少跨越黏性剪切层的人工耗散量,可以把方程(4.50)中的缩放因子重新定义如下[31]、[32]en

Typical values of the parameters are \(k^{(2)} = 1/2\) and \(1/128 \le k^{(4)} \le 1/64\). In order to reduce the amount of artificial dissipation across a viscous shear layer, we can re-define the scaling factors in Eq. (4.50) as follows [31], [32]

\[\begin{aligned} \hat{\Lambda}^{S}_{I+1/2} &= \frac{1}{2}\left[(\phi^{I}\hat{\Lambda}^{I}_{c})_{I} + (\phi^{I}\hat{\Lambda}^{I}_{c})_{I+1}\right]\\ \hat{\Lambda}^{S}_{J+1/2} &= \frac{1}{2}\left[(\phi^{J}\hat{\Lambda}^{J}_{c})_{J} + (\phi^{J}\hat{\Lambda}^{J}_{c})_{J+1}\right]\\ \hat{\Lambda}^{S}_{K+1/2} &= \frac{1}{2}\left[(\phi^{K}\hat{\Lambda}^{K}_{c})_{K} + (\phi^{K}\hat{\Lambda}^{K}_{c})_{K+1}\right]. \end{aligned} \tag{4.56}\]

随后用它们替代方程(4.51)。依赖方向的系数\(\phi\)由以下关系给出en

These are then employed instead of Eq. (4.51). The directionally dependent coefficients \(\phi\) are given by the relations

\[\begin{aligned} \phi^{I} &= 1 + \max\left[\left(\frac{\hat{\Lambda}^{J}_{c}}{\hat{\Lambda}^{I}_{c}}\right)^{\sigma},\left(\frac{\hat{\Lambda}^{K}_{c}}{\hat{\Lambda}^{I}_{c}}\right)^{\sigma}\right]\\ \phi^{J} &= 1 + \max\left[\left(\frac{\hat{\Lambda}^{I}_{c}}{\hat{\Lambda}^{J}_{c}}\right)^{\sigma},\left(\frac{\hat{\Lambda}^{K}_{c}}{\hat{\Lambda}^{J}_{c}}\right)^{\sigma}\right]\\ \phi^{K} &= 1 + \max\left[\left(\frac{\hat{\Lambda}^{I}_{c}}{\hat{\Lambda}^{K}_{c}}\right)^{\sigma},\left(\frac{\hat{\Lambda}^{J}_{c}}{\hat{\Lambda}^{K}_{c}}\right)^{\sigma}\right]. \end{aligned} \tag{4.57}\]

参数\(\sigma\)通常取1/2或2/3。这一表述减小了沿控制体较短一侧方向的耗散项缩放,适用于较长一侧与流动方向一致的情形。en

The parameter \(\sigma\) is usually set equal to 1/2 or 2/3. This formulation decreases the scaling of the dissipation terms in the direction along the shorter side of a control volume, whose longer side is aligned with the flow.

Matrix Dissipation Scheme 矩阵耗散格式

为了通过减少数值耗散来提高精度,可以把前述JST格式修改得更像上风格式。其想法是用一个矩阵——对流通量Jacobian——代替标量值\(\hat{\Lambda}^{S}\)来缩放耗散项[35]。这样,每个方程都由相应的特征值恰当地缩放。于是,方程(4.50)变为en

In order to improve the accuracy by reducing the numerical dissipation, the preceding JST scheme can be modified to become more like an upwind scheme. The idea is to use a matrix - the convective flux Jacobian - instead of the scalar value \(\hat{\Lambda}^{S}\) to scale the dissipation terms [35]. In this way, each equation is scaled properly by the corresponding eigenvalue. Hence, the Eq. (4.50) becomes

\[\vec{D}_{I+1/2} = \left|\bar{A}_c\right|_{I+1/2}\left[\epsilon^{(2)}_{I+1/2}(\vec{W}_{I+1} - \vec{W}_I) - \epsilon^{(4)}_{I+1/2}(\vec{W}_{I+2} - 3\vec{W}_{I+1} + 3\vec{W}_I - \vec{W}_{I-1})\right]. \tag{4.58}\]

缩放矩阵对应于用特征值绝对值对角化的对流通量Jacobian\((\bar{A}_c = \partial\vec{F}_c/\partial\vec{W})\)en

The scaling matrix corresponds to the convective flux Jacobian \((\bar{A}_c = \partial\vec{F}_c/\partial\vec{W})\) diagonalised with absolute values of the eigenvalues

\[\left|\bar{A}_c\right| = \bar{T}\left|\bar{\Lambda}_c\,\Delta S\right|\bar{T}^{-1}. \tag{4.59}\]

右特征向量矩阵\((\bar{T})\)与左特征向量矩阵\((\bar{T}^{-1})\)以及特征值对角矩阵\(\bar{\Lambda}_c\)见附录A.11。在驻点和声速线处必须对特征值加以限制,以防耗散变为零。文献[35]给出了一种高效计算\(|\bar{A}_c|\)与\(\vec{W}\)乘积的方法。注意,若取\(\epsilon^{(2)} = 1/2\)、\(\epsilon^{(4)} = 0\),则得到一阶精度的完全上风格式。en

The matrices of right \((\bar{T})\) and left \((\bar{T}^{-1})\) eigenvectors as well as the diagonal matrix of the eigenvalues \(\bar{\Lambda}_c\) can be found in the Appendix A.11. The eigenvalues must be limited at stagnation points and sonic lines to prevent the dissipation from becoming zero. An efficient way of computing the product of \(|\bar{A}_c|\) with \(\vec{W}\) is provided in [35]. It should be noted that by setting \(\epsilon^{(2)} = 1/2\) and \(\epsilon^{(4)} = 0\), we obtain a first-order accurate, fully upwind scheme.

如前所述,这里的目标是发展一种精度接近上风格式、但计算开销只比标量耗散方法高约15%-20%的格式。最近,文献[37]报道了与通量向量分裂格式(CUSP与AUSM)的比较结果。en

As it was already stated before, the idea here was to develop a scheme which accuracy is close to that of upwind schemes, but which is still computationally only slightly more expensive (about 15-20%) than the scalar dissipation approach. Results of comparisons with flux-vector splitting schemes (CUSP and AUSM) were recently reported in [37].