A sequel to a rough Godunov scheme: application to real gases
Introduction
We are interested in numerical solutions of initial-value hyperbolic systems of conservation laws:where and the flux is such that the Jacobian matrix given by is diagonalizable with real eigenvalues.
Finite volume schemes in conservation form have proven their efficiency to solve such problems. The most popular ones are based on the resolution of local Riemann problems at each interface. The first one, proposed by Godunov [1], is based on the exact solution of the one-dimensional Riemann problem associated with Eq. (1). It enjoys very good properties in the one-dimensional case (in particular, it fulfills the positivity of density and pressure for the Euler system) but its main drawbacks are its cost and its lack of robustness when the integration of Riemann invariants cannot be done analytically. Schemes based on Approximate Riemann solvers were introduced to avoid these difficulties. The commonly used Roe scheme [2] requires the knowledge of analytical eigenvalues and eigenvectors of the Jacobian matrix and, above all, the definition of a matrix of linearization such that:Remark that condition (5) may be replaced by: A is a continuous mapping of in . The main losses in comparison with Godunov’s scheme are the violation of the entropy law (a sonic entropy correction must be added), and, for instance, when dealing with the Euler system, the occurence of nonpositive density or pressure values. Moreover, finding a matrix satisfying Roe’s condition (4) may sometimes be difficult or even impossible for some systems: Euler with real gas, some two-phase flow models and some complex turbulence models for example. This fact has motivated the development of an alternative to the Roe scheme. This simple Finite Volume scheme, called VFRoe, was introduced in Refs. [3], [4], [5] to approximate solutions of a two-phase flow model. Following the conservative approach of the Godunov scheme, the VFRoe flux function identifies with the physical one. As with the Roe scheme, the Riemann problems at each interface are linearized. Roe’s condition is not necessary here, since one does not need to fulfill a consistency relation with the integral form of the conservation laws. Let us note two drawbacks of the VFRoe scheme, already finded with the Roe scheme: it admits entropy-violating stationary discontinuities, and it can produce nonpositive density or pressure values when it is applicated to the Euler system for example. Nonetheless, its behavior in many configurations is quite good and its application field is wider than Roe’s one. Let us mention another approach recently considered in Ref. [6] for the resolution of a two phase flow in a pipe.
We propose here an extension of the VFRoe scheme: VFRoe using non conservative variables, noted here VFRoencv. Although it differs from VFRoe by the resolution of a linearized system written in non conservative variables, it may be used for smooth and non smooth flow. In this paper, the VFRoencv scheme is presented and tested on the Euler set of equations for equilibrium real gas with various equations of state (EOS). Many classical numerical schemes have been extended to include real-gas effects. Extensions of exact Riemann solver have been obtained by Collela and Glaz [7] (with a model based on an approximation of γ across the waves), by Saurel et al. [8] and by Letellier and Forestier [9]. For equilibrium real gases, different approaches have been considered for generalized Roe average. Grossman and Walters [10] have introduced an equivalent γ to relate c2 and h as in perfect gases. The more classical approach is to find and satisfying (or an equivalent form) so that relation (4) holds. Here, the greatest difficulty comes from the approximation of (generally pressure-) derivatives. Different formulas have been obtained by Glaister [11], Liou et al. [12], Vinokur and Montagné [13], Abgrall [14] in the case of chemically equilibrium flow, Toumi [15], Buffat and Page [16] who choose the temperature, instead of the pressure, as the relevant thermodynamic parameter. The ‘simplest’ extensions of the Roe scheme cannot be applied in practice if the EOS is a non-convex function for example, whereas others need the evaluation of integrals. A new technique using relaxation of energy allows the extension of classical approximate Riemann solvers used in perfect gas to treat real gases; it has been introduced by Coquel and Perthame [17], and tested by In [18]. The approach using a kinetic scheme has also been extended (see El Amine [19]) to non-isentropic real fluids. The VFRoencv scheme seems to be an interesting alternative according to numerical test cases presented here (see also Refs. [20], [21]). It is a simple scheme, sometimes cheaper than previous ones.
In the next section, we briefly recall the Roe and Godunov schemes ([22]). Section 3 introduces the VFRoencv-type scheme on a general hyperbolic system (1). In Section 4, we propose a VFRoencv scheme when focusing on Euler equations. We also prove some relevant properties, especially in the case of ideal gas. We will discuss in Section 5 the results of several test cases, together with comparisons with other schemes when possible, for several equations of state. Extensions to second order, with the M.U.S.C.L. method and to multidimensional in space, are also presented in Section 6. An appendix is devoted to boundary conditions. In particular, a study in the case of rigid wall boundary condition with ‘mirror state’ technique is given (comparison between Godunov, Roe and VFRoencv approaches).
Section snippets
Finite volumes and Riemann solvers
First, we introduce some notations.
Let ε denote the set of W states such that system (1) is hyperbolic.
For the sake of simplicity, only regular meshes with constant spacing will be considered. We note tn=nΔt where Δt stands for the time step value. In the following, we shall describe Finite Volumes approximations Wnj to weak solutions W of , i.e. Wnj is an approximation to defined by:where
General presentation
We present here the VFRoencv scheme for a general hyperbolic system in conservation form (1). VFRoencv is a Finite Volume scheme, based on the resolution of linearized Riemann problems.
Considering the change of variables (Y is a smooth invertible function), system (1) reads in non conservative form:where .
Systems , are equivalent for smooth solutions.
At each interface, we solve the following linearized Riemann problem:
Application to real gas Euler system
The conservation laws for the one-dimensional Euler equations for equilibrium real gases can be written in the form (1) with:where respectively refer to the density, the velocity, the pressure and the total energy of the particular gas under consideration, at position x and time t. The total energy is defined by: , where ϵ is the internal energy per mass unit. We consider here ϵ as a function of the entropy S and of the specific volume .
Numerical experiments (one-dimensional shock tubes)
We present numerical tests on shock tubes, for the three basic configurations: rarefaction–rarefaction, rarefaction–shock (shock–rarefaction is a similar configuration), and shock–shock. The computation domain consists of a one-dimensional tube with a membrane in the middle, which separates two different fluid states. All meshes used to solve these Riemann problems are regular.
We have considered three different EOS and carried out comparisons with other schemes.
Extension to second order
Extension to second order (in space) by the M.U.S.C.L. technique, is of course possible with the VFRoencv scheme. We recall that this method consists in defining slopes on p independant variables (τ, u and p here) at each cell such that the approximate solution is now piecewise linear. We apply the VFRoencv numerical flux replacing at each interface the arguments Wnj and Wn+1j by the extrapolated left and right states. The slope limiter, introduced to preserve a TVD property in the scalar
Conclusion
The VFRoe scheme has been introduced in [3], [4] to approximate solutions of complex hyperbolic systems where Godunov or Roe schemes are hardly applicable, at least in practice. We have presented here an extension of the VFRoe scheme where the hyperbolic system is (possibly) expressed in non conservative variables in the linearization part of the scheme.
For the Euler system, the suggested change of variables gives to the scheme some properties: we have proved the preservation of Riemann
Acknowledgements
This work was supported by EDF (Electricité de France) under grant HE41/AEE2258-2M9408. Computational facilities were provided by EDF. The authors would like to acknowledge I. Fontaine and F. Archambeau for their help.
References (40)
Approximate Riemann solvers, parameter vectors and difference scheme
Journal of Computational Physics
(1981)- et al.
Exact approximate Riemann solvers for real gases
Journal of Computational Physics
(1994) An approximate linearised Riemann solver for the Euler equations for real gases
Journal of Computational Physics
(1988)- et al.
Splitting of inviscid fluxes for real gas
Journal of Computational Physics
(1990) - et al.
Generalized flux vector-splitting and Roe average for an equilibrium real gas
Journal of Computational Physics
(1990) An extension of Roe’s upwind scheme to algebraic equilibrium real gas models
Computers and Fluids
(1991)A weak formulation of Roe’s approximate Riemann solver
Journal of Computational Physics
(1992)On the symmetric form of systems of conservation laws with entropy
Journal of Computational Physics
(1983)A sequel to AUSM: AUSM+
Journal of Computational Physics
(1996)A difference method for numerical calculation of discontinuous equations of hydrodynamics
Math. Sbornik (in Russian)
(1959)
Efficient solution algorithms for the Riemann problem for real gases
Journal of Computational Physics
Cited by (112)
Simulation of a homogeneous relaxation model for a three-phase mixture with miscible phases
2023, Computers and Mathematics with ApplicationsComputationally efficient high-fidelity plasma simulations by coupling multi-species kinetic and multi-fluid models on decomposed domains
2023, Journal of Computational PhysicsA new class of higher-ordered/extended Boussinesq system for efficient numerical simulations by splitting operators
2022, Applied Mathematics and ComputationSimulations of liquid-vapor water flows with non-condensable gases on the basis of a two-fluid model
2021, Applied Mathematical ModellingNumerical simulation of in-nozzle flow characteristics under flash boiling conditions
2020, International Journal of Multiphase FlowAssessment of numerical schemes for complex two-phase flows with real equations of state.
2020, Computers and Fluids