Novel Pressure-Equilibrium and Kinetic-Energy Preserving fluxes for compressible flows based on the harmonic mean

[Uncaptioned image]  Carlo De Michele
Dipartimento di Ingegneria Industriale
Università di Napoli “Federico II”
Napoli, Italy
[email protected]
&[Uncaptioned image] Gennaro Coppola
Dipartimento di Ingegneria Industriale
Università di Napoli “Federico II”
Napoli, Italy
[email protected]
Abstract

Employing physically-consistent numerical methods is an important step towards attaining robust and accurate numerical simulations. When addressing compressible flows, in addition to preserving kinetic energy at a discrete level, as done in the incompressible case, additional properties are sought after, such as the ability to preserve the equilibrium of pressure that can be found at contact interfaces. This paper investigates the general conditions of the spatial numerical discretizations to achieve the pressure equilibrium preserving property (PEP). Schemes from the literature are analyzed in this respect, and procedures to impart the PEP property to existing discretizations are proposed. Additionally, new PEP numerical schemes are introduced through minor modifications of classical ones. Numerical tests confirmed the theory hereby presented and showed that the modifications, beyond the enforcement of the PEP property, have a generally positive impact on the performances of the original schemes.

Keywords Compressible flows  \cdot Turbulent flows  \cdot Kinetic-energy preserving methods \cdot Pressure equilibrium preserving methods

1 Introduction

Despite the long-standing research efforts starting in the 1950s with the pioneering work at Los Alamos National Laboratory, the design of numerical methods for the discretization of Navier-Stokes equations is still an active research topic. The growth of computational resources continually pushes the community towards more challenging applications, and the design of the ‘optimal’ discretization setting for the various flow regimes, especially for turbulent flows, is still an ambitious goal.

In the context of compressible flows, considerable research efforts have focused over many decades on the problem of the correct and efficient representation of admissible weak solutions (i.e. shock waves or contact discontinuities). However, there are some numerical issues associated with smooth regions of the flow, such as the nonlinear instability due to the spatial discretization of convective terms, which have a great impact in numerical simulations at high Reynolds numbers and have received less attention. Only in recent years this topic has seen a renowned interest in the wider context of structure-preserving or physics-compatible methods. These methods aim to devise stable and reliable numerical discretizations without the explicit addition of numerical dissipation, but discretely reproducing the (conservative) structure of suitably selected induced quantities. The first paper addressing these topics is that of Feiereisen et al. [1] in which the authors, inspired by previous studies for incompressible formulations, use a skew-symmetric like splitting of the convective terms in mass and momentum equations within the framework of a Finite Difference (FD) discretization. This formulation was shown to achieve the so-called Kinetic Energy Preserving (KEP) property, i.e. the induced discrete equation for kinetic energy has convective terms automatically coming in conservative form, which implies that the discrete formulation does not spuriously produce kinetic energy, with a remarkable increase in reliability of the numerical simulations. After this seminal work, several other attempts have been made to obtain more general KEP schemes, among which we recall here the Finite Volume (FV) analyses of Jameson [2] and Subbareddy and Candler [3] and the works on the triple splitting by Kennedy and Gruber [4] and Pirozzoli [5]. In more recent years, a quite complete characterization of the possible KEP formulations in a FD framework has been derived [6] and its relations with FV formulations based on algebraic fluxes have been explored [7, 8]. Among other less standard extensions of interest, we mention the approach of Edoh [9], utilizing the rotational form of the momentum equation, and that in which a formulation of the governing equations based on square-root variables is used [10, 11, 12, 13].

In addition to kinetic energy, also discrete entropy conservation has been explored as a means to improve fidelity and suppress instabilities in turbulent simulations. The first attempt in this direction from a FD standpoint was put forward by Honein and Moin [14], who proposed to integrate a modified (non conservative) version of the total-energy equation corresponding, for exact time integration, to a conservative discretization of the entropy equation. Although this approach achieves exact entropy conservation at the cost of spoiling the total-energy balance, it has shown increased robustness and a more faithful representation of thermodynamic fluctuations in numerical simulations of isotropic turbulence. In the context of FV methods, the theory of entropy variables developed by Tadmor [15, 16], forms the basis for the construction of Entropy Conservative (EC) numerical fluxes that can discretely reproduce the correct entropy balance without sacrificing the total-energy conservation. Ismail and Roe [17] developed ‘affordable’ EC numerical fluxes based on the logarithmic mean for ideal gases, whereas Chandrashekar [18] proposed for the first time both KEP and EC numerical fluxes as a basis for entropy-stable discretization of Euler and Navier-Stokes equations. More recently, Ranocha [19, 20] developed a more refined KEP and EC formulation which is also able to enforce the so-called Pressure Equilibrium Preserving (PEP) property [21], i.e. the ability of the discrete scheme to reproduce the traveling density wave solutions of the compressible Euler equations, obtained for initially uniform pressure and velocity distributions. This last scheme appears as the most complete one in terms of structure-preserving properties for compressible Euler equations and ideal gases. However, as it is based on logarithmic means, it comes with a non-negligible increase in computational cost and is potentially singular for uniform distributions of density or temperature. These disadvantages have been recently solved by De Michele and Coppola [22], who proposed a family of Asymptotically Entropy Conservative (AEC) schemes which are PEP and KEP and arbitrarily reduce the error on entropy conservation. As they are based on arithmetic and harmonic means, they only use algebraic operations for the computation of the fluxes, with increased efficiency at comparable performances. Moreover, the fluxes do not exhibit any singularity for uniform distributions. This family of schemes improves existing formulations which approximately enforce the entropy-conservation property, as the KEEP or KEEP(N) schemes [23, 24], by giving a more accurate reproduction of the induced entropy balance and by additionally enforcing the PEP property.

The enforcement of the PEP property has been seen as a crucial requirement in many applications ([25, 21, 26]) and recently it has been the subject of many studies, for ideal and real gases or multi-component flows ([21, 20, 27, 28, 26]). In this paper, we propose an analysis of existing PEP schemes for ideal gases which allows one to obtain simple criteria to enforce the PEP property in existing and widely used numerical fluxes. It is shown that the needed modifications typically amount to the specification of a suitable ‘dual’ interpolation for the density in the internal-energy flux which, in the cases here analyzed, reduces to the use of the harmonic mean in place of the arithmetic mean. The novel formulations are found to improve the global performances of the original schemes without increasing the computational cost.

2 Problem formulation and discrete approximation

In this paper, we focus on the spatial discretization of the compressible Euler equations:

ρt𝜌𝑡\displaystyle\dfrac{\partial\rho}{\partial t}divide start_ARG ∂ italic_ρ end_ARG start_ARG ∂ italic_t end_ARG =ρuαxα,absent𝜌subscript𝑢𝛼subscript𝑥𝛼\displaystyle=-\dfrac{\partial\rho u_{\alpha}}{\partial x_{\alpha}}\;,= - divide start_ARG ∂ italic_ρ italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG , (1)
ρuβt𝜌subscript𝑢𝛽𝑡\displaystyle\dfrac{\partial\rho u_{\beta}}{\partial t}divide start_ARG ∂ italic_ρ italic_u start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_t end_ARG =ρuαuβxαpxβ,absent𝜌subscript𝑢𝛼subscript𝑢𝛽subscript𝑥𝛼𝑝subscript𝑥𝛽\displaystyle=-\dfrac{\partial\rho u_{\alpha}u_{\beta}}{\partial x_{\alpha}}-% \dfrac{\partial p}{\partial x_{\beta}}\;,= - divide start_ARG ∂ italic_ρ italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG - divide start_ARG ∂ italic_p end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT end_ARG , (2)
ρEt𝜌𝐸𝑡\displaystyle\dfrac{\partial\rho E}{\partial t}divide start_ARG ∂ italic_ρ italic_E end_ARG start_ARG ∂ italic_t end_ARG =ρuαExαpuαxα,absent𝜌subscript𝑢𝛼𝐸subscript𝑥𝛼𝑝subscript𝑢𝛼subscript𝑥𝛼\displaystyle=-\dfrac{\partial\rho u_{\alpha}E}{\partial x_{\alpha}}-\dfrac{% \partial pu_{\alpha}}{\partial x_{\alpha}},\;= - divide start_ARG ∂ italic_ρ italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT italic_E end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG - divide start_ARG ∂ italic_p italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG , (3)

where ρ𝜌\rhoitalic_ρ, uαsubscript𝑢𝛼u_{\alpha}italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT, p𝑝pitalic_p and E𝐸Eitalic_E are respectively the density, the Cartesian velocity component along the direction xαsubscript𝑥𝛼x_{\alpha}italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT, the pressure and the total energy per unit mass, sum of internal and kinetic energies: E=e+uαuα/2𝐸𝑒subscript𝑢𝛼subscript𝑢𝛼2E=e+u_{\alpha}u_{\alpha}/2italic_E = italic_e + italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT / 2. We use Greek subscripts to refer to the Cartesian components of vectors, for which the summation convention over repeated indices holds. When the Greek subscripts are omitted, it is assumed that the relevant equations hold for a generic value of it (i.e. α=1,2𝛼12\alpha=1,2italic_α = 1 , 2 or 3333). In place of Eq. (3), the system of Euler equations could be equivalently written by using the evolution equation for another thermodynamic variable, such as pressure or internal energy per unit volume; we discuss this possibility in the context of the discretization procedure in Sec. 4.2. The ideal gas law is assumed, which implies the simple proportionality p=(γ1)ρe𝑝𝛾1𝜌𝑒p=(\gamma-1)\rho eitalic_p = ( italic_γ - 1 ) italic_ρ italic_e, the ratio of specific heats at constant pressure and volume γ=cp/cv𝛾subscript𝑐𝑝subscript𝑐𝑣\gamma=c_{p}/c_{v}italic_γ = italic_c start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT / italic_c start_POSTSUBSCRIPT italic_v end_POSTSUBSCRIPT being constant.

We work in a semi-discretized framework, in which spatial discretization is firstly performed, whereas the resulting system of Ordinary Differential Equations (ODE) is integrated in time by using a standard solver. Since we focus on spatial discretization, we will assume that the effects of time integration errors are negligible at sufficiently small time steps. This implies that in the theoretical analysis, all the manipulations involving time derivatives can be carried out at the continuous level. Spatial discretization is made by using a FD method over a uniform (colocated) Cartesian mesh of width hhitalic_h. Our notion of FD methods liberally includes also all the discretizations in which a numerical flux defined on the face located at the midpoint between nodal values is specified, and the convective terms are expressed as differences of numerical fluxes at adjacent faces. These formulations usually belong to FV methods, but in our use, the discrete variables are always interpreted as nodal values over a colocated mesh, and no reference to cell-vertex or cell-centered formulations is made. Latin subscripts as i,j𝑖𝑗i,jitalic_i , italic_j or k𝑘kitalic_k are used to denote the values of the discretized variable on a nodal point xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT.

In what follows, we will discuss the PEP property of the spatial discretization; for this, we need to analyze the induced evolution equations for uβsubscript𝑢𝛽u_{\beta}italic_u start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT and p𝑝pitalic_p, which can be easily obtained by manipulating Eq. (1)–(3) and read

uβtsubscript𝑢𝛽𝑡\displaystyle\dfrac{\partial u_{\beta}}{\partial t}divide start_ARG ∂ italic_u start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_t end_ARG =uαuβxα1ρpxβ,absentsubscript𝑢𝛼subscript𝑢𝛽subscript𝑥𝛼1𝜌𝑝subscript𝑥𝛽\displaystyle=-u_{\alpha}\dfrac{\partial u_{\beta}}{\partial x_{\alpha}}-% \dfrac{1}{\rho}\dfrac{\partial p}{\partial x_{\beta}},= - italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT divide start_ARG ∂ italic_u start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG - divide start_ARG 1 end_ARG start_ARG italic_ρ end_ARG divide start_ARG ∂ italic_p end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT end_ARG , (4)
pt𝑝𝑡\displaystyle\dfrac{\partial p}{\partial t}divide start_ARG ∂ italic_p end_ARG start_ARG ∂ italic_t end_ARG =puαxα(γ1)puαxα.absent𝑝subscript𝑢𝛼subscript𝑥𝛼𝛾1𝑝subscript𝑢𝛼subscript𝑥𝛼\displaystyle=-\dfrac{\partial pu_{\alpha}}{\partial x_{\alpha}}-\left(\gamma-% 1\right)p\dfrac{\partial u_{\alpha}}{\partial x_{\alpha}}.= - divide start_ARG ∂ italic_p italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG - ( italic_γ - 1 ) italic_p divide start_ARG ∂ italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG . (5)

From these equations, one readily sees that for constant initial distributions of velocity and pressure, the right-hand sides of the evolution equations for velocity and pressure are zero, which in turn implies that time derivatives at the left-hand sides are also zero. This means that pressure and velocity remain constant (in time) when starting from constant (in space) distributions, i.e. the equations preserve the equilibrium of the pressure and the solution evolves as a density wave, according to Eq. (1). An important point here is that Eq. (4) and (5) are obtained by manipulation of Eqs. (1)–(3) in which the product or chain rules for derivatives are used, which are not valid, in general, at the discrete level. This implies that when Eqs. (1)–(3) are directly discretized, the discrete analogues of Eq. (4) and (5) have a structure which is, in general, different from that of the continuous equations, and the PEP property is typically lost at discrete level.

Eqs. (1)–(3), as most of the induced balance equations for secondary quantities, have a common structure that can be loosely expressed as

ρϕt=𝒞ρϕ𝒫ρϕ,𝜌italic-ϕ𝑡subscript𝒞𝜌italic-ϕsubscript𝒫𝜌italic-ϕ\dfrac{\partial\rho\phi}{\partial t}=-\mathcal{C}_{\rho\phi}-\mathcal{P}_{\rho% \phi},divide start_ARG ∂ italic_ρ italic_ϕ end_ARG start_ARG ∂ italic_t end_ARG = - caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT - caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT , (6)

where 𝒞ρϕsubscript𝒞𝜌italic-ϕ\mathcal{C}_{\rho\phi}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT is the convective term and 𝒫ρϕsubscript𝒫𝜌italic-ϕ\mathcal{P}_{\rho\phi}caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT is a pressure term. The symbols 𝒞𝒞\mathcal{C}caligraphic_C and 𝒫𝒫\mathcal{P}caligraphic_P will be used here to denote both the individual spatial terms at the right hand sides of Eqs. (1)–(3), or their spatial discretizations, the correct interpretation emerging from the context. When needed, we will use the more explicit notation 𝒞ρϕ|ievaluated-atsubscript𝒞𝜌italic-ϕ𝑖\left.\mathcal{C}_{\rho\phi}\right|_{i}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT | start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT to denote a particular discretization of 𝒞ρϕsubscript𝒞𝜌italic-ϕ\mathcal{C}_{\rho\phi}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT at node xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. In Eqs. (1)–(3) the convective terms have a divergence structure (i.e. they are in the form of the divergence of a convective flux) and we assume that the schemes used for the convective terms in the equations that are directly discretized are always in locally conservative form, i.e. they can be expressed as a sum of differences of (numerical) fluxes along each Cartesian direction. We use the symbol ρϕαsubscriptsuperscript𝛼𝜌italic-ϕ\mathcal{F}^{\alpha}_{\rho\phi}caligraphic_F start_POSTSUPERSCRIPT italic_α end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT to denote the numerical flux along the direction xαsubscript𝑥𝛼x_{\alpha}italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT. With this notation, the discretization of the convective term 𝒞ρϕsubscript𝒞𝜌italic-ϕ\mathcal{C}_{\rho\phi}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT can be expressed as

𝒞ρϕ|i=1hαΔρϕα|ievaluated-atsubscript𝒞𝜌italic-ϕ𝑖evaluated-at1subscript𝛼Δsubscriptsuperscript𝛼𝜌italic-ϕ𝑖\left.\mathcal{C}_{\rho\phi}\right|_{i}=\dfrac{1}{h}\sum_{\alpha}\Delta\left.% \mathcal{F}^{\alpha}_{\rho\phi}\right|_{i}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT | start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG italic_h end_ARG ∑ start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT roman_Δ caligraphic_F start_POSTSUPERSCRIPT italic_α end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT | start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT (7)

where Δi=i+1/2i1/2Δsubscript𝑖subscript𝑖12subscript𝑖12\Delta\mathcal{F}_{i}=\mathcal{F}_{i+1/2}-\mathcal{F}_{i-1/2}roman_Δ caligraphic_F start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_i + 1 / 2 end_POSTSUBSCRIPT - caligraphic_F start_POSTSUBSCRIPT italic_i - 1 / 2 end_POSTSUBSCRIPT. In most cases, the theory will be developed, without loss of generality, for the one-dimensional version of Eq. (1)–(3), as the convective terms along the various directions are independent and can be treated separately. For this reason, the apex α𝛼\alphaitalic_α will be most of the time removed from the notation for the numerical flux. Moreover, when the suffix i+1/2𝑖12i+1/2italic_i + 1 / 2 or i1/2𝑖12i-1/2italic_i - 1 / 2 is not present, it is implicitly assumed that we are referring to the ‘right’ flux: ρϕ=ρϕ|i+1/2subscript𝜌italic-ϕevaluated-atsubscript𝜌italic-ϕ𝑖12\mathcal{F}_{\rho\phi}=\left.\mathcal{F}_{\rho\phi}\right|_{i+1/2}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT | start_POSTSUBSCRIPT italic_i + 1 / 2 end_POSTSUBSCRIPT.

As 𝒞ρϕsubscript𝒞𝜌italic-ϕ\mathcal{C}_{\rho\phi}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT is a divergence-type term, Eq. (7) suggests that ρϕsubscript𝜌italic-ϕ\mathcal{F}_{\rho\phi}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT is an average- or interpolation-type term along x𝑥xitalic_x, consistent with the convective flux ρuϕ𝜌𝑢italic-ϕ\rho u\phiitalic_ρ italic_u italic_ϕ at xi+1/2subscript𝑥𝑖12x_{i+1/2}italic_x start_POSTSUBSCRIPT italic_i + 1 / 2 end_POSTSUBSCRIPT. There are many ways in which this interpolation can be done, as one can choose to interpolate the product of the variables or to take the product of the interpolations. Moreover, the choice of the interpolation operator adds crucial degrees of freedom to the specification of the numerical flux. Each choice corresponds to a different discrete formulation, with different properties. Here we are especially interested in how the choice of the numerical fluxes for the primary variables impacts the structural properties of the induced discrete evolution equations for pressure and velocity.

The formulations here analyzed will be exposed with respect to second-order (two-point), symmetric interpolations for the fluxes ρϕsubscript𝜌italic-ϕ\mathcal{F}_{\rho\phi}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT, which correspond to central-like and non-dissipative three-point discretizations of the convective terms 𝒞ρϕsubscript𝒞𝜌italic-ϕ\mathcal{C}_{\rho\phi}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT. However, provided that the interpolation operators are also smooth and consistent, the theory reported in [22] (and adapted from [29]) easily allows the extension to high-order formulations.

3 Kinetic Energy preserving formulations

When using bilinear or trilinear interpolations, a complete correspondence can be obtained between the various choices of the numerical fluxes and suitable FD discretizations of the convective terms. For an extensive treatment of this and related topics, the reader is referred to [6, 7, 8, 30, 31]. Here, we summarize only the most useful relations. We preliminarily define the arithmetic and product means as ϕ¯=(ϕi+ϕi+1)/2¯italic-ϕsubscriptitalic-ϕ𝑖subscriptitalic-ϕ𝑖12\overline{\phi}\,=(\phi_{i}+\phi_{i+1})/2over¯ start_ARG italic_ϕ end_ARG = ( italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_ϕ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT ) / 2 and ϕψ¯¯=(ϕiψi+1+ϕi+1ψi)/2¯¯italic-ϕ𝜓subscriptitalic-ϕ𝑖subscript𝜓𝑖1subscriptitalic-ϕ𝑖1subscript𝜓𝑖2\overline{\overline{\phi\psi}}\,=(\phi_{i}\psi_{i+1}+\phi_{i+1}\psi_{i})/2over¯ start_ARG over¯ start_ARG italic_ϕ italic_ψ end_ARG end_ARG = ( italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_ψ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT + italic_ϕ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT italic_ψ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) / 2 and the following FD discretizations for the convective terms for the mass equation and for a generic species ϕitalic-ϕ\phiitalic_ϕ:

D=δρuδx,A=ρδuδx+uδρδx,SKW=(D+A)/2,formulae-sequencesuperscript𝐷𝛿𝜌𝑢𝛿𝑥formulae-sequencesuperscript𝐴𝜌𝛿𝑢𝛿𝑥𝑢𝛿𝜌𝛿𝑥superscriptSKWsuperscript𝐷superscript𝐴2\mathcal{M}^{D}=\dfrac{\delta\rho u}{\delta x},\qquad\mathcal{M}^{A}=\rho% \dfrac{\delta u}{\delta x}+u\dfrac{\delta\rho}{\delta x},\qquad\mathcal{M}^{% \textit{SKW}}=(\mathcal{M}^{D}+\mathcal{M}^{A})/2,caligraphic_M start_POSTSUPERSCRIPT italic_D end_POSTSUPERSCRIPT = divide start_ARG italic_δ italic_ρ italic_u end_ARG start_ARG italic_δ italic_x end_ARG , caligraphic_M start_POSTSUPERSCRIPT italic_A end_POSTSUPERSCRIPT = italic_ρ divide start_ARG italic_δ italic_u end_ARG start_ARG italic_δ italic_x end_ARG + italic_u divide start_ARG italic_δ italic_ρ end_ARG start_ARG italic_δ italic_x end_ARG , caligraphic_M start_POSTSUPERSCRIPT SKW end_POSTSUPERSCRIPT = ( caligraphic_M start_POSTSUPERSCRIPT italic_D end_POSTSUPERSCRIPT + caligraphic_M start_POSTSUPERSCRIPT italic_A end_POSTSUPERSCRIPT ) / 2 , (8)
𝒞ρϕD=δρuϕδx,𝒞ρϕϕ=ϕδρuδx+ρuδϕδx,𝒞ρϕu=uδρϕδx+ρϕδuδx,𝒞ρϕρ=ρδuϕδx+ϕuδρδx.formulae-sequencesuperscriptsubscript𝒞𝜌italic-ϕ𝐷𝛿𝜌𝑢italic-ϕ𝛿𝑥formulae-sequencesuperscriptsubscript𝒞𝜌italic-ϕitalic-ϕitalic-ϕ𝛿𝜌𝑢𝛿𝑥𝜌𝑢𝛿italic-ϕ𝛿𝑥formulae-sequencesuperscriptsubscript𝒞𝜌italic-ϕ𝑢𝑢𝛿𝜌italic-ϕ𝛿𝑥𝜌italic-ϕ𝛿𝑢𝛿𝑥superscriptsubscript𝒞𝜌italic-ϕ𝜌𝜌𝛿𝑢italic-ϕ𝛿𝑥italic-ϕ𝑢𝛿𝜌𝛿𝑥\mathcal{C}_{\rho\phi}^{D}=\dfrac{\delta\rho u\phi}{\delta x},\quad\mathcal{C}% _{\rho\phi}^{\phi}=\phi\dfrac{\delta\rho u}{\delta x}+\rho u\dfrac{\delta\phi}% {\delta x},\quad\mathcal{C}_{\rho\phi}^{u}=u\dfrac{\delta\rho\phi}{\delta x}+% \rho\phi\dfrac{\delta u}{\delta x},\quad\mathcal{C}_{\rho\phi}^{\rho}=\rho% \dfrac{\delta u\phi}{\delta x}+\phi u\dfrac{\delta\rho}{\delta x}.caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_D end_POSTSUPERSCRIPT = divide start_ARG italic_δ italic_ρ italic_u italic_ϕ end_ARG start_ARG italic_δ italic_x end_ARG , caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_ϕ end_POSTSUPERSCRIPT = italic_ϕ divide start_ARG italic_δ italic_ρ italic_u end_ARG start_ARG italic_δ italic_x end_ARG + italic_ρ italic_u divide start_ARG italic_δ italic_ϕ end_ARG start_ARG italic_δ italic_x end_ARG , caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_u end_POSTSUPERSCRIPT = italic_u divide start_ARG italic_δ italic_ρ italic_ϕ end_ARG start_ARG italic_δ italic_x end_ARG + italic_ρ italic_ϕ divide start_ARG italic_δ italic_u end_ARG start_ARG italic_δ italic_x end_ARG , caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_ρ end_POSTSUPERSCRIPT = italic_ρ divide start_ARG italic_δ italic_u italic_ϕ end_ARG start_ARG italic_δ italic_x end_ARG + italic_ϕ italic_u divide start_ARG italic_δ italic_ρ end_ARG start_ARG italic_δ italic_x end_ARG . (9)

where δf=fi+1fi1𝛿𝑓subscript𝑓𝑖1subscript𝑓𝑖1\delta f=f_{i+1}-f_{i-1}italic_δ italic_f = italic_f start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT - italic_f start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT is the central difference and \mathcal{M}caligraphic_M is a special symbol we use to denote 𝒞ρsubscript𝒞𝜌\mathcal{C}_{\rho}caligraphic_C start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT. With this notation, it is not difficult to recognize the following correspondences between the convective terms and their associated fluxes in a 1D framework [5, 6, 7, 30]

Dρ=ρu¯,Aρ=ρu¯¯,SKWρ=ρ¯u¯.formulae-sequencesuperscript𝐷subscript𝜌¯𝜌𝑢superscript𝐴subscript𝜌¯¯𝜌𝑢superscriptSKWsubscript𝜌¯𝜌¯𝑢\mathcal{M}^{D}\longrightarrow\mathcal{F}_{\rho}=\overline{\rho u}\,,\qquad% \mathcal{M}^{A}\longrightarrow\mathcal{F}_{\rho}=\overline{\overline{\rho u}}% \,,\qquad\mathcal{M}^{\textit{SKW}}\longrightarrow\mathcal{F}_{\rho}=\overline% {\rho}\,\overline{u}\,.caligraphic_M start_POSTSUPERSCRIPT italic_D end_POSTSUPERSCRIPT ⟶ caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ italic_u end_ARG , caligraphic_M start_POSTSUPERSCRIPT italic_A end_POSTSUPERSCRIPT ⟶ caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG over¯ start_ARG italic_ρ italic_u end_ARG end_ARG , caligraphic_M start_POSTSUPERSCRIPT SKW end_POSTSUPERSCRIPT ⟶ caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG . (10)
𝒞ρϕDρϕ=ρuϕ¯,𝒞ρϕFρϕ=ρu¯ϕ¯,𝒞ρϕCρϕ=ρu¯¯ϕ¯,𝒞ρϕKGPρϕ=ρ¯u¯ϕ¯.formulae-sequencesuperscriptsubscript𝒞𝜌italic-ϕ𝐷subscript𝜌italic-ϕ¯𝜌𝑢italic-ϕsuperscriptsubscript𝒞𝜌italic-ϕ𝐹subscript𝜌italic-ϕ¯𝜌𝑢¯italic-ϕsuperscriptsubscript𝒞𝜌italic-ϕ𝐶subscript𝜌italic-ϕ¯¯𝜌𝑢¯italic-ϕsuperscriptsubscript𝒞𝜌italic-ϕKGPsubscript𝜌italic-ϕ¯𝜌¯𝑢¯italic-ϕ\mathcal{C}_{\rho\phi}^{D}\longrightarrow\mathcal{F}_{\rho\phi}=\overline{\rho u% \phi}\,,\quad\mathcal{C}_{\rho\phi}^{F}\longrightarrow\mathcal{F}_{\rho\phi}=% \overline{\rho u}\,\overline{\phi}\,,\quad\mathcal{C}_{\rho\phi}^{C}% \longrightarrow\mathcal{F}_{\rho\phi}=\overline{\overline{\rho u}}\,\overline{% \phi}\,,\quad\mathcal{C}_{\rho\phi}^{\textit{KGP}}\longrightarrow\mathcal{F}_{% \rho\phi}=\overline{\rho}\,\overline{u}\,\overline{\phi}\,.caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_D end_POSTSUPERSCRIPT ⟶ caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ italic_u italic_ϕ end_ARG , caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_F end_POSTSUPERSCRIPT ⟶ caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ italic_u end_ARG over¯ start_ARG italic_ϕ end_ARG , caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_C end_POSTSUPERSCRIPT ⟶ caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT = over¯ start_ARG over¯ start_ARG italic_ρ italic_u end_ARG end_ARG over¯ start_ARG italic_ϕ end_ARG , caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT KGP end_POSTSUPERSCRIPT ⟶ caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG over¯ start_ARG italic_ϕ end_ARG . (11)

where 𝒞F=(𝒞ρϕD+𝒞ρϕϕ)/2superscript𝒞𝐹superscriptsubscript𝒞𝜌italic-ϕ𝐷superscriptsubscript𝒞𝜌italic-ϕitalic-ϕ2\mathcal{C}^{F}=(\mathcal{C}_{\rho\phi}^{D}+\mathcal{C}_{\rho\phi}^{\phi})/2caligraphic_C start_POSTSUPERSCRIPT italic_F end_POSTSUPERSCRIPT = ( caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_D end_POSTSUPERSCRIPT + caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_ϕ end_POSTSUPERSCRIPT ) / 2, 𝒞C=(𝒞ρϕu+𝒞ρϕρ)/2superscript𝒞𝐶superscriptsubscript𝒞𝜌italic-ϕ𝑢superscriptsubscript𝒞𝜌italic-ϕ𝜌2\mathcal{C}^{C}=(\mathcal{C}_{\rho\phi}^{u}+\mathcal{C}_{\rho\phi}^{\rho})/2caligraphic_C start_POSTSUPERSCRIPT italic_C end_POSTSUPERSCRIPT = ( caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_u end_POSTSUPERSCRIPT + caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_ρ end_POSTSUPERSCRIPT ) / 2 and 𝒞KGP=(𝒞ρϕF+𝒞ρϕC)/2superscript𝒞KGPsuperscriptsubscript𝒞𝜌italic-ϕ𝐹superscriptsubscript𝒞𝜌italic-ϕ𝐶2\mathcal{C}^{\textit{KGP}}=(\mathcal{C}_{\rho\phi}^{F}+\mathcal{C}_{\rho\phi}^% {C})/2caligraphic_C start_POSTSUPERSCRIPT KGP end_POSTSUPERSCRIPT = ( caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_F end_POSTSUPERSCRIPT + caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_C end_POSTSUPERSCRIPT ) / 2 are the discretizations of the convective terms used by Feiereisen et al. [1], Coppola et al. [6], and Kennedy and Gruber [4] and Pirozzoli [5], respectively.

The coordinated use of suitable discretizations for the convective terms in the equations for ρ𝜌\rhoitalic_ρ and ρϕ𝜌italic-ϕ\rho\phiitalic_ρ italic_ϕ can conduct to KEP methods, which are built in such a way that the convective term in the discrete evolution equation for the generalized kinetic energy ρϕ2/2𝜌superscriptitalic-ϕ22\rho\phi^{2}/2italic_ρ italic_ϕ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / 2 automatically has a globally (and locally) conservative structure [32, 33]. The combinations of the discretizations (D𝒞ρϕF)superscript𝐷superscriptsubscript𝒞𝜌italic-ϕ𝐹(\mathcal{M}^{D}-\mathcal{C}_{\rho\phi}^{F})( caligraphic_M start_POSTSUPERSCRIPT italic_D end_POSTSUPERSCRIPT - caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_F end_POSTSUPERSCRIPT ), (A𝒞ρϕC)superscript𝐴superscriptsubscript𝒞𝜌italic-ϕ𝐶(\mathcal{M}^{A}-\mathcal{C}_{\rho\phi}^{C})( caligraphic_M start_POSTSUPERSCRIPT italic_A end_POSTSUPERSCRIPT - caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_C end_POSTSUPERSCRIPT ) and (SKW𝒞ρϕKGP)superscriptSKWsubscriptsuperscript𝒞KGP𝜌italic-ϕ(\mathcal{M}^{\textit{SKW}}-\mathcal{C}^{\textit{KGP}}_{\rho\phi})( caligraphic_M start_POSTSUPERSCRIPT SKW end_POSTSUPERSCRIPT - caligraphic_C start_POSTSUPERSCRIPT KGP end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT ) for the convective terms of the mass and ϕitalic-ϕ\phiitalic_ϕ equations are easily seen to be KEP [6, 7, 33]. The same considerations hold for any linear combination of two of them, giving rise to a one-parameter family of locally conservative KEP schemes. Its formulation in terms of numerical fluxes has the property that the convective fluxes for ρ𝜌\rhoitalic_ρ and ρϕ𝜌italic-ϕ\rho\phiitalic_ρ italic_ϕ are linked by the relation ρϕ=ρϕ¯subscript𝜌italic-ϕsubscript𝜌¯italic-ϕ\mathcal{F}_{\rho\phi}=\mathcal{F}_{\rho}\overline{\phi}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_ϕ end_ARG, which assures kinetic-energy preservation in second-order, finite volume discretizations [34, 35]. Note that this last condition is more general than the one developed for purely FD discretizations, as it holds for arbitrary specifications of the interpolations used for ρsubscript𝜌\mathcal{F}_{\rho}caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT. This observation is relevant for us, since in what follows we will use more general interpolations than the ones corresponding to classical FD formulations (e.g. the logarithmic or harmonic means). Moreover, the KEP condition expressed in terms of numerical fluxes precisely identifies the degree of freedom left in these formulations with the mass flux, which is specified by one parameter for two-point bilinear interpolations [7], but can be arbitrarily specified for more general averages. In all the cases analyzed, it can be shown that KEP schemes are both globally and locally conservative for the generalized kinetic energy ρϕ2/2𝜌superscriptitalic-ϕ22\rho\phi^{2}/2italic_ρ italic_ϕ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / 2, with convective numerical flux ρϕ2/2=ρϕiϕi+1/2subscript𝜌superscriptitalic-ϕ22subscript𝜌subscriptitalic-ϕ𝑖subscriptitalic-ϕ𝑖12\mathcal{F}_{\rho\phi^{2}/2}=\mathcal{F}_{\rho}\phi_{i}\phi_{i+1}/2caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_ϕ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / 2 end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_ϕ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT / 2 ([7, 22]).

4 Pressure Equilibrium Preserving formulations

4.1 Discrete velocity equation

Starting from the (semi-)discrete equations (6) for mass (ϕ=1italic-ϕ1\phi=1italic_ϕ = 1) and momentum (ϕ=uitalic-ϕ𝑢\phi=uitalic_ϕ = italic_u), one can easily obtain the induced discrete version of the velocity equation (4)

ut=uρ𝒞ρuρ𝒫ρuρ.𝑢𝑡𝑢𝜌subscript𝒞𝜌𝑢𝜌subscript𝒫𝜌𝑢𝜌\dfrac{\partial u}{\partial t}=\dfrac{u}{\rho}\mathcal{M}-\dfrac{\mathcal{C}_{% \rho u}}{\rho}-\dfrac{\mathcal{P}_{\rho u}}{\rho}.divide start_ARG ∂ italic_u end_ARG start_ARG ∂ italic_t end_ARG = divide start_ARG italic_u end_ARG start_ARG italic_ρ end_ARG caligraphic_M - divide start_ARG caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT end_ARG start_ARG italic_ρ end_ARG - divide start_ARG caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT end_ARG start_ARG italic_ρ end_ARG . (12)

To discretely preserve the pressure equilibrium, the right-hand side of this equation must be equal to zero when pressure and velocity are spatially constant. Assuming that both \mathcal{M}caligraphic_M and 𝒞ρusubscript𝒞𝜌𝑢\mathcal{C}_{\rho u}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT do not explicitly depend on the pressure, one obtains the conditions

𝒫^ρusubscript^𝒫𝜌𝑢\displaystyle\hat{\mathcal{P}}_{\rho u}over^ start_ARG caligraphic_P end_ARG start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT =0absent0\displaystyle=0= 0 (13)
𝒞^ρusubscript^𝒞𝜌𝑢\displaystyle\hat{\mathcal{C}}_{\rho u}over^ start_ARG caligraphic_C end_ARG start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT =U^absent𝑈^\displaystyle=U\hat{\mathcal{M}}= italic_U over^ start_ARG caligraphic_M end_ARG (14)

where we use the notation that the ‘hat’ symbol ^^absent\,\hat{\,}over^ start_ARG end_ARG denotes the discrete term when evaluated at constant values of velocity u=U𝑢𝑈u=Uitalic_u = italic_U and pressure p=P𝑝𝑃p=Pitalic_p = italic_P.

The condition in Eq. (13) is always verified when a straightforward discretization of the pressure term is performed, such as 𝒫ρu=δp/δxsubscript𝒫𝜌𝑢𝛿𝑝𝛿𝑥\mathcal{P}_{\rho u}=\delta p/\delta xcaligraphic_P start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = italic_δ italic_p / italic_δ italic_x. More elaborate discretizations for 𝒫ρusubscript𝒫𝜌𝑢\mathcal{P}_{\rho u}caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT, however, are still allowed to obtain a PEP scheme, as long as Eq. (13) is satisfied. The condition in Eq. (14) needs more attention. Expressed in flux form it requires [20]

^ρu=^ρU+const.subscript^𝜌𝑢subscript^𝜌𝑈const\hat{\mathcal{F}}_{\rho u}=\hat{\mathcal{F}}_{\rho}U+\mathop{\text{const}}.over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT italic_U + const . (15)

As already mentioned in Sec. 3, a generic KEP scheme in flux form satisfies ρu=ρu¯subscript𝜌𝑢subscript𝜌¯𝑢\mathcal{F}_{\rho u}=\mathcal{F}_{\rho}\overline{u}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG, so this kind of scheme fulfills the condition in Eq. (15) (and Eq. (14)). This is true for all schemes with mass flux based on bilinear interpolations, but also for more general schemes in which arbitrary interpolations are used for ρsubscript𝜌\mathcal{F}_{\rho}caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT. Moreover, Eq. (14) can be satisfied also by schemes that are not KEP. As an example, the formulation employed by Blaisdell et al. [36], corresponding to =SKWsuperscriptSKW\mathcal{M}=\mathcal{M}^{\textit{SKW}}caligraphic_M = caligraphic_M start_POSTSUPERSCRIPT SKW end_POSTSUPERSCRIPT and 𝒞ρu=(𝒞ρuD+𝒞ρuu)/2subscript𝒞𝜌𝑢superscriptsubscript𝒞𝜌𝑢𝐷superscriptsubscript𝒞𝜌𝑢𝑢2\mathcal{C}_{\rho u}=\left(\mathcal{C}_{\rho u}^{D}+\mathcal{C}_{\rho u}^{u}% \right)/2caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = ( caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_D end_POSTSUPERSCRIPT + caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_u end_POSTSUPERSCRIPT ) / 2 has numerical fluxes ρα=ρ¯u¯αsubscriptsuperscript𝛼𝜌¯𝜌subscript¯𝑢𝛼\mathcal{F}^{\alpha}_{\rho}=\overline{\rho}\,\overline{u}\,_{\alpha}caligraphic_F start_POSTSUPERSCRIPT italic_α end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT and ρuβα=ρu¯βu¯αsuperscriptsubscript𝜌subscript𝑢𝛽𝛼subscript¯𝜌𝑢𝛽subscript¯𝑢𝛼\mathcal{F}_{\rho u_{\beta}}^{\alpha}=\overline{\rho u}\,_{\beta}\,\overline{u% }\,_{\alpha}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_α end_POSTSUPERSCRIPT = over¯ start_ARG italic_ρ italic_u end_ARG start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT, which are easily seen to be not KEP. However, for constant velocity and pressure, they become ^ρα=ρ¯Uαsuperscriptsubscript^𝜌𝛼¯𝜌subscript𝑈𝛼\hat{\mathcal{F}}_{\rho}^{\alpha}=\overline{\rho}\,U_{\alpha}over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_α end_POSTSUPERSCRIPT = over¯ start_ARG italic_ρ end_ARG italic_U start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT and ^ρuβα=ρ¯UβUαsuperscriptsubscript^𝜌subscript𝑢𝛽𝛼¯𝜌subscript𝑈𝛽subscript𝑈𝛼\hat{\mathcal{F}}_{\rho u_{\beta}}^{\alpha}=\overline{\rho}\,U_{\beta}U_{\alpha}over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_u start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_α end_POSTSUPERSCRIPT = over¯ start_ARG italic_ρ end_ARG italic_U start_POSTSUBSCRIPT italic_β end_POSTSUBSCRIPT italic_U start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT, which satisfy Eq. (15). It turns out that the formulation employed in Blaisdell et al. [36] for the energy equation also satisfies the analogous condition for pressure, detailed in the next Sec. 4.2, which shows that the Blaisdell scheme, even without being KEP, is PEP.

4.2 Discrete pressure equation

As for the case of the discrete equation for velocity, algebraic manipulation of equations (6) for mass, momentum, and an ‘energy’ variable among ρE𝜌𝐸\rho Eitalic_ρ italic_E, ρe𝜌𝑒\rho eitalic_ρ italic_e or p𝑝pitalic_p, allows one to write the discrete evolution equation for p𝑝pitalic_p. The form of this equation depends on the choice of the primary energy variable whose equation is directly discretized. In the following sections, we separately analyze some of the possible options.

4.2.1 Formulations based on the pressure equation

The simplest case is when the pressure equation (5) is discretized in place of Eq. (3). In this case, one has that the discrete pressure equation trivially is

pt=𝒞p𝒫p,𝑝𝑡subscript𝒞𝑝subscript𝒫𝑝\dfrac{\partial p}{\partial t}=-\mathcal{C}_{p}-\mathcal{P}_{p},divide start_ARG ∂ italic_p end_ARG start_ARG ∂ italic_t end_ARG = - caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT - caligraphic_P start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT , (16)

where 𝒞psubscript𝒞𝑝\mathcal{C}_{p}caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT and 𝒫psubscript𝒫𝑝\mathcal{P}_{p}caligraphic_P start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT are specified through direct discretization of the terms xpusubscript𝑥𝑝𝑢\partial_{x}pu∂ start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT italic_p italic_u and (γ1)pxu𝛾1𝑝subscript𝑥𝑢(\gamma-1)p\partial_{x}u( italic_γ - 1 ) italic_p ∂ start_POSTSUBSCRIPT italic_x end_POSTSUBSCRIPT italic_u, respectively. Assuming a straightforward discretization of the non-conservative pressure term, such as

𝒫p=(γ1)pδuδx,subscript𝒫𝑝𝛾1𝑝𝛿𝑢𝛿𝑥\mathcal{P}_{p}=\left(\gamma-1\right)p\dfrac{\delta u}{\delta x},caligraphic_P start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = ( italic_γ - 1 ) italic_p divide start_ARG italic_δ italic_u end_ARG start_ARG italic_δ italic_x end_ARG , (17)

and of 𝒞psubscript𝒞𝑝\mathcal{C}_{p}caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT, by using a general average of divergence and advective forms

𝒞p=χδpuδx+(1χ)(pδuδx+uδpδx),subscript𝒞𝑝𝜒𝛿𝑝𝑢𝛿𝑥1𝜒𝑝𝛿𝑢𝛿𝑥𝑢𝛿𝑝𝛿𝑥\mathcal{C}_{p}=\chi\dfrac{\delta pu}{\delta x}+\left(1-\chi\right)\left(p% \dfrac{\delta u}{\delta x}+u\dfrac{\delta p}{\delta x}\right),caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = italic_χ divide start_ARG italic_δ italic_p italic_u end_ARG start_ARG italic_δ italic_x end_ARG + ( 1 - italic_χ ) ( italic_p divide start_ARG italic_δ italic_u end_ARG start_ARG italic_δ italic_x end_ARG + italic_u divide start_ARG italic_δ italic_p end_ARG start_ARG italic_δ italic_x end_ARG ) , (18)

one naturally has 𝒞^p=𝒫^p=0subscript^𝒞𝑝subscript^𝒫𝑝0\hat{\mathcal{C}}_{p}=\hat{\mathcal{P}}_{p}=0over^ start_ARG caligraphic_C end_ARG start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = over^ start_ARG caligraphic_P end_ARG start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 0. The simple proportionality between pressure and internal energy implies that if pressure is correctly preserved by convection (i.e. 𝒞psubscript𝒞𝑝\mathcal{C}_{p}caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT is in locally conservative form), then so is internal energy. Moreover, if the discretization of density and momentum equations is such that the scheme is KEP, then total energy is also conserved as a result.

This approach has been followed for the first time by Feiereisen et al. [1]. In that paper, in addition to the well known KEP discretization of mass and momentum equations, they use the pressure equation as ‘energy’ equation, with convective term discretized using the advective form

𝒞p=pδuδx+uδpδx,subscript𝒞𝑝𝑝𝛿𝑢𝛿𝑥𝑢𝛿𝑝𝛿𝑥\mathcal{C}_{p}=p\dfrac{\delta u}{\delta x}+u\dfrac{\delta p}{\delta x},caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = italic_p divide start_ARG italic_δ italic_u end_ARG start_ARG italic_δ italic_x end_ARG + italic_u divide start_ARG italic_δ italic_p end_ARG start_ARG italic_δ italic_x end_ARG , (19)

corresponding to χ=0𝜒0\chi=0italic_χ = 0 in Eq. (18) and to the convective numerical flux p=pu¯¯subscript𝑝¯¯𝑝𝑢\mathcal{F}_{p}=\overline{\overline{pu}}\,caligraphic_F start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = over¯ start_ARG over¯ start_ARG italic_p italic_u end_ARG end_ARG. The non-conservative pressure term is discretized as usual as 𝒫p=(γ1)pδu/δxsubscript𝒫𝑝𝛾1𝑝𝛿𝑢𝛿𝑥\mathcal{P}_{p}=(\gamma-1)p\delta u/\delta xcaligraphic_P start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = ( italic_γ - 1 ) italic_p italic_δ italic_u / italic_δ italic_x. Under these assumptions, the condition 𝒞^p=𝒫^p=0subscript^𝒞𝑝subscript^𝒫𝑝0\hat{\mathcal{C}}_{p}=\hat{\mathcal{P}}_{p}=0over^ start_ARG caligraphic_C end_ARG start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = over^ start_ARG caligraphic_P end_ARG start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 0 is easily verified, which assures that the Feiereisen scheme, which is a prototypical KEP scheme, is also PEP. More recently, Shima et al. [21] proposed the KEEP-PE discretization of the total-energy equation that, for exact time integration, is equivalent to a direct discretization of the pressure equation where the skew-symmetric form is employed for the convective term

𝒞p=12δpuδx+12(pδuδx+uδpδx).subscript𝒞𝑝12𝛿𝑝𝑢𝛿𝑥12𝑝𝛿𝑢𝛿𝑥𝑢𝛿𝑝𝛿𝑥\mathcal{C}_{p}=\frac{1}{2}\dfrac{\delta pu}{\delta x}+\frac{1}{2}\left(p% \dfrac{\delta u}{\delta x}+u\dfrac{\delta p}{\delta x}\right).caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG 2 end_ARG divide start_ARG italic_δ italic_p italic_u end_ARG start_ARG italic_δ italic_x end_ARG + divide start_ARG 1 end_ARG start_ARG 2 end_ARG ( italic_p divide start_ARG italic_δ italic_u end_ARG start_ARG italic_δ italic_x end_ARG + italic_u divide start_ARG italic_δ italic_p end_ARG start_ARG italic_δ italic_x end_ARG ) . (20)

corresponding to χ=1/2𝜒12\chi=1/2italic_χ = 1 / 2 in Eq. (18) with associated numerical flux p=p¯u¯subscript𝑝¯𝑝¯𝑢\mathcal{F}_{p}=\overline{p}\,\overline{u}\,caligraphic_F start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = over¯ start_ARG italic_p end_ARG over¯ start_ARG italic_u end_ARG. The general formulation in Eq. (18) produces valid PEP schemes for all values of χ𝜒\chiitalic_χ with numerical flux p=χpu¯+(1χ)pu¯¯subscript𝑝𝜒¯𝑝𝑢1𝜒¯¯𝑝𝑢\mathcal{F}_{p}=\chi\overline{pu}\,+\left(1-\chi\right)\overline{\overline{pu}}\,caligraphic_F start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = italic_χ over¯ start_ARG italic_p italic_u end_ARG + ( 1 - italic_χ ) over¯ start_ARG over¯ start_ARG italic_p italic_u end_ARG end_ARG. The case of χ=1𝜒1\chi=1italic_χ = 1 has been also investigated in [30].

Since the family defined by Eq. (18) only includes schemes that are combination of advective and divergence forms, and as a consequence are based on bilinear fluxes, it excludes all the possible discretizations associated with nonlinear fluxes. In fact, in the more general framework of finite-volume methods, the convective term 𝒞psubscript𝒞𝑝\mathcal{C}_{p}caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT is built as a difference of arbitrary fluxes, whose generic form can be written as

p=pu~subscript𝑝~𝑝𝑢\mathcal{F}_{p}=\widetilde{pu}caligraphic_F start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = over~ start_ARG italic_p italic_u end_ARG (21)

where ψϕ~~𝜓italic-ϕ\widetilde{\psi\phi}over~ start_ARG italic_ψ italic_ϕ end_ARG represents a generic two-point average of the product ψϕ𝜓italic-ϕ\psi\phiitalic_ψ italic_ϕ. Provided that the obvious consistency property that the flux is invariant under translation for constant u𝑢uitalic_u and p𝑝pitalic_p holds, one has ^p|i1/2=^p|i+1/2evaluated-atsubscript^𝑝𝑖12evaluated-atsubscript^𝑝𝑖12\left.\hat{\mathcal{F}}_{p}\right|_{i-1/2}=\left.\hat{\mathcal{F}}_{p}\right|_% {i+1/2}over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT | start_POSTSUBSCRIPT italic_i - 1 / 2 end_POSTSUBSCRIPT = over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT | start_POSTSUBSCRIPT italic_i + 1 / 2 end_POSTSUBSCRIPT and pressure equilibrium is preserved by convection. An example of this more general case is given by

p=p¯Gu¯,subscript𝑝superscript¯𝑝𝐺¯𝑢\mathcal{F}_{p}=\overline{p}^{G}\overline{u}\,,caligraphic_F start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = over¯ start_ARG italic_p end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG , (22)

where ϕ¯Gsuperscript¯italic-ϕ𝐺\overline{\phi}^{G}over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT is the geometric mean: ϕ¯G=ϕiϕi+1superscript¯italic-ϕ𝐺subscriptitalic-ϕ𝑖subscriptitalic-ϕ𝑖1\overline{\phi}^{G}=\sqrt{\phi_{i}\phi_{i+1}}over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT = square-root start_ARG italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_ϕ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG. The convective term built on this flux can be shown to be equivalent to the discretization proposed by Rozema et al. [11]. In their work, it is considered the evolution equation of the square-root variable ρe𝜌𝑒\sqrt{\rho e}square-root start_ARG italic_ρ italic_e end_ARG which, due to the proportionality between ρe𝜌𝑒\rho eitalic_ρ italic_e and p𝑝pitalic_p for ideal gases, is equivalent to a direct discretization of the equation

pt=puαxα(γ21)puαxα.𝑝𝑡𝑝subscript𝑢𝛼subscript𝑥𝛼𝛾21𝑝subscript𝑢𝛼subscript𝑥𝛼\frac{\partial\sqrt{p}}{\partial t}=-\dfrac{\partial\sqrt{p}u_{\alpha}}{% \partial x_{\alpha}}-\left(\frac{\gamma}{2}-1\right)\sqrt{p}\dfrac{\partial u_% {\alpha}}{\partial x_{\alpha}}.divide start_ARG ∂ square-root start_ARG italic_p end_ARG end_ARG start_ARG ∂ italic_t end_ARG = - divide start_ARG ∂ square-root start_ARG italic_p end_ARG italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG - ( divide start_ARG italic_γ end_ARG start_ARG 2 end_ARG - 1 ) square-root start_ARG italic_p end_ARG divide start_ARG ∂ italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG . (23)

The use of the skew-symmetric form on the convective term can be shown to lead back to the flux in Eq. (22).

The findings of this section can be summarized by the following

Remark 1

(Discrete pressure equation)
A finite-difference discretization of the pressure equation with formulations (18) (or (21)) for the convective term and (17) for the pressure term, is always PEP, provided the conditions for velocity equilibrium Eq. (14) and (13) are satisfied. For ideal gases, internal energy is additionally discretely preserved by convection. If the discretizations of mass and momentum equations are KEP, total energy is also discretely conserved.

4.2.2 Formulations based on the internal-energy equation

All the mentioned formulations based on a direct discretization of the pressure equation can also be interpreted as discretizations of the internal-energy equation

ρet=ρuαexαpuαxα,𝜌𝑒𝑡𝜌subscript𝑢𝛼𝑒subscript𝑥𝛼𝑝subscript𝑢𝛼subscript𝑥𝛼\dfrac{\partial\rho e}{\partial t}=-\dfrac{\partial\rho u_{\alpha}e}{\partial x% _{\alpha}}-p\dfrac{\partial u_{\alpha}}{\partial x_{\alpha}},divide start_ARG ∂ italic_ρ italic_e end_ARG start_ARG ∂ italic_t end_ARG = - divide start_ARG ∂ italic_ρ italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT italic_e end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG - italic_p divide start_ARG ∂ italic_u start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG start_ARG ∂ italic_x start_POSTSUBSCRIPT italic_α end_POSTSUBSCRIPT end_ARG , (24)

as, due to the proportionality relation in the ideal gas law, one has

𝒞ρe=1γ1𝒞p,𝒫ρe=1γ1𝒫p,ρe=1γ1p.formulae-sequencesubscript𝒞𝜌𝑒1𝛾1subscript𝒞𝑝formulae-sequencesubscript𝒫𝜌𝑒1𝛾1subscript𝒫𝑝subscript𝜌𝑒1𝛾1subscript𝑝\mathcal{C}_{\rho e}=\frac{1}{\gamma-1}\mathcal{C}_{p},\qquad\mathcal{P}_{\rho e% }=\frac{1}{\gamma-1}\mathcal{P}_{p},\qquad\mathcal{F}_{\rho e}=\frac{1}{\gamma% -1}\mathcal{F}_{p}.caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG italic_γ - 1 end_ARG caligraphic_C start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT , caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG italic_γ - 1 end_ARG caligraphic_P start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = divide start_ARG 1 end_ARG start_ARG italic_γ - 1 end_ARG caligraphic_F start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT . (25)

However, it is also possible to have schemes defined from a direct discretization of the internal-energy equation (24) that cannot be interpreted as coming from a straightforward discretization of the pressure equation. This happens when, in the specification of the numerical flux ρesubscript𝜌𝑒\mathcal{F}_{\rho e}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT, the product ρe𝜌𝑒\rho eitalic_ρ italic_e is not treated as one single variable, but ρ𝜌\rhoitalic_ρ and e𝑒eitalic_e are averaged separately. In this case the discretization of Eq. (24) is not equivalent to a direct discretization of the pressure equation, as the product of interpolations of ρ𝜌\rhoitalic_ρ and e𝑒eitalic_e does not correspond, in general, to a single interpolation involving only pressure.

An example of this type of schemes is the KGP(ρe)𝜌𝑒(\rho e)( italic_ρ italic_e ) formulation analyzed in Coppola et al. [6], which uses the internal energy as thermodynamic variable and discretizes the convective terms with a full splitting, using the forms SKWsuperscriptSKW\mathcal{M}^{\textit{SKW}}caligraphic_M start_POSTSUPERSCRIPT SKW end_POSTSUPERSCRIPT for the mass equation and 𝒞ρϕKGPsubscriptsuperscript𝒞KGP𝜌italic-ϕ\mathcal{C}^{\textit{KGP}}_{\rho\phi}caligraphic_C start_POSTSUPERSCRIPT KGP end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT for momentum and internal-energy equations, resulting in the set of fluxes

ρ=ρ¯u¯,ρu=ρu¯,ρe=ρe¯.formulae-sequencesubscript𝜌¯𝜌¯𝑢formulae-sequencesubscript𝜌𝑢subscript𝜌¯𝑢subscript𝜌𝑒subscript𝜌¯𝑒\mathcal{F}_{\rho}=\overline{\rho}\,\,\overline{u}\,,\qquad\qquad\mathcal{F}_{% \rho u}=\mathcal{F}_{\rho}\,\overline{u}\,,\qquad\qquad\mathcal{F}_{\rho e}=% \mathcal{F}_{\rho}\,\overline{e}\,.caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG . (26)

For exact time integration, the scheme in Eq. (26) is equivalent to the KEEP scheme proposed in Kuya et al. [23], which discretizes the total-energy equation with kinetic-energy and pressure fluxes consistent with that induced by the formulation in Eq. (26). The KEEP scheme is analyzed in the next Sec. 4.2.3. The scheme defined by Eq. (26) cannot be cast as a conservative discretization of the pressure equation and, in fact, it is not PEP, as shown below.

Due to the proportionality relation in Eq. (25), schemes based on the discretization of the internal-energy equation can be PEP if, for constant p𝑝pitalic_p and u𝑢uitalic_u, the convective and pressure term for ρe𝜌𝑒\rho eitalic_ρ italic_e fulfill the condition

𝒞^ρe+𝒫^ρe=0subscript^𝒞𝜌𝑒subscript^𝒫𝜌𝑒0\hat{\mathcal{C}}_{\rho e}+\hat{\mathcal{P}}_{\rho e}=0over^ start_ARG caligraphic_C end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT + over^ start_ARG caligraphic_P end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = 0 (27)

as the proportionality condition tρe=(γ1)tpsubscript𝑡𝜌𝑒𝛾1subscript𝑡𝑝\partial_{t}\rho e=(\gamma-1)\partial_{t}p∂ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_ρ italic_e = ( italic_γ - 1 ) ∂ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_p (inducing Eq. (25)) holds in all cases for ideal gases. If the pressure term in Eq. (24) is directly discretized as pδu/δx𝑝𝛿𝑢𝛿𝑥p\delta u/\delta xitalic_p italic_δ italic_u / italic_δ italic_x, one has 𝒫^ρe=0subscript^𝒫𝜌𝑒0\hat{\mathcal{P}}_{\rho e}=0over^ start_ARG caligraphic_P end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = 0 and Eq. (27) is equivalent to requiring that 𝒞^ρe=0subscript^𝒞𝜌𝑒0\hat{\mathcal{C}}_{\rho e}=0over^ start_ARG caligraphic_C end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = 0, i.e. the flux for the convective part of the internal-energy equation is only a function of pressure and velocity, which implies ^ρe=constsubscript^𝜌𝑒const\hat{\mathcal{F}}_{\rho e}=\mathop{\text{const}}over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = const. Since we have already considered the case in which the product ρe𝜌𝑒\rho eitalic_ρ italic_e is treated as one, let us consider the generic internal-energy flux in which ρ𝜌\rhoitalic_ρ and e𝑒eitalic_e are averaged separately. In this case, when velocity and pressure are constant and equal to U𝑈Uitalic_U and P𝑃Pitalic_P respectively, one can write:

^ρe=ρ¯e¯#U=ρ¯ρ1¯#PUγ1subscript^𝜌𝑒superscript¯𝜌superscript¯𝑒#𝑈superscript¯𝜌superscript¯superscript𝜌1#𝑃𝑈𝛾1\hat{\mathcal{F}}_{\rho e}=\overline{\rho}^{\,\star}\,\overline{e}^{\,\#}U=% \overline{\rho}^{\,\star}\,\overline{\rho^{-1}}^{\,\#}\frac{PU}{\gamma-1}over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT # end_POSTSUPERSCRIPT italic_U = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG start_POSTSUPERSCRIPT # end_POSTSUPERSCRIPT divide start_ARG italic_P italic_U end_ARG start_ARG italic_γ - 1 end_ARG (28)

in which two different kinds of mean have been used for density and internal energy. To obtain Eq. (28) we have assumed that, given a constant a𝑎aitalic_a and a variable ϕitalic-ϕ\phiitalic_ϕ, the relation aϕ~=aϕ~~𝑎italic-ϕ𝑎~italic-ϕ\widetilde{a\phi}\,=a\widetilde{\phi}\,over~ start_ARG italic_a italic_ϕ end_ARG = italic_a over~ start_ARG italic_ϕ end_ARG holds for a generic mean. This is not the case for every possible mean, but it holds for most of them, such as all power means, including the harmonic mean, the logarithmic mean and the Stolarsky means used in Winters et al. [37].

In order for the flux in Eq. (28) to be constant, the means chosen for density and internal energy must satisfy

ϕ¯ϕ1¯#=1superscript¯italic-ϕsuperscript¯superscriptitalic-ϕ1#1\overline{\phi}^{\,\star}\,\overline{\phi^{-1}}^{\,\#}=1over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT over¯ start_ARG italic_ϕ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG start_POSTSUPERSCRIPT # end_POSTSUPERSCRIPT = 1 (29)

where the value of the arbitrary constant at the right-hand side has to be one for consistency. Eq. (29) is the general condition for PEP schemes which are based on a discretization of the internal-energy equation in which ρ𝜌\rhoitalic_ρ and e𝑒eitalic_e are averaged separately. The previous discussion can be summarized in the following

Remark 2

(Discrete internal-energy equation)
For ideal gases, a locally-conservative discretization of the internal-energy equation in which the convective flux is specified treating the product of density and internal energy as a single variable is equivalent to a formulation based on the pressure equation. As such, it is always PEP under the hypotheses of Remark 1. Locally-conservative discretizations in which density and internal energy are interpolated separately are PEP if Eq. (29) is satisfied.

Many popular schemes fall into this category, and it is a simple exercise to check if they are PEP through the use of Eq. (29). The simplest example is the KGP(ρe)𝜌𝑒(\rho e)( italic_ρ italic_e ) scheme defined in Eq. (26) for which one has

ρe=ρ¯u¯e¯^ρe=ρ¯ρ1¯PUγ1.formulae-sequencesubscript𝜌𝑒¯𝜌¯𝑢¯𝑒subscript^𝜌𝑒¯𝜌¯superscript𝜌1𝑃𝑈𝛾1\mathcal{F}_{\rho e}=\overline{\rho}\,\overline{u}\,\overline{e}\,\quad% \longrightarrow\quad\hat{\mathcal{F}}_{\rho e}=\overline{\rho}\,\overline{\rho% ^{-1}}\,\frac{PU}{\gamma-1}.caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG over¯ start_ARG italic_e end_ARG ⟶ over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG divide start_ARG italic_P italic_U end_ARG start_ARG italic_γ - 1 end_ARG . (30)

It is easily seen that in this case the flux is not constant, since ρ¯ρ1¯=(ρ¯/ρ¯G)2¯𝜌¯superscript𝜌1superscript¯𝜌superscript¯𝜌𝐺2\overline{\rho}\,\overline{\rho^{-1}}\,=\left(\overline{\rho}\,/\overline{\rho% }^{G}\right)^{2}over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG = ( over¯ start_ARG italic_ρ end_ARG / over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT, which do not satisfy Eq. (29), in general.

The scheme with flux in Eq. (22), can also be reinterpreted as a formulation based on internal-energy equation. In fact, due to the identity ϕψ¯G=ϕ¯Gψ¯Gsuperscript¯italic-ϕ𝜓𝐺superscript¯italic-ϕ𝐺superscript¯𝜓𝐺\overline{\phi\psi}^{G}=\overline{\phi}^{G}\overline{\psi}^{G}over¯ start_ARG italic_ϕ italic_ψ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT = over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT over¯ start_ARG italic_ψ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT, the internal-energy flux corresponding to the pressure flux in Eq. (22) is ρe=ρ¯Ge¯Gu¯subscript𝜌𝑒superscript¯𝜌𝐺superscript¯𝑒𝐺¯𝑢\mathcal{F}_{\rho e}=\overline{\rho}^{G}\overline{e}^{G}\overline{u}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG, for which one has

^ρe=ρ¯Gρ1¯GPUγ1.subscript^𝜌𝑒superscript¯𝜌𝐺superscript¯superscript𝜌1𝐺𝑃𝑈𝛾1\hat{\mathcal{F}}_{\rho e}=\overline{\rho}^{G}\overline{\rho^{-1}}^{G}\frac{PU% }{\gamma-1}.over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT divide start_ARG italic_P italic_U end_ARG start_ARG italic_γ - 1 end_ARG . (31)

By noting that the geometric mean naturally has the property 1/ϕ¯G=ϕ1¯G1superscript¯italic-ϕ𝐺superscript¯superscriptitalic-ϕ1𝐺1/\overline{\phi}^{G}=\overline{\phi^{-1}}^{G}1 / over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT = over¯ start_ARG italic_ϕ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT, one sees that Eq. (29) is satisfied with ϕ¯=ϕ¯#=ϕ¯Gsuperscript¯italic-ϕsuperscript¯italic-ϕ#superscript¯italic-ϕ𝐺\overline{\phi}^{\,\star}=\overline{\phi}^{\,\#}=\overline{\phi}^{G}over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT = over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT # end_POSTSUPERSCRIPT = over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT italic_G end_POSTSUPERSCRIPT, which implies that the scheme based on the geometric mean, and equivalent to that proposed by Rozema et al. [11], is PEP.

As a further example, we consider the scheme studied by Ranocha and Gassner [20], which can be formulated through the specification of the mass, momentum and internal-energy fluxes as [22]

ρ=ρ¯logu¯,ρu=ρu¯,ρe=ρ[(1/e)¯log]1formulae-sequencesubscript𝜌superscript¯𝜌log¯𝑢formulae-sequencesubscript𝜌𝑢subscript𝜌¯𝑢subscript𝜌𝑒subscript𝜌superscriptdelimited-[]superscript¯1𝑒log1\mathcal{F}_{\rho}=\overline{\rho}^{\text{log}}\,\overline{u},\qquad\qquad% \mathcal{F}_{\rho u}=\mathcal{F}_{\rho}\,\overline{u},\qquad\qquad\mathcal{F}_% {\rho e}=\mathcal{F}_{\rho}\,\left[\overline{\left(1/e\right)}^{\text{log}}% \right]^{-1}caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT [ over¯ start_ARG ( 1 / italic_e ) end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT ] start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (32)

where ϕ¯log=(ρi+1ρi)/(logρi+1logρi)superscript¯italic-ϕlogsubscript𝜌𝑖1subscript𝜌𝑖subscript𝜌𝑖1subscript𝜌𝑖\overline{\phi}^{\text{log}}=(\rho_{i+1}-\rho_{i})/(\log\rho_{i+1}-\log\rho_{i})over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT = ( italic_ρ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT - italic_ρ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) / ( roman_log italic_ρ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT - roman_log italic_ρ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) is the logarithmic mean. This scheme is easily seen to be KEP, because of the form of the momentum flux, and the wise use of the logarithmic mean renders it also EC for perfect gases [20, 22]. Written explicitly, the internal-energy flux is

ρe=ρ¯logu¯[(1/e)¯log]1subscript𝜌𝑒superscript¯𝜌log¯𝑢superscriptdelimited-[]superscript¯1𝑒log1\mathcal{F}_{\rho e}=\overline{\rho}^{\text{log}}\overline{u}\,\,\left[% \overline{\left(1/e\right)}^{\text{log}}\right]^{-1}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG [ over¯ start_ARG ( 1 / italic_e ) end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT ] start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT (33)

for which

^ρe=ρ¯log[ρ¯log]1PUγ1=const.subscript^𝜌𝑒superscript¯𝜌logsuperscriptdelimited-[]superscript¯𝜌log1𝑃𝑈𝛾1const.\hat{\mathcal{F}}_{\rho e}=\overline{\rho}^{\text{log}}\left[\overline{\rho}^{% \text{log}}\right]^{-1}\frac{PU}{\gamma-1}=\text{const.}over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT [ over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT ] start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT divide start_ARG italic_P italic_U end_ARG start_ARG italic_γ - 1 end_ARG = const. (34)

and in this case ϕ¯=ϕ¯logsuperscript¯italic-ϕsuperscript¯italic-ϕlog\overline{\phi}^{\,\star}=\overline{\phi}^{\text{log}}over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT = over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT and ϕ¯#superscript¯italic-ϕ#\overline{\phi}^{\,\#}over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT # end_POSTSUPERSCRIPT is taken exactly as the dual mean required to satisfy Eq. (29): ϕ¯#=[(1/ϕ)¯log]1superscript¯italic-ϕ#superscriptdelimited-[]superscript¯1italic-ϕlog1\overline{\phi}^{\,\#}=\left[\overline{\left(1/\phi\right)}^{\text{log}}\right% ]^{-1}over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT # end_POSTSUPERSCRIPT = [ over¯ start_ARG ( 1 / italic_ϕ ) end_ARG start_POSTSUPERSCRIPT log end_POSTSUPERSCRIPT ] start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT.

Finally, we consider the formulation recently proposed by De Michele and Coppola [22], whose convective fluxes for mass, momentum and internal-energy are

ρ=ρ¯u¯,ρu=ρu¯,ρe=ρe¯H,formulae-sequencesubscript𝜌¯𝜌¯𝑢formulae-sequencesubscript𝜌𝑢subscript𝜌¯𝑢subscript𝜌𝑒subscript𝜌superscript¯𝑒𝐻\mathcal{F}_{\rho}=\overline{\rho}\,\,\overline{u},\qquad\qquad\mathcal{F}_{% \rho u}=\mathcal{F}_{\rho}\,\overline{u}\,,\qquad\qquad\mathcal{F}_{\rho e}=% \mathcal{F}_{\rho}\overline{e}^{H},caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT , (35)

where ϕ¯H=ϕiϕi+1/(ϕi+ϕi+1)superscript¯italic-ϕ𝐻subscriptitalic-ϕ𝑖subscriptitalic-ϕ𝑖1subscriptitalic-ϕ𝑖subscriptitalic-ϕ𝑖1\overline{\phi}^{H}=\phi_{i}\phi_{i+1}/(\phi_{i}+\phi_{i+1})over¯ start_ARG italic_ϕ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT = italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_ϕ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT / ( italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + italic_ϕ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT ) is the harmonic mean. For constant u𝑢uitalic_u and p𝑝pitalic_p the internal-energy flux becomes ^ρe=ρ¯ρ1¯HPU/(γ1)subscript^𝜌𝑒¯𝜌superscript¯superscript𝜌1𝐻𝑃𝑈𝛾1\hat{\mathcal{F}}_{\rho e}=\overline{\rho}\,\overline{\rho^{-1}}^{H}PU/(\gamma% -1)over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT italic_P italic_U / ( italic_γ - 1 ) and, based on the fact that the harmonic mean is the dual of the arithmetic mean with respect to Eq. (29), i.e. (ϕ¯)1=ϕ1¯Hsuperscript¯italic-ϕ1superscript¯superscriptitalic-ϕ1𝐻\left(\overline{\phi}\,\right)^{-1}=\overline{\phi^{-1}}^{H}( over¯ start_ARG italic_ϕ end_ARG ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT = over¯ start_ARG italic_ϕ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT, it follows that also the scheme in Eq. (35) is PEP. It is interesting to note that this property extends also to the whole family of Asymptotically Entropy Conserving (AEC) schemes presented in [22], in which the means of density and internal energy include truncated asymptotic expansions. For these schemes the internal-energy convective flux is written as

ρe=(ρ¯n=0Nρ2n2n+1)u¯(e¯Hn=0Ne2n2n+1)=ρ¯​​AEC u¯e¯​AECH,subscript𝜌𝑒¯𝜌superscriptsubscript𝑛0𝑁superscriptdelimited-⟨⟩𝜌2𝑛2𝑛1¯𝑢superscript¯𝑒𝐻superscriptsubscript𝑛0𝑁superscriptdelimited-⟨⟩𝑒2𝑛2𝑛1subscript¯𝜌​​AEC ¯𝑢subscriptsuperscript¯𝑒𝐻​AEC\mathcal{F}_{\rho e}=\left(\dfrac{\overline{\rho}\,}{\sum_{n=0}^{N}\frac{% \langle\rho\rangle^{2n}}{2n+1}}\right)\overline{u}\,\left(\overline{e}^{H}\sum% _{n=0}^{N}\frac{\langle e\rangle^{2n}}{2n+1}\right)=\overline{\rho}\,_{\text{% \!\!{AEC}\,}}\overline{u}\,\overline{e}^{H}_{\text{\!{AEC}}},caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = ( divide start_ARG over¯ start_ARG italic_ρ end_ARG end_ARG start_ARG ∑ start_POSTSUBSCRIPT italic_n = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT divide start_ARG ⟨ italic_ρ ⟩ start_POSTSUPERSCRIPT 2 italic_n end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_n + 1 end_ARG end_ARG ) over¯ start_ARG italic_u end_ARG ( over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_n = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT divide start_ARG ⟨ italic_e ⟩ start_POSTSUPERSCRIPT 2 italic_n end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_n + 1 end_ARG ) = over¯ start_ARG italic_ρ end_ARG start_POSTSUBSCRIPT ​​AEC end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT start_POSTSUBSCRIPT ​AEC end_POSTSUBSCRIPT , (36)

where ϕ=(ϕi+1ϕi)/ϕ¯delimited-⟨⟩italic-ϕsubscriptitalic-ϕ𝑖1subscriptitalic-ϕ𝑖¯italic-ϕ\langle\phi\rangle=(\phi_{i+1}-\phi_{i})/\overline{\phi}\,⟨ italic_ϕ ⟩ = ( italic_ϕ start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT - italic_ϕ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) / over¯ start_ARG italic_ϕ end_ARG. It can be verified that condition (29) holds for every value of N𝑁Nitalic_N, making each scheme of the family PEP.

4.2.3 Formulations based on the total-energy equation

If a KEP discretization is used for the density and momentum equations, every direct discretization of internal-energy or pressure equations with locally conservative convective terms can also be interpreted as a conservative discretization of the total-energy equation. In this case, total energy evolves driven by numerical fluxes which are the sum of the primary internal-energy flux and the kinetic-energy flux induced by the discretization of mass and momentum:

ρE=ρe+ρuiui+12,subscript𝜌𝐸subscript𝜌𝑒subscript𝜌subscript𝑢𝑖subscript𝑢𝑖12\mathcal{F}_{\rho E}=\mathcal{F}_{\rho e}+\mathcal{F}_{\rho}\frac{u_{i}u_{i+1}% }{2},caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG , (37)

where ρe=p/(γ1)subscript𝜌𝑒subscript𝑝𝛾1\mathcal{F}_{\rho e}=\mathcal{F}_{p}/(\gamma-1)caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT / ( italic_γ - 1 ) in case the pressure equation is directly discretized. The pressure term 𝒫ρEsubscript𝒫𝜌𝐸\mathcal{P}_{\rho E}caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT results discretized with the advective form

𝒫ρE=pδuδx+uδpδxsubscript𝒫𝜌𝐸𝑝𝛿𝑢𝛿𝑥𝑢𝛿𝑝𝛿𝑥\mathcal{P}_{\rho E}=p\frac{\delta u}{\delta x}+u\frac{\delta p}{\delta x}caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT = italic_p divide start_ARG italic_δ italic_u end_ARG start_ARG italic_δ italic_x end_ARG + italic_u divide start_ARG italic_δ italic_p end_ARG start_ARG italic_δ italic_x end_ARG (38)

coming from the separate discretizations of the pressure terms in the momentum equation (δp/δx𝛿𝑝𝛿𝑥\delta p/\delta xitalic_δ italic_p / italic_δ italic_x) and in the internal-energy (or pressure) equation (pδu/δx𝑝𝛿𝑢𝛿𝑥p\delta u/\delta xitalic_p italic_δ italic_u / italic_δ italic_x). These formulations can be directly designed starting from the total-energy equation, with numerical fluxes specified according to Eq. (37) and (38), and are equivalent, for exact time integration, to the formulations based on the flux ρesubscript𝜌𝑒\mathcal{F}_{\rho e}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT; as such, the total-energy flux inherits the PEP properties of the flux ρesubscript𝜌𝑒\mathcal{F}_{\rho e}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT.

An example of this type of formulations is the KEEP scheme proposed by Kuya et al. [23], which is defined by the set of mass, momentum, and total-energy fluxes given by:

ρ=ρ¯u¯,ρu=ρu¯+p¯,ρE=ρe¯+ρuiui+12+pu¯¯formulae-sequencesubscript𝜌¯𝜌¯𝑢formulae-sequencesubscriptsuperscript𝜌𝑢subscript𝜌¯𝑢¯𝑝subscriptsuperscript𝜌𝐸subscript𝜌¯𝑒subscript𝜌subscript𝑢𝑖subscript𝑢𝑖12¯¯𝑝𝑢\mathcal{F}_{\rho}=\overline{\rho}\,\,\overline{u}\,,\qquad\qquad\mathcal{F}^{% *}_{\rho u}=\mathcal{F}_{\rho}\,\overline{u}\,+\overline{p}\,,\qquad\qquad% \mathcal{F}^{*}_{\rho E}=\mathcal{F}_{\rho}\,\overline{e}\,+\mathcal{F}_{\rho}% \,\frac{u_{i}u_{i+1}}{2}+\overline{\overline{pu}}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG + over¯ start_ARG italic_p end_ARG , caligraphic_F start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG + over¯ start_ARG over¯ start_ARG italic_p italic_u end_ARG end_ARG (39)

where the apex is used to indicate that the flux includes also the contribution coming from the (conservative) pressure term. The form of the total-energy flux was determined in Kuya et al. [23] by satisfying the so-called Analytical Relations, which were introduced to improve the entropy conservation of the overall formulation. The final result of their analysis is that the specification of the kinetic-energy flux and of the pressure term in the total-energy flux has to be the same as that induced by the discretization of mass and momentum alone, which renders the formulation equivalent, for exact time integration, to a formulation based on the internal-energy equation.

It is also possible to have formulations based on a direct discretization of the total-energy equation, which do not come from formulations in terms of internal energy or pressure. An example of this type of discretization is given by the formulation used by Jameson [34] and Pirozzoli [5]. In this scheme, the total-energy equation is written as

ρEt=ρuHx𝜌𝐸𝑡𝜌𝑢𝐻𝑥\dfrac{\partial\rho E}{\partial t}=-\dfrac{\partial\rho uH}{\partial x}divide start_ARG ∂ italic_ρ italic_E end_ARG start_ARG ∂ italic_t end_ARG = - divide start_ARG ∂ italic_ρ italic_u italic_H end_ARG start_ARG ∂ italic_x end_ARG (40)

where H=E+p/ρ𝐻𝐸𝑝𝜌H=E+p/\rhoitalic_H = italic_E + italic_p / italic_ρ is the total enthalpy per unit mass. By following the same convention introduced in Eq. (39), the convective term in Eq. (40) is here denoted as 𝒞ρE=𝒞ρE+𝒫ρEsuperscriptsubscript𝒞𝜌𝐸subscript𝒞𝜌𝐸subscript𝒫𝜌𝐸\mathcal{C}_{\rho E}^{*}=\mathcal{C}_{\rho E}+\mathcal{P}_{\rho E}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT + caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT, where 𝒫ρEsubscript𝒫𝜌𝐸\mathcal{P}_{\rho E}caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT is the conservative pressure term pu/x𝑝𝑢𝑥\partial pu/\partial x∂ italic_p italic_u / ∂ italic_x. In the Jameson-Pirozzoli (JP) scheme, 𝒞ρEsuperscriptsubscript𝒞𝜌𝐸\mathcal{C}_{\rho E}^{*}caligraphic_C start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT is split with a fully triple (KGP) splitting, corresponding to the numerical flux ρE=ρ¯u¯H¯subscriptsuperscript𝜌𝐸¯𝜌¯𝑢¯𝐻\mathcal{F}^{*}_{\rho E}=\overline{\rho}\,\overline{u}\,\overline{H}\,caligraphic_F start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG over¯ start_ARG italic_H end_ARG. The contextual use of the KEP discretization (SKW𝒞ρϕKGP)superscriptSKWsubscriptsuperscript𝒞KGP𝜌italic-ϕ(\mathcal{M}^{\textit{SKW}}-\mathcal{C}^{\textit{KGP}}_{\rho\phi})( caligraphic_M start_POSTSUPERSCRIPT SKW end_POSTSUPERSCRIPT - caligraphic_C start_POSTSUPERSCRIPT KGP end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_ϕ end_POSTSUBSCRIPT ) leads to a formulation that can be expressed in numerical-flux terms as

ρ=ρ¯u¯,ρu=ρu¯+p¯,ρE=ρH¯.formulae-sequencesubscript𝜌¯𝜌¯𝑢formulae-sequencesubscriptsuperscript𝜌𝑢subscript𝜌¯𝑢¯𝑝subscriptsuperscript𝜌𝐸subscript𝜌¯𝐻\mathcal{F}_{\rho}=\overline{\rho}\,\,\overline{u}\,,\qquad\qquad\mathcal{F}^{% *}_{\rho u}=\mathcal{F}_{\rho}\,\overline{u}\,+\overline{p}\,,\qquad\qquad% \mathcal{F}^{*}_{\rho E}=\mathcal{F}_{\rho}\overline{H}\,.caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG + over¯ start_ARG italic_p end_ARG , caligraphic_F start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_H end_ARG . (41)

By expanding the total-energy flux into its components one has

ρE=ρe¯+ρu22¯+ρ(pρ)¯superscriptsubscript𝜌𝐸subscript𝜌¯𝑒subscript𝜌¯superscript𝑢22subscript𝜌¯𝑝𝜌\mathcal{F}_{\rho E}^{*}=\mathcal{F}_{\rho}\overline{e}\,+\mathcal{F}_{\rho}% \overline{\frac{u^{2}}{2}}\,+\mathcal{F}_{\rho}\overline{\left(\frac{p}{\rho}% \right)}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG divide start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 2 end_ARG end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG ( divide start_ARG italic_p end_ARG start_ARG italic_ρ end_ARG ) end_ARG (42)

from which one sees that the scheme cannot be obtained from a straightforward discretization of the internal-energy equation, as the convective flux of kinetic energy is different from that induced by the KEP formulation (ρu2¯/2subscript𝜌¯superscript𝑢22\mathcal{F}_{\rho}\overline{u^{2}}\,/2caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG / 2 versus ρuiui+1/2subscript𝜌subscript𝑢𝑖subscript𝑢𝑖12\mathcal{F}_{\rho}u_{i}u_{i+1}/2caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT / 2). In this case, the internal energy discretely evolves with a convective flux ρe=ρEρu2/2subscript𝜌𝑒subscript𝜌𝐸subscript𝜌superscript𝑢22\mathcal{F}_{\rho e}=\mathcal{F}_{\rho E}-\mathcal{F}_{\rho u^{2}/2}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT - caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / 2 end_POSTSUBSCRIPT which reads

ρe=ρe¯+ρ(u2¯2uiui+12).subscript𝜌𝑒subscript𝜌¯𝑒subscript𝜌¯superscript𝑢22subscript𝑢𝑖subscript𝑢𝑖12\mathcal{F}_{\rho e}=\mathcal{F}_{\rho}\overline{e}\,+\mathcal{F}_{\rho}\left(% \frac{\overline{u^{2}}\,}{2}-\frac{u_{i}u_{i+1}}{2}\right).caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT ( divide start_ARG over¯ start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG 2 end_ARG - divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG ) . (43)

The (non conservative) pressure term is given by 𝒫ρe=𝒫ρEuδp/δxsubscript𝒫𝜌𝑒subscript𝒫𝜌𝐸𝑢𝛿𝑝𝛿𝑥\mathcal{P}_{\rho e}=\mathcal{P}_{\rho E}-u\,\delta p/\delta xcaligraphic_P start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT - italic_u italic_δ italic_p / italic_δ italic_x, i.e.

𝒫ρe=Δ[ρ(pρ)¯]uδpδx.subscript𝒫𝜌𝑒Δdelimited-[]subscript𝜌¯𝑝𝜌𝑢𝛿𝑝𝛿𝑥\mathcal{P}_{\rho e}=\Delta\left[\mathcal{F}_{\rho}\overline{\left(\frac{p}{% \rho}\right)}\,\right]-u\frac{\delta p}{\delta x}.caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = roman_Δ [ caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG ( divide start_ARG italic_p end_ARG start_ARG italic_ρ end_ARG ) end_ARG ] - italic_u divide start_ARG italic_δ italic_p end_ARG start_ARG italic_δ italic_x end_ARG . (44)

For constant u𝑢uitalic_u and p𝑝pitalic_p one has

^ρesubscript^𝜌𝑒\displaystyle\hat{\mathcal{F}}_{\rho e}over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT =ρ¯ρ1¯PUγ1absent¯𝜌¯superscript𝜌1𝑃𝑈𝛾1\displaystyle=\overline{\rho}\,\overline{\rho^{-1}}\,\frac{PU}{\gamma-1}= over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG divide start_ARG italic_P italic_U end_ARG start_ARG italic_γ - 1 end_ARG (45)
𝒫^ρesubscript^𝒫𝜌𝑒\displaystyle\hat{\mathcal{P}}_{\rho e}over^ start_ARG caligraphic_P end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT =Δ(ρ¯ρ1¯PU).absentΔ¯𝜌¯superscript𝜌1𝑃𝑈\displaystyle=\Delta\left(\overline{\rho}\,\overline{\rho^{-1}}\,PU\right).= roman_Δ ( over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG italic_P italic_U ) . (46)

The PEP condition now is that the right-hand side of Eq. (45) is constant and that of Eq. (46) is zero, neither of which is true, because of the term ρ¯ρ1¯¯𝜌¯superscript𝜌1\overline{\rho}\,\overline{\rho^{-1}}\,over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG, which shows that the JP scheme is not PEP.

A similar approach is adopted in the scheme proposed by Singh and Chandrashekar [38], which in our notation can be written as

ρ=ρ¯u¯,ρu=ρu¯+p¯,ρE=ρe¯u¯+12ρu2¯+u¯p¯.formulae-sequencesubscript𝜌¯𝜌¯𝑢formulae-sequencesubscriptsuperscript𝜌𝑢subscript𝜌¯𝑢¯𝑝superscriptsubscript𝜌𝐸¯𝜌𝑒¯𝑢12subscript𝜌¯superscript𝑢2¯𝑢¯𝑝\mathcal{F}_{\rho}=\overline{\rho}\,\,\overline{u}\,,\qquad\qquad\mathcal{F}^{% *}_{\rho u}=\mathcal{F}_{\rho}\,\overline{u}\,+\overline{p}\,,\qquad\qquad% \mathcal{F}_{\rho E}^{*}=\overline{\rho e}\,\overline{u}\,+\frac{1}{2}\mathcal% {F}_{\rho}\overline{u^{2}}\,+\overline{u}\,\overline{p}\,.caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG + over¯ start_ARG italic_p end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = over¯ start_ARG italic_ρ italic_e end_ARG over¯ start_ARG italic_u end_ARG + divide start_ARG 1 end_ARG start_ARG 2 end_ARG caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG + over¯ start_ARG italic_u end_ARG over¯ start_ARG italic_p end_ARG . (47)

In this case the internal-energy flux is split by grou** ρ𝜌\rhoitalic_ρ and e𝑒eitalic_e, which allows one to write the total-energy convective and pressure flux as

ρE=γγ1p¯u¯+ρu2¯2.superscriptsubscript𝜌𝐸𝛾𝛾1¯𝑝¯𝑢subscript𝜌¯superscript𝑢22\mathcal{F}_{\rho E}^{*}=\frac{\gamma}{\gamma-1}\overline{p}\,\overline{u}\,+% \mathcal{F}_{\rho}\frac{\overline{u^{2}}\,}{2}.caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = divide start_ARG italic_γ end_ARG start_ARG italic_γ - 1 end_ARG over¯ start_ARG italic_p end_ARG over¯ start_ARG italic_u end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG over¯ start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG 2 end_ARG . (48)

In this instance, however, the fulfillment of the PEP property is evident by observing that Eq. (47) induces

ρe=p¯u¯+ρ(u2¯2uiui+12),𝒫ρe=Δ(p¯u¯)uδpδxformulae-sequencesubscript𝜌𝑒¯𝑝¯𝑢subscript𝜌¯superscript𝑢22subscript𝑢𝑖subscript𝑢𝑖12subscript𝒫𝜌𝑒Δ¯𝑝¯𝑢𝑢𝛿𝑝𝛿𝑥\mathcal{F}_{\rho e}=\overline{p}\,\overline{u}\,+\mathcal{F}_{\rho}\left(% \frac{\overline{u^{2}}\,}{2}-\frac{u_{i}u_{i+1}}{2}\right),\qquad\qquad% \mathcal{P}_{\rho e}=\Delta\left(\overline{p}\,\overline{u}\,\right)-u\frac{% \delta p}{\delta x}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_p end_ARG over¯ start_ARG italic_u end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT ( divide start_ARG over¯ start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG 2 end_ARG - divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG ) , caligraphic_P start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = roman_Δ ( over¯ start_ARG italic_p end_ARG over¯ start_ARG italic_u end_ARG ) - italic_u divide start_ARG italic_δ italic_p end_ARG start_ARG italic_δ italic_x end_ARG (49)

for which the conditions ^ρe=const.subscript^𝜌𝑒const.\hat{\mathcal{F}}_{\rho e}=\text{const.}over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = const. and 𝒫^ρe=0subscript^𝒫𝜌𝑒0\hat{\mathcal{P}}_{\rho e}=0over^ start_ARG caligraphic_P end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = 0 are easily verified.

The discussion and examples above lead to the following

Remark 3

(Discrete total-energy equation)
A locally-conservative discretization of the total-energy equation, that cannot be written as induced by an analogous formulation based on the internal-energy equation, is PEP provided that the kinetic-energy flux is constant for constant velocity and pressure distributions and Eq. (29) is satisfied. For formulations induced by a discretization of the internal-energy equation the same conclusions of Remark 2 apply.

5 Novel PEP schemes

The analysis exposed in the previous sections allows us to discuss the modifications needed to enforce the PEP property in existing schemes. The general strategy is to express the given scheme in terms of fluxes for mass, momentum, and internal energy and to enforce the condition in Eq. (29) by modifying the interpolation for density in the internal-energy flux. Here we consider two popular schemes that have been already analyzed in the previous sections, namely the KGP(ρe)𝜌𝑒(\rho e)( italic_ρ italic_e ) (or KEEP) scheme in Eq. (26) and (39) and the JP scheme in Eq. (41).

In the first case, inspection of Eq. (26) shows that the internal-energy flux is ρe=ρ¯u¯e¯subscript𝜌𝑒¯𝜌¯𝑢¯𝑒\mathcal{F}_{\rho e}=\overline{\rho}\,\overline{u}\,\overline{e}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG over¯ start_ARG italic_e end_ARG. For this scheme, one has e¯#=e¯superscript¯𝑒#¯𝑒\overline{e}^{\,\#}=\overline{e}\,over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT # end_POSTSUPERSCRIPT = over¯ start_ARG italic_e end_ARG and the modifications needed to render it PEP is the use of the dual of the arithmetic mean for density, which is the harmonic mean: ρ¯=ρ¯Hsuperscript¯𝜌superscript¯𝜌𝐻\overline{\rho}^{\,\star}=\overline{\rho}^{H}over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT ⋆ end_POSTSUPERSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT. In fact, the internal energy flux ρe=ρ¯Hu¯e¯subscript𝜌𝑒superscript¯𝜌𝐻¯𝑢¯𝑒\mathcal{F}_{\rho e}=\overline{\rho}^{H}\overline{u}\,\overline{e}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG over¯ start_ARG italic_e end_ARG reduces, for u𝑢uitalic_u and p𝑝pitalic_p constant to ρe^=ρ¯Hρ1¯PU/(γ1)^subscript𝜌𝑒superscript¯𝜌𝐻¯superscript𝜌1𝑃𝑈𝛾1\hat{\mathcal{F}_{\rho e}}=\overline{\rho}^{H}\overline{\rho^{-1}}\,PU/(\gamma% -1)over^ start_ARG caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT end_ARG = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG italic_P italic_U / ( italic_γ - 1 ), which is constant, since ρ¯Hρ1¯=1superscript¯𝜌𝐻¯superscript𝜌11\overline{\rho}^{H}\overline{\rho^{-1}}\,=1over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG = 1. The final expression for the modified KGP(ρe)𝜌𝑒(\rho e)( italic_ρ italic_e ) scheme is

ρ=ρ¯u¯,ρu=ρu¯,ρe=ρ¯Hu¯e¯.formulae-sequencesubscript𝜌¯𝜌¯𝑢formulae-sequencesubscript𝜌𝑢subscript𝜌¯𝑢subscript𝜌𝑒superscript¯𝜌𝐻¯𝑢¯𝑒\mathcal{F}_{\rho}=\overline{\rho}\,\,\overline{u}\,,\qquad\qquad\mathcal{F}_{% \rho u}=\mathcal{F}_{\rho}\,\overline{u}\,,\qquad\qquad\mathcal{F}_{\rho e}=% \overline{\rho}^{H}\overline{u}\,\overline{e}\,.caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG over¯ start_ARG italic_e end_ARG . (50)

The discrete formulation based on this set of fluxes has the KEP and PEP properties and, as it will be shown in the next Sec. 6, it basically retains the favourable properties on global entropy conservation of the original scheme. Note that the scheme in Eq. (50) does not have the property that the internal-energy flux is the product between the mass flux and the arithmetic average for e𝑒eitalic_e (as in the original version in Eq. (39)), which is considered as a desirable characteristic since it adds the structural property that the quantity ρe2/2𝜌superscript𝑒22\rho e^{2}/2italic_ρ italic_e start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT / 2 is preserved globally (and locally) by convection. To retain this property we propose to refine the formulation by adopting the harmonic mean also for the density in the mass flux, which leads to

ρ=ρ¯Hu¯,ρu=ρu¯,ρe=ρe¯.formulae-sequencesubscript𝜌superscript¯𝜌𝐻¯𝑢formulae-sequencesubscript𝜌𝑢subscript𝜌¯𝑢subscript𝜌𝑒subscript𝜌¯𝑒\mathcal{F}_{\rho}=\overline{\rho}^{H}\,\overline{u}\,,\qquad\qquad\mathcal{F}% _{\rho u}=\mathcal{F}_{\rho}\,\overline{u}\,,\qquad\qquad\mathcal{F}_{\rho e}=% \mathcal{F}_{\rho}\overline{e}\,.caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG . (51)

This last scheme is the most straightforward modification of the KGP(ρe)𝜌𝑒(\rho e)( italic_ρ italic_e ) or KEEP scheme which fulfills the PEP property, leaving as unmodified the general structure of the formulation. It will be referred to as the KGP(ρe)𝜌𝑒(\rho e)( italic_ρ italic_e )-H (or KEEP-H in its formulation based on the total-energy flux). It can be also considered as a ‘dual’ scheme with respect to the formulation defined in Eq. (35) and presented in De Michele and Coppola [22], since the means for density and internal energy in Eq. (35) (arithmetic and harmonic, respectively) are exchanged in the scheme in Eq. (51).

It is interesting to note that, as it has been done for the AEC schemes in De Michele and Coppola [22], the KGP(ρe)𝜌𝑒(\rho e)( italic_ρ italic_e )-H scheme in Eq. (51) can be made AEC through the use of truncated asymptotic expansions, still kee** the PEP property. In fact, the formulation given by

ρ=[ρ¯Hn=0Nρ2nn=0Nρ2n2n+1]u¯=ρ¯​AECHu¯,ρu=ρu¯,ρe=ρ[e¯n=0Ne2n2n+1n=0Ne2n]=ρe¯AECformulae-sequencesubscript𝜌delimited-[]superscript¯𝜌𝐻superscriptsubscript𝑛0𝑁superscriptdelimited-⟨⟩𝜌2𝑛superscriptsubscript𝑛0𝑁superscriptdelimited-⟨⟩𝜌2𝑛2𝑛1¯𝑢subscriptsuperscript¯𝜌𝐻​AEC¯𝑢formulae-sequencesubscript𝜌𝑢subscript𝜌¯𝑢subscript𝜌𝑒subscript𝜌delimited-[]¯𝑒superscriptsubscript𝑛0𝑁superscriptdelimited-⟨⟩𝑒2𝑛2𝑛1superscriptsubscript𝑛0𝑁superscriptdelimited-⟨⟩𝑒2𝑛subscript𝜌subscript¯𝑒AEC\mathcal{F}_{\rho}=\left[\overline{\rho}^{H}\dfrac{\sum_{n=0}^{N}\langle{\rho}% \rangle^{2n}}{\sum_{n=0}^{N}\frac{\langle{\rho}\rangle^{2n}}{2n+1}}\right]% \overline{u}\,=\overline{\rho}^{H}_{\text{\!{AEC}}\,}\overline{u}\,,\qquad% \quad\mathcal{F}_{\rho u}=\mathcal{F}_{\rho}\,\overline{u}\,,\qquad\quad% \mathcal{F}_{\rho e}=\mathcal{F}_{\rho}\left[\overline{e}\,\dfrac{\sum_{n=0}^{% N}\frac{\langle{e}\rangle^{2n}}{2n+1}}{\sum_{n=0}^{N}\langle{e}\rangle^{2n}}% \right]=\mathcal{F}_{\rho}\,\overline{e}\,_{\!\!\text{{AEC}}}caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = [ over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT divide start_ARG ∑ start_POSTSUBSCRIPT italic_n = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT ⟨ italic_ρ ⟩ start_POSTSUPERSCRIPT 2 italic_n end_POSTSUPERSCRIPT end_ARG start_ARG ∑ start_POSTSUBSCRIPT italic_n = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT divide start_ARG ⟨ italic_ρ ⟩ start_POSTSUPERSCRIPT 2 italic_n end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_n + 1 end_ARG end_ARG ] over¯ start_ARG italic_u end_ARG = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT start_POSTSUBSCRIPT ​AEC end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_u end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG , caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT [ over¯ start_ARG italic_e end_ARG divide start_ARG ∑ start_POSTSUBSCRIPT italic_n = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT divide start_ARG ⟨ italic_e ⟩ start_POSTSUPERSCRIPT 2 italic_n end_POSTSUPERSCRIPT end_ARG start_ARG 2 italic_n + 1 end_ARG end_ARG start_ARG ∑ start_POSTSUBSCRIPT italic_n = 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_N end_POSTSUPERSCRIPT ⟨ italic_e ⟩ start_POSTSUPERSCRIPT 2 italic_n end_POSTSUPERSCRIPT end_ARG ] = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG start_POSTSUBSCRIPT AEC end_POSTSUBSCRIPT (52)

is easily shown to be Asymptotically Entropy Conservative, since the mass and internal-energy fluxes converge to the fluxes of Ranocha in Eq. (32) as N𝑁N\rightarrow\inftyitalic_N → ∞. The form of the truncated expansions in the mass and internal-energy fluxes is also such that the PEP property is retained at each order N𝑁Nitalic_N. We will refer to this class of schemes as KGP(ρe)𝜌𝑒(\rho e)( italic_ρ italic_e )-H(N) or KEEP-H(N).

A similar modification can be used to convert the JP scheme into a PEP scheme without altering the general structure of the fluxes. Once again, the failure to fulfill the PEP property in the JP scheme can be traced back to the term ρ¯ρ1¯¯𝜌¯superscript𝜌1\overline{\rho}\,\overline{\rho^{-1}}\,over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG in the fluxes in Eqs. (45) and (46). The modification of the mass flux from ρ¯u¯¯𝜌¯𝑢\overline{\rho}\,\,\overline{u}\,over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG to ρ¯Hu¯superscript¯𝜌𝐻¯𝑢\overline{\rho}^{H}\,\overline{u}\,over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG converts the product ρ¯ρ1¯¯𝜌¯superscript𝜌1\overline{\rho}\,\overline{\rho^{-1}}\,over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG in Eqs. (45) and (46) into the (constant) product ρ¯Hρ1¯superscript¯𝜌𝐻¯superscript𝜌1\overline{\rho}^{H}\overline{\rho^{-1}}\,over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_ρ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT end_ARG, which assures that the scheme is PEP. Following these considerations, the proposed PEP modification of the JP scheme is defined by the fluxes

ρ=ρ¯Hu¯ρ=ρu¯+p¯ρE=ρH¯formulae-sequencesubscript𝜌superscript¯𝜌𝐻¯𝑢formulae-sequencesuperscriptsubscript𝜌subscript𝜌¯𝑢¯𝑝superscriptsubscript𝜌𝐸subscript𝜌¯𝐻\mathcal{F}_{\rho}=\overline{\rho}^{H}\overline{u}\,\qquad\qquad\mathcal{F}_{% \rho}^{*}=\mathcal{F}_{\rho}\overline{u}\,+\overline{p}\,\qquad\qquad\mathcal{% F}_{\rho E}^{*}=\mathcal{F}_{\rho}\overline{H}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG + over¯ start_ARG italic_p end_ARG caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_H end_ARG (53)

We will refer to the formulation based on these fluxes as the JP-H scheme.

6 Numerical results

In this section, two numerical tests are performed to assess the theoretical predictions and to test that the main properties of the original schemes are retained by the modified versions, which have the additional structural benefit of satisfying the PEP property. In Tab. 1 a list of the schemes used for the tests is reported, together with their conservation properties. Independently of the energy variable they are based on, all schemes have been implemented through a discretization of total energy, so the total-energy flux is reported in Tab. 1. The high-order flux is obtained from the second-order, two-point one as explained in the appendix of [22].

Ref. ρsubscript𝜌\mathcal{F}_{\rho}caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT ρEsuperscriptsubscript𝜌𝐸\mathcal{F}_{\rho E}^{*}caligraphic_F start_POSTSUBSCRIPT italic_ρ italic_E end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT KEP PEP AEC
KEEP [23] ρ¯u¯¯𝜌¯𝑢\overline{\rho}\,\overline{u}\,over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG ρe¯+ρuiui+12+pu¯¯subscript𝜌¯𝑒subscript𝜌subscript𝑢𝑖subscript𝑢𝑖12¯¯𝑝𝑢\mathcal{F}_{\rho}\,\overline{e}\,+\mathcal{F}_{\rho}\,\frac{u_{i}u_{i+1}}{2}+% \overline{\overline{pu}}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG + over¯ start_ARG over¯ start_ARG italic_p italic_u end_ARG end_ARG \checkmark ×\times× ×\times×
KEEP-H new ρ¯Hu¯superscript¯𝜌𝐻¯𝑢\overline{\rho}^{H}\overline{u}\,over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG ρe¯+ρuiui+12+pu¯¯subscript𝜌¯𝑒subscript𝜌subscript𝑢𝑖subscript𝑢𝑖12¯¯𝑝𝑢\mathcal{F}_{\rho}\,\overline{e}\,+\mathcal{F}_{\rho}\,\frac{u_{i}u_{i+1}}{2}+% \overline{\overline{pu}}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG + over¯ start_ARG over¯ start_ARG italic_p italic_u end_ARG end_ARG \checkmark \checkmark ×\times×
KEEP-H(N) new ρ¯​AECHu¯subscriptsuperscript¯𝜌𝐻​AEC¯𝑢\overline{\rho}^{H}_{\text{\!{AEC}}\,}\overline{u}\,over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT start_POSTSUBSCRIPT ​AEC end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG ρe¯AEC+ρuiui+12+pu¯¯subscript𝜌subscript¯𝑒AECsubscript𝜌subscript𝑢𝑖subscript𝑢𝑖12¯¯𝑝𝑢\mathcal{F}_{\rho}\,\overline{e}\,_{\!\!\text{{AEC}}}+\mathcal{F}_{\rho}\,% \frac{u_{i}u_{i+1}}{2}+\overline{\overline{pu}}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG start_POSTSUBSCRIPT AEC end_POSTSUBSCRIPT + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG + over¯ start_ARG over¯ start_ARG italic_p italic_u end_ARG end_ARG \checkmark \checkmark \checkmark
JP [34],[5] ρ¯u¯¯𝜌¯𝑢\overline{\rho}\,\overline{u}\,over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG ρe¯+ρu2¯2+ρ(pρ)¯subscript𝜌¯𝑒subscript𝜌¯superscript𝑢22subscript𝜌¯𝑝𝜌\mathcal{F}_{\rho}\,\overline{e}\,+\mathcal{F}_{\rho}\,\frac{\overline{u^{2}}% \,}{2}+\mathcal{F}_{\rho}\overline{\left(\frac{p}{\rho}\right)}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG over¯ start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG 2 end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG ( divide start_ARG italic_p end_ARG start_ARG italic_ρ end_ARG ) end_ARG \checkmark ×\times× ×\times×
JP-H new ρ¯Hu¯superscript¯𝜌𝐻¯𝑢\overline{\rho}^{H}\overline{u}\,over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT over¯ start_ARG italic_u end_ARG ρe¯+ρu2¯2+ρ(pρ)¯subscript𝜌¯𝑒subscript𝜌¯superscript𝑢22subscript𝜌¯𝑝𝜌\mathcal{F}_{\rho}\,\overline{e}\,+\mathcal{F}_{\rho}\,\frac{\overline{u^{2}}% \,}{2}+\mathcal{F}_{\rho}\overline{\left(\frac{p}{\rho}\right)}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG over¯ start_ARG italic_u start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG end_ARG start_ARG 2 end_ARG + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG ( divide start_ARG italic_p end_ARG start_ARG italic_ρ end_ARG ) end_ARG \checkmark \checkmark ×\times×
Aρ𝐴𝜌A\rhoitalic_A italic_ρ-He𝐻𝑒Heitalic_H italic_e [22] ρ¯u¯¯𝜌¯𝑢\overline{\rho}\,\overline{u}\,over¯ start_ARG italic_ρ end_ARG over¯ start_ARG italic_u end_ARG ρe¯H+ρuiui+12+pu¯¯subscript𝜌superscript¯𝑒𝐻subscript𝜌subscript𝑢𝑖subscript𝑢𝑖12¯¯𝑝𝑢\mathcal{F}_{\rho}\,\overline{e}^{H}+\mathcal{F}_{\rho}\,\frac{u_{i}u_{i+1}}{2% }+\overline{\overline{pu}}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG + over¯ start_ARG over¯ start_ARG italic_p italic_u end_ARG end_ARG \checkmark \checkmark ×\times×
AEC(N) [22] ρ¯​​AEC u¯subscript¯𝜌​​AEC ¯𝑢\overline{\rho}\,_{\text{\!\!{AEC}\,}}\overline{u}\,over¯ start_ARG italic_ρ end_ARG start_POSTSUBSCRIPT ​​AEC end_POSTSUBSCRIPT over¯ start_ARG italic_u end_ARG ρe¯​AECH+ρuiui+12+pu¯¯subscript𝜌subscriptsuperscript¯𝑒𝐻​AECsubscript𝜌subscript𝑢𝑖subscript𝑢𝑖12¯¯𝑝𝑢\mathcal{F}_{\rho}\,\overline{e}^{H}_{\text{\!{AEC}}}+\mathcal{F}_{\rho}\,% \frac{u_{i}u_{i+1}}{2}+\overline{\overline{pu}}\,caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT start_POSTSUBSCRIPT ​AEC end_POSTSUBSCRIPT + caligraphic_F start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT divide start_ARG italic_u start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_u start_POSTSUBSCRIPT italic_i + 1 end_POSTSUBSCRIPT end_ARG start_ARG 2 end_ARG + over¯ start_ARG over¯ start_ARG italic_p italic_u end_ARG end_ARG \checkmark \checkmark \checkmark
Table 1: Fluxes and conservation properties of the various formulations considered. The definition of the means ρ¯​AECHsubscriptsuperscript¯𝜌𝐻​AEC\overline{\rho}^{H}_{\text{\!{AEC}}\,}over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT start_POSTSUBSCRIPT ​AEC end_POSTSUBSCRIPT and e¯AECsubscript¯𝑒AEC\overline{e}\,_{\!\!\text{{AEC}}}over¯ start_ARG italic_e end_ARG start_POSTSUBSCRIPT AEC end_POSTSUBSCRIPT can be obtained from Eq. (52); the meaning of ρ¯​​AEC subscript¯𝜌​​AEC \overline{\rho}\,_{\text{\!\!{AEC}\,}}over¯ start_ARG italic_ρ end_ARG start_POSTSUBSCRIPT ​​AEC end_POSTSUBSCRIPT, e¯​AECHsubscriptsuperscript¯𝑒𝐻​AEC\overline{e}^{H}_{\text{\!{AEC}}}over¯ start_ARG italic_e end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT start_POSTSUBSCRIPT ​AEC end_POSTSUBSCRIPT can be deduced from Eq. (36). \checkmark: variable preserved locally and globally, ×\times×: variable not preserved.

The first test is a simple two-dimensional density-wave problem, in which an initially constant (two–dimensional) distribution of pressure and velocity is assumed with a space-variable density field. The analytical solution evolves as a convection of the density wave, meanwhile both pressure and velocity are supposed to remain constant in time. The initial conditions for the density wave test are

ρ0=1+exp(sin(2π(x+y))),u0=1,v0=2,p0=1,(x,y)[1,1]2.formulae-sequencesubscript𝜌012𝜋𝑥𝑦formulae-sequencesubscript𝑢01formulae-sequencesubscript𝑣02formulae-sequencesubscript𝑝01𝑥𝑦superscript112\rho_{0}=1+\exp\left(\sin\left(2\pi(x+y)\right)\right),\qquad u_{0}=1,\qquad v% _{0}=2,\qquad p_{0}=1,\qquad(x,y)\in[-1,1]^{2}.italic_ρ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 + roman_exp ( roman_sin ( 2 italic_π ( italic_x + italic_y ) ) ) , italic_u start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 , italic_v start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 2 , italic_p start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 , ( italic_x , italic_y ) ∈ [ - 1 , 1 ] start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT .

The fluxes employed are fourth-order accurate while the classical fourth-order Runge-Kutta scheme (RK4) is used for time integration. The domain is discretized using 30303030 nodes in each spatial direction; the time step is chosen so that CFL=0.01CFL0.01\text{CFL}=0.01CFL = 0.01 and the error due to the temporal integration can be considered negligible.

As expected from the theoretical analysis and from the results of previous studies [21, 22], the two schemes lacking the PEP property, the KEEP and the JP schemes, induced spurious pressure oscillations, whose amplification lead to the blow-up of the simulations at times 2.52.52.52.5 and 2.32.32.32.3, respectively. The error on pressure is showcased in Fig. 1(a): at a time t=1.5𝑡1.5t=1.5italic_t = 1.5, before the blow-up of any of the simulations, the PEP schemes have a pressure value that is within 2×10132superscript10132\times 10^{-13}2 × 10 start_POSTSUPERSCRIPT - 13 end_POSTSUPERSCRIPT of the initial value, while the JP and KEEP schemes present nonphysical oscillations. The error on entropy conservation is also investigated, to ensure that the modification that has been used to make the JP and KEEP schemes PEP did not drastically worsen their performance. Fig. 1(b) shows the time evolution of the entropy integral ρsdelimited-⟨⟩𝜌𝑠\langle\rho s\rangle⟨ italic_ρ italic_s ⟩ nondimensionalized as ϕ=(Ωϕ𝑑ΩΩϕ0𝑑Ω)/(|Ωϕ0𝑑Ω|)delimited-⟨⟩italic-ϕ/subscriptΩitalic-ϕdifferential-dΩsubscriptΩsubscriptitalic-ϕ0differential-dΩsubscriptΩsubscriptitalic-ϕ0differential-dΩ\langle\phi\rangle=\left.\left(\int_{\Omega}\phi d\Omega-\int_{\Omega}\phi_{0}% d\Omega\right)\right/\left(\left\lvert\int_{\Omega}\phi_{0}d\Omega\right\rvert\right)⟨ italic_ϕ ⟩ = ( ∫ start_POSTSUBSCRIPT roman_Ω end_POSTSUBSCRIPT italic_ϕ italic_d roman_Ω - ∫ start_POSTSUBSCRIPT roman_Ω end_POSTSUBSCRIPT italic_ϕ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT italic_d roman_Ω ) / ( | ∫ start_POSTSUBSCRIPT roman_Ω end_POSTSUBSCRIPT italic_ϕ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT italic_d roman_Ω | ). In this test, the new schemes JP-H and KEEP-H have identical entropy production; this can be explained since, for constant u𝑢uitalic_u and p𝑝pitalic_p, they both reduce to the scheme with density and internal energy fluxes as

^ρ=ρ¯HU,^ρe=PUγ1.formulae-sequencesubscript^𝜌superscript¯𝜌𝐻𝑈subscript^𝜌𝑒𝑃𝑈𝛾1\hat{\mathcal{F}}_{\rho}=\overline{\rho}^{H}U,\qquad\hat{\mathcal{F}}_{\rho e}% =\frac{PU}{\gamma-1}.over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ end_POSTSUBSCRIPT = over¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT italic_U , over^ start_ARG caligraphic_F end_ARG start_POSTSUBSCRIPT italic_ρ italic_e end_POSTSUBSCRIPT = divide start_ARG italic_P italic_U end_ARG start_ARG italic_γ - 1 end_ARG .

The comparison with the original JP and KEEP schemes is hard to draw, since they both quickly diverge, but they also seem to have a similar behavior, at least at the beginning. The entropy error of the simulation using the scheme Aρ𝜌\rhoitalic_ρ-He𝑒eitalic_e has the same order of magnitude, since it also has an identical internal energy flux to that of JP-H and KEEP-H for constant u𝑢uitalic_u and p𝑝pitalic_p, and differs only in the specification of the mass flux (ρ¯U¯𝜌𝑈\overline{\rho}\,Uover¯ start_ARG italic_ρ end_ARG italic_U versus ρ¯HUsuperscript¯𝜌𝐻𝑈\overline{\rho}^{H}Uover¯ start_ARG italic_ρ end_ARG start_POSTSUPERSCRIPT italic_H end_POSTSUPERSCRIPT italic_U). Larger differences can be observed by comparing the family of asymptotically entropy conserving KEEP-H(N) and AEC(N): by increasing the number of additional terms N𝑁Nitalic_N, the AEC(N) family seems to be converging faster to an exactly entropy conserving flux, with ρs1×104delimited-⟨⟩𝜌𝑠1superscript104\langle\rho s\rangle\approx 1\times 10^{-4}⟨ italic_ρ italic_s ⟩ ≈ 1 × 10 start_POSTSUPERSCRIPT - 4 end_POSTSUPERSCRIPT for AEC(2) at t=5𝑡5t=5italic_t = 5. This is in accordance with the theory presented in [22], by which the arithmetic mean on density and the harmonic mean on internal energy are usually closer to the means used by the entropy conserving scheme by Ranocha [29].

Refer to caption
(a) Pressure oscillation
Refer to caption
(b) Entropy production
Figure 1: Density wave simulation using different numerical fluxes. On the left, comparison of the pressure solution at x=0𝑥0x=0italic_x = 0 and at time t=1.5𝑡1.5t=1.5italic_t = 1.5; on the right, time evolution of entropy integral. Black continuous lines with circles represent the Aρ𝐴𝜌A\rhoitalic_A italic_ρ-He𝐻𝑒Heitalic_H italic_e scheme, while dashed and dash-dotted lines are used for AEC(1) and AEC(2); red continuous lines with triangles represent the KEEP scheme; solid green with squares identifies the JP scheme and dashed is for JP-H; solid blue with cross signs is used for the KEEP-H flux, while dashed and dash-dotted lines are used for KEEP-H(1) and KEEP-H(2). The mesh is discretized in 30×30303030\times 3030 × 30 nodes and CFL=0.01CFL0.01\textrm{CFL}=0.01CFL = 0.01.

For the second test, all the schemes here considered have been implemented in the open-source code STREAmS-2 [39], which is a parallel, high-order compressible flow solver with GPU support. The solver has been used to simulate the three-dimensional case of the Taylor-Green vortex, with initial conditions

ρ(x,y,z)𝜌𝑥𝑦𝑧\displaystyle\rho(x,y,z)italic_ρ ( italic_x , italic_y , italic_z ) =ρ0absentsubscript𝜌0\displaystyle=\rho_{0}= italic_ρ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT
u(x,y,z)𝑢𝑥𝑦𝑧\displaystyle u(x,y,z)italic_u ( italic_x , italic_y , italic_z ) =u0sin(x)cos(y)cos(z)absentsubscript𝑢0𝑥𝑦𝑧\displaystyle=u_{0}\sin(x)\cos(y)\cos(z)= italic_u start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT roman_sin ( italic_x ) roman_cos ( italic_y ) roman_cos ( italic_z )
v(x,y,z)𝑣𝑥𝑦𝑧\displaystyle v(x,y,z)italic_v ( italic_x , italic_y , italic_z ) =u0cos(x)sin(y)cos(z)absentsubscript𝑢0𝑥𝑦𝑧\displaystyle=-u_{0}\cos(x)\sin(y)\cos(z)= - italic_u start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT roman_cos ( italic_x ) roman_sin ( italic_y ) roman_cos ( italic_z )
w(x,y,z)𝑤𝑥𝑦𝑧\displaystyle w(x,y,z)italic_w ( italic_x , italic_y , italic_z ) =0absent0\displaystyle=0= 0
p(x,y,z)𝑝𝑥𝑦𝑧\displaystyle p(x,y,z)italic_p ( italic_x , italic_y , italic_z ) =p0+u02(cos(2x)+cos(2y))(2+cos(2z))16absentsubscript𝑝0superscriptsubscript𝑢022𝑥2𝑦22𝑧16\displaystyle=p_{0}+u_{0}^{2}\frac{(\cos(2x)+\cos(2y))(2+\cos(2z))}{16}= italic_p start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT + italic_u start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT divide start_ARG ( roman_cos ( 2 italic_x ) + roman_cos ( 2 italic_y ) ) ( 2 + roman_cos ( 2 italic_z ) ) end_ARG start_ARG 16 end_ARG

in which ρ0=1subscript𝜌01\rho_{0}=1italic_ρ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1, p0=100subscript𝑝0100p_{0}=100italic_p start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 100, u0=Mγp0/ρ0subscript𝑢0𝑀𝛾subscript𝑝0subscript𝜌0u_{0}=M\sqrt{\gamma p_{0}/\rho_{0}}italic_u start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = italic_M square-root start_ARG italic_γ italic_p start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT / italic_ρ start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_ARG, with the Mach number M=0.2𝑀0.2M=0.2italic_M = 0.2. The triperiodic domain has side length 2π2𝜋2\pi2 italic_π in all directions and is discretized using 32×32×3232323232\times 32\times 3232 × 32 × 32 nodes. For the spatial discretization, the 6th-order version of the fluxes is used, whereas for time integration a standard RK4 procedure has been implemented and used at CFL = 0.1, which is sufficiently small that linear invariants are exactly conserved to machine precision for all schemes.

Refer to caption
(a) Entropy production
Refer to caption
(b) Temperature fluctuations
Figure 2: Taylor-Green vortex simulation at M=0.2𝑀0.2M=0.2italic_M = 0.2 using different numerical fluxes. On the left, time evolution of entropy integral: black continuous lines with circles represent the Aρ𝐴𝜌A\rhoitalic_A italic_ρ-He𝐻𝑒Heitalic_H italic_e scheme, while dashed lines are used for AEC(1); red continuous lines with triangles represent the KEEP scheme; solid green with squares identifies the JP scheme and dashed is for JP-H; solid blue with cross signs is used for the KEEP-H flux, while dashed lines are used for KEEP-H(1). On the right, the evolution of the temperature fluctuations. The mesh is discretized in 32×32×3232323232\times 32\times 3232 × 32 × 32 nodes and CFL=0.1CFL0.1\textrm{CFL}=0.1CFL = 0.1.

In this case, the problem of pressure oscillations does not have equally serious consequences, and as such all schemes were able to carry out the calculations up to the desired end time. Analysing Fig. 2(a), it is confirmed the result that the schemes based on the internal energy equation are able to reduce the spurious entropy production (see [6, 30]); comparing the original JP scheme to the modified JP-H, it appears that also the addition of the PEP property may provide a benefit, even though to a lesser extent. Comparing the results of Aρ𝜌\rhoitalic_ρ-He𝑒eitalic_e, KEEP and KEEP-H, they all are of the same order of magnitude, with only minor deterioration in entropy conservation for the KEEP-H scheme, in line with the theory reported in [22], being mathematically less close to an exact EC scheme. Adding an additional term in the series expansions leads to a machine zero error in entropy conservation for both AEC(1) and KEEP-H(1).

An additional insight into the reliability of the schemes can be obtained through the study of the time evolution of thermodynamic fluctuations which are expected to stabilize around a constant value after an initial transient, as in the case of inviscid isotropic homogeneous turbulence [14, 5, 6]. The evolution of temperature fluctuations Tdelimited-⟨⟩superscript𝑇\langle T^{\prime}\rangle⟨ italic_T start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ⟩ is displayed in Fig. 2(b). The schemes based on the internal energy equation are able to keep the value of the fluctuations constant; the JP-H schemes seems to produce an improvement in the behavior of the JP method, but the fluctuations still present an increase with time. Similar behavior could also be seen through the analysis of density fluctuations ρdelimited-⟨⟩superscript𝜌\langle\rho^{\prime}\rangle⟨ italic_ρ start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ⟩ (not shown).

7 Conclusions

In this study, we have discussed the characteristics of a spatial discretization of the compressible Euler equations that are necessary for it to possess the PEP property. General conditions have been given for the discretization of the momentum equation and of the energy equation, be it pressure, internal or total energy; considering these requirements, schemes from the literature have been analyzed. The classical JP scheme [5] and the KEEP scheme [23] have been modified to obtain the PEP property by using the harmonic mean for the interpolation of density in the numerical fluxes, which was found to be the correct counterpart to the use of the arithmetic mean on internal energy.

The numerical test of a two-dimensional density wave has confirmed the capability of the newly introduced schemes to maintain unchanged the initially constant fields of pressure and velocity, as desired. Moreover, the numerical error on entropy conservation has also been analyzed, including the test of the three-dimensional Taylor-Green vortex, to make sure that the modifications did not corrupt the effectiveness of the original schemes. The KEEP-H scheme showed an error of the same order of magnitude as the one of the original KEEP. On the other hand, the JP-H scheme showed an improvement when compared to the JP scheme on which it was based. Another positive change for this scheme was observed by considering thermodynamic fluctuations. However, the introduction of the PEP property was not enough to make them stabilize around a constant value.

These findings serve as a demonstration of the techniques that can be employed to instill the PEP property in numerical schemes that may not already exhibit it, showcasing the feasibility of making such modifications with minimal changes in current compressible flow solvers.

Acknowledgments

We acknowledge the CINECA award under the ISCRA initiative, for the availability of high-performance computing resources and support.

References

  • Feiereisen et al. [1981] W. J. Feiereisen, W. C. Reynolds, J. H. Ferziger, Numerical Simulation of Compressible, Homogeneous Turbulent Shear Flow, Technical Report TF-13, Stanford University, 1981.
  • Jameson [2008] A. Jameson, The construction of discretely conservative finite volume schemes that also globally conserve energy or entropy, J. Sci. Comput. 34 (2008) 152–187.
  • Subbareddy and Candler [2009] P. K. Subbareddy, G. V. Candler, A fully discrete, kinetic energy consistent finite-volume scheme for compressible flows, J. Comput. Phys. 228 (2009) 1347–1364.
  • Kennedy and Gruber [2008] C. A. Kennedy, A. Gruber, Reduced aliasing formulations of the convective terms within the Navier-Stokes equations for a compressible fluid, J. Comput. Phys. 227 (2008) 1676–1700.
  • Pirozzoli [2010] S. Pirozzoli, Generalized conservative approximations of split convective derivative operators, J. Comput. Phys. 229 (2010) 7180–7190.
  • Coppola et al. [2019] G. Coppola, F. Capuano, S. Pirozzoli, L. de Luca, Numerically stable formulations of convective terms for turbulent compressible flows, J. Comput. Phys. 382 (2019) 86–104.
  • Coppola and Veldman [2023] G. Coppola, A. E. P. Veldman, Global and local conservation of mass, momentum and kinetic energy in the simulation of compressible flow, J. Comput. Phys. 475 (2023) 111879.
  • Coppola and Veldman [2022] G. Coppola, A. E. P. Veldman, Linear and quadratic invariants preserving discretization of Euler equations, in: The 8th European Congress on Computational Methods in Applied Sciences and Engineering. ECCOMAS Congress, 5-9 June 2022, Oslo, Norway, 2022.
  • Edoh [2022] A. K. Edoh, A new kinetic-energy-preserving method based on the convective rotational form, J. Comput. Phys. 454 (2022) 110971.
  • Morinishi [2010] Y. Morinishi, Skew-symmetric form of convective terms and fully conservative finite difference schemes for variable density low-Mach number flows, J. Comput. Phys 229 (2010) 276–300.
  • Rozema et al. [2014] W. Rozema, J. C. Kok, R. W. C. P. Verstappen, A. E. P. Veldman, A symmetry-preserving discretisation and regularisation model for compressible flow with application to turbulent channel flow, J. Turbul. 34 (2014) 386 – 410.
  • Nordström [2022] J. Nordström, A skew-symmetric energy and entropy stable formulation of the compressible Euler equations, J. Comput. Phys. 470 (2022) 111573.
  • De Michele and Coppola [2023] C. De Michele, G. Coppola, On a class of structure-preserving discretizations in compressible flows, in: AIAA AVIATION 2023 Forum, American Institute of Aeronautics and Astronautics, 2023. doi:doi:10.2514/6.2023-4420.
  • Honein and Moin [2004] A. E. Honein, P. Moin, Higher entropy conservation and numerical stability of compressible turbulence simulations, J. Comput. Phys. 201 (2004) 531 – 545.
  • Tadmor [1987] E. Tadmor, The numerical viscosity of entropy stable schemes for systems of conservation laws. I, Math. Comput. 179 (1987) 91–103.
  • Tadmor [2003] E. Tadmor, Entropy stability theory for difference approximations of nonlinear conservation laws and related time-dependent problems, Acta Numerica 12 (2003) 451–512.
  • Ismail and Roe [2009] F. Ismail, P. L. Roe, Affordable, entropy-consistent Euler flux functions II: Entropy production at shocks, J. Comput. Phys. 228 (2009) 5410–5436.
  • Chandrashekar [2013] P. Chandrashekar, Kinetic energy preserving and entropy stable finite volume schemes for compressible Euler and Navier-Stokes equations, Commun. Comput. Phys. 14 (2013) 1252–1286.
  • Ranocha [2020] H. Ranocha, Entropy conserving and kinetic energy preserving numerical methods for the Euler equations using summation-by-parts operators, in: S. Sherwin, D. Moxey, V. Peiró, J., P.E., C. Schwab (Eds.), Spectral and High Order Methods for Partial Differential Equations ICOSAHOM 2018. Lecture Notes in Computational Science and Engineering, volume 134, Springer, Cham, 2020.
  • Ranocha and Gassner [2022] H. Ranocha, G. Gassner, Preventing pressure oscillations does not fix local linear stability issues of entropy-based split-form high-order schemes, Commun. Appl. Math. Comput. 4 (2022) 880–903.
  • Shima et al. [2021] N. Shima, Y. Kuya, Y. Tamaki, S. Kawai, Preventing spurious pressure oscillations in split convective form discretization for compressible flows, J. Comput. Phys. 427 (2021) 110060.
  • De Michele and Coppola [2023] C. De Michele, G. Coppola, Asymptotically entropy-conservative and kinetic-energy preserving numerical fluxes for compressible Euler equations, J. Comput. Phys. 492 (2023) 112439.
  • Kuya et al. [2018] Y. Kuya, K. Totani, S. Kawai, Kinetic energy and entropy preserving schemes for compressible flows by split convective forms, J. Comput. Phys. 375 (2018) 823–853.
  • Tamaki et al. [2022] Y. Tamaki, Y. Kuya, S. Kawai, Comprehensive analysis of entropy conservation property of non-dissipative schemes for compressible flows: KEEP scheme redefined, J. Comput. Phys. 468 (2022) 111494.
  • Abgrall and Karni [2001] R. Abgrall, S. Karni, Computations of compressible multifluids, J. Comput. Phys. 169 (2001) 594–623.
  • Bernades et al. [2023] M. Bernades, L. Jofre, F. Capuano, Kinetic-energy- and pressure-equilibrium-preserving schemes for real-gas turbulence in the transcritical regime, J. Comput. Phys. 493 (2023) 112477.
  • Jain and Moin [2022] S. S. Jain, P. Moin, A kinetic energy–and entropy-preserving scheme for compressible two-phase flows, J. Comput. Phys. 464 (2022) 111307.
  • Fujiwara et al. [2023] Y. Fujiwara, Y. Tamaki, S. Kawai, Fully conservative and pressure-equilibrium preserving scheme for compressible multi-component flows, J. Comput. Phys. 478 (2023) 111973.
  • Ranocha [2018] H. Ranocha, Comparison of some entropy conservative numerical fluxes for the Euler equations, J. Sci. Comput. 76 (2018) 216–242.
  • De Michele and Coppola [2023] C. De Michele, G. Coppola, Numerical treatment of the energy equation in compressible flows simulations, Comput. Fluids 250 (2023) 105709.
  • De Michele and Coppola [2022] C. De Michele, G. Coppola, An assessment of various discretizations of the energy equation in compressible flows, in: The 8th European Congress on Computational Methods in Applied Sciences and Engineering. ECCOMAS Congress, 5-9 June 2022, Oslo, Norway, 2022.
  • Coppola et al. [2017] G. Coppola, F. Capuano, L. de Luca, Energy-preserving discretizations of the Navier-Stokes equations. classical and modern approaches, in: L. Ascione, V. Berardi, L. Feo, F. Fraternali, A. M. Tralli (Eds.), AIMETA 2017 - Proceedings of the 23rd Conference of the Italian Association of Theoretical and Applied Mechanics, volume 3, 2017, pp. 2284–2310.
  • Coppola et al. [2019] G. Coppola, F. Capuano, L. de Luca, Discrete energy-conservation properties in the numerical solution of the Navier–Stokes equations, Appl. Mech. Rev. 71 (2019) 010803–1 – 010803–19.
  • Jameson [2008] A. Jameson, Formulation of kinetic energy preserving conservative schemes for gas dynamics and direct numerical simulation of one-dimensional viscous compressible flow in a shock tube using entropy and kinetic energy preserving schemes, J. Sci. Comput. 34 (2008) 188–208.
  • Veldman [2019] A. E. P. Veldman, A general condition for kinetic-energy preserving discretization of flow transport equations, J. Comput. Phys. 398 (2019) 108894.
  • Blaisdell et al. [1996] G. A. Blaisdell, E. T. Spyropoulos, J. H. Qin, The effect of the formulation of nonlinear terms on aliasing errors in spectral methods, Appl. Numer. Math. 21 (1996) 207–219.
  • Winters et al. [2020] A. R. Winters, C. Czernik, M. B. Schily, G. J. Gassner, Entropy stable numerical approximations for the isothermal and polytropic Euler equations, BIT Numerical Mathematics 60 (2020) 791 – 824.
  • Singh and Chandrashekar [2021] V. Singh, P. Chandrashekar, On a linear stability issue of split form schemes for compressible flows, arxiv:2104.14941 [math.NA] (2021).
  • Bernardini et al. [2023] M. Bernardini, D. Modesti, F. Salvadore, S. Sathyanarayana, G. Della Posta, S. Pirozzoli, STREAmS-2.0: Supersonic turbulent accelerated Navier-Stokes solver version 2.0, Comput. Phys. Commun. 285 (2023) 108644.