Back
 JAMP  Vol.6 No.1 , January 2018
Explicit Large Time Stepping with Third-Order Exponential Time Differencing Scheme for Hypersonic Chemical Non-Equilibrium Flow
Abstract: In this paper, a third-order exponential time differencing scheme, named ETDRK3, was investigated for large time stepping in the computation of hypersonic non-equilibrium flow. The second-order Harten-TVD scheme was used for the spatial discretization. The efficient implementation of the scheme with diagonalization of Jacobin matrix was established and carried out for the semi-cylindrical around flow. Current observations showed that the numerical results were in good agreement with those obtained by the classical explicit three-stage Runge-Kutta scheme (RK3) and implicit LU scheme. Efficiency assessments promised the effectiveness of the ETDRK3 scheme. The rationality of the application of this scheme was proved by its preferable accuracy and efficiency.

1. Introduction

With the development of hypersonic vehicle, the numerical simulation of hypersonic flow field has been the frontier of aerodynamics research, of which hypersonic non equilibrium flow is one of the typical representatives. In recent years, significant development of high accuracy spatial discretization schemes has been made for computational fluid dynamics (CFD). Although these spatial schemes perform well in the simulation of hypersonic flow field and can be implemented efficiently by parallel techniques, their computational expense on time marching direction is still high. For time marching computation, the explicit schemes are widely used because of their ease of application. However, in the presence of highly stretched grids, the Courant-Friedrichs-Lewy (CFL) condition leads to the usage of a tiny time-step, consuming a large CPU time. The implicit scheme is theoretically proved insensitive to the CFL condition. Nevertheless, the usage of implicit scheme needs to solve a large linear system at each iteration step, making the computation expensive. Recently, mathematicians have been developing an explicit method with large time step known as exponential time differencing [1] [2] [3]. Methods of this type offer very high accuracy and stability free from the severe time step restriction other explicit schemes present. For a recent review, see [4] and the references therein. Despite this alternative strategy has attracted increased attention in a number of diverse fields and obvious advantages have been found, there are few applications in computational fluid dynamics (CFD). That probably because the efficiency of the traditional algorithm for evaluating the exponential of Jacobin matrix in this class of methods is inadequate [5]. In order to avoid this limitation, we modified the existing schemes [6] by using a diagonalization method for the Jacobin of non-viscous flux in the governing equation. The performance, accuracy and efficiency, of exponential time differencing scheme in the simulation of hypersonic chemical non-equilibrium flow was then assessed in this paper.

2. Governing Equations and Numerical Method

2.1. Governing Equations

The governing equation is the two-dimensional N-S equation with chemical reaction source term in general coordinates

Q t + F ξ + G η = F v ξ + G v η + J S , (1)

where,

Q = ( ρ 1 , , ρ n s , ρ , ρ u , ρ v , e ) T F = ( ρ u 1 , , ρ u n s , ρ u , ρ u 2 + p , ρ u v , ( e + p ) u ) T G = ( ρ v 1 , , ρ v n s , ρ v , ρ v u , ρ v 2 + p , ( e + p ) v ) T F v = ( ρ D 1 Y 1 x , , ρ D s Y s x , 0 , τ x x , τ x y , u τ x x + v τ x y + q x ) T G v = ( ρ D 1 Y 1 y , , ρ D s Y s y , 0 , τ y x , τ y y , u τ y x + v τ y y + q y ) T S = ( ω ˙ 1 , , ω ˙ n s , 0 , 0 , 0 , 0 , 0 ) T (2)

in the proceeding expressions, ρ k , k = 1 , 2 , ... , n s is the density of the species.

ρ = k = 1 n s ρ k is the total density, u , v are the speed in the general direction, e is

the energy, P is the pressure, D s denotes the diffusion coefficient and Y s is the mass fraction of specie s .

The quantity J is the coordinate transformation matrix.

The chemical source terms w s represent the production of species from finite rate chemical reactions [7]. In the study, a five-species air chemistry model is used, that are N 2 , O 2 , N , O , N O .

2.2. Exponential Time Differencing Scheme

The start point of our derivation is the spatial discretization. In the study, we used the second-order Harten-Yee TVD scheme [8] to discrete the non-viscous flux F , G , the viscous flux F v , G v were approximated by the central difference. Then the original Equation (1) can be converted to ordinary differential equations (ODE)

d Q d t = R ( Q ) , (3)

with Q = Q ( x , t ) is the exact solution, R is the right hand term obtained by the spatial discretization above.

Splitting the right hand term of Equation (3) into

R = ( α A n + β B n ) Q + N ( Q , t ) , (4)

where, α = β = 1 are adjustable parameters and

A n = ξ x A | Q i j n + ξ y B | Q i j n B n = η x A | Q i j n + η y B | Q i j n . (5)

In Equation (5), the terms A = F Q , B = G Q denote the Jacobin matrix of the

non-viscous flux F and G , the term N ( Q , t ) = R ( α A n + β B n ) Q is a non-linear remainder. For notation simplification, we note K = α A n + β B n and Q n = Q ( x , t n ) . Then the Equation (3) can be written as

d Q d t = R n + K ( Q ( t ) Q n ) + N ( Q ( t ) ) (6)

Multiplying the both sides with e K t and then integrating over a single time step [ t n , t n + h ] , we can obtain the basic expression of exponential time differencing method [3]

Q n + 1 = e K h Q n + e K h 0 h e K τ N ( Q ( t n + τ ) , t n + τ ) d τ . (7)

Define a function φ ( z ) = 0 1 e z ( 1 s ) d s = e z 1 z , and then the Equation (7) can be

expressed as

Q n + 1 = Q n + h K φ ( h K ) Q n + h 0 1 e h K ( 1 s ) N ( Q ) d s . (8)

Various ETD schemes come from the approximation of the integral in (8) [4]. In our study, we use a two-stage third-order scheme named ETDRK3 [9] to compute the hypersonic chemical non-equilibrium flow, which is expressed as

k 1 = ϕ ( 1 2 h K ) N ( U n ) k 2 = ϕ ( 1 2 h K ) N ( U n + 4 3 h k 1 ) U n + 1 = U n + h 16 ( 13 k 1 + 3 k 2 ) . (9)

2.3. Evaluation of the Exponential Function of Jacobi

In the practical implementation, diagonalize K in

K = R Λ R 1 , (10)

In the expression (10), R and R 1 are the right and left eigenvector matrix, Λ is the characteristic matrix with the diagonal elements

λ 1 = θ k c , λ 2 = λ 3 = θ , λ 4 = θ + k c , (11)

where

k 1 = α ξ x + β η x , k 2 = α ξ y + β η y , k = k 1 2 + k 2 2 , k ˜ 1 = k 1 k , k ˜ 2 = k 2 k , θ = k 1 u + k 2 v , θ ˜ = θ k = k ˜ 1 u + k ˜ 2 v . (12)

Founding that for a related exponential function φ we have

φ ( R Λ R 1 ) = R φ ( Λ ) R 1 = R d i a g [ φ ( λ 1 ) , φ ( λ 2 ) , φ ( λ 3 ) , φ ( λ 4 ) ] R 1 . (13)

The evaluation of the exponential related function of Jacobin φ can be converted to the evaluation of the related exponential function of the diagonal elements of Λ , the efficiency of implementation will be much improved.

3. Comparison Parameter

The first comparison parameter used in this paper is the CFL number defined as

C F L = | λ max | Δ t Δ x , (14)

In expression (13) λ max is the maximum of the eigenvalues. Greater CFL number indicates larger time step and better efficiency. Classical explicit schemes such as the various Runge-Kutta schemes are usually inefficient to solve complex flow problems because of the restriction of CFL number. However, the exponential time differencing scheme do not suffer from this limitation and can run a larger CFL number. To assess the efficiency of the ETDRK3 scheme developed, the baseline solutions computed by the third-order TVD Runge-Kutta scheme noted as RK3 scheme and implicit LU scheme [10] were given for the performance comparison.

In order to assess the accuracy of the scheme, a first norm residual defined as the maximum of the pressure difference between current time step and previous time step on the mesh was used and expressed as

R L 1 = max | P n + 1 P n | , (15)

A residual of quantity 103 can be regarded as the convergence condition.

4. Numerical Results and Analysis

The test case is a hypersonic two-dimensional cylindrical round flow problem at Mach number 20 which represents a typical external flow application. The free stream conditions are given as follow:

ρ = 1.0269 × 10 3 kg/m 3 ,

T = 270.65 K ,

Mass fraction N 2 = 0.7655

Mass fraction O 2 = 0.2345

The boundary conditions used in the calculations were as follows: Along the inflow plane, free stream values are maintained. Along the outflow plane, values are obtained by extrapolation. A constant temperature of 1000 K was maintained on the body surface that was assumed to be non-catalytic. Nonslip and zero pressure gradient conditions were enforced. The 180 × 200 grid given by the algebraic generation method is shown in Figure 1.

Figure 2 gives the residuals evaluation during 45,000 evaluations of ETDRK3 scheme at CFL = 0.7, which is the best CFL number for ETDRK3. The convergence performance was further compared with the errors obtained by the RK3 scheme at a maximum allowable CEL number 0.3 and fully implicit LU scheme at the same CFL 0.7. All of the three schemes can convergence at a low residual at about 10−3. The ETDRK3 scheme has a similar convergence performance to the LU scheme, which indicates the ETDRK3 scheme has the same accuracy as the LU scheme.

Figure 1. Calculation grid.

Figures 3-6 represent separately the pressure distribution, the temperature distribution, the mass fraction of N2 and the mass fraction of O2 computed by ETDRK3 (CFL0.7), RK3 (CFL0.3) and LU (CFL0.7) at 45,000 steps. We can see a clear shock wave in the three figures. After the shock wave the pressure and temperature augmented, chemical reaction happened significantly which leads

Figure 2. Residuals evaluation during 45000 iterations for RK3 at CFL 0.3, ETDRKS at CFL 0.7 and LU at CFL 0.7, the three schemes can all convergence and have a similar convergence performance.

Figure 3. Pressure distribution/Pa obtained by (a) ETDRK3 at CFL = 0.7; (b) LU at CFL = 0.7 and (c) RK3 at CFL = 0.3.

Figure 4. Temperature distribution/K obtained by (a) ETDRK3 at CFL = 0.7; (b) LU at CFL = 0.7 and (c) RK3 at CFL = 0.3.

Figure 5. Mass fraction distribution of N2 obtained by (a) ETDRK3 at CFL = 0.7; (b) LU at CFL = 0.7 and (c) RK3 at CFL = 0.3.

great change of species. The results above coincide with the theory [11]. Furthermore, the results of contour comparison obtained by the three schemes agree very well with each other. The ETDRK3 scheme performs very well without losing time accuracy even at a larger CFL number.

After the accuracy assessment above, the efficiency of the three schemes were compared by counting the Wall time at 45,000 iterations and the CPU time for a i7-2600 CPU 3.40 GHz. Table 1 gives the CPU time and wall time of each scheme. The result shows obviously that the CPU time of ETDRK3 is much more less than RK3 and LU. Moreover, it was also observed that ETDRK3 scheme is the fastest one in term of wall time. With the equitable convergence steps, the efficiency comparison of the three schemes proved a preferable efficiency of the ETDRK3 scheme.

5. Concluding Remarks

In this paper, we used the ETDRK3 scheme in the computation of hypersonic non-equilibrium flow. This scheme was compared with explicit RK3 scheme and implicit LU scheme. The numerical results were parallel with that of theory. The convergence comparison revealed that the ETDRK3 scheme could achieve the

Figure 6. Mass fraction distribution of O2 obtained by (a) ETDRK3 at CFL = 0.7; (b) LU at CFL = 0.7 and (c) RK3 at CFL = 0.3.

Table 1. Efficiency comparison of the three schemes.

a. wall time and CPU time of the three schemes for 45000 steps.

same accuracy as LU scheme. Efficiency assessment showed that ETDRK3 scheme cost much less CPU time than the two other schemes while outperforms in term of wall time. We can conclude from the assessments that the ETDRK3 scheme is reasonable an alternative time marching scheme in hypersonic chemical non-equilibrium flow. Further study will focus on larger CFL number for ETD schemes. The application of ETD schemes on three-dimensional problems will also be investigated in the future work.

Acknowledgements

This work was supported in part by National Nature Science Foundation of China (NSFC 91530325).

Cite this paper: Dai, S. and Wu, S. (2018) Explicit Large Time Stepping with Third-Order Exponential Time Differencing Scheme for Hypersonic Chemical Non-Equilibrium Flow. Journal of Applied Mathematics and Physics, 6, 174-182. doi: 10.4236/jamp.2018.61017.
References

[1]   Calvo, M.P. and Palencia, C. (2005) A Class of Multistep Exponential Integrators for Semilinear Problems. Submitted.

[2]   Certaine, J. (1960) The Solution of Ordinary Differential Equations with Large Time Constants. Mathematical Methods for Digital Computers, Wiley, New York, 128-132.

[3]   Hochbruck, M., Lubich, C. and Selhofer, H. (1998) Expo nential Integrators for Large Systems of Differential Equations. SIAM J. Sci. Comput., 19, 1552-1574. https://doi.org/10.1137/S1064827595295337

[4]   Hochbruck, M. and Ostermann, A. (2010) Exponential Integrators. Acta Numer., 209, 209-286. https://doi.org/10.1017/S0962492910000048

[5]   Li, S.-J., Wang, Z.J., Ju, L.L. and Luo, L.-S. (2017) Explicit Large Time Stepping with a Second-Order Exponential Time Integrator Scheme for Unsteady and Steady flows. AIAA SciTech Forum, 2017. https://doi.org/10.2514/6.2017-0753

[6]   Ostermann, H.M. and Schwitzer, J.A. (2009) Exponential Rosenbrock-Type Methods. SIAM J. Numer. Anal., 47, 786-803. https://doi.org/10.1137/080717717

[7]   Palmer, G. and Venkatapathy, E. (1995) Comparison of Non-Equilibrium Solution Algorithms Applied to Chemically Stiff Hypersonic Flows. AIAA.J., 33, 1211-1219. https://doi.org/10.2514/3.12673

[8]   Yee, H.C. and Harten, A. (1985) Implicit TVD Schemes for Hyperbolic Conservation Laws in Curvelinear Coordinate. Aiaa Journal, 25, 266-274. https://doi.org/10.2514/3.9617

[9]   Cox, S.M. and Matthews, P.C. (2002) Exponential Time Differencing for Stiff Systems. J. Comp. Phys., 176, 430-455. https://doi.org/10.1006/jcph.2002.6995

[10]   Shuen, J.-S. (1992) Upwind Differencing and LU Factorization for Chemical Non-Equilibrium Navier-Stokes Equations. J.Comp.Phys., 99, 233-250. https://doi.org/10.1016/0021-9991(92)90205-D

[11]   Gupta, R.N., Yos, J.M. and Thompson, R.A. (1989) A Preview of Reaction Rates and Thermodynamics and Transport Properties for the 11-Species Air model for Chemical and Thermal Non-Equilibrium Calculations to 30,000K, NASA-TM-101528 (1989, 8s9-21193).

 
 
Top