Elsevier

Computers & Fluids

Volume 29, Issue 7, 28 July 2000, Pages 813-847
Computers & Fluids

A sequel to a rough Godunov scheme: application to real gases

https://doi.org/10.1016/S0045-7930(99)00026-2Get rights and content

Abstract

We present here an approximate Riemann solver to compute Euler equations using real gas state laws. The scheme is based on an earlier proposition, called VFRoe, introduced by one of the authors. It makes use of non conservative variables in order to preserve numerically Riemann invariants through the contact discontinuity. Detailed investigation of actual rate of convergence of the scheme is reported. The study also includes a comparison with original VFRoe and Roe schemes.

Introduction

We are interested in numerical solutions of initial-value hyperbolic systems of conservation laws:W∂t+FW∂x=0Wx,0=W0xwhere Wx,tRp and the flux FW is such that the Jacobian matrix given by AW=FW 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 AWL,WR∈MpR such that:AWL,WRisdiagonalizablewithrealeigenvaluesFWRFWL=AWL,WRWRWL.AW,W=FWW.Remark that condition (5) may be replaced by: A is a continuous mapping of Rp×Rp in MpR. 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 Δp=χ̄Δρ+κ̄Δϵ (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 Δx=xj+12−xj−12 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 1Δxxj−12xj+12Wx,tndx defined by:W0j=1Δxxj−12xj+12W0xdx,j∈ZWn+1j=WnjΔtΔxΦnj+12Φnj−12,j∈Z,n∈Nwhere Φnj+12

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 WYW (Y is a smooth invertible function), system (1) reads in non conservative form:Y∂t+BYY∂x=0where BY=W,YY−1AWYW,YY.

Systems , are equivalent for smooth solutions.

At each interface, we solve the following linearized Riemann problem:Y∂t+BŶY∂x=0Yx,0=YL=YWLifx<0YR=YWRifx>0

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:W=ρρuE,FW=ρuρu2+puE+pwhere ρx,t,ux,t,px,t,Ex,t 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: E=ρϵ+u2/2, where ϵ is the internal energy per mass unit. We consider here ϵ as a function of the entropy S and of the specific volume τx,t−1.

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 xj+12 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)

  • Gallouët T, Masella JM. Un schéma de Godunov approché. Compte Rendus de l’Académie des Sciences, Paris, Série I 323,...
  • Masella JM, Faille I, Gallouët T. A rough Godunov scheme. International Journal of Computational Fluid Dynamics, in...
  • Masella JM. Quelques méthodes numériques pour les écoulements diphasiques bi-fluide en conduites pétrolières, Thesis,...
  • Faille I, Heintzé E. A rough finite-volume scheme for modeling two-phase flow in a pipeline. Computers and Fluids, in...
  • P. Collela et al.

    Efficient solution algorithms for the Riemann problem for real gases

    Journal of Computational Physics

    (1985)
  • Letellier A, Forestier A. Le problème de Riemann en fluide quelconque, Internal Report CEA-DMT 93/451,...
  • Grossman B, Walters RW. An analysis of flux-split algorithms for Euler’s equations with real gases. AIAA Paper, June...
  • Buffat M, Page A. Extension of a Roe’s solver for multi-species real gases, Internal Report of LMFA, Ecole Centrale de...
  • Coquel F, Perthame B. Relaxation of energy and approximate Riemann solvers for general pressure laws in fluid dynamics...
  • In A. Numerical evaluation of an energy relaxation method for inviscid real fluids,...
  • Cited by (112)

    View all citing articles on Scopus
    View full text