betaFeedback

WorksPhysics and Astronomy

An implicit gas-kinetic scheme for internal and external flows

Abstract

The gas-kinetic scheme(GKS) is a promising computational fluid dynamics (CFD) method for solving the Navier-Stokes equations. It is based on the analytical solution of the BGK equation, which enables accurate and robust simulations. While GKS has demonstrated excellent properties (e.g., unified treatment of inviscid and viscous fluxes, inherent adaptive dissipation control), its application to classical engineering problems, such as aerodynamic flows and fluid machinery, remains underdeveloped compared to conventional CFD methods. This study bridges this gap by advancing GKS capabilities for real-world engineering challenges. First, the GKS is extended to a rotating coordinate frame, enabling efficient simulations of internal flows in turbomachinery. Second, the computational inefficiency of explicit GKS is addressed through an implicit time discretization using the generalized minimal residual method. The Jacobian matrices for inviscid/viscous fluxes are approximated using the first-order kinetic flux vector splitting scheme and the thin shear layer approximation to enhance robustness and computational efficiency further. Third, the shear-stress transport turbulence model is coupled to expand GKS's applicability to industrial turbulent flows. Numerical tests, including internal compressor rotor flow and external flow over a 3-D wingbody, validate the proposed method's accuracy and efficiency. Via our implicit scheme, the force coefficients of the 3-D wing-body flow with about five million mesh elements can converge after 500 steps. This work represents a practical advancement of GKS, demonstrating its potential to compete with established CFD solvers in high-Reynolds-number external and internal turbulent flows.

*Corresponding author

*Email addresses: [email protected] (Yue Zhang), [email protected] (Xing Ji), [email protected] (Kun Xu)

Introduction

The advancement of the aviation industry has led to an increasing demand for enhanced aerodynamic performance, improved propulsion efficiency, and heightened safety in aircraft design. Computational fluid dynamics (CFD) has emerged as a fundamental technology in this field, enabling engineers to simulate fluid flow characteristics numerically. By providing high-resolution data in complex flow scenarios, CFD significantly reduces the cost and duration associated with traditional wind tunnel testing. It addresses challenges such as external aerodynamics in aircraft shape design, wing-engine interactions, and internal flow issues in compressor and turbine components. This work aims to develop the gas-kinetic scheme (GKS) method specifically for aviation applications.

The GKS is a numerical approach rooted in kinetic theory, designed to solve the Euler and Navier–Stokes equations [1]. Unlike conventional solvers that rely on Riemann problems to compute inviscid flux and the central difference method for viscous fluxes, GKS operates at the mesoscopic scale, utilizing kinetic theory to capture the underlying physical processes with greater accuracy. By integrating both normal and tangential gradients of flow variables around cell interfaces during the time evolution of the gas distribution function, GKS effectively incorporates multi-dimensional effects [2]. The time-accurate surface distribution function allows for direct updates of flow variables without additional equations, facilitating the implementation of compact reconstruction methods. A third-order compact scheme was first developed by combining cell-averaged flow variables with pointwise variables at cell interfaces [3]. HWENO-type methods and two-step multi-resolution WENO reconstructions have been developed within the GKS framework to achieve high-order spatial accuracy [4, 5]. Furthermore, the compact GKS (CGKS) has been successfully implemented on both structured and unstructured meshes for two- and three-dimensional problems [6, 7, 8, 9, 10, 11, 12], which shows the potential of GKS in high-order accuracy and computational efficiency.

Accurate and efficient predictions of steady-state flow are of vital importance in design and optimization problems within aviation applications. However, explicit time integration methods can be computationally expensive when applied to steady problems, particularly when dealing with small-scale meshes for resolving boundary layers. To improve computational efficiency, implicit schemes are often employed for temporal discretization. Two widely used implicit methods are the lower-upper symmetric Gauss-Seidel (LU-SGS) and generalized minimal residual (GMRES) methods. The LU-SGS method, introduced by Yoon [13], decomposes the coefficient matrix into lower triangular, diagonal, and upper triangular components, solving the system through forward and backward sweeps. While LU-SGS is stable and straightforward to implement, it often exhibits slow convergence. In contrast, the GMRES method [14, 15], a Krylov subspace technique, minimizes the residual norm within a Krylov subspace, offering enhanced robustness and superior performance for ill-conditioned systems, albeit with higher memory requirements. Various preconditioners have been applied to GMRES to improve convergence further [18, 19] [16, 17]. Significant research has focused on enhancing the efficiency of GKS solvers, including the development of LU-SGS-based [20, 21] and GMRES-based [22, 23, 24] methods. In this paper, the GMRES method is employed to enhance convergence. As demonstrated in [18, 25], using an accurate Jacobian matrix can significantly improve the performance of the GMRES method. Therefore, this study utilizes a more precise Jacobian matrix than previous research for implicit GKS.

In addressing challenges in aviation applications, it is important to consider typical rotating components such as compressors and turbines in engines. A non-inertial rotating coordinate system is well-suited for analyzing the intricate flow dynamics associated with these components. In this framework, the effects of centrifugal and Coriolis forces become significant and must be incorporated into the governing kinetic equations [26]. Our previous work developed the GKS for rotating mesh problems using this approach [27]. The corresponding macroscopic governing equations are systematically derived from the BGK equation via the Chapman-Enskog expansion, facilitating a rigorous transition from kinetic to continuum descriptions. This study focuses on steady-state problems, ignoring the acceleration term in the gas distribution function to simplify flux calculations.

The structure of this paper is organized as follows: In Section 2, the gas-kinetic scheme in a rotating coordinate frame is derived. Section 3 presents the reconstruction methods for non-equilibrium and equilibrium distribution functions. Section 4 discusses the implicit time discretization using the GMRES method in detail. Section 5 introduces the shear-stress transport (SST) turbulence model and its discretization. In Section 6, the numerical results are presented, and finally, Section 7 concludes the paper.

Gas-Kinetic Finite Volume Scheme

BGK equation in rotating framework

In this section, the gas-kinetic BGK equation in a rotating frame is derived to deal with the rotation problem. The system returns to the inertial frame when the rotation speed equals zero. The gas-kinetic BGK equation in a rotating frame is

∂f∂t+w⋅∇xf+aw⋅∇wf=g−fτ\frac{\partial f}{\partial t}+\mathbf{w}\cdot\nabla_{\mathbf{x}}f+\mathbf{a}_{w}\cdot\nabla_{\mathbf{w}}f=\frac{g-f}{\tau}

where f=f(x,t,w,ξ)f=f(\mathbf{x},t,\mathbf{w},\boldsymbol{\xi}) is the gas distribution function, gg is the corresponding equilibrium state, and τ\tau is the collision time. w=(w1,w2,w3)\mathbf{w}=(w_1,w_2,w_3) is the particle velocity in the rotating frame. And the acceleration in the rotating frame is

aw=dwdt=−Ω×(Ω×r)−2(Ω×w)\mathbf{a}_{w}=\frac{\mathrm{d}\mathbf{w}}{\mathrm{d}t}=-\boldsymbol{\Omega}\times(\boldsymbol{\Omega}\times\mathbf{r})-2(\boldsymbol{\Omega}\times\mathbf{w})

where Ω\boldsymbol{\Omega} is the angular velocity of the rotating frame, and r\mathbf{r} is a position vector from the origin of rotation to the particle’s position. −Ω×(Ω×r)-\boldsymbol{\Omega}\times(\boldsymbol{\Omega}\times\mathbf{r}) is centrifugal force and −2(Ω×w)-2(\boldsymbol{\Omega}\times\mathbf{w}) is Coriolis force. Denote v=(v1,v2,v3)\mathbf{v}=(v_1,v_2,v_3) as the particle velocity in the absolute inertial reference frame; the relationship among velocities is

v=U+w\mathbf{v}=\mathbf{U}+\mathbf{w}

where U=Ω×r\mathbf{U} = \boldsymbol{\Omega} \times\mathbf{r} is convection velocity due to the frame rotation. According to av=dvdt=dwdt+(Ω×w)\mathbf{a}_{v} = \frac{\mathrm{d}\mathbf{v}}{\mathrm{d}t} = \frac{\mathrm{d}\mathbf{w}}{\mathrm{d}t} + (\boldsymbol{\Omega} \times\mathbf{w}), the acceleration term in the rotating frame can be expressed as −(Ω×v)⋅∇vf-(\boldsymbol{\Omega} \times\mathbf{v}) \cdot\nabla_{v}f. Then the BGK equation becomes

∂f∂t+w⋅∇xf−(Ω×v)⋅∇vf=g−fτ,(1)\frac{\partial f}{\partial t} + \mathbf{w} \cdot\nabla_{x}f - (\boldsymbol{\Omega} \times\mathbf{v}) \cdot\nabla_{v}f = \frac{g-f}{\tau}, \tag*{(1)}

where ff can be defined by absolute velocity v\mathbf{v}, such as f=f(x,t,v,ξ)f = f(\mathbf{x},t,\mathbf{v},\boldsymbol{\xi}). The collision term in the above equation describes the evolution process from a non-equilibrium state to an equilibrium one, with the satisfaction of the compatibility condition

∫g−fτΨ dv dΞ=0,\int\frac{g-f}{\tau}\boldsymbol{\Psi}\,\mathrm{d}\mathbf{v}\,\mathrm{d}\boldsymbol{\Xi} = 0,

where Ψ=(1,v1,v2,v3,12(v12+v22+v32+ξ2))T\boldsymbol{\Psi} = \left(1,v_{1},v_{2},v_{3},\frac{1}{2}(v_{1}^{2}+v_{2}^{2}+v_{3}^{2}+\xi^{2})\right)^{T} and dΞ=dξ1⋯dξK\mathrm{d}\boldsymbol{\Xi} = \mathrm{d}\xi_{1}\cdots\mathrm{d}\xi_{K} (KK is the number of internal degree of freedom, i.e. K=2K=2 for three-dimensional diatomic gas). Based on the Chapman-Enskog Expansion [27], the Euler and N-S equations in the rotating frame can be obtained. The N-S equations in a rotating frame are

∂ρ∂t+∇⋅ρ(V−U)=0,∂ρV∂t+∇⋅[ρ(V−U)V+pI−σ‾]=−Ω×ρV,∂ρE∂t+∇⋅[ρH(V−U)+pV−κ∇T−σ‾⋅V]=0.\begin{aligned} \frac{\partial\rho}{\partial t} + \nabla\cdot\rho(\mathbf{V}-\mathbf{U}) &= 0,\\ \frac{\partial\rho\mathbf{V}}{\partial t} + \nabla\cdot[\rho(\mathbf{V}-\mathbf{U})\mathbf{V} + p\mathbf{I} - \overline{\boldsymbol{\sigma}}] &= -\boldsymbol{\Omega} \times\rho\mathbf{V},\\ \frac{\partial\rho E}{\partial t} + \nabla\cdot[\rho H(\mathbf{V}-\mathbf{U}) + p\mathbf{V} - \kappa\nabla T - \overline{\boldsymbol{\sigma}}\cdot\mathbf{V}] &= 0. \end{aligned}

where ρ\rho, V\mathbf{V}, pp, TT, EE, HH and σ‾\overline{\boldsymbol{\sigma}} are the density, absolute velocity, pressure, temperature, energy, enthalpy, and viscosity stress of fluid. With the gradient of temperature ∇T\nabla T and viscosity stress σ‾\overline{\boldsymbol{\sigma}} equal to zero, the N-S equations become the Euler Equations.

Finite volume discretization

The finite volume method is used to discretize the system. The whole domain Ω\Omega is discretized into small cells Ωi\Omega_i

Ω=⋃iΩi,Ωi∩Ωj=ϕ(i≠j).\Omega= \bigcup_i \Omega_i,\quad\Omega_i \cap\Omega_j = \phi(i \ne j).

For each cell Ωi\Omega_i, the boundary faces can be expressed as

∂Ωi=⋃p=1NfΓip.\partial\Omega_i = \bigcup_{p=1}^{N_f} \Gamma_{ip}.

Taking moments of the BGK equation (1) and integrating over the cell Ωi\Omega_i, the semi-discretized form of the finite volume scheme can be written as

∣Ωi∣dWidt=−∑p=1Nf∫Γp(F(W)−WU)⋅np dS+S(W)≔LF(W)+S(W).(2)\lvert\Omega_i\rvert\frac{\mathrm{d}\mathbf{W}_i}{\mathrm{d}t}=-\sum_{p=1}^{N_f}\int_{\Gamma_p}(\mathbf{F}(\mathbf{W})-\mathbf{W}\mathbf{U})\cdot\mathbf{n}_p\,\mathrm{d}S+\mathbf{S}(\mathbf{W})\coloneqq\mathcal{L}_{F}(\mathbf{W})+\mathbf{S}(\mathbf{W}). \tag*{(2)}

where Wi\mathbf{W}_i is the cell average conservative value, ∣Ωi∣\lvert\Omega_i\rvert is the volume of cell Ωi\Omega_i, F(W)\mathbf{F}(\mathbf{W}) is the flux passing through the fixed element surface, WU\mathbf{W}\mathbf{U} presents the flux due to the mesh motion, np=(n1,n2,n3)T\mathbf{n}_p=(n_1,n_2,n_3)^{T} is the normal direction of cell surface and S=∣Ωi∣[0,−Ω×ρV,0]T\mathbf{S}=\lvert\Omega_i\rvert[0,-\boldsymbol{\Omega}\times\rho\mathbf{V},0]^{T} is the source term due to frame rotation.

The integration of flux can be approximated (the index ii is omitted )

∫Γp(F(W)−WU)⋅npdS≈∣Sp∣(F(W)−WU)xp⋅np,\int_{\Gamma_p}(\mathbf{F}(\mathbf{W})-\mathbf{W}\mathbf{U})\cdot\mathbf{n}_p\mathrm{d}S\approx\lvert S_p\rvert(\mathbf{F}(\mathbf{W})-\mathbf{W}\mathbf{U})_{x_p}\cdot\mathbf{n}_p,

where ∣Sp∣\lvert S_p\rvert is the cell surface area, and xp\mathbf{x}_p is the coordinate of the cell surface center. The flux through the surface is expressed as

F(W,x)=(F(W)−WU)xp⋅np=∫f(x,t,v,ξ)w⋅npΨ dv dΞ.\mathbf{F}(\mathbf{W},\mathbf{x})=(\mathbf{F}(\mathbf{W})-\mathbf{W}\mathbf{U})_{x_p}\cdot\mathbf{n}_p=\int f(\mathbf{x},t,\mathbf{v},\xi)\mathbf{w}\cdot\mathbf{n}_p\boldsymbol{\Psi}\,\mathrm{d}v\,\mathrm{d}\Xi.

There is a conflict that the particle velocity across the cell surface is the relative velocity, but the momentum and energy that particles carry is about the absolute velocity. To solve this problem, the transformation from the flux with relative velocity to the flux with absolute velocity is used here. The components of F\mathbf{F} are determined through the following transformation relations:

Fρ=Fρ′,FρV1=FρW1′+U1Fρ′,FρV2=FρW2′+U2Fρ′,FρV3=FρW3′+U3Fρ′,FρE=FρE′+U1FρW1′+U2FρW2′+U3FρW3′+12(U12+U22+U32)Fρ′.(3)\begin{aligned} \mathbf{F}_{\rho}&=\mathbf{F}'_{\rho},\\ \mathbf{F}_{\rho V_1}&=\mathbf{F}'_{\rho W_1}+U_1\mathbf{F}'_{\rho},\\ \mathbf{F}_{\rho V_2}&=\mathbf{F}'_{\rho W_2}+U_2\mathbf{F}'_{\rho},\\ \mathbf{F}_{\rho V_3}&=\mathbf{F}'_{\rho W_3}+U_3\mathbf{F}'_{\rho},\\ \mathbf{F}_{\rho E}&=\mathbf{F}'_{\rho E}+U_1\mathbf{F}'_{\rho W_1}+U_2\mathbf{F}'_{\rho W_2}+U_3\mathbf{F}'_{\rho W_3}+\frac{1}{2}(U_1^2+U_2^2+U_3^2)\mathbf{F}'_{\rho}. \tag*{(3)} \end{aligned}

The flux F′\mathbf{F}' is defined by the relative velocity, and can be evaluated through the following integral formulation:

F′(W,x~)=T−1∫f(x~,t,w~,ξ)w~1Ψ~′ dw~ dΞ,(4)\mathbf{F}'(\mathbf{W},\tilde{\mathbf{x}})=\mathbf{T}^{-1}\int f(\tilde{\mathbf{x}},t,\tilde{\mathbf{w}},\xi)\tilde{w}_1\tilde{\boldsymbol{\Psi}}'\,\mathrm{d}\tilde{w}\,\mathrm{d}\Xi, \tag*{(4)}

where x~=(0,0,0)\tilde{\mathbf{x}}=(0,0,0) denotes the origin of the local coordinate system with x-direction aligned with n\mathbf{n}, and Ψ~′=(1,w~1,w~2,w~3,12(w~12+w~22+w~32+ξ2))T\tilde{\boldsymbol{\Psi}}'=(1,\tilde{w}_1,\tilde{w}_2,\tilde{w}_3,\frac{1}{2}(\tilde{w}_1^2+\tilde{w}_2^2+\tilde{w}_3^2+\xi^2))^{T}, and T=diag⁡(1,T′,1)\mathbf{T}=\operatorname{diag}(1,\mathbf{T}',1) denotes the rotation matrix, with

T′=(n1n2n3−n2n1+n321+n1−n2n31+n1−n3−n2n31+n11−n321+n1),n1≠−1,\mathbf{T}'=\begin{pmatrix} n_1 & n_2 & n_3 \\ -n_2 & n_1+\frac{n_3^2}{1+n_1} & -\frac{n_2n_3}{1+n_1} \\ -n_3 & -\frac{n_2n_3}{1+n_1} & 1-\frac{n_3^2}{1+n_1} \end{pmatrix},\qquad n_1\ne-1,

and T′\mathbf{T}' reduces to diag⁡(−1,−1,1)\operatorname{diag}(-1,-1,1) when n1=−1n_1=-1. The microscopic velocities in the local coordinate system are obtained through the transformation w~=T′w\widetilde{\mathbf{w}}=\mathbf{T}'\mathbf{w}.

Gas evolution model

In order to construct the numerical fluxes at x=(0,0,0)T\mathbf{x}=(0,0,0)^T, the integral solution of the BGK equation Eq. (1) is

f(x,t,w,ξ)=1τ∫0tg(x′,t′,w,ξ)e−(t−t′)/τ dt′+e−t/τf0(x0,w),(5)f(\mathbf{x},t,\mathbf{w},\boldsymbol{\xi})=\frac{1}{\tau}\int_0^t g(\mathbf{x}',t',\mathbf{w},\boldsymbol{\xi})e^{-(t-t')/\tau}\,\mathrm{d}t'+e^{-t/\tau}f_0(\mathbf{x}_0,\mathbf{w}), \tag*{(5)}

with the trajectory

x=x′+w(t−t′).\mathbf{x}=\mathbf{x}'+\mathbf{w}(t-t').

In Eq. (5), f0f_0 is the initial gas distribution function, and gg is the corresponding equilibrium state. x0\mathbf{x}_0 are the initial position by tracing back particles x\mathbf{x} at time tt back to t=0t=0.

Before constructing the initial distribution function f0f_0 and equilibrium state gg, first denote

a=(a1,a2,a3)=∇xg/g,A=gt/g.\mathbf{a}=(a_1,a_2,a_3)=\nabla_{\mathbf{x}}g/g,\qquad A=g_t/g.

In the following derivation, quadratic terms of time will be ignored directly. With the consideration of possible discontinuity at an interface, the initial distribution is constructed as

f0(x0,w0)=f0l(x0,w)(1−H(x1))+f0r(x0,w)H(x1),(6)f_0(\mathbf{x}_0,\mathbf{w}_0)=f_0^l(\mathbf{x}_0,\mathbf{w})\left(1-H(x_1)\right)+f_0^r(\mathbf{x}_0,\mathbf{w})H(x_1), \tag*{(6)}

where HH is the Heaviside function. f0lf_0^l and f0rf_0^r are the initial gas distribution functions on the left and right sides of the interface, which are determined by corresponding initial macroscopic variables and their spatial derivatives. With the second-order accuracy, f0k(x,w)f_0^k(\mathbf{x},\mathbf{w}) is constructed by Taylor expansion around (x,w)(\mathbf{x},\mathbf{w})

f0k(x0,w)=fGk(x,w)−wt⋅∇xfGk(7)f_0^k(\mathbf{x}_0,\mathbf{w})=f_G^k(\mathbf{x},\mathbf{w})-\mathbf{w}t\cdot\nabla_{\mathbf{x}}f_G^k \tag*{(7)}

for k=l,rk=l,r. Based on the Chapman-Enskog expansion, fGkf_G^k is given by

fGk=gk[1−τ(Ak+ak⋅w)],(8)f_G^k=g^k\left[1-\tau\left(A^k+\mathbf{a}^k\cdot\mathbf{w}\right)\right], \tag*{(8)}

where gkg^k is the equilibrium distribution function defined by the macroscopic variables Wk\mathbf{W}^k at both sides of a cell interface, ak\mathbf{a}^{k} are defined by the spatial derivatives of gkg^{k}

aik=(∂gk∂ρk∂ρk∂xi+∂gk∂W1k∂W1k∂xi+∂gk∂W2k∂W2k∂xi+∂gk∂W3k∂W3k∂xi+∂gk∂λk∂λk∂xi)/gk=ai1k+ai2kw1+ai3kw2+ai4kw3+ai5k12(w12+w22+w32ξ2),\begin{aligned} a_i^k = \left(\frac{\partial g^k}{\partial\rho^k}\frac{\partial\rho^k}{\partial x_i}+\frac{\partial g^k}{\partial W_1^k}\frac{\partial W_1^k}{\partial x_i}+\frac{\partial g^k}{\partial W_2^k}\frac{\partial W_2^k}{\partial x_i}+\frac{\partial g^k}{\partial W_3^k}\frac{\partial W_3^k}{\partial x_i}+\frac{\partial g^k}{\partial\lambda^k}\frac{\partial\lambda^k}{\partial x_i}\right)/g^k \\ &= a_{i1}^k+a_{i2}^k w_1+a_{i3}^k w_2+a_{i4}^k w_3+a_{i5}^k\frac{1}{2}\left(w_1^2+w_2^2+w_3^2\xi^2\right), \end{aligned}

and

Ak=A1k+A2kw1+A3kw2+A4kw3+A5k12(w12+w22+w32ξ2)A^k=A_1^k+A_2^k w_1+A_3^k w_2+A_4^k w_3+A_5^k\frac{1}{2}\left(w_1^2+w_2^2+w_3^2\xi^2\right)

are determined by the compatibility condition

∫(fGk−gk)Ψ dw dΞ=0.(9)\int\left(f_G^k-g^k\right)\Psi\, \mathrm{d}w\,\mathrm{d}\Xi=0. \tag*{(9)}

Substituting Eq. (7) and (8) into (6), the initial gas distribution has following form

f0={gl[1−(al⋅w)t−τ(Al+al⋅w)],x1<0,gr[1−(ar⋅w)t−τ(Ar+ar⋅w)],x1≥0.(10)f_0= \begin{cases} g^l\left[1-\left(\mathbf{a}^l\cdot\mathbf{w}\right)t-\tau\left(A^l+\mathbf{a}^l\cdot\mathbf{w}\right)\right], & x_1<0,\\ g^r\left[1-\left(\mathbf{a}^r\cdot\mathbf{w}\right)t-\tau\left(A^r+\mathbf{a}^r\cdot\mathbf{w}\right)\right], & x_1\geq0. \end{cases} \tag*{(10)}

Then, the equilibrium distribution is defined by the Taylor expansion

g(x′,t′,w)=gˉ(x,0,w)+∇xgˉ⋅(x′−x)+gˉtt′=gˉ(x,0,w)−∇xgˉ⋅w(t−t′)+gˉtt′=gˉ(x,0,w){1−aˉ⋅w(t−t′)+At′},(11)\begin{aligned} g(\mathbf{x}',t',\mathbf{w})=\bar{g}(\mathbf{x},0,\mathbf{w})+\nabla_{\mathbf{x}} \bar{g}\cdot(\mathbf{x}'-\mathbf{x})+\bar{g}_t t' \\ &=\bar{g}(\mathbf{x},0,\mathbf{w})-\nabla_{\mathbf{x}}\bar{g}\cdot\mathbf{w}(t-t')+\bar{g}_t t' \\ &=\bar{g}(\mathbf{x},0,\mathbf{w})\left\{1-\bar{\mathbf{a}}\cdot\mathbf{w}(t-t')+At'\right\}, \tag*{(11)} \end{aligned}

where gˉ\bar{g} and aˉ\bar{\mathbf{a}} are determined from the reconstruction of macroscopic flow variables presented in section 3.3, and AA is obtained by the compatibility condition (9).

In a smooth flow region, the collision time for viscous flow is determined by τ=μ/p\tau=\mu/p, where μ\mu is the dynamic viscosity coefficient and pp is the pressure at the cell interface, and for inviscid flow, the collision time should be set as zero. In order to properly capture the unresolved shock structure, additional numerical dissipation is needed. The physical collision time τ\tau in the exponential function part can be replaced by a numerical collision time

τn=μp+5.0∣pl−pr∣pl+prΔt,\tau_n=\frac{\mu}{p}+5.0\frac{\lvert p_l-p_r\rvert}{p_l+p_r}\Delta t,

where plp_l and prp_r denote the pressure on the left and right sides of the cell interface.

By substituting Eq. (10) and Eq. (11) into Eq. (5) with τ\tau and τn\tau_n, the second-order time-dependent gas distribution function at a cell interface becomes

f(x,t,w,ξ)=(1−e−t/τn)gˉ+e−t/τn[H(w1)gl+(1−H(w1))gr]+tAˉgˉ−τ(1−e−t/τn)gˉ(aˉ⋅w+Aˉ)−τe−t/τnH(w1)gl(al⋅w+Al)−τe−t/τn(1−H(w1))gr(ar⋅w+Ar)+te−t/τn[(aˉ⋅w)gˉ−H(w1)(al⋅w)gl−(1−H(w1))(ar⋅w)gr].f(\mathbf{x},t,\mathbf{w},\xi)=(1-e^{-t/\tau_n})\bar{g}+e^{-t/\tau_n}\left[\mathbb{H}(w_1)g^l+(1-\mathbb{H}(w_1))g^r\right]+t\bar{A}\bar{g} -\tau(1-e^{-t/\tau_n})\bar{g}(\bar{\mathbf{a}}\cdot\mathbf{w}+\bar{A}) -\tau e^{-t/\tau_n}\mathbb{H}(w_1)g^l(\mathbf{a}^l\cdot\mathbf{w}+A^l) -\tau e^{-t/\tau_n}(1-\mathbb{H}(w_1))g^r(\mathbf{a}^r\cdot\mathbf{w}+A^r) +te^{-t/\tau_n}\left[(\bar{\mathbf{a}}\cdot\mathbf{w})\bar{g}-\mathbb{H}(w_1)(\mathbf{a}^l\cdot\mathbf{w})g^l-(1-\mathbb{H}(w_1))(\mathbf{a}^r\cdot\mathbf{w})g^r\right].

The fluxes in Eq. (4) can be obtained by taking the moments of the above distribution function. The calculation of moments can be found in [1].

In order to account for the Prandtl number not equal to 1, additional correction heat flux should be added to the energy flux:

(1Pr−1)q,\left(\frac{1}{\mathrm{Pr}}-1\right)q,

where q=Fv4−W1Fv1−W2Fv2−W3Fv3q=F_{v4}-W_1F_{v1}-W_2F_{v2}-W_3F_{v3} can be obtained through the viscous flux Fvis=[0,Fv1,Fv2,Fv3,Fv4]\mathbf{F}_{\mathrm{vis}}=[0,F_{v1},F_{v2},F_{v3},F_{v4}]. The viscous flux can be obtained by

Fvis=−τ∫w1gˉ[(aˉ⋅w)+Aˉ] dw dΞ.\mathbf{F}_{\mathrm{vis}}=-\tau\int w_1\bar{g}\left[(\bar{\mathbf{a}}\cdot\mathbf{w})+\bar{A}\right]\,\mathrm{d}\mathbf{w}\,\mathrm{d}\Xi.

Spatial Reconstruction

In our work, the Green-Gauss reconstruction is used to reconstruct the macroscopic flow variables, which is more robust than the least square method when dealing with a large aspect ratio mesh. Furthermore, the discontinuity feedback factor is introduced to enhance the shock-capturing capabilities.

Green-Gauss reconstruction

The target cell is denoted as Ω0\Omega_0, with the cell center represented by x0=(x0,y0,z0)\mathbf{x}_0=(x_0,y_0,z_0). The neighboring cells are denoted as Ωm\Omega_m for m=1,2,⋯ ,Nfm=1,2,\cdots,N_f. The cell-averaged values of cell Ωm\Omega_m are denoted as Q‾m\overline{Q}_m. The classical Green-Gauss reconstruction with only cell-averaged values is adopted to provide the linear polynomial p1=q0+q1(x−x0)+q2(y−y0)+q3(z−z0)p^1=q_0+q_1(x-x_0)+q_2(y-y_0)+q_3(z-z_0) for the sub-stencil.

p1=Q‾0+1∣Ω0∣(x−x0)⋅∑m=1NfQ‾m+Q‾02Smnm.p^1=\overline{Q}_0+\frac{1}{|\Omega_0|}(\mathbf{x}-\mathbf{x}_0)\cdot\sum_{m=1}^{N_f}\frac{\overline{Q}_m+\overline{Q}_0}{2}S_m\mathbf{n}_m.

where SmS_m is the area of the cell’s surface and nm\mathbf{n}_m is the surface’s normal vector.

Discontinuity feedback factor

A discontinuity feedback factor (DF) is introduced to modify the reconstruction process to enhance shock-capturing capabilities adaptively. This approach analyzes the reconstructed interface values to identify regions where discontinuities will likely propagate in subsequent timesteps, allowing for more accurate shock tracking. It was first proposed in [11], and several improvements have been made in [27]. Denote αi∈[0,1]\alpha_i \in[0,1] as discontinuity feedback factor at targeted cell Ωi\Omega_i

αi=∏p=1nt∏k=0Mpαp,k,\alpha_i = \prod_{p=1}^{n_t} \prod_{k=0}^{M_p} \alpha_{p,k},

where αp,k\alpha_{p,k} is the DF obtained at the kkth Gaussian point of the interface pp around cell Ωi\Omega_i, which can be calculated by

αp,k=11+D2,\alpha_{p,k} = \frac{1}{1+D^2},
D=∣pl−pr∣pl+∣pl−pr∣pr+(Manl−Manr)2+(Matl−Matr)2,D = \frac{\lvert p^l-p^r\rvert}{p^l}+\frac{\lvert p^l-p^r\rvert}{p^r}+(\mathrm{Ma}_n^l-\mathrm{Ma}_n^r)^2+(\mathrm{Ma}_t^l-\mathrm{Ma}_t^r)^2,

where pp is pressure, Man\mathrm{Ma}_n and Mat\mathrm{Ma}_t are the Mach numbers defined by normal and tangential velocity, and superscript ll, rr denote the left and right values of the Gaussian points. Then, the Green-Gauss reconstruction is modified as

p1=Q‾0+α01∣Ω0∣(x−x0)⋅∑m=1NfQ‾m+Q‾02Smnm.p^1=\overline{Q}_0+\alpha_0\frac{1}{\lvert\Omega_0\rvert}(\mathbf{x}-\mathbf{x}_0)\cdot\sum_{m=1}^{N_f}\frac{\overline{Q}_m+\overline{Q}_0}{2}S_m\mathbf{n}_m.

Reconstruction of equilibrium states

After reconstructing the non-equilibrium state, a kinetic weighted average method can be used to get the equilibrium states and their derivatives [28],

∫g‾Ψ dv dΞ=W0=∫w~1>0glΨ dv dΞ+∫w~1<0grΨ dv dΞ,\int\overline{g}\Psi\ \mathrm{d}v\ \mathrm{d}\Xi=\mathbf{W}_0=\int_{\widetilde{w}_1>0}g^l\Psi\ \mathrm{d}v\ \mathrm{d}\Xi+\int_{\widetilde{w}_1<0}g^r\Psi\ \mathrm{d}v\ \mathrm{d}\Xi,
∫ai‾g‾Ψ dv dΞ=∂W0∂x~i=∫w~1>0ailglΨ dv dΞ+∫w~1<0airgrΨ dv dΞ,i=1,2,3.\int\overline{a_i}\overline{g}\Psi\ \mathrm{d}v\ \mathrm{d}\Xi=\frac{\partial\mathbf{W}_0}{\partial\widetilde{x}_i}=\int_{\widetilde{w}_1>0}a_i^l g^l\Psi\ \mathrm{d}v\ \mathrm{d}\Xi+\int_{\widetilde{w}_1<0}a_i^r g^r\Psi\ \mathrm{d}v\ \mathrm{d}\Xi,\quad i=1,2,3.

For the normal derivatives, the above solution is further modified according to the idea in linear diffusive generalized Riemann problem (dGRP) [29]

∫a1‾g‾Ψ dv dΞ=∂W0∂x~1=∫w~1>0a1lglΨ dv dΞ+∫w~1<0a1rgrΨ dv dΞ+Wr−Wl(xrc−xlc)⋅n.(12)\int\overline{a_1}\overline{g}\Psi\ \mathrm{d}v\ \mathrm{d}\Xi=\frac{\partial\mathbf{W}_0}{\partial\widetilde{x}_1}=\int_{\widetilde{w}_1>0}a_1^l g^l\Psi\ \mathrm{d}v\ \mathrm{d}\Xi+\int_{\widetilde{w}_1<0}a_1^r g^r\Psi\ \mathrm{d}v\ \mathrm{d}\Xi+\frac{\mathbf{W}^r-\mathbf{W}^l}{(\mathbf{x}_{rc}-\mathbf{x}_{lc})\cdot\mathbf{n}}. \tag*{(12)}

where xrc\mathbf{x}_{rc} and xlc\mathbf{x}_{lc} are the coordinates of the left and right cell centroid, and n\mathbf{n} is the normal vector of the interface. By adding a penalty term in Eq. (12), the whole scheme is essentially free from the odd-even decoupling phenomenon [30].

Solution updates and temporal discretization

Implicit scheme for the fluid governing equations

According to the semi-discretization Eq. (2), the back Euler method can be write as

∣Ωi∣Win+1−WinΔt=LF(Win+1)+S(Win+1)\lvert\Omega_i \rvert\frac{\mathbf{W}_i^{n+1}-\mathbf{W}_i^n}{\Delta t} = \mathcal{L}_{F}(\mathbf{W}_i^{n+1}) + \mathbf{S}(\mathbf{W}_i^{n+1})

With the approximation of

LF(Wn+1)−LF(Wn)≈(∂LF∂W)n(Wn+1−Wn),\mathcal{L}_{F}(\mathbf{W}^{n+1})-\mathcal{L}_{F}(\mathbf{W}^{n}) \approx\left(\frac{\partial\mathcal{L}_{F}}{\partial\mathbf{W}}\right)^n(\mathbf{W}^{n+1}-\mathbf{W}^{n}),
S(Wn+1)−S(Wn)≈(∂S∂W)n(Wn+1−Wn).\mathbf{S}(\mathbf{W}^{n+1})-\mathbf{S}(\mathbf{W}^{n}) \approx\left(\frac{\partial\mathbf{S}}{\partial\mathbf{W}}\right)^n(\mathbf{W}^{n+1}-\mathbf{W}^{n}).

The scheme can be

(∣Ωi∣Δt−(∂LF∂W)n−(∂S∂W)n)(Win+1−Win)=LF(Win)+S(Win).(13)\left(\frac{\lvert\Omega_i\rvert}{\Delta t}-\left(\frac{\partial\mathcal{L}_{F}}{\partial\mathbf{W}}\right)^n-\left(\frac{\partial\mathbf{S}}{\partial\mathbf{W}}\right)^n\right)(\mathbf{W}_i^{n+1}-\mathbf{W}_i^n)=\mathcal{L}_{F}(\mathbf{W}_i^n)+\mathbf{S}(\mathbf{W}_i^n). \tag*{(13)}

The spatial residual LF(Win)\mathcal{L}_{F}(\mathbf{W}_i^n) is the time-averaged value of the flux residual over the global time step of CFL number 0.5. Moreover, the GKS flux through flux translation ( Eq. (3) and Eq. (4) ) is used to calculate the flux residual. To obtain the ∂LF/∂W\partial\mathcal{L}_{F}/\partial\mathbf{W}, the flux Jacobian matrix is calculated by the first-order KFVS scheme for inviscid flux, and thin shear layer (TSL) approximation for viscous flux. The derivation of the Jacobian matrix of the face flux is shown in Appendix § 9. And the source term Jacobian matrix is given by

(∂S∂W)i=∣Ωi∣[0000000Ωz−Ωy00−Ωz0Ωx00Ωy−Ωx0000000].\left(\frac{\partial\mathbf{S}}{\partial\mathbf{W}}\right)_i=\lvert\Omega_i\rvert \begin{bmatrix} 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & \Omega_z & -\Omega_y & 0 \\ 0 & -\Omega_z & 0 & \Omega_x & 0 \\ 0 & \Omega_y & -\Omega_x & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 \end{bmatrix}.

Treatment of boundary conditions

The ghost cells are used to realize boundary conditions. The ghost cell values Wg\mathbf{W}_g and inner cell values Wi\mathbf{W}_i has the relationship

Wg=f(Wi).\mathbf{W}_g=f(\mathbf{W}_i).

Take a differential on both sides

ΔWg=∂f∂WiΔWi=∂Wg∂WiΔWi,\Delta\mathbf{W}_g=\frac{\partial f}{\partial\mathbf{W}_i}\Delta\mathbf{W}_i=\frac{\partial\mathbf{W}_g}{\partial\mathbf{W}_i}\Delta\mathbf{W}_i,

e.g.

ΔWg−∂Wg∂WiΔWi=0,(14)\Delta\mathbf{W}_g-\frac{\partial\mathbf{W}_g}{\partial\mathbf{W}_i}\Delta\mathbf{W}_i=0, \tag*{(14)}

The ∂Wg∂Wi\frac{\partial W_g}{\partial W_i} is obtained by the chain rule. In this case, the implicit treatment for the boundary condition is constructed.

GMRES method

The complete linear system for steady-state flow calculations is described by Eq. (13) and Eq. (14). The generalized minimal residual (GMRES) approach can be employed to solve this system, which belongs to the family of Krylov subspace techniques. The detailed implementation steps of our GMRES solver are outlined in Algorithm 1.

Algorithm 1 Implementation of GMRES method

Input: A,b,ML,MR,x0,kmax⁡A, b, M_L, M_R, x_0, k_{\max}

Output: xx

  1. X0=0X_0 = 0

  2. for i=1,ni = 1, n do

  3. r0=b−A⋅X0,r1=ML−1r0,β=∥r1∥,q1=r1/βr_0 = b - A \cdot X_0, r_1 = M_L^{-1}r_0, \beta= \lVert r_1\rVert, q_1 = r_1/\beta

  4. for m=1,kmax⁡m = 1, k_{\max} do

  5. w=ML−1⋅A⋅MR−1⋅qmw = M_L^{-1} \cdot A \cdot M_R^{-1} \cdot q_m

  6. communicate ww to other processors

  7. hl,m=(w,ql),l=1,2,⋯ ,mh_{l,m} = (w, q_l), l = 1, 2, \cdots, m

  8. q~m+1=w−∑l=1mhl,mql\widetilde{q}_{m+1} = w - \sum_{l=1}^{m} h_{l,m}q_l

  9. hm+1,m=∥q~m+1∥,qm+1=q~m+1hm+1,mh_{m+1,m} = \lVert\widetilde{q}_{m+1}\rVert, q_{m+1} = \frac{\widetilde{q}_{m+1}}{h_{m+1,m}}

  10. end for

  11. solve y=min⁡y∥βe1−H~y∥2,(e1=[1,0,0,⋯ ,0]T)y = \min_y \lVert\beta e_1 - \widetilde{H}y\rVert_2, (e_1 = [1,0,0,\cdots,0]^T)

  12. x′=∑qkyk,x=x0+MR−1x′x' = \sum q_k y_k, x = x_0 + M_R^{-1}x'

  13. X0=xX_0 = x

  14. end for

  15. return xx

The implementation incorporates preconditioning techniques to enhance convergence. Specifically, a Lower-Upper Symmetric Gauss-Seidel (LUSGS) scheme is utilized as the left preconditioner, while an identity matrix is maintained as the right preconditioner. For a given matrix AA, a decomposition into A=L+D+UA = L + D + U is performed, where LL, DD, and UU represent the lower triangular, diagonal, and upper triangular components, respectively. The left preconditioner MLM_L is defined as:

ML=(L+D)⋅D−1⋅(D+U)M_L = (L + D) \cdot D^{-1} \cdot(D + U)

To solve the linear system ML⋅X=BM_L \cdot X = B, it can be expressed as:

Y=D−1(B−L⋅Y),X=Y−D−1U⋅XY = D^{-1}(B - L \cdot Y), X = Y - D^{-1}U \cdot X

The parallelization of the code is based on the Message Passing Interface (MPI). The physical domain is partitioned using the METIS library to achieve load balancing across processors. Recursive bisection is employed through METIS_PartGraphRecursive() for partitioning with eight or fewer subdomains. The multilevel k-way partitioning algorithm METIS_PartGraphKway() is utilized for larger numbers of partitions. This partitioning strategy minimizes communication overhead while maintaining balanced computational loads across processors. The recursive bisection method is preferred for smaller partition counts as it produces more geometrically compact subdomains, while k-way partitioning is more effective for larger numbers of partitions. In the context of MPI-based parallelization, the GMRES algorithm can be naturally extended to parallel computing. However, the LUSGS preconditioning method cannot achieve parallel consistency. Therefore, off-diagonal elements in the parallel buffer are ignored, and the LUSGS method is applied independently within each processor core, requiring only one communication per iteration. Although this approach does not maintain serial-parallel consistency, experimental results indicate that the method’s convergence remains unaffected. Additionally, to enhance the efficiency of LUSGS, Reverse Cuthill-McKee (RCM) reordering is employed.

Turbulence Models

Shear-stress transport (SST) turbulence model

The Shear-Stress Transport (SST) turbulence model, developed by Menter and first presented in [31], marks a notable improvement in turbulence modeling. This model refines the original Menter model by modifying the formulation of turbulent eddy viscosity and adjusting one constant (σk1\sigma_{k1}). The governing equations, expressed in conservation form, can be represented as a coupled system:

∂(ρk)∂t+∂(ρujk)∂xj=τij∂ui∂xj−β∗ρωk+∂∂xj[(μ+σkμt)∂k∂xj]\frac{\partial(\rho k)}{\partial t}+\frac{\partial(\rho u_j k)}{\partial x_j}=\tau_{ij}\frac{\partial u_i}{\partial x_j}-\beta^{*}\rho\omega k+\frac{\partial}{\partial x_j}\left[\left(\mu+\sigma_k\mu_t\right)\frac{\partial k}{\partial x_j}\right]
∂(ρω)∂t+∂(ρujω)∂xj=γνtτij∂ui∂xj−βρω2+∂∂xj[(μ+σωμt)∂ω∂xj]+2(1−F1)ρσω2ω∂k∂xj∂ω∂xj\frac{\partial(\rho\omega)}{\partial t}+\frac{\partial(\rho u_j\omega)}{\partial x_j}=\frac{\gamma}{\nu_t}\tau_{ij}\frac{\partial u_i}{\partial x_j}-\beta\rho\omega^2+\frac{\partial}{\partial x_j}\left[\left(\mu+\sigma_\omega\mu_t\right)\frac{\partial\omega}{\partial x_j}\right]+2(1-F_1)\frac{\rho\sigma_{\omega2}}{\omega}\frac{\partial k}{\partial x_j}\frac{\partial\omega}{\partial x_j}

The viscous stress tensor τij\tau_{ij} is given by:

τij=μt(2Sij−23∂uk∂xkδij)−23ρkδij,Sij=12(∂ui∂xj+∂uj∂xi).\tau_{ij}=\mu_t\left(2S_{ij}-\frac{2}{3}\frac{\partial u_k}{\partial x_k}\delta_{ij}\right)-\frac{2}{3}\rho k\delta_{ij},\quad S_{ij}=\frac{1}{2}\left(\frac{\partial u_i}{\partial x_j}+\frac{\partial u_j}{\partial x_i}\right).

The turbulent eddy viscosity is calculated as:

μt=ρa1kmax⁡(a1ω,ΩF2).\mu_t=\frac{\rho a_1 k}{\max(a_1\omega,\Omega F_2)}.

Constants are blended from inner (1) and outer (2) regions using:

ϕ=F1ϕ1+(1−F1)ϕ2,\phi=F_1\phi_1+(1-F_1)\phi_2,

where ϕ1\phi_1 and ϕ2\phi_2 are the constants for the inner and outer regions, respectively. Additional functions are defined as follows:

F1=tanh⁡(arg⁡14),F_1 = \tanh(\operatorname{arg}_1^4),
arg⁡1=min⁡[max⁡(kβ∗ωd,500νd2ω),4ρσω2kCDkωd2],\operatorname{arg}_1 = \min\left[\max\left(\frac{\sqrt{k}}{\beta^* \omega d},\frac{500\nu}{d^2\omega}\right),\frac{4\rho\sigma_{\omega2}k}{CD_{k\omega}d^2}\right],
CDkω=max⁡(2ρσω21ω∂k∂xj∂ω∂xj,10−20),CD_{k\omega} = \max\left(2\rho\sigma_{\omega2}\frac{1}{\omega}\frac{\partial k}{\partial x_j}\frac{\partial\omega}{\partial x_j},10^{-20}\right),
F2=tanh⁡(arg⁡22),F_2 = \tanh(\operatorname{arg}_2^2),
arg⁡2=max⁡(2kβ∗ωd,500νd2ω),\operatorname{arg}_2 = \max\left(2\frac{\sqrt{k}}{\beta^*\omega d},\frac{500\nu}{d^2\omega}\right),

where ρ\rho represents the density, νt=μt/ρ\nu_t = \mu_t/\rho is the turbulent kinematic viscosity, μ\mu is the molecular dynamic viscosity, dd is the distance from the field point to the nearest wall, and Ω=2WijWij\Omega= \sqrt{2W_{ij}W_{ij}} denotes the vorticity magnitude, defined as

Wij=12(∂ui∂xj−∂uj∂xi).W_{ij} = \frac{1}{2}\left(\frac{\partial u_i}{\partial x_j}-\frac{\partial u_j}{\partial x_i}\right).

By [32], a production limiter is introduced by modifying the production term in the kk-equation; thus, the modified SST model is given by

∂(ρk)∂t+∂(ρujk)∂xj=τij∂ui∂xj−10β∗ρωk−β∗ρωk+∂∂xj[(μ+σkμt)∂k∂xj],\frac{\partial(\rho k)}{\partial t}+\frac{\partial(\rho u_j k)}{\partial x_j}=\tau_{ij}\frac{\partial u_i}{\partial x_j}-10\beta^*\rho\omega k-\beta^*\rho\omega k+\frac{\partial}{\partial x_j}\left[(\mu+\sigma_k\mu_t)\frac{\partial k}{\partial x_j}\right],
∂(ρω)∂t+∂(ρujω)∂xj=γνtP~k−βρω2+∂∂xj[(μ+σωμt)∂ω∂xj]+2(1−F1)ρσω2ω∂k∂xj∂ω∂xj,\frac{\partial(\rho\omega)}{\partial t}+\frac{\partial(\rho u_j\omega)}{\partial x_j}=\frac{\gamma}{\nu_t}\widetilde{P}_k-\beta\rho\omega^2+\frac{\partial}{\partial x_j}\left[(\mu+\sigma_\omega\mu_t)\frac{\partial\omega}{\partial x_j}\right]+2(1-F_1)\frac{\rho\sigma_{\omega2}}{\omega}\frac{\partial k}{\partial x_j}\frac{\partial\omega}{\partial x_j},

where P~k\widetilde{P}_k and DkD_k denote the production and destruction terms in the kk-equation, and P~ω\widetilde{P}_\omega, DωD_\omega, and PcrossP_{\mathrm{cross}} denote the production, destruction, and cross production terms in the ω\omega equation.

The model also requires specific boundary conditions. For farfield or inlet conditions, the following constraints apply:

U∞L<ω<10U∞L,10−5U∞2ReL<k<0.1U∞2ReL.\frac{U_\infty}{L}<\omega<10\frac{U_\infty}{L},\qquad\frac{10^{-5}U_\infty^2}{Re_L}<k<\frac{0.1U_\infty^2}{Re_L}.

Wall boundary conditions are defined as:

kwall=0,ωwall=106νβ1(Δd1)2.k_{\mathrm{wall}}=0,\qquad\omega_{\mathrm{wall}}=10\frac{6\nu}{\beta_1(\Delta d_1)^2}.

The complete set of model constants is as follows:

γ1=β1β∗−σω1κ2β∗,\gamma_1 = \frac{\beta_1}{\beta^*} - \frac{\sigma_{\omega1}\kappa^2}{\sqrt{\beta^*}},
γ2=β2β∗−σω2κ2β∗,\gamma_2 = \frac{\beta_2}{\beta^*} - \frac{\sigma_{\omega2}\kappa^2}{\sqrt{\beta^*}},
σk1=0.85,σω1=0.5,β1=0.075,\sigma_{k1} = 0.85,\quad\sigma_{\omega1} = 0.5,\quad\beta_1 = 0.075,
σk2=1.0,σω2=0.856,β2=0.0828,\sigma_{k2} = 1.0,\quad\sigma_{\omega2} = 0.856,\quad\beta_2 = 0.0828,
β∗=0.09,κ=0.41,a1=0.31.\beta^* = 0.09,\quad\kappa= 0.41,\quad a_1 = 0.31.

After determining the turbulent viscosity μt\mu_t, the gas-kinetic scheme is integrated with the SST model by adjusting the collision time τ\tau as follows:

τ=μp+μtp,\tau= \frac{\mu}{p} + \frac{\mu_t}{p},

where pp denotes the pressure. The heat flux correction term is expressed as:

[(10.72−1)+(10.9−1)μtμ]q,\left[\left(\frac{1}{0.72}-1\right)+\left(\frac{1}{0.9}-1\right)\frac{\mu_t}{\mu}\right]q,

with qq representing the heat flux, where 0.72 and 0.9 are the Prandtl numbers for air and turbulence, respectively.

Discrete form of the turbulence model

The advection, diffusion, and source terms of the turbulence model are treated separately in this work. A simple first-order upwind scheme is utilized for inviscid flux, with the velocity at the cell interface obtained from the kinetic equilibrium state at that interface. For viscous flux, a second-order central scheme is applied.

The kk-equation and ω\omega-equation are addressed separately in the two-equation SST turbulence model. The Jacobian of the inviscid term and viscous term can be derived directly by ignoring the derivative of the conservative variables. For the source term, implicit treatment is applied to the negative part to ensure the positive definiteness of the turbulence variables, while explicit treatment is used for the positive part. The Jacobian of the source term is approximated by

∂∂ρk(P~k−Dk)≈−2Dkρk+min⁡(0,P~k)ρk,\frac{\partial}{\partial\rho k}(\widetilde{P}_k-D_k)\approx-\frac{2D_k}{\rho k}+\frac{\min(0,\widetilde{P}_k)}{\rho k},
∂∂ρω(P~ω−Dω+Pcross)≈−2Dω+∣Pcross∣ρω.\frac{\partial}{\partial\rho\omega}(\widetilde{P}_\omega-D_\omega+P_{\mathrm{cross}})\approx-\frac{2D_\omega+\lvert P_{\mathrm{cross}}\rvert}{\rho\omega}.

Test case

The time step Δti\Delta t_i is the time step defined in each cell

Δti=CCFLhi∣V−U∣i+ai+2(νi+νt)/hi\Delta t_i = C_{\mathrm{CFL}} \frac{h_i}{\lvert\mathbf{V} - \mathbf{U} \rvert_i + a_i + 2(\nu_i + \nu_t)/h_i}

where CCFLC_{\mathrm{CFL}} is the CFL number, and ∣V−U∣i\lvert\mathbf{V} - \mathbf{U} \rvert_i, aia_i, and νi=(μ/ρ)i\nu_i = (\mu/\rho)_i represent the magnitude of related velocities, sound speed and kinematic viscosity coefficient of cell ii, respectively.

All simulations were conducted on the SUGON computation platform using dual AMD EPYC 7285 processors, each equipped with 32 cores at a base frequency of 2.5 GHz. The system architecture leverages the Zen microarchitecture, and the computation network is supported by a 100Gb InfiniBand (IB) connection. The code is compiled using GCC version 7.3.1 with the -O3 optimization flag and is linked to Open MPI version 4.1.5.

The turbulent flow past the Onera M6 wing

This test case is the three-dimensional turbulent transonic flow at a Mach number of Ma = 0.8395 over an Onera M6 wing. The Reynolds number based on the mean aerodynamic chord (L=0.64607 mL = 0.64607\,\mathrm{m}) of the wing, is ReL=11.72×106\mathrm{Re}_L = 11.72 \times10^6, and the angle of attack (AoA) is 3.06∘3.06^\circ. This case serves as a benchmark CFD validation problem for external flows due to its complex flow features, including local supersonic regions, shock waves, and turbulent boundary layer separation, while maintaining a relatively simple geometry.

The website provides the computational mesh [33]. The total mesh number used in this test case is 2,608,200. The first layer of cells is located at a distance of 2×10−62 \times10^{-6} from the wall. The surface mesh is shown in Figure 1a. The surface y+y^+ distribution defined by the distance of the cell center and face is shown in Figure 1b, which shows the first layer of cells is located at the wall with a distance of y+y^+ less than 1. The parallel computing efficiency of

The surface mesh

(a) The surface mesh

The surface $y^+$ distribution

(b) The surface y+y^+ distribution

Figure 1. The surface mesh of the M6 wing with 2,608,200 cells

the GMRES solver with 100 iterations in the M6 wing test case is shown in Table 1. The results show that the GMRES solver can remain 90% parallel efficiency up to 256 cores. The convergence history of the M6 wing test case is shown in Figure 2(a). The CFL number

CoresWall time (s)Actual speedupParallel efficiency
647321.00100.00%
1283801.9396.32%
2562033.6190.15%
5121325.5569.32%

Table 1. Wall clock time and parallel computing efficiency of the GMRES solver with 100 iterations in the M6 wing test case

Results of the M6 wing test case

Figure 2. (a) The convergence history of the M6 wing test case (b) The coefficient of pressure contour of flow Ma=0.8395Ma=0.8395, Re=11.72E+06Re=11.72E+06, 3.06 degrees attack angle past the M6 wing

is set as an exponential function increasing from 1 to 100 during the first 100 steps, and remains at 100 afterwards. The convergence history shows the residual of the M6 wing test case is reduced to 10−410^{-4} after 600 steps, and reduces slowly afterwards. Finally, 2000 steps are run for this case. The coefficient of pressure distribution of the M6 wing is shown in Figure 2(b). The coefficient of pressure distribution at different spanwise positions of the M6 wing

is shown in Figure 3, which shows the pressure distribution is similar to the experimental data [34] and can accurately capture the position of the shock wave.

Figure 3. The coefficient of pressure distribution of the M6 wing at different spanwise positions with a Reynolds number of 5.0E+06 and a Mach number of 0.85. Moreover, the reference temperature is 310.92K, which is set as the incoming total temperature. Seven different angles of attack are considered, which are 2.5°, 2.75°, 3°, 3.25°, 3.5°, 3.75°, and 4°. The medium point-matched grid (L3, 5, 111, 808 hexahedral elements) provided by the DPW Committee is used in this test, and the surface grid is shown in Figure 4a. The first layer of cells is located at the wall with a distance of 10−610^{-6} from the wall, while the y+y^+ contour is shown in Figure 4b.

NASA Common Research Model (CRM) Wing-Body buffet study

The buffet study presented in this paper corresponds to test case 2 of the 5th AIAA Drag Prediction Workshop. This case is a genuine guide to test the simulation capacity of the CFD solver in transonic flow with complex geometry. The geometry is still the Common Research Model (CRM) Wing-Body configuration. The incoming flow is a subsonic flow

The parallel computing efficiency of the GMRES solver with 100 iterations in the CRM Wing-Body Buffet Study is shown in Table 2. The results show that the GMRES solver can remain about 80% parallel efficiency up to 512 cores.

CoresWall time (s)Actual speedupParallel efficiency
6415071.00100.00%
1287841.9296.11%
2564123.6691.44%
5122446.1877.20%
10241818.3352.04%

Table 2. Wall clock time and parallel computing efficiency of the GMRES solver with 100 iterations in the CRM Wing-Body Buffet Study

The CFL number is set as an exponential function increasing from 1 to 100 during the first 100 steps, and remains at 100 afterwards. The characteristic of the CRM Wing-Body Buffet Study is shown in Figure 5. The results are compared with the NTF test data [35] and the ONERA-elsA solver [36] results. The results show that the lift coefficient of our solver is closer to the NTF test data than the ONERA-elsA solver. The drag characteristics are plotted in terms of the idealized profile drag defined as (CD−CL2)/(πAR)(C_D-C_L^2)/(\pi AR), where AR=9AR=9 is the aspect ratio, CDC_D is the drag coefficient, and CLC_L is the lift coefficient. The results show that the drag coefficient of our solver is lower than the NTF test data, and the ONERA-elsA solver is higher than the NTF test data.

The lift coefficient vs. angle of attack

(a) The lift coefficient vs. angle of attack

The drag coefficient vs. lift coefficient

(b) The drag coefficient vs. lift coefficient

Figure 5. The characteristic of the CRM Wing-Body Buffet Study of Reynolds number 5.0E+06 and Mach number 0.85

The surface mesh

(a) The surface mesh

The surface $y^{+}$ distribution

(b) The surface y+y^{+} distribution

Figure 4. The computational mesh of the CRM Wing-Body configuration

The convergence history of the CRM Wing-Body Buffet Study at α=4∘\alpha= 4^\circ angle of attack is shown in Figure 6. The results show that the lift and drag coefficients converge after 500 steps. A total of 2000 steps are run to reach the convergence.

Convergence histories of x-momentum residual, lift coefficient, and drag coefficient

Figure 6. The convergence history of the CRM Wing-Body Buffet Study at α=4∘\alpha= 4^\circ angle of attack

The pressure coefficient distribution at station 10 (η=0.5024\eta= 0.5024) at different angles of attack is shown in Figure 7. The results show that the pressure coefficient distribution is similar to the experimental data [35] and can capture the position of the shock wave.

Six plots of wing pressure coefficient distribution at station 10 for angles of attack $\alpha = 2.75^\circ$, $3^\circ$, $3.25^\circ$, $3.5^\circ$, $3.75^\circ$, and $4^\circ$

Figure 7. The wing pressure coefficient distribution at station 10 (η=0.5024\eta= 0.5024) at different angle of attack

The contour of Mach number at different spanwise positions at α=4∘\alpha= 4^\circ angle of attack is shown in Figure 8. The contour shows the interaction between the shock wave and the boundary layer separation. Moreover, the contour of pressure coefficient and the surface streamlines are shown in Figure 9, indicating a mass flow separation starts at about 50% of the chord.

The station 4

(a) The station 4 (η=0.1306\eta= 0.1306)

The station 6

(b) The station 6 (η=0.2828\eta= 0.2828)

The station 8

(c) The station 8 (η=0.3700\eta= 0.3700)

The station 10

(d) The station 10 (η=0.5024\eta= 0.5024)

Figure 8. The contour of Mach number at different spanwise positions at α=4∘\alpha= 4^\circ angle of attack

The pressure coefficient distribution and the surface streamlines

Figure 9. The pressure coefficient distribution and the surface streamlines at α=4∘\alpha= 4^\circ angle of attack

NASA Rotor 67

NASA Rotor 67 is a typical transonic rotor blade, which is widely used in the field of turbomachinery. The geometry database and experimental data can be found in [37, 38]. The basic information of the blade is shown in Table 3.

ParameterValue
Number of blades22
Design rotational speed (rpm)16043
Design mass flow rate (kg/s)33.25
Design pressure ratio1.63
Tip speed (m/s)429
Tip clearance at design speed (cm)0.1061
Relative Mach number at tip inlet1.38
Aspect ratio (mean blade height/root axial chord)1.56
Solidity at root3.11
Solidity at tip1.29
Tip diameter at inlet (cm)51.4
Tip diameter at outlet (cm)48.5
Hub-to-tip ratio at inlet0.375
Hub-to-tip ratio at outlet0.478

Table 3. Basic information of NASA Rotor 67 [37]

The computational mesh of NASA Rotor 67 is shown in Figure 10. The positions of the inlet and outlet are set at the experimental station. The total number of cells is 941,824. The H-O-H type of topology is used to mesh the blade surface, and the first layer of cells is located at the blade surface with a distance of 10−610^{-6} to the blade surface. As shown in Figure 10(b), the tip clearance is set as 0.6 times of the design tip clearance (0.1061 cm) by considering the vena contraction effect, instead of refining the mesh near the blade tip.

Figure 10. (a) The mesh at blade surface; (b) The mesh projection on S2 surface; (c) The mesh projection on S1 surface. The computational mesh of NASA Rotor 67

At the inlet, a total pressure of 101325 Pa and a total temperature of 288.15 K are specified, with absolute flow direction parallel to the rotation axis. Static pressure is prescribed at the outlet at the shroud, with radial equilibrium determining pressures at other positions. Performance characteristics are computed using outlet pressures ranging from 105,000 Pa to 141,000 Pa. The blade and hub walls rotate at 16043 rpm with adiabatic wall conditions, while periodic boundaries are used in the circumferential direction. The shroud is set as a static wall. For initialization, the lowest pressure case starts with zero velocity and inlet to-

tal conditions, while subsequent cases use the converged solution from the previous pressure level.

The computed choked mass flow rate is 34.67 kg/s, while the corresponding experimental result is 34.96 kg/s, with a relative error of 0.84%. The computed performance characteristics with normalized mass flow rate as the parameter are shown in Figure 11. The adiabatic efficiency is defined as

Figure 11. (a) Total pressure ratio; (b) Adiabatic efficiency. Performance characteristics of NASA Rotor 67

ηa=Tout,isentropy∗−Tin∗Tout∗−Tin∗=(Pout∗/Pin∗)(γ−1)/γ−1Pout∗/Pin∗−1\eta_a = \frac{T_{\mathrm{out,isentropy}}^* - T_{\mathrm{in}}^*}{T_{\mathrm{out}}^* - T_{\mathrm{in}}^*} = \frac{\left(P_{\mathrm{out}}^*/P_{\mathrm{in}}^*\right)^{(\gamma-1)/\gamma} - 1}{P_{\mathrm{out}}^*/P_{\mathrm{in}}^* - 1}

where Tout∗T_{\mathrm{out}}^* and Tin∗T_{\mathrm{in}}^* are the outlet and inlet total temperature respectively, Tout,isentropy∗T_{\mathrm{out,isentropy}}^* is the outlet total temperature that would be achieved through an isentropic process starting from the inlet total pressure and ending at the outlet total pressure, Pout∗P_{\mathrm{out}}^* and Pin∗P_{\mathrm{in}}^* are the outlet and inlet total pressure respectively, and γ\gamma is the specific heat ratio. The peak efficiency and near-stall points can be well captured and agree with the experimental data.

The computation time for 1000 steps is about 1506s with 128 cores. For each working point, 2000 steps are run to reach the convergence. Figure 12 shows the convergence history of mass flow rate, total pressure ratio, and adiabatic efficiency at the peak efficiency point. The CFL number is an exponential function increasing from 1 to 100 during the first 100 steps, and remains at 100 afterwards. The results show that the performance parameters converge after approximately 300 steps.

The convergence history of NASA Rotor 67 at peak efficiency point

Figure 12. (a) The convergence history of mass flow rate; (b) The convergence history of total pressure ratio; (c) The convergence history of adiabatic efficiency. The convergence history of NASA Rotor 67 at peak efficiency point

The comparison of relative Mach number contours between computed results and experimental data at the peak efficiency point and near the stall point is shown in Figure 13 at different spanwise positions. The computed results can capture the position of the shock wave from the experimental data. However, at the near stall point, at 30% span, the computed results show flow separation on the suction surface. In contrast, the experimental data show separation on the pressure surface, indicating that the computed results have a larger angle of attack corresponding to a lower axial velocity of the incoming flow. The comparison of circumferentially averaged outlet parameters between computed results and experimental data at the peak efficiency point and near the stall point is shown in Figure 14. The results of total pressure and total temperature are normalized by the inlet total pressure and total temperature, respectively. At the peak efficiency point, the computed results show good agreement with the experimental data. However, at the near stall point, the computed results show higher total pressure and total temperature than the experimental data between 20% and 40% span, which agrees with the result of relative Mach number contours at 30% span. The higher total pressure and total temperature indicate more work input per unit mass flow due to the lower mass flow rate in this region.

Figure 13. Comparison of relative Mach number contours for NASA Rotor 67: numerical results and experimental contours [37] at peak efficiency point (left two) and near stall point (right two)

Figure 14. comparison of circumferentially averaged outlet parameters of NASA Rotor 67 between computed results and experimental data [37]

NASA Rotor 37

NASA Rotor 37 was initially designed for an experimental study of a four-stage axial compressor. The design parameters of this four-stage compressor were chosen to be typical of the inlet stage of an aircraft engine’s high-pressure compressor, with experimental results available in reference [39]. Later, NASA conducted more detailed measurements on one of the rotors in isolation (without inlet guide vanes and outlet stator) and named it Rotor 37. In 1994, the International Gas Turbine Institute of the American Society of Mechanical Engineers (ASME/IGTI) used NASA Rotor 37 as a blind test case to evaluate turbomachinery CFD codes [40], aiming to assess the capability of CFD programs in predicting compressor flow fields at that time. NASA Rotor 37 has attracted considerable numerical simulation studies [41] [42, 43, 44] not only because of its comprehensive experimental data and simple isolated rotor flow with accurately definable boundary conditions allowing fair and detailed evaluation of turbomachinery CFD, but also due to its representativeness among transonic rotors making it essential to understand its flow structure and loss mechanisms. The basic geometric and aerodynamic parameters of NASA Rotor 37 are shown in Table 4.

ParameterValue
Number of blades36
Design rotational speed (rpm)17188.7
Design mass flow rate (kg/s)20.19
Design pressure ratio2.106
Tip speed (m/s)454.14
Tip clearance at design speed (cm)0.0356
Relative Mach number at tip inlet1.48
Relative Mach number at hub inlet1.13
Aspect ratio (mean blade height/root axial chord)1.19
Solidity at tip1.29
Hub-to-tip ratio at inlet0.7

Table 4. Basic information of NASA Rotor 37 [40]

The computational mesh of NASA Rotor 37 is shown in Figure 15. The positions of the inlet and outlet are set at the experimental station. The total number of cells is 972,800. The H-O-H type of topology is used to mesh the blade surface, and the first layer of cells is located at the blade surface with a distance of 10−610^{-6} to the blade surface. As in the case of NASA Rotor 67, the tip clearance is set as 0.6 times the design tip clearance (0.0356 cm) by considering the vena contraction effect, instead of refining the mesh near the tip of the blade.

The mesh projection on S2 surface and the mesh projection on S1 surface

Figure 15. The computational mesh of NASA Rotor 37

The boundary conditions and numerical settings are the same as those of NASA Rotor 67. The computed choked mass flow rate is 20.96 kg/s, while the corresponding experimental result is 20.93 ±\pm 0.14 kg/s, which falls within the experimental error band. The computed performance characteristics with normalized mass flow rate as the parameter are shown in Figure 16. The comparison shows that our computed efficiency is slightly lower than

Figure 16. Performance characteristics of NASA Rotor 37

the experimental value, and the stall margin is smaller than the experimental result. The

convergence history at the 98% choked mass flow rate point of mass flow rate, total pressure ratio, and adiabatic efficiency is shown in Figure 17. The results show that the performance parameters converge after approximately 4000 steps. It is also noted that significant variations only occur in the first 500 steps, while the subsequent convergence process is relatively smooth with variations within 0.5%.

Convergence history of mass flow rate

(a) The convergence history of mass flow rate

Convergence history of total pressure ratio

(b) The convergence history of total pressure ratio

Convergence history of adiabatic efficiency

(c) The convergence history of adiabatic efficiency

Figure 17. The convergence history of NASA Rotor 37 at 98% choked mass flow rate point

The relative Mach number contours of NASA Rotor 37 at 98% choked mass flow rate are shown in Figure 18. The contours show the flow structure of NASA Rotor 37 at 98% choked mass flow rate. Figure 19 shows the circumferentially averaged outlet parameters (total pressure, total temperature, adiabatic efficiency, and flow angle) of NASA Rotor 37 at 98% choked mass flow rate. At 98% choked mass flow rate, the computed total temperature and total pressure under the 30% span are higher than the experimental values, which is related to the boundary condition settings. The entire hub is set as a rotating wall, while in the experiment, only the rotor section of the hub is rotating, resulting in higher computational results. Between 40% and 80% span, the total pressure matches well with the experiment, but the total temperature is slightly higher than the experimental value, thus corresponding to lower efficiency. Meanwhile, the computed absolute flow angle is slightly smaller than the experimental value, corresponding to larger separation and higher losses.

Relative Mach number contours at 90% span

(a) 90% span

Relative Mach number contours at 70% span

(b) 70% span

Relative Mach number contours at 30% span

(c) 30% span

Figure 18. The relative Mach number contours of NASA Rotor 37 at 98% choked mass flow rate

Figure 19. The circumferentially averaged outlet parameters of NASA Rotor 37 at 98% choked mass flow rate

Conclusion

In this paper, an implicit GMRES solver based on the gas-kinetic scheme was developed. First, the gas-kinetic scheme was extended to accommodate a rotating frame of reference. Subsequently, the implicit GMRES solver was formulated, with the Jacobian matrix derived using the kinetic flux vector splitting (KFVS) approximation for inviscid fluxes and the thin-layer approximation for viscous fluxes. To address turbulent flow, the shear-stress transport turbulence model was employed. The solver was validated through four test cases, which included external flows (Onera M6 wind and CRM Wing-Body Buffet Study) and internal flows (NASA Rotor 67 and NASA Rotor 37). The results demonstrated that the solver effectively captures the characteristics of these test cases. For most of the test cases, the convergence is achieved within 1000 steps. For the external flow test cases, our solver can accurately capture the position of the shock wave and the separation region. For the internal flow test cases, our solver can give a good prediction of the performance parameters. In the future, to enhance the solver’s capability for practical engineering problems, the implicit GMRES solver will be extended to handle unsteady flow problems using the dual timestepping method. Additionally, more advanced turbulence models, such as Detached Eddy Simulation (DES) and Large Eddy Simulation (LES), will be implemented to better address turbulent flow simulation.

Acknowledgements

We thank Mr. Junzhe Cao and Mr. Yuze Zhu for their assistance in mesh generation and discussions regarding the test cases, as well as Dr. Yajun Zhu for the Jacobian matrix derivation. This work was supported by the National Key R&D Program of China (Grant No. 2022YFA1004500), the National Natural Science Foundation of China (Nos. 12172316, 92371107, 12302378 and 92371201), the Hong Kong Research Grant Council (Nos. 16208021, 16301222, and 16208324) and the Funding of National Key Laboratory of Computational Physics, and the Natural Science Basic Research Plan in Shaanxi Province of China (No. 2025SYS-SYSZD-070).

Jacobian Matrix for Inviscid Flux and Viscous Flux

Jacobian matrix for inviscid flux

At the cell face, consider the approach of flux calculation by using the moments of relative velocity (Eq. (3) and Eq. (4)). The Jacobian matrix of the inviscid flux is given by

∂F∂Wl,r=∂F∂F′∂F′∂Wl,r′∂Wl,r′∂Wl,r,\frac{\partial\mathbf{F}}{\partial\mathbf{W}_{l,r}} = \frac{\partial\mathbf{F}}{\partial\mathbf{F}^{\prime}} \frac{\partial\mathbf{F}^{\prime}}{\partial\mathbf{W}_{l,r}^{\prime}} \frac{\partial\mathbf{W}_{l,r}^{\prime}}{\partial\mathbf{W}_{l,r}},

where F′\mathbf{F}^{\prime} and Wl,r′\mathbf{W}_{l,r}^{\prime} are the flux and the conservative variables of relative velocity, respectively. According to Eq. (3), the Jacobian matrix of F\mathbf{F} with respect to F′\mathbf{F}^{\prime} is given by

∂F∂F′=[10000U11000U20100U3001012(U12+U22+U32)U1U2U31],\frac{\partial\mathbf{F}}{\partial\mathbf{F}^{\prime}} = \begin{bmatrix} 1 & 0 & 0 & 0 & 0 \\ U_{1} & 1 & 0 & 0 & 0 \\ U_{2} & 0 & 1 & 0 & 0 \\ U_{3} & 0 & 0 & 1 & 0 \\ \frac{1}{2}(U_{1}^{2}+U_{2}^{2}+U_{3}^{2}) & U_{1} & U_{2} & U_{3} & 1 \end{bmatrix},

where U=(U1,U2,U3)\mathbf{U}=(U_{1},U_{2},U_{3}) is the velocity of mesh motion. And the Jacobian matrix of W′=[ρ,ρW1,ρW2,ρW3,p/(γ−1)+1/2ρ(W12+W22+W32)]T\mathbf{W}^{\prime}=[\rho,\rho W_{1},\rho W_{2},\rho W_{3},p/(\gamma-1)+1/2\rho(W_{1}^{2}+W_{2}^{2}+W_{3}^{2})]^{T} with respect to W=[ρ,ρV1,ρV2,ρV3,p/(γ−1)+1/2ρ(V12+V22+V32)]T\mathbf{W}=[\rho,\rho V_{1},\rho V_{2},\rho V_{3},p/(\gamma-1)+1/2\rho(V_{1}^{2}+V_{2}^{2}+V_{3}^{2})]^{T} is given by

∂W′∂W=[10000−U11000−U20100−U3001012(U12+U22+U32)−U1−U2−U31].\frac{\partial\mathbf{W}^{\prime}}{\partial\mathbf{W}} = \begin{bmatrix} 1 & 0 & 0 & 0 & 0 \\ -U_{1} & 1 & 0 & 0 & 0 \\ -U_{2} & 0 & 1 & 0 & 0 \\ -U_{3} & 0 & 0 & 1 & 0 \\ \frac{1}{2}(U_{1}^{2}+U_{2}^{2}+U_{3}^{2}) & -U_{1} & -U_{2} & -U_{3} & 1 \end{bmatrix}.

The flux Jacobian matrix is given by

∂F′∂W~′=T−1∂FKFVS∂W~T,\frac{\partial\mathbf{F}^{\prime}}{\partial\widetilde{\mathbf{W}}^{\prime}} = T^{-1}\frac{\partial\mathbf{F}_{\mathrm{KFVS}}}{\partial\widetilde{\mathbf{W}}}T,

where TT is the transformation matrix from local coordinate to global coordinate. The flux FKFVS\mathbf{F}_{\mathrm{KFVS}} is given by

FKFVS=FKFVSl+FKFVSr,\mathbf{F}_{\mathrm{KFVS}}=\mathbf{F}_{\mathrm{KFVS}}^{l}+\mathbf{F}_{\mathrm{KFVS}}^{r},

where FKFVSl\mathbf{F}_{\mathrm{KFVS}}^{l} and FKFVSr\mathbf{F}_{\mathrm{KFVS}}^{r} are calculated by the left and right cells with the same calculation method

FKFVS=[ρ⟨w11⟩ρ⟨w12⟩ρW2⟨w11⟩ρW3⟨w11⟩12ρ[⟨w13⟩+⟨w11⟩M2]],\mathbf{F}_{\mathrm{KFVS}} = \begin{bmatrix} \rho\langle w_{1}^{1} \rangle\\ \rho\langle w_{1}^{2} \rangle\\ \rho W_{2} \langle w_{1}^{1} \rangle\\ \rho W_{3} \langle w_{1}^{1} \rangle\\ \frac{1}{2}\rho[\langle w_{1}^{3} \rangle+ \langle w_{1}^{1} \rangle\mathcal{M}_{2}] \end{bmatrix},

where M2=W22+W32+(K+2)/2λ\mathcal{M}_{2}=W_{2}^{2}+W_{3}^{2}+(K+2)/2\lambda, and for FKFVSl\mathbf{F}_{\mathrm{KFVS}}^{l} the half integration ⟨w1n⟩>0\langle w_{1}^{n} \rangle_{>0} is used and for FKFVSr\mathbf{F}_{\mathrm{KFVS}}^{r} the half integration ⟨w1n⟩<0\langle w_{1}^{n} \rangle_{<0} is employed. The flux Jacobian matrix about q=(ρ,W1,W2,W3,λ)T\mathbf{q}=(\rho,W_{1},W_{2},W_{3},\lambda)^{T} gives

∂FKFVS∂q=[⟨w11⟩ρ⟨w01⟩00ρL1⟨w12⟩2ρ⟨w11⟩00ρL2W2⟨w11⟩ρW2⟨w01⟩ρ⟨w11⟩0ρW2L1W3⟨w11⟩ρW3⟨w01⟩0ρ⟨w11⟩ρW3L1D1D2ρW1⟨w11⟩ρW2⟨w11⟩12ρ[L3+L1M2]],\frac{\partial\mathbf{F}_{\mathrm{KFVS}}}{\partial\mathbf{q}} = \begin{bmatrix} \langle w_{1}^{1} \rangle& \rho\langle w_{0}^{1} \rangle& 0 & 0 & \rho\mathcal{L}_{1} \\ \langle w_{1}^{2} \rangle& 2\rho\langle w_{1}^{1} \rangle& 0 & 0 & \rho\mathcal{L}_{2} \\ W_{2}\langle w_{1}^{1} \rangle& \rho W_{2}\langle w_{0}^{1} \rangle& \rho\langle w_{1}^{1} \rangle& 0 & \rho W_{2}\mathcal{L}_{1} \\ W_{3}\langle w_{1}^{1} \rangle& \rho W_{3}\langle w_{0}^{1} \rangle& 0 & \rho\langle w_{1}^{1} \rangle& \rho W_{3}\mathcal{L}_{1} \\ \mathcal{D}_{1} & \mathcal{D}_{2} & \rho W_{1}\langle w_{1}^{1} \rangle& \rho W_{2}\langle w_{1}^{1} \rangle& \frac{1}{2}\rho[\mathcal{L}_{3}+\mathcal{L}_{1}\mathcal{M}_{2}] \end{bmatrix},

where

L1=∂⟨w11⟩∂λ=−12λ[⟨w11⟩−W1⟨w01⟩],\mathcal{L}_{1}=\frac{\partial\langle w_{1}^{1}\rangle}{\partial\lambda}=-\frac{1}{2\lambda}[\langle w_{1}^{1}\rangle-W_{1}\langle w_{0}^{1}\rangle],
L2=∂⟨w12⟩∂λ=−12λ2⟨w01⟩,\mathcal{L}_{2}=\frac{\partial\langle w_{1}^{2}\rangle}{\partial\lambda}=-\frac{1}{2\lambda^{2}}\langle w_{0}^{1}\rangle,
L3=∂⟨w13⟩∂λ=−32λ⟨w11⟩,\mathcal{L}_{3}=\frac{\partial\langle w_{1}^{3}\rangle}{\partial\lambda}=-\frac{3}{2\lambda}\langle w_{1}^{1}\rangle,
D1=12[⟨w13⟩+⟨w11⟩M2],\mathcal{D}_{1}=\frac{1}{2}[\langle w_{1}^{3}\rangle+\langle w_{1}^{1}\rangle\mathcal{M}_{2}],
D2=12ρ[3⟨w12⟩+⟨w01⟩M2].\mathcal{D}_{2}=\frac{1}{2}\rho[3\langle w_{1}^{2}\rangle+\langle w_{0}^{1}\rangle\mathcal{M}_{2}].

The transformation between primitive and conservative flow variables gives

∂q∂W=[10000−W1/ρ1/ρ000−W2/ρ01/ρ00−W3/ρ001/ρ0λ/ρ−1/2C(W12+W22+W32)CW1CW2CW3−C],\frac{\partial\mathbf{q}}{\partial\mathbf{W}}= \begin{bmatrix} 1 & 0 & 0 & 0 & 0 \\ -W_{1}/\rho& 1/\rho& 0 & 0 & 0 \\ -W_{2}/\rho& 0 & 1/\rho& 0 & 0 \\ -W_{3}/\rho& 0 & 0 & 1/\rho& 0 \\ \lambda/\rho-1/2\mathcal{C}(W_{1}^{2}+W_{2}^{2}+W_{3}^{2}) & \mathcal{C}W_{1} & \mathcal{C}W_{2} & \mathcal{C}W_{3} & -\mathcal{C} \end{bmatrix},

where

C=4λ2(K+3)ρ.\mathcal{C}=\frac{4\lambda^{2}}{(K+3)\rho}.

Jacobian matrix for viscous flux

The thin shear layer (TSL) [45, 46] approximation is used for viscous flux with the assumption that the viscous effect is only significant in the normal direction of the cell surface. The viscous flux is approximated as

Fv=[0nxτxx+nyτxy+nzτxznxτxy+nyτyy+nzτyznxτxz+nyτyz+nzτzznxΘx+nyΘy+nzΘz]\mathbf{F}_{v} = \begin{bmatrix} 0 \\ n_x\tau_{xx} + n_y\tau_{xy} + n_z\tau_{xz} \\ n_x\tau_{xy} + n_y\tau_{yy} + n_z\tau_{yz} \\ n_x\tau_{xz} + n_y\tau_{yz} + n_z\tau_{zz} \\ n_x\Theta_x + n_y\Theta_y + n_z\Theta_z \end{bmatrix}

where n=(nx,ny,nz)\mathbf{n}=(n_x,n_y,n_z) is the normal vector of the cell surface. To obtain the viscous stress tensor, the derivatives are approximated by the normal derivatives via

∂q∂x=qR−qLdnx,∂q∂y=qR−qLdny,∂q∂z=qR−qLdnz.\begin{aligned} \frac{\partial q}{\partial x} &= \frac{q_R-q_L}{d}n_x,\\ \frac{\partial q}{\partial y} &= \frac{q_R-q_L}{d}n_y,\\ \frac{\partial q}{\partial z} &= \frac{q_R-q_L}{d}n_z. \end{aligned}

where qq is the variable such as V1,V2,V3,TV_1,V_2,V_3,T, qRq_R and qLq_L are the cell-averaged values of qq at the right and left of the cell surface, respectively, and dd is the distance between the cell centers of left and right cells. The viscous stress tensor and heat flux are given by

τxx=2μ∂V1∂n+23μ(nx∂V1∂n+ny∂V2∂n+nz∂V3∂n),τyy=2μ∂V2∂n+23μ(nx∂V1∂n+ny∂V2∂n+nz∂V3∂n),τzz=2μ∂V3∂n+23μ(nx∂V1∂n+ny∂V2∂n+nz∂V3∂n),τxy=τyx=μ(nx∂V2∂n+ny∂V1∂n),τxz=τzx=μ(nx∂V3∂n+nz∂V1∂n),τyz=τzy=μ(ny∂V3∂n+nz∂V2∂n),Θx=V1τxx+V2τxy+V3τxz+κnx∂T∂n,Θy=V1τxy+V2τyy+V3τyz+κny∂T∂n,Θz=V1τxz+V2τyz+V3τzz+κnz∂T∂n.\begin{aligned} \tau_{xx} &= 2\mu\frac{\partial V_1}{\partial n}+\frac{2}{3}\mu\left(n_x\frac{\partial V_1}{\partial n}+n_y\frac{\partial V_2}{\partial n}+n_z\frac{\partial V_3}{\partial n}\right),\\ \tau_{yy} &= 2\mu\frac{\partial V_2}{\partial n}+\frac{2}{3}\mu\left(n_x\frac{\partial V_1}{\partial n}+n_y\frac{\partial V_2}{\partial n}+n_z\frac{\partial V_3}{\partial n}\right),\\ \tau_{zz} &= 2\mu\frac{\partial V_3}{\partial n}+\frac{2}{3}\mu\left(n_x\frac{\partial V_1}{\partial n}+n_y\frac{\partial V_2}{\partial n}+n_z\frac{\partial V_3}{\partial n}\right),\\ \tau_{xy} &= \tau_{yx}=\mu\left(n_x\frac{\partial V_2}{\partial n}+n_y\frac{\partial V_1}{\partial n}\right),\\ \tau_{xz} &= \tau_{zx}=\mu\left(n_x\frac{\partial V_3}{\partial n}+n_z\frac{\partial V_1}{\partial n}\right),\\ \tau_{yz} &= \tau_{zy}=\mu\left(n_y\frac{\partial V_3}{\partial n}+n_z\frac{\partial V_2}{\partial n}\right),\\ \Theta_x &= V_1\tau_{xx}+V_2\tau_{xy}+V_3\tau_{xz}+\kappa n_x\frac{\partial T}{\partial n},\\ \Theta_y &= V_1\tau_{xy}+V_2\tau_{yy}+V_3\tau_{yz}+\kappa n_y\frac{\partial T}{\partial n},\\ \Theta_z &= V_1\tau_{xz}+V_2\tau_{yz}+V_3\tau_{zz}+\kappa n_z\frac{\partial T}{\partial n}. \end{aligned}

and κ\kappa is the thermal conductivity. Thus, the Jacobian matrix of the viscous flux is given by

∂Fv∂WR=μd[00000b21a1/ρa2/ρa3/ρ0b31a2/ρa4/ρa5/ρ0b41a3/ρa5/ρa6/ρ0b51b52b53b54a7/ρ],\frac{\partial\mathbf{F}_{v}}{\partial\mathbf{W}_{R}}=\frac{\mu}{d} \begin{bmatrix} 0 & 0 & 0 & 0 & 0 \\ b_{21} & a_{1}/\rho& a_{2}/\rho& a_{3}/\rho& 0 \\ b_{31} & a_{2}/\rho& a_{4}/\rho& a_{5}/\rho& 0 \\ b_{41} & a_{3}/\rho& a_{5}/\rho& a_{6}/\rho& 0 \\ b_{51} & b_{52} & b_{53} & b_{54} & a_{7}/\rho \end{bmatrix},

and ∂Fv/∂WL=−∂Fv/∂WR\partial\mathbf{F}_{v}/\partial\mathbf{W}_{L}=-\partial\mathbf{F}_{v}/\partial\mathbf{W}_{R}, where

b21=−(a1V1+a2V2+a3V3)/ρ,b31=−(a2V1+a4V2+a5V3)/ρ,b41=−(a3V1+a5V2+a6V3)/ρ,b51=−[a7(V12+V22+V32−E)+a1V12+2a2V1V2+2a3V1V3+a4V22+2a5V2V3+a6V32]/ρ,b52=−a7V1/ρ−b21,b53=−a7V2/ρ−b31,b54=−a7V3/ρ−b41,\begin{aligned} b_{21} &= -(a_{1}V_{1}+a_{2}V_{2}+a_{3}V_{3})/\rho, \\ b_{31} &= -(a_{2}V_{1}+a_{4}V_{2}+a_{5}V_{3})/\rho, \\ b_{41} &= -(a_{3}V_{1}+a_{5}V_{2}+a_{6}V_{3})/\rho, \\ b_{51} &= -\left[a_{7}(V_{1}^{2}+V_{2}^{2}+V_{3}^{2}-E)+a_{1}V_{1}^{2}+2a_{2}V_{1}V_{2}+2a_{3}V_{1}V_{3}+a_{4}V_{2}^{2}+2a_{5}V_{2}V_{3}+a_{6}V_{3}^{2}\right]/\rho, \\ b_{52} &= -a_{7}V_{1}/\rho-b_{21}, \qquad b_{53}=-a_{7}V_{2}/\rho-b_{31}, \qquad b_{54}=-a_{7}V_{3}/\rho-b_{41}, \end{aligned}

and

a1=4/3nx2+ny2+nz2,a2=1/3nxny,a3=1/3nxnz,a4=nx2+4/3ny2+nz2,a5=1/3nynz,a6=nx2+ny2+4/3nz2,a7=γ/Pr⁡(nx2+ny2+nz2).\begin{aligned} a_{1} &= 4/3n_{x}^{2}+n_{y}^{2}+n_{z}^{2}, \\ a_{2} &= 1/3n_{x}n_{y}, \\ a_{3} &= 1/3n_{x}n_{z}, \\ a_{4} &= n_{x}^{2}+4/3n_{y}^{2}+n_{z}^{2}, \\ a_{5} &= 1/3n_{y}n_{z}, \\ a_{6} &= n_{x}^{2}+n_{y}^{2}+4/3n_{z}^{2}, \\ a_{7} &= \gamma/\operatorname{Pr}(n_{x}^{2}+n_{y}^{2}+n_{z}^{2}). \end{aligned}

References

  1. [18]Y. Xiaoquan, J. Cheng, H. Luo, Q. Zhao, Robust implicit direct discontinuous Galerkin method for simulating the compressible turbulent flows, AIAA Journal 57 (3) (2019) 1113–1132.
  2. [19]C. Zhou, Z. J. Wang, An evaluation of implicit time integration schemes for discontinuous high order methods, in: 21st AIAA Computational Fluid Dynamics Conference, 2013, p. 2688.DOI
  3. [20]G. Cao, H. Su, J. Xu, K. Xu, Implicit high-order gas kinetic scheme for turbulence simulation, Aerospace Science and Technology 92 (2019) 958–971.arxiv.org/abs/1811.08005
  4. [21]H. Liu, X. Ji, Y. Mao, Y. Ding, K. Xu, A compact gas-kinetic scheme with scalable geometric multigrid acceleration for steady-state computation on 3d unstructured meshes, arXiv preprint arXiv:2402.02075 (2024).arxiv.org/abs/2402.02075
  5. [22]S. Tan, Q. Li, Time-implicit gas-kinetic scheme, Computers & Fluids 144 (2017) 44–59.DOI
  6. [23]Y. Yang, L. Pan, K. Xu, Implicit high-order gas-kinetic schemes for compressible flows on three-dimensional unstructured meshes I: Steady flows, Journal of Computational Physics 505 (2024) 112902.arxiv.org/abs/2304.09485
  7. [24]Y. Yang, L. Pan, K. Xu, Implicit high-order gas-kinetic schemes for compressible flows on three-dimensional unstructured meshes II: Unsteady flows, Journal of Computational Physics 521 (2025) 113534.arxiv.org/abs/2403.00482
  8. [25]Y. Jia, N. Zhengyu, Y. Xiaoquan, D. Jue, T. Xiaolong, W. Peifeng, A robust compact least-squares reconstruction method for compressible turbulent flow simulations of complex configurations, Chinese Journal of Aeronautics 36 (12) (2023) 113–138.
  9. [26]D. Zhou, A three-dimensional gas-kinetic BGK scheme for simulating flows in rotating machinery, Advances in Applied Mathematics and Mechanics 11 (1) (2019) 168–196.DOI
  10. [27]Y. Zhang, X. Ji, K. Xu, A high-order compact gas-kinetic scheme in a rotating coordinate frame and on sliding mesh, International Journal of Computational Fluid Dynamics (2023) 1–20.arxiv.org/abs/2210.17385
  11. [28]X. Ji, F. Zhao, W. Shyy, K. Xu, A HWENO reconstruction based high-order compact gas-kinetic scheme on unstructured mesh, Journal of Computational Physics 410 (2020) 109367.DOI
  12. [29]G. Gassner, F. Lörcher, C.-D. Munz, A contribution to the construction of diffusion fluxes for finite volume and discontinuous Galerkin schemes, Journal of Computational Physics 224 (2) (2007) 1049–1063.DOI
  13. [30]J. Blazek, Chapter 4 - structured finite-volume schemes, in: J. Blazek (Ed.), Computational Fluid Dynamics: Principles and Applications (Third Edition), third Edition, Butterworth-Heinemann, Oxford, 2015, pp. 73–120.
  14. [31]F. R. Menter, Two-equation eddy-viscosity turbulence models for engineering applications, AIAA journal 32 (8) (1994) 1598–1605.DOI
  15. [32]F. Menter, Fully new two equation k−ω turbulence models for aerodynamic flows, in: 23rd fluid dynamics, plas madynamics, and lasers conference, 1993, p. 2906.
  16. [33]J. Slater, Onera m6 wing: Study 1, accessed: 2020-09-01 (2008). URL https://www.grc.nasa.gov/www/wind/valid/m6wing/m6wing01/m6wing01.html
  17. [34]V. Schmitt, Pressure distributions on the ONERA M6-wing at transonic mach numbers, experimental data base for computer program assessment, AGARD AR-138 (1979).
  18. [35]D. W. Levy, K. R. Laflin, E. N. Tinoco, J. C. Vassberg, M. Mani, B. Rider, C. L. Rumsey, R. A. Wahls, J. H. Morrison, O. P. Brodersen, et al., Summary of data from the fifth computational fluid dynamics drag prediction workshop, Journal of Aircraft 51 (4) (2014) 1194–1213.DOI
  19. [36]D. Hue, Fifth drag prediction workshop: Computational fluid dynamics studies carried out at ONERA, Journal of Aircraft 51 (4) (2014) 1295–1310.DOI
  20. [37]A. J. Strazisar, J. R. Wood, M. D. Hathaway, K. L. Suder, Laser anemometer measurements in a transonic axial-flow fan rotor, Tech. rep. (1989).
  21. [38]L. FOTTNER, Test cases for computation of internal flows in aero engine components (1990).
  22. [39]L. Reid, R. D. Moore, Design and overall performance of four highly loaded, high speed inlet stages for an advanced high-pressure-ratio core compressor, Tech. rep. (1978).
  23. [40]D. Wisler, Rotor 37 blind test case, in: ASME/IGTI Int. Gas Turbine Conf., 1994.
  24. [41]T. Arima, T. Sonoda, M. Shiratori, A. Tamura, K. Kikuchi, A numerical investigation of transonic axial compressor rotor flow using a low-reynolds-number k=ε turbulence model (1999).

Paper details

vlnc:W_zwjvvm4r
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents