This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

A velocity-space adaptive unified gas kinetic scheme for continuum and rarefied flows

Tianbai Xiao xiaotianbai@pku.edu.cn Kun Xu makxu@ust.hk Qingdong Cai caiqd@pku.edu.cn Department of Mechanics and Engineering Science, College of Engineering, Peking University, Beijing 100871, China Department of Mathematics, Department of Mechanical and Aerospace Engineering, Hong Kong University of Science and Technology, Clear Water Bay, Kowloon, Hong Kong Shenzhen Research Institute, Hong Kong University of Science and Technology, Shenzhen 518057, China
Abstract

The compressible flow has intrinsically multiple scale nature due to the large variations of gas density and characteristic scale of flow structure, especially in hypersonic and reentry problems. It is challenging to construct an accurate and efficient numerical algorithm to capture non-equilibrium flow physics across different regimes. In this paper, a unified gas kinetic scheme with adaptive velocity space (AUGKS) for multiscale flow transport will be developed. In near-equilibrium flow regions, particle distribution function is close to the Chapman-Enskog expansion and can be formulated with a continuous velocity space, where only macroscopic conservative variables are updated. With the emerging of non-equilibrium effects, the AUGKS automatically switches to a discrete velocity space to follow the evolution of particle distribution function. Based on the Chapman-Enskog expansion, a criterion is proposed in this paper to quantify the intensity of non-equilibrium effects and is used for the continuous-discrete velocity space transformation. Following the scale-dependent local evolution solution, the AUGKS presents the discretized gas dynamic equations directly on the cell size and time step scales, i.e., the so-called direct modeling method. As a result, the scheme is able to capture the cross-scale flow physics from particle transport to hydrodynamic wave propagation, and provides a continuous variation of solutions from the Boltzmann to the Navier-Stokes. Under the unified framework, different from conventional DSMC-NS hybrid method, the AUGKS does not need a buffer zone to match up kinetic and hydrodynamic solutions. Instead, a continuous and discrete particle velocity space is naturally connected, which is feasible for the numerical simulations with unsteadiness or complex geometries. Compared with the asymptotic preserving (AP) methods which solves kinetic equations uniformly over the entire flow field with discretized velocity space, the current velocity-space adaptive unified scheme speeds up the computation and reduces the memory requirement in multiscale flow problems, and maintains the equivalent accuracy. The AUGKS provides an effective tool for non-equilibrium flow simulations.

keywords:
unified gas kinetic scheme, multiscale flow, non-equilibrium phenomena, adaptive velocity space

1 Introduction

The gaseous flow shows a diverse set of behaviors on different characteristic scales. For example, within the mean free path and collision time of gas molecules, particles travel freely during most of time with rare intermolecular collisions, leading to peculiar non-equilibrium flow dynamics. However, on a much macroscopic level, the accumulating effect of collisions results in an equalization of local temperature and velocity, where the moderate non-equilibrium effects can be well described by viscous transport, heat conduction and mass diffusion, i.e., the so called transport phenomena [1]. From microscopic particle transport to macroscopic fluid motion, there is a continuous variation of flow dynamics. Generally, different flow regimes can be categorized qualitatively according to the Knudsen number, which is defined as the ratio of the molecular mean free path to a characteristic physical length scale. With the variation of KnKn, the whole flow domain can be qualitatively divided into continuum (Kn<0.001Kn<0.001), slip (0.001<Kn<0.10.001<Kn<0.1), transition (0.1<Kn<100.1<Kn<10) and free molecular regimes (Kn>10Kn>10) [2]. When KnKn is large, the particle transport and collision can be depicted separately in the Boltzmann equation. In another limit with extremely small KnKn, the Navier-Stokes equations are routinely used to describe macroscopic flow.

The traditional computational fluid dynamics targets to get numerical solutions of the corresponding governing equations. For example, the most widely used numerical methods for the Boltzmann equation are the direct Boltzmann solvers [3] and the direct simulation Monte Carlo (DSMC) method [4]. In the former methodology, a discretized particle velocity space is constructed and the particle distribution function is updated from transport and collision terms respectively. On the other hand, the DSMC method mimics the same physical process while the distribution function is now represented by a large amount of test particles and the collision term is calculated statistically. Due to the splitting treatment of particle transport and collision, the mesh size and time step should be restricted by the mean free path and collision time, and the computational cost is proportional to the amount of discretized velocity points or test particles used in the simulation. Meanwhile, the compressible Navier-Stokes solvers are mostly based on the Riemann solvers for inviscid flux and the central difference method for viscous terms. The macroscopic flow variables are followed in the simulation. Compared with the kinetic methods, the computational cost of continuum flow solvers is much reduced.

The rapid developments of aerospace industry face new challenges for accurate and efficient simulation of complex flows. For example, when a shuttle reenters into the atmosphere, the surrounding gas becomes denser and denser from the rarefied upper atmosphere to lower continuum region, and thus the vehicle sees cross-scale flow physics during the landing process. Besides, localized non-equilibrium flow structures often emerge around the vehicle in hypersonic cruise as a result of the geometric effect, such as shock, rarefaction wave, boundary layer and wake turbulence. It is natural to couple different numerical methods in different domains to calculate aerodynamic force and heat efficiently. Therefore, hybrid algorithms which combine continuum and kinetic approaches have been developed to simulate multiple scale flows where continuum and rarefied flow physics coexist in a single flow simulation [5, 6, 7, 8, 9, 10, 11, 12, 13]. In these numerical schemes, the main flow structure of the flow field is simulated by the continuum methods efficiently, with highly dissipative non-equilibrium regions being resolved by the kinetic methods. Due to the complicated fivefold collision integral in the Boltzmann equation, the prevailing kinetic solver used for hybridization currently is the DSMC method. In the calculation, a dynamic parameter is needed to determine the breakdown point of continuum description and decompose the flow domain. It is easy to implement the hybrid method into a parallel simulation since the physical domain has already been splitted into blocks on different computational nodes.

In kinetic theory, the Chapman-Enskog expansion [14] bridges the NS and Boltzmann solutions. Although this successive expansion is mathematically attractive, there is little information provided about the intrinsic scale for the validation of macroscopic equations, such as the specific fluid element in the NS modeling. The success of the mathematical derivation of high-order equations with inclusion of the so-called Burnett or super-Burnett terms is limited due to the lack of specified modeling scales for these extended hydrodynamic equations. Besides, due to the uncertainty in choosing the length scale in the definition of Knudsen number, it becomes rather tough to predict a universal breakdown criterion for the Chapman-Enskog expansion and the use of the NS solutions, although it is defined empirically that the NS equations are valid when Kn0.01{Kn}\leq 0.01. In addition, on particle mean free path and collision time scales, the kinetic method provides much more degrees of freedom to describe gas dynamics, while in the buffer zone these information needs to be shrunk to the mean field variables on a macroscopic level, such as density, momentum, energy, stress and heat flux. The inherent incompatibility between the particle-based and PDE-based methods leads to considerable difficulties in the hybridization. Usually a buffer zone is delicately defined for the information exchange between kinetic and continuum solutions, which may become more difficult in the simulation of unsteady flows.

In recent years, the unified gas kinetic scheme (UGKS) has been developed for cross-scale flows [15, 16]. Based on the direct modeling on the mesh size scale, the time-evolving flux function from the kinetic equation provides a smooth transition from particle transport to hydrodynamic wave propagation. The UGKS is an asymptotic preserving (AP) scheme, which preserves the discrete analogy of the Chapman-Enskog expansion and the time step in the simulation is not restricted by the collision time [17]. However, for the UGKS the memory requirement and computational cost due to the discretized velocity space limits its wide applications in aerospace industry. In this paper, we develop an adaptive unified gas kinetic scheme (AUGKS), where the continuous and discrete velocity space is transformed dynamically in a single framework. In the near-equilibrium region, the Chapman-Enskog expansion is used for the construction of distribution function with a continuous velocity space, and thus only macroscopic conservative variables are stored and updated in the simulation. With increasing non-equilibrium effects, the AUGKS tracks the evolution of distribution function directly with a discrete velocity space. Based on the Chapman-Enskog expansion, a criterion to switch continuous-discrete velocity space in the simulation is proposed and validated through numerical experiments. Compared with the original UGKS method, the current adaptive scheme frees the memory requirement in near-equilibrium flow regimes and speeds up the computation, but provides equivalent physical solutions. Due to the use of particle distribution function in the whole flow field, the AUGKS avoids defining an interface condition for domain decomposition in order to connect fluid and kinetic representations. In other words, no buffer zone is needed in the AUGKS.

This paper is organized as following. Section 2 is a brief introduction of the fundamental kinetic theory. Section 3 presents the numerical implementation of the adaptive unified gas kinetic scheme and proposes a switching criterion of the velocity space transformation. Section 4 includes numerical examples to demonstrate the performance of the current scheme. The last section is the conclusion.

2 Gas kinetic modeling

The gas kinetic theory describes the time-space evolution of particle distribution function f(𝐱,𝐮,t)f(\mathbf{x},\mathbf{u},t), where 𝐱3\mathbf{x}\in\mathcal{R}^{3} is space variable and 𝐮3\mathbf{u}\in\mathcal{R}^{3} is particle velocity. In the absence of external force field, the Boltzmann equation of a monatomic dilute gas writes,

ft+𝐮𝐱f=Q(f,f)=3𝒮2[f(𝐮)f(𝐮1)f(𝐮)f(𝐮1)]B(cosθ,g)𝑑𝛀𝑑𝐮1,f_{t}+\mathbf{u}\cdot\nabla_{\mathbf{x}}f=Q(f,f)=\int_{\mathcal{R}^{3}}\int_{\mathcal{S}^{2}}\left[f(\mathbf{u}^{\prime})f(\mathbf{u}_{1}^{\prime})-f(\mathbf{u})f(\mathbf{u}_{1})\right]B(\cos\theta,g)d\mathbf{\Omega}d\mathbf{u}_{1}, (1)

where 𝐮,𝐮𝟏\mathbf{u},\mathbf{u_{1}} are the pre-collision velocities of two classes of molecules, and 𝐮,𝐮𝟏\mathbf{u}^{\prime},\mathbf{u_{1}}^{\prime} are the corresponding post-collision velocities. The collision kernel B(cosθ,g)B(\cos\theta,g) measures the strength of collisions in different directions, where θ\theta is the deflection angle and g=|𝐠|=|𝐮𝐮𝟏|g=|\mathbf{g}|=|\mathbf{u}-\mathbf{u_{1}}| is the magnitude of relative pre-collision velocity. The 𝛀\mathbf{\Omega} is the unit vector along the relative post-collision velocity 𝐮𝐮𝟏\mathbf{u}^{\prime}-\mathbf{u_{1}}^{\prime}, and the deflection angle θ\theta satisfies cosθ=𝛀𝐠/g\cos\theta=\mathbf{\Omega}\cdot\mathbf{g}/g. The conservation of momentum and energy leads the following relations,

𝐮=𝐮+𝐮𝟏2+|𝐮𝐮𝟏|2𝛀=𝐮+g𝛀𝐠2,\displaystyle\mathbf{u}^{\prime}=\frac{\mathbf{u}+\mathbf{u_{1}}}{2}+\frac{|\mathbf{u}-\mathbf{u_{1}}|}{2}\mathbf{\Omega}=\mathbf{u}+\frac{g\mathbf{\Omega}-\mathbf{g}}{2}, (2)
𝐮𝟏=𝐮+𝐮𝟏2|𝐮𝐮𝟏|2𝛀=𝐮1g𝛀𝐠2.\displaystyle\mathbf{u_{1}}^{\prime}=\frac{\mathbf{u}+\mathbf{u_{1}}}{2}-\frac{|\mathbf{u}-\mathbf{u_{1}}|}{2}\mathbf{\Omega}=\mathbf{u}_{1}-\frac{g\mathbf{\Omega}-\mathbf{g}}{2}.

Due to the complicated fivefold integration in the Boltzmann collision operator, some simplified kinetic models have been constructed, such as the Shakhov [18]. In this model, the Boltzmann collision operator Q(f,f)Q(f,f) is replaced with a relaxation operator S(f)S(f), which writes,

ft+𝐮𝐱f=S(f)=f+fτ,\displaystyle f_{t}+\mathbf{u}\cdot\nabla_{\mathbf{x}}f=S(f)=\frac{f^{+}-f}{\tau}, (3)
f+=ρ(λπ)32eλ(𝐮𝐔)2[1+(1Pr)𝐜𝐪(𝐜2RT5)/(5pRT)],\displaystyle f^{+}=\rho\left(\frac{\lambda}{\pi}\right)^{\frac{3}{2}}e^{-\lambda(\mathbf{u}-\mathbf{U})^{2}}\left[1+(1-{Pr})\mathbf{c}\cdot\mathbf{q}\left(\frac{\mathbf{c}^{2}}{RT}-5\right)/(5pRT)\right],

where τ=μ/p\tau=\mu/p is the collision time. The macroscopic density, velocity, temperature and heat flux are marked with ρ,𝐔,T,𝐪\rho,\mathbf{U},T,\mathbf{q}. The 𝐜=𝐮𝐔\mathbf{c}=\mathbf{u}-\mathbf{U} is particle peculiar velocity, PrPr is the Prandtl number, RR is the gas constant, and λ=ρ/(2p)\lambda={\rho}/{(2p)}. In this paper, the numerical simulations will be conducted by either the full Boltzmann or the Shakhov collision terms.

The macroscopic conservative flow variables are related with the moments of particle distribution function via

W=(ρρ𝐔ρE)=fψ𝑑𝐮,\textbf{W}=\left(\begin{matrix}\rho\\ \rho\mathbf{U}\\ \rho E\end{matrix}\right)=\int f\psi d\mathbf{u},

and the collision terms satisfy the compatibility condition,

Q(f,f1)ψ𝑑𝐮=S(f)ψ𝑑𝐮=0,\int Q(f,f_{1})\psi d\mathbf{u}=\int S(f)\psi d\mathbf{u}=0,

where ψ=(1,𝐮,12𝐮2)T\psi=\left(1,\mathbf{u},\frac{1}{2}\mathbf{u}^{2}\right)^{T} is a vector of collision invariants. Here we rewrite the collision terms Q(f,f)Q(f,f) and S(f)S(f) into a general form Q(f)Q(f).

With a local constant collision time τ\tau, the integral solution of Eq.(3) can be constructed along the characteristic line,

f(𝐱,t,𝐮)=1τt0tf+(𝐱,t,𝐮)e(tt)/τ𝑑t+et/τf0(𝐱0,0,𝐮),f(\mathbf{x},t,\mathbf{u})=\frac{1}{\tau}\int_{t^{0}}^{t}f^{+}(\mathbf{x}^{\prime},t^{\prime},\mathbf{u})e^{-(t-t^{\prime})/\tau}dt^{\prime}+e^{-t/\tau}f_{0}(\mathbf{x}^{0},0,\mathbf{u}), (4)

where 𝐱=𝐮(tt)\mathbf{x}^{\prime}=-\mathbf{u}(t-t^{\prime}) is the particle trajectory, and f0f_{0} is the gas distribution function at the initial time step t=t0t=t^{0}. Based on the above evolving solution, the corresponding discretized gas dynamic equations on the cell size and time step scales can be constructed in the gas kinetic scheme.

3 Adaptive unified gas kinetic scheme

In this section, we will present the principle and numerical implementation of the velocity-space adaptive unified gas kinetic scheme (AUGKS). The original gas kinetic scheme with continuous and discrete particle velocity space will be introduced first. The detailed coupling of continuum and kinetic treatments and the switching criterion for velocity space transformation will be discussed. For simplicity, the following introduction is based on two-dimensional case, while the extension to three dimension is straightforward.

3.1 Unified gas kinetic scheme with discrete velocity space

With the notation of cell averaged quantities in the control volume,

𝐖xi,yj,tn=𝐖i,jn=1Ωi,j(𝐱)Ωi,jf(x,y,tn)𝑑x𝑑y,\displaystyle\mathbf{W}_{x_{i},y_{j},t^{n}}=\mathbf{W}_{i,j}^{n}=\frac{1}{\Omega_{i,j}(\mathbf{x})}\int_{\Omega_{i,j}}f(x,y,t^{n})dxdy,
fxi,yj,tn,ul,vm=fi,j,l,mn=1Ωi,j(𝐱)Ωl,m(𝐮)Ωi,jΩl,mf(x,y,tn,u,v)𝑑x𝑑y𝑑u𝑑v,\displaystyle f_{x_{i},y_{j},t^{n},u_{l},v_{m}}=f_{i,j,l,m}^{n}=\frac{1}{\Omega_{i,j}(\mathbf{x})\Omega_{l,m}(\mathbf{u})}\int_{\Omega_{i,j}}\int_{\Omega_{l,m}}f(x,y,t^{n},u,v)dxdydudv,

where Ωi,j\Omega_{i,j} and Ωl,m\Omega_{l,m} are the cell area in the discretized physical and velocity space, the macroscopic conservative variables and the particle distribution function are updated in the UGKS,

Wi,jn+1=Wi,jn+1Ωi,jtntn+1r𝐅rΔLrdt,\textbf{W}_{i,j}^{n+1}=\textbf{W}_{i,j}^{n}+\frac{1}{\Omega_{i,j}}\int_{t^{n}}^{t^{n+1}}\sum_{r}{\mathbf{F}}_{r}\Delta L_{r}dt, (5)
fi,j,l,mn+1=\displaystyle f_{i,j,l,m}^{n+1}= fi,j,l,mn+1Ωi,jtntn+1rurfrΔLrdt+tntn+1Ωi,jQ(f)𝑑t,\displaystyle f_{i,j,l,m}^{n}+\frac{1}{\Omega_{i,j}}\int_{t^{n}}^{t^{n+1}}\sum_{r}u_{r}f_{r}\Delta L_{r}dt+\int_{t^{n}}^{t^{n+1}}\int_{\Omega_{i,j}}Q(f)dt, (6)

where Fr\textbf{F}_{r} is the flux of conservative variables, frf_{r} is the time-dependent gas distribution function at cell interface and ΔLr\Delta L_{r} is the cell interface length.

In the UGKS, the flux function 𝐅r\mathbf{F}_{r} is evaluated through the particle distribution function at the cell interface, which is constructed from the evolving solution of the Shakhov equation. If the interface location is simplified with xi+1/2=0x_{i+1/2}=0, yj=0y_{j}=0, and tn=0t^{n}=0, with a local constant collision time τ\tau, the integral solution in Eq.(4) can be written as,

f(0,0,t,ul,vm,ξ)=\displaystyle f(0,0,t,u_{l},v_{m},\xi)= 1τ0tf+(x,y,t,ul,vm,ξ)e(tt)/τ𝑑t\displaystyle\frac{1}{\tau}\int_{0}^{t}f^{+}(x^{\prime},y^{\prime},t^{\prime},u_{l},v_{m},\xi)e^{-(t-t^{\prime})/\tau}dt^{\prime} (7)
+et/τf0(x0,y0,0,ul,vm,ξ),\displaystyle+e^{-t/\tau}f_{0}(x^{0},y^{0},0,u_{l},v_{m},\xi),

where x=ul(tt)x^{\prime}=-u_{l}(t-t^{\prime}) and y=vm(tt)y^{\prime}=v_{m}(t-t^{\prime}) are the particle trajectories, and x0,y0x^{0},y^{0} are the initial locations for the particle which passes through the cell interface at time tt. Here f0f_{0} is the gas distribution function at the beginning of nn-th time step. The internal degree of freedom ξ\xi denotes the random motion in zz direction. The above scale-dependent evolving solution provides a multiple scale evolution model, where the contributions from both equilibrium hydrodynamic and non-equilibrium kinetic flow physics are included uniformly.

In the detailed numerical scheme, to the second order accuracy, the initial gas distribution function f0f_{0} is reconstructed as

f0(x,y,0,ul,vm,ξ)={fi+1/2,j,l,mL+σi,j,l,mx+θi,j,l,my,x0,fi+1/2,j,l,mR+σi+1,j,l,mx+θi+1,j,l,my,x>0,f_{0}(x,y,0,u_{l},v_{m},\xi)=\left\{\begin{aligned} &f_{i+1/2,j,l,m}^{L}+\sigma_{i,j,l,m}x+\theta_{i,j,l,m}y,\quad x\leq 0,\\ &f_{i+1/2,j,l,m}^{R}+\sigma_{i+1,j,l,m}x+\theta_{i+1,j,l,m}y,\quad x>0,\end{aligned}\right. (8)

where fi+1/2,j,l,mLf_{i+1/2,j,l,m}^{L} and fi+1/2,j,l,mRf_{i+1/2,j,l,m}^{R} are the reconstructed initial distribution functions at the left and right hand sides of a cell interface, and σ\sigma and θ\theta are the slopes of distribution function along xx and yy directions. In addition, the equilibrium distribution function around a cell interface is constructed as

f+=f0+[1+(1H[x])a¯Lx+H[x]a¯Rx+b¯y+A¯t],f^{+}=f^{+}_{0}\left[1+(1-H[x])\bar{a}^{L}x+H[x]\bar{a}^{R}x+\bar{b}y+\bar{A}t\right], (9)

where f0+f^{+}_{0} is the equilibrium distribution at (x=0,y=0,t=0)(x=0,y=0,t=0). The coefficients (a¯L,R,b¯,A¯)(\bar{a}^{L,R},\bar{b},\bar{A}) can be evaluated from the spatial distribution of conservative variables on both sides of the cell interface and the compatibility condition [19]. After all coefficients are determined, the time dependent interface distribution function becomes

f(0,0,t,ul,vm,ξ)=\displaystyle f(0,0,t,u_{l},v_{m},\xi)= (1et/τ)f0+\displaystyle\left(1-e^{-t/\tau}\right)f^{+}_{0} (10)
+(τ(1+et/τ)+tet/τ)a¯L,Rulf0+\displaystyle+\left(\tau(-1+e^{-t/\tau})+te^{-t/\tau}\right)\bar{a}^{L,R}u_{l}f^{+}_{0}
+(τ(1+et/τ)+tet/τ)b¯vmf0+\displaystyle+\left(\tau(-1+e^{-t/\tau})+te^{-t/\tau}\right)\bar{b}v_{m}f^{+}_{0}
+τ(t/τ1+et/τ)A¯f0+\displaystyle+\tau\left(t/\tau-1+e^{-t/\tau}\right)\bar{A}f^{+}_{0}
+et/τ[(fi+1/2,j,l,mLultσi,j,l,mvmtθi,j,l,m)H[ul]\displaystyle+e^{-t/\tau}\left[\left(f_{i+1/2,j,l,m}^{L}-u_{l}t\sigma_{i,j,l,m}-v_{m}t\theta_{i,j,l,m}\right)H\left[u_{l}\right]\right.
+(fi+1/2,j,l,mRultσi+1,j,l,mvmtθi+1,j,l,m)(1H[ul])]\displaystyle\left.+\left(f_{i+1/2,j,l,m}^{R}-u_{l}t\sigma_{i+1,j,l,m}-v_{m}t\theta_{i+1,j,l,m}\right)(1-H\left[u_{l}\right])\right]
=\displaystyle= f~i+1/2,j,k,l++f~i+1/2,j,k,l,\displaystyle\widetilde{f}^{+}_{i+1/2,j,k,l}+\widetilde{f}_{i+1/2,j,k,l},

where f~i+1/2,j,k,l+\widetilde{f}^{+}_{i+1/2,j,k,l} is related to equilibrium state integration and f~i+1/2,j,k,l\widetilde{f}_{i+1/2,j,k,l} is related to the initial distribution. With the variation of the ratio between evolving time tt (i.e., the time step in the computation) and collision time τ\tau, the interface distribution function above provides self-conditioned multiple scale flow physics across different flow regimes. After the interface distribution function is determined, the corresponding fluxes of conservative variables are evaluated through

Fr=Ωl,mulf(0,0,t,ul,vm,ξ)ψ𝑑u𝑑v𝑑ξ.{\textbf{F}}_{r}=\int_{\Omega_{l,m}}u_{l}f(0,0,t,u_{l},v_{m},\xi)\psi dudvd\xi.

Inside each control volume, the collision term Q(f)Q(f) is to be determined for the update of particle distribution function in Eq.(6). In the unified scheme, the numerical treatments of Q(f)Q(f) for the exact Boltzmann collision term or the Shakhov model are given in [20, 21, 22, 23].

3.2 Near-continuum gas kinetic scheme with continuous velocity space

In continuum flow with intensive intermolecular collisions, the particle distribution function is close to local equilibrium state, and thus the Navier-Stokes equations are valid to describe macroscopic fluid motion. In this case, it is straightforward to apply the Chapman-Enskog expansion to construct the corresponding distribution function at every time step, and thus only macroscopic conservative variables need to be stored and updated. Following this procedure, in the gas kinetic scheme with continuous particle velocity space [24], the gas distribution function f0f_{0} in Eq.(7) at the beginning of each time step is expanded as following,

f0={f0+(l)(1+alx+blxτ(alu+blv+Al)),x0f0+(r)(1+arx+brxτ(aru+brv+Ar)),x>0f_{0}=\left\{\begin{aligned} &f_{0}^{+(l)}\left(1+a^{l}x+b^{l}x-\tau\left(a^{l}u+b^{l}v+A^{l}\right)\right),\quad x\leq 0\\ &f_{0}^{+(r)}\left(1+a^{r}x+b^{r}x-\tau\left(a^{r}u+b^{r}v+A^{r}\right)\right),\quad x>0\end{aligned}\right. (11)

where f0+(l)f_{0}^{+(l)} and f0+(r)f_{0}^{+(r)} are the corresponding equilibrium state at left and right sides of the interface, and the coefficients (al,r,bl,r,Al,r)(a^{l,r},b^{l,r},A^{l,r}) are related with spatial distribution of macroscopic variables. The equilibrium distribution function f+f^{+} around a cell interface is constructed in the same way in Eq.(9), and the corresponding interface distribution function becomes,

f(0,0,t,u,v,ξ)=\displaystyle f(0,0,t,u,v,\xi)= (1et/τ)f0+\displaystyle\left(1-e^{-t/\tau}\right)f_{0}^{+} (12)
+(τ(1+et/τ)+tet/τ)(a¯L,Ru+b¯v)f0+\displaystyle+\left(\tau(-1+e^{-t/\tau})+te^{-t/\tau}\right)(\bar{a}^{L,R}u+\bar{b}v)f^{+}_{0}
+τ(t/τ1+et/τ)A¯f0+\displaystyle+\tau\left(t/\tau-1+e^{-t/\tau}\right)\bar{A}f^{+}_{0}
+et/τ{[1(t+τ)(ual+vbl)]H[u]f0+(l)\displaystyle+e^{-t/\tau}\left\{[1-(t+\tau)(ua^{l}+vb^{l})]H[u]f_{0}^{+(l)}\right.
+[1(t+τ)(uar+vbr)][1H[u]]f0+(r)}\displaystyle\left.+[1-(t+\tau)(ua^{r}+vb^{r})][1-H[u]]f_{0}^{+(r)}\right\}
+et/τ[τAlH[u]f0+(l)τAr(1H[u])f0+(r)].\displaystyle+e^{-t/\tau}\left[-\tau A^{l}H[u]f_{0}^{+(l)}-\tau A^{r}(1-H[u])f_{0}^{+(r)}\right].

The interface distribution function here is in the continuous form of particle velocity (u,v)(u,v), and the fluxes for macroscopic variables can be obtained through the analytical integration of Gaussian distribution.

3.3 Adaptive unified gas kinetic scheme

In a multiscale flow problem, to overcome the computational deficiency and memory burden from a large amount of discretized velocity points, it is feasible to combine both continuum and rarefied flow solvers into a single framework with dynamic continuous-discrete velocity transformation. As shown in Fig.1, in near-equilibrium flow regions, the particle distribution function (PDF) is formulated with a continuous velocity space based on the Chapman-Enskog expansion, and only macroscopic flow variables are updated. In non-equilibrium regions, the AUGKS switches to a discretized velocity space to follow the evolution of particle distribution function. The continuous and discrete velocity space are connected with an adaptation interface, at which the continuous solution of distribution function is sorted into discretized velocity space.

In the detailed numerical scheme, the macroscopic conservative variables are updated in Eq.(5), while in non-equilibrium regions the particle distribution function is updated in Eq.(6). Near the adaptation interface, at every time step tnt^{n}, if there is no recorded discretized distribution function at tn1t^{n-1} in the current ”non-equilibrium” cell (i,j)(i,j), a local discretized velocity mesh will be generated, where the particle distribution function at velocity point (l,m)(l,m) is given by the discrete Chapman-Enskog expansion,

fi,j,l,m=f0(i,j,l,m)+[1τ(aul+bvm+A)],f_{i,j,l,m}=f^{+}_{0(i,j,l,m)}[1-\tau(au_{l}+bv_{m}+A)], (13)

where the coefficients a,b,Aa,b,A are related with the spatial distribution of macroscopic variables, and can be determined in the same way in Sec. 3.2. In the current scheme, the velocity mesh is generated within

u[U3RT,U+3RT],v[V3RT,V+3RT],u\in[U-3\sqrt{RT},U+3\sqrt{RT}],\ v\in[V-3\sqrt{RT},V+3\sqrt{RT}], (14)

where (U,V)(U,V) is macroscopic flow velocity, TT is temperature and RR is the gas constant.

To update the discretized distribution function in the adjacent cell next to the adaptation interface, the interface distribution function from the continuous GKS solution in Eq.(12) is rewritten into the following discrete form,

f(0,0,t,ul,vm,ξ)=\displaystyle f(0,0,t,u_{l},v_{m},\xi)= (1et/τ)f0+\displaystyle\left(1-e^{-t/\tau}\right)f_{0}^{+} (15)
+(τ(1+et/τ)+tet/τ)(a¯L,Rul+b¯vm)f0+\displaystyle+\left(\tau(-1+e^{-t/\tau})+te^{-t/\tau}\right)(\bar{a}^{L,R}u_{l}+\bar{b}v_{m})f^{+}_{0}
+τ(t/τ1+et/τ)A¯f0+\displaystyle+\tau\left(t/\tau-1+e^{-t/\tau}\right)\bar{A}f^{+}_{0}
+et/τ{[1(t+τ)(ulal+vmbl)]H[ul]f0+(l)\displaystyle+e^{-t/\tau}\left\{[1-(t+\tau)(u_{l}a^{l}+v_{m}b^{l})]H[u_{l}]f_{0}^{+(l)}\right.
+[1(t+τ)(ular+vmbr)][1H[ul]]f0+(r)}\displaystyle\left.+[1-(t+\tau)(u_{l}a^{r}+v_{m}b^{r})][1-H[u_{l}]]f_{0}^{+(r)}\right\}
+et/τ[τAlH[ul]f0+(l)τAr(1H[ul])f0+(r)],\displaystyle+e^{-t/\tau}\left[-\tau A^{l}H[u_{l}]f_{0}^{+(l)}-\tau A^{r}(1-H[u_{l}])f_{0}^{+(r)}\right],

and then it can be used to determine the fluxes of macroscopic variables and particle distribution function. In this way, the fluxes at adaptation interface are fully determined and can be used to update the macroscopic variables in Eq.(5) and particle distribution function in Eq.(6).

In the current scheme, the time step is determined by the CFL condition,

Δt=CFLΔxΔyumaxΔy+vmaxΔx,\Delta t=\mathrm{CFL}\frac{\Delta x\Delta y}{u_{max}\Delta y+v_{max}\Delta x}, (16)

where CFL is the CFL number, and (umax,vmax)(u_{max},v_{max}) is the largest particle velocity in xx and yy directions.

\underbrace{\hskip 196.32384pt}\underbrace{\hskip 196.32384pt}velocity space adaptationnear-equilibrium regionnon-equilibrium regioncontinuous velocitydiscrete velocity
Figure 1: Schematic of the adaptive scheme for multiscale flow.

3.4 Switching criterion of velocity space

The accuracy and efficiency of the current adaptive scheme are based on a proper choice of location of velocity space adaptation. The transition of discrete to continuous velocity space must be located in the region where the Navier-Stokes solutions provided by the GKS with a continuous velocity space are still valid. For this issue, many empirical parameters for the breakdown of continuum description have been proposed. Bird [4] proposed a parameter P=D(lnρ)/Dt/νP=D(ln\rho)/Dt/\nu for the DSMC simulation of expansion flows, where ρ\rho is gas density and ν\nu is collision frequency, and the breakdown value of PP for translational equilibrium is 0.050.05. Boyd et al. [25] extended the above concept to a gradient-length-local Knudsen number KnGLL=|Q|/QKn_{GLL}=\ell|\nabla Q|/{Q}, where \ell is the local mean free path and QQ is the macroscopic flow quantity of interest, with the critical value 0.050.05. Considering the terms in the Chapman-Enskog distribution function, Garcia et al. [30] proposed a breakdown parameter based on dimensionless stress and heat flux B=max(|τ|,|q|)B=max(|\tau^{*}|,|q^{*}|), with the switching criterion of 0.10.1.

Since the particle distribution function takes the Chapman-Enskog expansion form in the evolution process of the continuous GKS solver, here we propose an alternative switching criterion of particle velocity space directly from the Chapman-Enskog expansion. For brevity, one-dimensional case will be used for illustration. When there is no discontinuity inside the flow field, the particle distribution function in the Chapman-Enskog form writes,

f=f0+[1τ(au+A)],f=f_{0}^{+}[1-\tau(au+A)], (17)

where the coefficients aa and AA are the space and time variations of a distribution function, which can be expanded based on the collision invariants,

a=a1+a2u+a312u2=aαψα,\displaystyle a=a_{1}+a_{2}u+a_{3}\frac{1}{2}u^{2}=a_{\alpha}\psi_{\alpha},
A=A1+A2u+A312u2=Aαψα.\displaystyle A=A_{1}+A_{2}u+A_{3}\frac{1}{2}u^{2}=A_{\alpha}\psi_{\alpha}.

In the current one-dimensional case, the spatial slope aa is determined from the following relation,

𝐖x=af0+ψ𝑑𝐮=M𝐚,\frac{\partial\mathbf{W}}{\partial x}=\int af^{+}_{0}\psi d\mathbf{u}=M\mathbf{a},

where ψ\psi is a vector of collision invariants, Mα,β=f0+ψααψαβ𝑑uM_{\alpha,\beta}=\int f^{+}_{0}\psi_{\alpha}\alpha\psi_{\alpha}\beta du and 𝐚=(a1,a2,a3)T\mathbf{a}=(a_{1},a_{2},a_{3})^{T}. The solution 𝐚\mathbf{a} can be written as,

a3=4λ2(K+1)ρ[2(ρE)x2U(ρU)x+ρx(U2K+12λ)],\displaystyle a_{3}=4\frac{\lambda^{2}}{(K+1)\rho}\left[2\frac{\partial(\rho E)}{\partial x}-2U\frac{\partial(\rho U)}{\partial x}+\frac{\partial\rho}{\partial x}\left(U^{2}-\frac{K+1}{2\lambda}\right)\right],
a2=2λρ[2(ρU)xUρx]Ua3,\displaystyle a_{2}=2\frac{\lambda}{\rho}\left[2\frac{\partial(\rho U)}{\partial x}-U\frac{\partial\rho}{\partial x}\right]-Ua_{3},
a1=1ρρxUa212[U2+K+12λ]a3.\displaystyle a_{1}=\frac{1}{\rho}\frac{\partial\rho}{\partial x}-Ua_{2}-\frac{1}{2}\left[U^{2}+\frac{K+1}{2\lambda}\right]a_{3}.

The time derivative AA is related to the temporal variation of conservative flow variables respectively, and can be evaluated from a successive procedure in the Chapman-Enskog expansion with the help of the Euler equations,

𝐖t=Af0+ψ𝑑𝐮=uf0+xψ𝑑𝐮.\frac{\partial\mathbf{W}}{\partial t}=\int Af^{+}_{0}\psi d\mathbf{u}=-\int u\frac{\partial f_{0}^{+}}{\partial x}\psi d\mathbf{u}.

Generally, the Navier-Stokes solutions can be applied when the Chapman-Enskog expansion is a proper approximation of the distribution function in near-equilibrium regime. Therefore, based on the dimensionless collision time and space-time variations, a switching criterion for the velocity space transformation can be defined as

B=τmax(|a^|,|A^|),B=\tau\mathrm{max}(|{\hat{a}}|,|{\hat{A}}|), (18)

where dimensionless variables are defined as,

τ^=τ(2RT0)1/2L0,a^=aL0,A^=AL0(2RT0)1/2,\hat{\tau}=\frac{\tau(2RT_{0})^{1/2}}{L_{0}},{\hat{a}}=a{L_{0}},{\hat{A}}=\frac{AL_{0}}{(2RT_{0})^{1/2}}, (19)

where RR is gas constant, L0L_{0} and T0T_{0} are reference length and temperature. The current switching criterion BB for particle velocity space will be tested in numerical experiments.

3.5 Summary

The numerical algorithm of the adaptive unified gas kinetic scheme is as following. In the AUGKS, we follow the evolution of both both conservative variables and particle distribution function. In near-equilibrium flow regions, the particle distribution function is formulated by the Chapman-Enskog expansion in a continuous velocity space, and macroscopic flow variables are updated in Eq.(5). For non-equilibrium flows, the particle distribution function is updated explicitly in Eq.(6). The scale-dependent flux function is determined by the particle distribution function at the interface, which comes from the integral solution of kinetic model equation in Eq.(4). In each time step, the domain of continuous and discrete velocity space is specified by Eq.(18), and the corresponding interface fluxes are provided by Eq.(10), Eq.(15) and Eq.(12). The detailed numerical procedures for AUGKS are given in Fig. 2.

StartCalculate time step by Eq.(16)Evaluate velocity adaptation by Eq.(18)Continuous velocityDiscrete velocityCalculate flux by Eq.(12)Calculate flux by Eq.(15)Calculate flux by Eq.(10)destroy recorded PDFConstruct unrecorded PDF by Eq.(13)Update conservative variables by Eq.(5)Calculate equilibrium distribution f+(n+1)f^{+(n+1)} and collision time τn+1\tau^{n+1}Update PDF by Eq.(6)Update conservative variables by Eq.(5)end
Figure 2: Numerical algorithm of AUGKS.

4 Numerical experiments

In this section, we are going to present some numerical experiments to test the performance of the current AUGKS. In order to demonstrate multiscale performance of the algorithm, simulations from continuum Euler and Navier-Stokes to free molecule flow are presented. The following dimensionless flow variables are used in the calculations,

x^=xL0,y^=yL0,ρ^=ρρ0,T^=TT0,u^i=ui(2RT0)1/2,\displaystyle\hat{x}=\frac{x}{L_{0}},\hat{y}=\frac{y}{L_{0}},\hat{\rho}=\frac{\rho}{\rho_{0}},\hat{T}=\frac{T}{T_{0}},\hat{u}_{i}=\frac{u_{i}}{(2RT_{0})^{1/2}},
U^i=Ui(2RT0)1/2,f^=fρ0(2RT0)3/2,P^ij=Pijρ0(2RT0),q^i=qiρ0(2RT0)3/2,\displaystyle\hat{U}_{i}=\frac{U_{i}}{(2RT_{0})^{1/2}},\hat{f}=\frac{f}{\rho_{0}(2RT_{0})^{3/2}},\hat{P}_{ij}=\frac{P_{ij}}{\rho_{0}(2RT_{0})},\hat{q}_{i}=\frac{q_{i}}{\rho_{0}(2RT_{0})^{3/2}},

where uiu_{i} is the particle velocity, UiU_{i} is the macroscopic flow velocity, PijP_{ij} is the stress tensor, qiq_{i} is the heat flux. The subscript zero represents the reference state. For simplicity, the hat notation to denote dimensionless variables will be removed henceforth. Argon gas is used in the simulation with the variable hard sphere (VHS) molecule model, and the dynamic viscosity is related with the Knudsen number in the reference state via

μref=5(α+1)(α+2)π4α(52ω)(72ω)Knref.\mu_{ref}=\frac{5(\alpha+1)(\alpha+2)\sqrt{\pi}}{4\alpha(5-2\omega)(7-2\omega)}Kn_{ref}.

In this simulation, we choose α=1.0\alpha=1.0 and ω=0.5\omega=0.5 to recover a hard sphere gas, and the viscosity varies with temperature through

μ=μref(TTref)θ,\mu=\mu_{ref}\left(\frac{T}{T_{ref}}\right)^{\theta},

where TrefT_{ref} is the reference temperature and θ=0.81\theta=0.81 is the index of viscosity coefficient.

4.1 Shock tube problem

The first case is the Sod shock tube problem. The flow domain x[0,1]x\in[0,1] is divided into 100 uniform cells. The initial condition is set as

ρ=1.0,U=0.0,p=1.0,x0.5,\displaystyle\rho=0,U=0,p=0,\ x\leq 5,
ρ=0.125,U=0.0,p=0.1,x>0.5.\displaystyle\rho=125,U=0,p=1,\ x>5.

The simulations are performed with reference Knudsen numbers varying from Kn=0.0001Kn=0.0001 to Kn=1.0Kn=1.0, corresponding to different flow regimes. The current criterion value for velocity space transformation is set as B=0.0001B=0.0001. The velocity space is discretized into 8080 uniform points for the update of particle distribution function. In the AUGKS and UGKS, the full Boltzmann collision operator is solved here by the fast spectral method [21]. The numerical solutions at t=0.2t=0.2 are presented in Fig. 3, 4, 5 and 6. The reference solution of continuum flow is calculated by the continuous GKS solver with 1000 cells, and the free molecular flow solution is derived from the collisionless Boltzmann equation.

In the simulation, the region with initial homogeneous spatial distribution of flow variables is calculated with a continuous velocity space, except the central discontinuity simulated with a discretized velocity. As time evolves, the non-equilibrium region enlarges along with the use of discrete velocity space. As presented in Fig. 7a, at Kn=0.0001Kn=0.0001 and t=0.2t=0.2, the flow domain is divided into some subzones, where the non-equilibrium particle distribution function inside rarefaction wave, contact discontinuity, and shock wave is fully resolved with the discretized velocity space, while in the rest near-equilibrium regions the Chapman-Enskog expansion is adopted over a continuous velocity space. The solutions of AUGKS at Kn=0.0001Kn=0.0001 and t=0.2t=0.2 are presented in Fig. 3a, 3b, 3c, which match the benchmark continuum and UGKS solutions accurately. As the Knudsen number gets to Kn=0.001Kn=0.001 at t=0.2t=0.2, near-equilibrium region confines to a small part near the left tube boundary, where the distribution function has a continuous velocity space, which is shown in Fig. 7b. With increasing rarefaction effect, the distributions of flow variables deviate from the NS solutions gradually and tend to collisionless Boltzmann solutions. As the reference Knudsen number gets to Kn=0.01Kn=0.01, the Navier-Stokes solutions lose its validity quickly from the initial condition, and the non-equilibrium region occupies the whole tube at t=0.2t=0.2. The numerical solution approaches to the collisionless Boltzmann solution at Kn=1.0Kn=1.0, as shown in Fig. 5 and 6.

This test case illustrates the capacity of AUGKS to simulate flow in different regimes. The asymptotic preserving (AP) property is confirmed in the two limiting solutions. With increasing reference Knudsen number, there is a smooth transition from the Euler solution of the Riemann problem to collisionless Boltzmann solution. Table 1 presents the CPU time cost from the current adaptive scheme and original UGKS method. As is shown, the AUGKS is about 3.633.63 times faster than UGKS at Kn=0.0001Kn=0.0001. Since the computational cost is proportional to the mesh points in the velocity space, it is expected that the computational efficiency is closely related to the size of non-equilibrium region. When the rarefaction increases, the CPU time of AUGKS increases correspondingly, while it is still more efficient than the original UGKS.

AUGKS UGKS
Kn=0.0001 2042.98 7421.70
Kn=0.001 3537.73 7430.82
Kn=0.01 4692.52 7547.99
Kn=0.1 5694.46 7275.40
Table 1: CPU time cost in the Sod case using AUGKS and original UGKS at different Knudsen numbers.
Refer to caption
(a) Density
Refer to caption
(b) Velocity
Refer to caption
(c) Temperature
Figure 3: Sod shock tube at t=0.2t=0.2 with reference Knudsen number Kn=0.0001Kn=0.0001.
Refer to caption
(a) Density
Refer to caption
(b) Velocity
Refer to caption
(c) Temperature
Figure 4: Sod shock tube at t=0.2t=0.2 with reference Knudsen number Kn=0.001Kn=0.001.
Refer to caption
(a) Density
Refer to caption
(b) Velocity
Refer to caption
(c) Temperature
Figure 5: Sod shock tube at t=0.2t=0.2 with reference Knudsen number Kn=0.01Kn=0.01.
Refer to caption
(a) Density
Refer to caption
(b) Velocity
Refer to caption
(c) Temperature
Figure 6: Sod shock tube at t=0.2t=0.2 with reference Knudsen number Kn=1.0Kn=1.0.
Refer to caption
(a) Kn=0.0001Kn=0.0001
Refer to caption
(b) Kn=0.001Kn=0.001
Figure 7: Velocity space adaptation inside the shock tube at t=0.2t=0.2.

4.2 Rayleigh flow

A Rayleigh flow forms over a plate which suddenly acquires a constant parallel velocity and temperature. In this test case, we follow the setup by Sun [26]. As shown in Fig. 8, the argon gas is at rest and has a unit temperature initially. When t>0t>0, the plate suddenly moves with a constant velocity Uw=0.0296U_{w}=0.0296 and temperature Tw=1.36T_{w}=1.36. The momentum and energy are transported into the flow field through a shearing effect in the unsteady process. A physical domain y[0,1]y\in[0,1] with 100 uniform cells are set up for the simulation, and the 32 uniform points are used in the velocity space where the particle distribution function is updated directy. In this case, the full Boltzmann collision operator in the AUGKS and UGKS is calculated by the fast spectrum method [21]. The current switching criterion of velocity space is set as B=0.0001B=0.0001.

Numerical simulations are performed with a series of reference Knudsen number, and solutions at same output times are plotted in Fig. 9, 10, 11 and 12. Besides AUGKS solutions, the UGKS and DSMC results are also provided as benchmarks. With Maxwell’s fully accommodation boundary condition, Bird [4] proposed an analytical solution from the collisionless Boltzmann equation when the time is much less than the reference mean collision time τ0=0/v0\tau_{0}=\ell_{0}/v_{0}, where 0\ell_{0} is particle mean free path and v0v_{0} is the mean molecular speed. The analytical collisionless solution is also plotted in figures.

As presented in Fig. 9, 10, 11 and 12, for the case at Kn=2.66Kn=2.66 and t=0.1τ0t=0.1\tau_{0}, the AUGKS recovers exact collisionless Botlzmann solution. In the transition regime Kn=0.266Kn=0.266 and Kn=0.0266Kn=0.0266 at t=τ0t=\tau_{0} and t=10τ0t=10\tau_{0}, the numerical solutions deviate from collisionless solutions gradually due to increasing intermolecular collisions. At t=100τ0t=100\tau_{0} and Kn=0.00266Kn=0.00266 corresponding to a near-continuum regime, the current adaptive scheme recovers the Navier-Stokes solutions with intensive intermolecular collisions. As plotted, in all cases the AUGKS solutions match up well with the benchmark solutions from DSMC and UGKS. It is worth mentioning that in comparison with DSMC method, the current Boltzmann-equation-based adaptive unified scheme has no statistical scattering, which is beneficial in low speed simulations.

Fig. 13 presents the velocity space adaptation inside the flow domain at the output time. In the case with Kn=0.00266Kn=0.00266, in the near-wall region with large slope of macroscopic variables, the AUGKS uses a discrete velocity space, while a continuous velocity space is used in the outer domain. As the Knudsen number increases, the enhanced dimensionless viscosity and heat conductivity lead to a large non-equilibrium region. As a result, the non-equilibrium region enlarges faster. For the case Kn=0.266Kn=0.266, in all flow region the distribution function deviates from the Chapman-Enskog solution and its evolution must be followed with a discretized velocity space. Table 2 presents the computational cost of the AUGKS and UGKS. When Kn=0.00266Kn=0.00266, the AUGKS is 7.457.45 times faster than the original UGKS. When the Knudsen number increases, the enhanced non-equilibrium effects increase the computational cost in AUGKS. From the current numerical experiments, it is clear that the AUGKS provides a self-adjusted algorithm from continuum to rarefied flow simulation with the consideration of both accuracy and efficiency.

Tw=1.36,Uw=0.0296T_{w}=1.36,U_{w}=0.0296UwU_{w}Outerboundary\rm Outer\ boundaryArgongas\rm Argon\ gasT0=1,U0=V0=0T_{0}=1,U_{0}=V_{0}=0xxyy
Figure 8: Schematic of Rayleigh problem.
Refer to caption
(a) Density and Temperature
Refer to caption
(b) Velocity
Figure 9: Rayleigh flow at t=0.1τ0t=0.1\tau_{0} with reference Knudsen number Kn=2.66Kn=2.66.
Refer to caption
(a) Density and Temperature
Refer to caption
(b) Velocity
Figure 10: Rayleigh flow at t=τ0t=\tau_{0} with reference Knudsen number Kn=0.266Kn=0.266.
Refer to caption
(a) Density and Temperature
Refer to caption
(b) Velocity
Figure 11: Rayleigh flow at t=10τ0t=10\tau_{0} with reference Knudsen number Kn=0.0266Kn=0.0266.
Refer to caption
(a) Density and Temperature
Refer to caption
(b) Velocity
Figure 12: Rayleigh flow at t=100τ0t=100\tau_{0} with reference Knudsen number Kn=0.00266Kn=0.00266.
Refer to caption
Figure 13: Velocity space adaptation in the Rayleigh flow at the output instant with different reference Knudsen numbers.
AUGKS UGKS
Kn=0.00266 1003.59 7477.10
Kn=0.0266 2223.62 7460.21
Kn=0.266 3751.75. 7438.06
Kn=2.66 4637.19 7457.87
Table 2: CPU time cost in the Rayleigh problem using the AUGKS and UGKS at different Knudsen numbers.

4.3 Nozzle flow

The nozzle flow connecting different flow regimes is an ideal case to test the capacity of AUGKS in capturing multiple scale flow dynamics. The schematic of the nozzle problem is presented in Fig. 14. The argon gas is enclosed in a rectangular box x[0,2.2],y[0.5,0.5]x\in[0,2.2],y\in[-0.5,0.5]. The velocity space is discretized into 28×2828\times 28 uniform points for the update of particle distribution function. The switching criterion of velocity space in this case is set as B=0.0005B=0.0005. In this case, the collision term in AUGKS and UGKS is the Shakhov model. The computational domain is divided into two parts which are connected through a nozzle. The gas density in the left is 100100 times higher than taht in the right part, and the initial Knudsen numbers are KnL=0.0001Kn_{L}=0.0001 and KnR=0.01Kn_{R}=0.01 respectively. Except that, the initial gas is at rest and has the same temperature inside two subdomains, same as the cavity wall. All the walls are set up as Maxwell’s diffusive boundary. The nozzle has two entrances with cross sections ΔyL=0.13\Delta y_{L}=0.13 and ΔyR=0.33\Delta y_{R}=0.33 along a length Δx=0.14\Delta x=0.14, from which a jet flow will be formed. The simulation is performed till t=50τ0t=50\tau_{0}, where τ0=0/v0\tau_{0}=\ell_{0}/v_{0} is the mean collision time of initial argon gas in the right domain.

Fig. 15 and 16 presents the solution contours of UU-velocity and temperature at two times t=5τ0t=5\tau_{0} and t=20τ0t=20\tau_{0}. The upper part of color contours are the results calculated by the AUGKS (flood) and UGKS (lines), while the lower part is the Navier-Stokes solutions provided by the GKS with a continuous velocity space. As is shown, the bow shock and expansion cooling region behind shock are captured by the two methods. However, it is clear that at Kn=0.01Kn=0.01, the Navier-Stokes equations lose validity to quantitatively describe the flow evolution in the right domain, and it is necessary to use kinetic method to get accurate solutions here. Fig. 17 and 18 presents the solutions along the horizontal center line of the box at times t=5τ0t=5\tau_{0} and t=20τ0t=20\tau_{0}. It is clear that the AUGKS provide equivalent solutions with the NS ones in the near-equilibrium left region, and with the Boltzmann solutions in the non-equilibrium right region. This test demonstrates the multiscale capability of the adaptive method to get the physical solutions in the corresponding flow regimes.

Fig. 19, 20 and 21 present the components of spatial slope aa used in the velocity space switching criterion, the mean collision time and the corresponding velocity space adaptation of the flow domain at three times t=τ0, 5τ0, 20τ0t=\tau_{0},\ 5\tau_{0},\ 20\tau_{0}. As shown, the shock and expansion waves are the major sources for large flow gradients inside the domain. Accompanying with the high-density jet into the right domain, the mean collision time decreases in the jet region. With time increasing, the local flow structure becomes more complicated, leading to a large non-equilibrium region. As a result, the Chapman-Enskog expansion fails in the places where the strong non-equilibrium effects appear, and the discretized velocity space has to be used in AUGKS. Table 3 presents the computational cost of AUGKS, UGKS and GKS in this case. With the current setup of physical mesh and velocity space, the continuous GKS solver is about 25 times faster than the UGKS with discretized velocity space. The AUGKS is 1.71.7 times faster than the original UGKS. At the initial stage in the simulation, the memory cost in the AUGKS is on the same order as the GKS, which is about 1/301/30 of the UGKS. As flow evolves, the number of cells associated with discretized velocity space increases, and the corresponding memory cost becomes larger. At the final time t=50τ0t=50\tau_{0}, there are about 429 out of 914 total cells using continuous velocity space, and the corresponding memory burden is 53%53\% of the original UGKS.

Tw=1,Uw=0T_{w}=1,U_{w}=0wallboundary\rm wall\ boundaryKn=0.0001Kn=0.0001Kn=0.01Kn=0.01T0=1,U0=V0=0T_{0}=1,U_{0}=V_{0}=0T0=1,U0=V0=0T_{0}=1,U_{0}=V_{0}=0xxyy
Figure 14: Schematic of Nozzle jet problem.
Refer to caption
(a) U-velocity
Refer to caption
(b) Temperature
Figure 15: Density and Temperature contours at t=5τ0t=5\tau_{0} (upper flood: AUGKS, upper lines: UGKS, lower: GKS).
Refer to caption
(a) U-velocity
Refer to caption
(b) Temperature
Figure 16: Density and Temperature contours at t=20τ0t=20\tau_{0} (upper flood: AUGKS, upper lines: UGKS, lower: GKS).
Refer to caption
(a) Density
Refer to caption
(b) U-velocity
Refer to caption
(c) Temperature
Figure 17: Solutions along the horizontal central line at t=5τ0t=5\tau_{0}.
Refer to caption
(a) Density
Refer to caption
(b) U-velocity
Refer to caption
(c) Temperature
Figure 18: Solutions along the horizontal central line at t=20τ0t=20\tau_{0}.
AUGKS UGKS GKS
CPU time (s) 526.25 898.69 35.25
Memory (KB) (t=0)(t=0) 3614 74828 2636
Memory (KB) (t=50τ0)(t=50\tau_{0}) 35125 74836 2640
Table 3: CPU time and memory cost in the nozzle flow at t=50τ0t=50\tau_{0}.
Refer to caption
(a) a1a_{1}
Refer to caption
(b) Colliison time
Refer to caption
(c) Velocity adaptation
Figure 19: Velocity space adaptation in the nozzle flow at t=τ0t=\tau_{0}.
Refer to caption
(a) a1a_{1}
Refer to caption
(b) Colliison time
Refer to caption
(c) Velocity adaptation
Figure 20: Velocity space adaptation in the nozzle flow at t=5τ0t=5\tau_{0}.
Refer to caption
(a) a1a_{1}
Refer to caption
(b) Colliison time
Refer to caption
(c) Velocity adaptation
Figure 21: Velocity space adaptation in the nozzle flow at t=20τ0t=20\tau_{0}.

4.4 Flow around circular cylinder

In the previous studies, the AUGKS in the simulation of unsteady flows is well validated. In this case, the flow passing through a circular cylinder is used to test the performance of current adaptive scheme for steady flow. The incoming gas has a uniform velocity with Mach number Ma=5Ma=5 and the same temperature as the cylinder wall. The reference Knudsen number is set up as Kn=0.001Kn=0.001 and Kn=0.01Kn=0.01 relative to cylinder radius, and the corresponding dynamic viscosity is μref=7.313×104\mu_{ref}=7.313\times 10^{-4} and μref=7.313×104\mu_{ref}=7.313\times 10^{-4}. In the calculation, 6060 cells in radial direction and 100100 cells in circumferential direction are used in physical domain. The velocity space is discretized into 41×4141\times 41 velocity points for the update of particle distribution function. In this case, the collision term for particle distribution function in AUGKS and UGKS is modeled as the Shakhov model. The cylinder’s wall is set up as Maxwell’s diffusive boundary. The switching criterion of particle velocity space is set as B=0.0005B=0.0005.

For steady problem, the computational time can be further reduced with the help of the GKS with a continuous velocity space. A convergent coarse flow field can be first obtained by the GKS, and then used as the initial state in the subsquent adaptive method. The method for the computation of steady flow is the following.

  1. 1.

    From initial setup, use the GKS solver in the entire domain and obtain a convergent flow field.

  2. 2.

    Use the calculated macroscopic flow variables as the initial flow condition to get the particle distribution function with the discretized Chapman-Enskog form by Eq.(13).

  3. 3.

    Adapt the velocity space based on the current switching criterion in Eq.(18).

  4. 4.

    Use continuous velocity space in near-equilibrium flow region and discretized velocity space in non-equilibrium one, and redo the velocity adaptation after some iterations until a convergent flow field is obtained.

Fig. 22 and Fig. 23 presents the solution contours of UU-velocity and temperature calculated by the AUGKS, UGKS and GKS methods respectively around the cylinder. The upper part of contours is the results of AUGKS (flood) and UGKS (solid line) solutions, and the lower part is the GKS solutions. As shown, the bow shock and expansion cooling region behind shock are well captured by all methods.

Fig. 24, 25, 26, 27 present the solutions along the horizontal center line in front of and behind the cylinder. At Kn=0.001Kn=0.001, the cell size and time step in the computation are much larger than particle mean free path and collision time. Due to the limited time-space resolution, all the three methods become shock-capturing schemes, and a sharp shock profile is obtained in front of the cylinder in Fig. 24. Near the cylinder wall, due to the non-equilibrium gas dynamics in gas-surface interaction, there is a slight difference in the solutions provided by UGKS and GKS. At the same time, the gas density reduces much in the wake region behind cylinder with emerging rarefied effects, and there is a significant difference between UGKS and GKS solutions in Fig. 25.

When the reference Knudsen number gets to Kn=0.01Kn=0.01, the increasing particle mean free path collision leads to a wider shock structure. This non-equilibrium evolution is provided in the scale-dependent interface solution used in AUGKS and UGKS. However, the Chapman-Enskog expansion can only provide incomplete information about this process in continuous GKS solver. As a result, the GKS presents a narrower shock profile than that in AUGKS and UGKS in Fig. 26. In the wake region, due to the increasing collision time at Kn=0.01Kn=0.01, the results provided by GKS differ significantly from AUGKS and UGKS solutions in Fig. 27. The GKS with a continuous velocity space fails to predict physical solutions in these regions, and particle distribution function is updated explicitly in the AUGKS with a discretized particle velocity space. It is clear that the current velocity adaptive unified scheme captures the equivalent physical solutions as the NS in the near-equilibrium region and the UGKS ones in the non-equilibrium region.

Fig. 28 and 29 presents two components of spatial slope 𝐚\mathbf{a} used in the velocity-space switching criterion, the mean collision time and the adaptation of velocity space. As can be seen, the shock wave and boundary are two sources for high gradients of flow variables, leading to the failure of Chapman-Enskog expansion and Navier-Stokes solutions. Behind the cylinder, the low density wake leads to an increasing collision time, which is shown in Fig. 28c and Fig. 29c. Therefore, a velocity adaptation is determined as shown in Fig. 28d and Fig. 29d . The incoming flow as well as a small region between the bow shock and cylinder is computed with continuous velocity space, while the rest non-equilibrium region are simulated by the UGKS with discrete velocity space. Due to increasing collision time and non-equilibrium flow dynamics, the region under discrete particle velocity space enlarges at Kn=0.01Kn=0.01 than that at Kn=0.01Kn=0.01.

Table 4 and 5 presents the computational cost of AUGKS, UGKS and GKS at Kn=0.001Kn=0.001 and Kn=0.01Kn=0.01 respectively. With the current setup of physical mesh and velocity space, the continuous GKS solver is about 30 times faster than the UGKS, and the AUGKS is about 3.33.3 times faster than the original UGKS in this steady flow problem. In the convergent steady state, there are about 3196 at Kn=0.001Kn=0.001 and 1992 at Kn=0.01Kn=0.01 out of 6000 total cells using continuous velocity space, and the corresponding memory burden is about 47%47\% and 67%67\% of the original UGKS.

AUGKS UGKS GKS
CPU time (s) 36130.68 117371.67 2975.07
Memory (KB) 452508 857520 14652
Table 4: CPU time and memory cost in the flow around circular cylinder at Kn=0.001Kn=0.001.
AUGKS UGKS GKS
CPU time (s) 22145.10 75510.33 2536.55
Memory (KB) 614542 856944 12636
Table 5: CPU time and memory cost in the flow around circular cylinder at Kn=0.01Kn=0.01.

5 Conclusion

The gas dynamics has intrinsic multiple scale nature due to the large variations of density and characteristic length scale of the flow structures. Based on scale-dependent time evolving solution of the Boltzmann model equation, a velocity-space adaptive unified gas kinetic scheme has been developed in this paper for the simulation of multiscale flow transport. The current adaptive algorithm is based on a dynamic velocity-space transformation, where the particle velocity space is continuous in near-equilibrium region and discrete in non-equilibrium one. A switching criterion for particle velocity space transformation is proposed based on the Chapman-Enskog expansion and then is validated through numerical experiments. With a unified framework with the adaptation of particle velocity space only, the AUGKS needs no buffer zone for the connection between continuum and kinetic solutions. This compact property leads to an effective method for multiscale flow simulation with unsteadiness and complex geometries. Compared with single-velocity-space framework of the original UGKS, the AUGKS is more efficient and less memory demanding for multiscale flow computations. The AUGKS provides a useful tool for non-equilibrium flow studies, and it can be further improved in the future with the combination of implicit and multigrid techniques [27, 28].

Acknowledgement

The authors would like to thank Dr. Chang Liu and Dr. Lei Wu for the help on numerical implementation of the fast spectral method for the Boltzmann collision term. The current research is supported by Hong Kong research grant council (16207715, 16211014, 16206617), and National Science Foundation of China (11772281,91530319).

References

  • [1] Sydney Chapman and Thomas George Cowling. The mathematical theory of non-uniform gases: an account of the kinetic theory of viscosity, thermal conduction and diffusion in gases. Cambridge university press, 1970.
  • [2] Hsue-Shen Tsien. Superaerodynamics, mechanics of rarefied gases. Journal of the Aeronautical Sciences, 13(12):653–664, 1946.
  • [3] Vasiliĭ Aristov. Direct methods for solving the Boltzmann equation and study of nonequilibrium flows.
  • [4] Graeme Austin Bird. Molecular gas dynamics and the direct simulation of gas flows. 1994.
  • [5] Jean-François Bourgat, Patrick Le Tallec, and Moulay Tidriri. Coupling boltzmann and navier–stokes equations by friction. Journal of Computational Physics, 127(2):227–245, 1996.
  • [6] S Tiwari. Coupling of the boltzmann and euler equations with automatic domain decomposition. Journal of Computational Physics, 144(2):710–726, 1998.
  • [7] Iain D Boyd and Timothy R Deschenes. Hybrid particle-continuum numerical methods for aerospace applications. Technical report, Michigan Univ Ann Arbor Dept of Aerospace Engineering, 2011.
  • [8] HS Wijesinghe, RD Hornung, AL Garcia, NG Hadjiconstantinou, et al. Three-dimensional hybrid continuum-atomistic simulations for multiscale hydrodynamics. Transactions of the ASME-I-Journal of Fluids Engineering, 126(5):768–777, 2004.
  • [9] Thomas E Schwartzentruber and Iain D Boyd. A hybrid particle-continuum method applied to shock waves. Journal of Computational Physics, 215(2):402–416, 2006.
  • [10] Thomas E Schwartzentruber, Leonardo C Scalabrin, and Iain D Boyd. A modular particle–continuum numerical method for hypersonic non-equilibrium gas flows. Journal of Computational Physics, 225(1):1159–1174, 2007.
  • [11] Giacomo Dimarco and Lorenzo Pareschi. Hybrid multiscale methods ii. kinetic equations. Multiscale Modeling & Simulation, 6(4):1169–1197, 2008.
  • [12] Jonathan M Burt and Iain D Boyd. A hybrid particle approach for continuum and rarefied flow simulation. Journal of Computational Physics, 228(2):460–475, 2009.
  • [13] Pierre Degond, Jian-Guo Liu, and Luc Mieussens. Macroscopic fluid models with localized kinetic upscaling effects. Multiscale Modeling & Simulation, 5(3):940–979, 2006.
  • [14] Carlo Cercignani. The Boltzmann Equation and Its Applications. Springer, 1988.
  • [15] Kun Xu and Juan-Chen Huang. A unified gas-kinetic scheme for continuum and rarefied flows. Journal of Computational Physics, 229(20):7747–7764, 2010.
  • [16] Kun Xu. Direct modeling for computational fluid dynamics: construction and application of unified gas-kinetic schemes. World Scientific, 2015.
  • [17] Shi Jin. Asymptotic preserving (ap) schemes for multiscale kinetic and hyperbolic equations: a review. Lecture notes for summer school on methods and models of kinetic theory (M&MKT), Porto Ercole (Grosseto, Italy), pages 177–216, 2010.
  • [18] EM Shakhov. Generalization of the krook kinetic relaxation equation. Fluid Dynamics, 3(5):95–96, 1968.
  • [19] Tianbai Xiao, Qingdong Cai, and Kun Xu. A well-balanced unified gas-kinetic scheme for multiscale flow transport under gravitational field. Journal of Computational Physics, 332:475 – 491, 2017.
  • [20] Clément Mouhot and Lorenzo Pareschi. Fast algorithms for computing the boltzmann collision operator. Mathematics of computation, 75(256):1833–1852, 2006.
  • [21] Lei Wu, Craig White, Thomas J Scanlon, Jason M Reese, and Yonghao Zhang. Deterministic numerical solutions of the boltzmann equation using the fast spectral method. Journal of Computational Physics, 250:27–52, 2013.
  • [22] Lei Wu, Jason M Reese, and Yonghao Zhang. Solving the boltzmann equation deterministically by the fast spectral method: application to gas microflows. Journal of Fluid Mechanics, 746:53–84, 2014.
  • [23] Chang Liu, Kun Xu, Quanhua Sun, and Qingdong Cai. A unified gas-kinetic scheme for continuum and rarefied flows iv: Full boltzmann and model equations. Journal of Computational Physics, 314:305–340, 2016.
  • [24] Kun Xu. A gas-kinetic bgk scheme for the navier–stokes equations and its connection with artificial dissipation and godunov method. Journal of Computational Physics, 171(1):289–335, 2001.
  • [25] Iain D Boyd, Gang Chen, and Graham V Candler. Predicting failure of the continuum fluid equations in transitional hypersonic flows. Physics of Fluids, 7(1):210–219, 1995.
  • [26] Quanhua Sun. Information preservation methods for modeling micro-scale gas flows. 2003.
  • [27] Yajun Zhu, Chengwen Zhong, and Kun Xu. Implicit unified gas-kinetic scheme for steady state solutions in all flow regimes. Journal of Computational Physics, 315:16–38, 2016.
  • [28] Yajun Zhu, Chengwen Zhong, and Kun Xu. Unified gas-kinetic scheme with multigrid convergence for rarefied flow study. Physics of Fluids, 29(9):096102, 2017.
Refer to caption
(a) U-velocity
Refer to caption
(b) Temperature
Figure 22: Density and Temperature contours in the flow passing through cylinder at Kn=0.001Kn=0.001 (upper flood: AUGKS, upper lines: UGKS, lower flood: GKS).
Refer to caption
(a) U-velocity
Refer to caption
(b) Temperature
Figure 23: Density and Temperature contours in the flow passing through cylinder at Kn=0.01Kn=0.01 (upper flood: AUGKS, upper lines: UGKS, lower flood: GKS).
Refer to caption
(a) Density
Refer to caption
(b) U-velocity
Refer to caption
(c) Temperature
Figure 24: Solutions along the horizontal central line in front of cylinder at Kn=0.001Kn=0.001.
Refer to caption
(a) Density
Refer to caption
(b) U-velocity
Refer to caption
(c) Temperature
Figure 25: Solutions along the horizontal central line behind cylinder at Kn=0.001Kn=0.001.
Refer to caption
(a) Density
Refer to caption
(b) U-velocity
Refer to caption
(c) Temperature
Figure 26: Solutions along the horizontal central line in front of cylinder at Kn=0.01Kn=0.01.
Refer to caption
(a) Density
Refer to caption
(b) U-velocity
Refer to caption
(c) Temperature
Figure 27: Solutions along the horizontal central line behind cylinder at Kn=0.01Kn=0.01.
Refer to caption
(a) a1a_{1}
Refer to caption
(b) a3a_{3}
Refer to caption
(c) Collision time
Refer to caption
(d) Velocity adaptation
Figure 28: Velocity space adaptation in the flow domain at Kn=0.001Kn=0.001.
Refer to caption
(a) a1a_{1}
Refer to caption
(b) a3a_{3}
Refer to caption
(c) Collision time
Refer to caption
(d) Velocity adaptation
Figure 29: Velocity space adaptation in the flow domain at Kn=0.01Kn=0.01.