Introduction
Entropy-Stable (ES) schemes have been gaining interest over the past decade, especially in the context of under-resolved simulations of compressible turbulent flows using high-order methods [55 , 48 , 53 , 54 ] . ES schemes are attractive because they can provide stability in both an integral and a nonlinear sense. These schemes are based on the mathematical structure that some systems of Partial Differential Equations (PDEs), such as the compressible Euler equations, possess. These systems, which we write:
∂ u ∂ t + ∑ j = 1 d ∂ f j ∂ x j = 0 , (1) \frac{\partial\mathbf{u}}{\partial t} + \sum_{j=1}^{d} \frac{\partial\mathbf{f}_j}{\partial x_j} = 0, \tag*{(1)} ∂ t ∂ u + j = 1 ∑ d ∂ x j ∂ f j = 0 , (1)
where u \mathbf{u} u and ( f j ) 1 ≤ d ≤ 3 (\mathbf{f}_j)_{1\le d\le3} ( f j ) 1 ≤ d ≤ 3 are the state and flux vectors, respectively, and d d d denotes the number of spatial dimensions, are known to admit a convex extension [31 , 33 ] in the sense that they imply an additional conservation equation for a convex scalar function U U U (commonly referred to as a mathematical entropy ):
∂ U ∂ t + ∑ j = 1 d ∂ F j ∂ x j = 0. (2) \frac{\partial U}{\partial t}+\sum_{j=1}^{d}\frac{\partial F_j}{\partial x_j}=0. \tag*{(2)} ∂ t ∂ U + j = 1 ∑ d ∂ x j ∂ F j = 0. (2)
The pair ( U , F j ) = ( U ( u ) , F j ( u ) ) ∈ R × R d (U, F_j)=(U(\mathbf{u}), F_j(\mathbf{u}))\in\mathbb{R}\times\mathbb{R}^d ( U , F j ) = ( U ( u ) , F j ( u )) ∈ R × R d must satisfy compatibility relations for the baseline system (1) to imply equation (2). Mathematical entropies have proven to be a key tool in the analysis and discretization of systems of conservation laws [38 ] . The existence of a mathematical entropy implies that the PDE system can be symmetrized, which implies its hyperbolicity, and some local existence results. Most notably, a regularization argument by Lax leads to the requirement that admissible weak solutions must satisfy, in the sense of distributions, the entropy inequality :
∂ U ∂ t + ∑ j = 1 d ∂ F j ∂ x j ≤ 0. (3) \frac{\partial U}{\partial t}+\sum_{j=1}^{d}\frac{\partial F_j}{\partial x_j}\leq0. \tag*{(3)} ∂ t ∂ U + j = 1 ∑ d ∂ x j ∂ F j ≤ 0. (3)
Integrating this inequality over a spatial domain Ω \Omega Ω of trace Γ \Gamma Γ , one gets:
d d t ( ∫ Ω U d V ) + ∮ Γ F n d S ≤ 0 , (4) \frac{d}{dt}\left(\int_{\Omega}U\,dV\right)+\oint_{\Gamma}F_n\,dS\leq0, \tag*{(4)} d t d ( ∫ Ω U d V ) + ∮ Γ F n d S ≤ 0 , (4)
where F n F_n F n denotes the entropy flux projected onto the normal to the local surface element d S dS d S of Γ \Gamma Γ . If the boundary term is positive or zero (periodic flow), inequality (3) becomes a nonlinear integral bound on the solution. This entropy stability property has been actively sought in the development of robust high-order schemes. According to the CFD 2030 Vision Study [55 ] : ”Longer term, high-risk research should focus on the development of truly enabling technologies such as monotone or entropy stable schemes”. Efforts are being spent on the development of code infrastructures that can make the most out of ES schemes: the eddy solver [49 , 50 , 48 ] under development at NASA Ames Research Center for the simulation of turbulent separated flows and more recently for multi-physics applications is one of several examples.
A variety of ES scheme formulations can be found in the literature. Perhaps the most well-known ones are first-order finite-volume Godunov-type schemes [33 ] , which consist in using solutions of the Riemann problem to compute flux contributions at interfaces. The Godunov scheme, which uses the exact solution to the Riemann problem, is ES as long as the exact Riemann solution exists and satisfies (3). Harten et al. [33 ] showed that Godunov-type schemes using approximate Riemann solutions (the HLL scheme for instance) are ES if the approximate Riemann solution satisfies (3). The Lax-Friedrichs scheme is another well-known ES scheme (an elegant algebraic proof was given by Lax [32 ] ). These first-order ES schemes can be used as building blocks for high-order fully-discrete ES schemes by leveraging the convexity of U U U through convex combinations (see Gottlieb et al. [56 ] and Guermond et al. for [57 , 58 ] ). Some finite-element high-order ES discretizations stem from the seminal work of Hughes et al. [35 ] who showed that a continuous-Galerkin discretization of systems such as (1) of arbitrary order can be made ES a priori if the local polynomial representation of the finite-element solution is assigned to the so-called entropy variables instead of the conserved variables. Barth extended these ideas to the discontinuous-Galerkin method [39 ] .
In a seminal paper [37 ] , Tadmor introduced finite-volume/finite-difference schemes that achieve entropy-stability in a way that sets them apart from all of the aforementioned ES schemes. Rather than seeking to meet the entropy inequality directly (3), Tadmor first developed Entropy Conservative (EC) schemes, namely schemes that are consistent with the conservation equation (2). These require EC numerical flux functions, characterized by a scalar entropy conservation jump condition. Entropy-Stability is then achieved by adding an appropriate dissipation term to the EC flux (the resulting flux is termed ES). From there, a number a developments followed, mostly focused on high-order discretizations [51 , 52 , 47 , 53 , 54 ] . The present work is exclusively concerned with ES formulations building from Tadmor’s ground ideas. This focus follows from the authors’ stance [60 ] that ES schemes could be developed into a solid numerical foundation in the simulation of compressible turbulent flows. A key undertaking to fully realize this vision is to better grasp the local behavior of ES schemes . In this endeavor, the authors have been studying ES schemes in problems where global stability is not the core issue [61 , 63 ] . A rationale around this stance and approach is given in Gouasmi’s PhD thesis [60 ] .
Numerical schemes designed for compressible flows are known to perform poorly in the low-Mach-number regime [7 , 3 , 21 , 6 ] , more specifically in the incompressible limit, despite the fact that the incompressible Euler equations are a particular occurrence of the more general compressible Euler equations [2 , 1 ] . As there are many flow configurations of engineering interest that exhibit both compressible and incompressible flow phenomena (transonic flow, subsonic combustion, nozzle flows and shock-induced shear instabilities among others), significant research effort has been dedicated to adapting compressible flow codes to handle incompressible flows better. Steady state calculations, which are typically carried out by evolving the unsteady system until a stationary solution is found, require a number of iterations which dramatically increases as the Mach number decreases. Preconditioning methods [3 , 4 , 5 , 6 , 14 , 15 , 18 , 20 , 21 ] have been developed to address this stiffness issue. The idea is to modify the temporal scales of the unsteady system that is iterated by pre-multiplying the time derivative by a well-chosen preconditioning matrix P P P , in order to accelerate convergence. In addition to stiffness, the accuracy of the solution is also known to degrade. The root cause of this issue lies in the artificial viscosity introduced by upwind fluxes. Turkel [3 , 4 , 5 , 6 ] and Guillard & Viozat [14 ] showed in different ways that the dissipation term ∣ A ∣ [ u ] = R ∣ Λ ∣ R − 1 [ u ] |A|[u] = R|\Lambda|R^{-1}[u] ∣ A ∣ [ u ] = R ∣Λ∣ R − 1 [ u ] of upwind fluxes contains terms which prevent the discrete equations solving the compressible system to converge to a set of discrete equations solving the incompressible system. The accuracy degradation problems can be alleviated with Flux-Preconditioning , which consists in modifying the upwind dissipation using matrix operations (P − 1 ∣ P A ∣ [ u ] P^{-1}|PA|[u] P − 1 ∣ P A ∣ [ u ] - this operation arises naturally when introducing upwinding in the preconditioned system).
For unsteady flows, similar stiffness (stringent CFL condition warrants implicit temporal schemes, whose solution using Newton/GMRES approaches requires efficient preconditioning) and accuracy (excessive damping of vortical structures [11 , 12 , 13 , 25 , 26 ] due to upwinding) issues arise and can be dealt with similarly.
The present work [65 ] considers the accuracy degradation problem in the context of ES schemes. Our first goal was to establish whether Flux-Preconditioning and Entropy-Stability are compatible. We considered two preconditioning matrices: one of the earliest ones by Turkel [3 , 4 , 5 ] and a more recent one by Miczek [12 , 11 ] . ES schemes are subject to the same accuracy issues as standard Roe-type schemes because the dissipation terms they use also involves some form of upwinding (R ∣ Λ ∣ R T [ v ] R|\Lambda|R^T[v] R ∣Λ∣ R T [ v ] ). We posed the compatibility problem as a linear algebra problem involving P P P . Using similarity and congruence transforms, we established a sufficient condition for compatibility using Barth’s eigenscaling theorem. This condition is met by Turkel’s preconditioner but does not allow a statement to be made regarding Miczek’s preconditioner, whose compatibility is eventually proved using different arguments. From there, we compared four different numerical fluxes in space with Backward Euler in time on two simple periodic flow problems: the Gresho Vortex (incompressible limit) in two dimensions and a right-moving acoustic wave in one dimension (acoustic limit). They use the same EC flux [46 ] , but differ in their dissipation components. The first flux uses the standard ES dissipation operator [42 ] (ES Roe), the second and third are its preconditioned variants (ES Turkel and ES Miczek), the last one does not use any dissipation operator (EC flux alone). All four flux choices result in fully-discrete ES schemes following [38 ] . The numerical results on the two test problems reflected known trends for the most part. The ES Roe flux overly dissipates incompressible vortical structures and behaves consistently in the acoustic limit. The ES Turkel flux has consistent low-Mach behavior in the incompressible limit, but at the expense of overdamping acoustic waves. The ES Miczek flux appears to handle both limits correctly, but upon closer examination, we observed a small spurious transient in both flow configurations. In the sound wave problem, this transient manifests as a small left-going acoustic wave propagating at the same speed as the correct one. To the authors’ knowledge, this anomaly has not been reported in the past. The EC flux configuration produced the best results in both limits, hinting that the most simple and effective fix may be to discard the dissipation component in low-Mach-number regimes. The assessment of these low-Mach strategies in a high-order ES setting, on more compelling problems and with a focus on both accuracy and stiffness challenges will be carried out in a follow-up paper.
Our desire to better understand discrete local behavior drove us to continue this first-order exploration and further investigate these anomalies, reminiscent of those encountered in previous work [61 , 63 ] . In the same spirit as in [61 , 62 , 63 ] , we began our final stretch by looking for a way to explain the accuracy degradation issues in terms of entropy (since it is what ES schemes have a discrete handle on). We chose to revisit Guillard and Viozat’s [14 ] pressure fluctuation argument in entropy terms. If the incompressible limit can be characterized by a constant density and pressure fluctuations scaling as the square of a reference Mach number M r M_r M r , then we can argue that fluctuations in entropy ρ s = ρ ( ln p − γ ln ρ ) \rho s = \rho(\ln p - \gamma\ln\rho) ρ s = ρ ( ln p − γ ln ρ ) should be of the same order. Likewise, O ( M r ) \mathcal{O}(M_r) O ( M r ) fluctuations in density and pressure in the acoustic limit amount to O ( M r ) \mathcal{O}(M_r) O ( M r ) fluctuations in entropy in the acoustic limit [15 , 30 ] . As no accuracy degradation is observed with an EC flux in space, we posit that the discrete entropy production in space, which we denote E \mathcal{E} E and can express analytically, is responsible for the anomalies. This intuition is confirmed by a dimensional analysis of E \mathcal{E} E assuming different scalings for the discrete variations in pressure and density. For instance, we find that for the ES Roe flux, E = O ( M r ) \mathcal{E} = \mathcal{O}(M_r) E = O ( M r ) in both limits (inconsistent in the incompressible limit) and that for the ES Turkel flux, E = O ( M r 2 ) \mathcal{E} = \mathcal{O}(M_r^2) E = O ( M r 2 ) in the incompressible limit (consistent behavior), but E = O ( 1 ) \mathcal{E} = \mathcal{O}(1) E = O ( 1 ) in the acoustic limit (one order of magnitude too high, hence the excess damping).
While developing the expression of E \mathcal{E} E for the ES Roe flux (E = [ v ] T R ∣ Λ ∣ R T [ v ] \mathcal{E} = [v]^T R|\Lambda|R^T[v] E = [ v ] T R ∣Λ∣ R T [ v ] ), we noted that by using a Roe-Pike [41 ] representation of the dissipation operator, E \mathcal{E} E can be broken down into distinct positive contributions from each eigenvector of R R R . Without much surprise, we found that the acoustic (λ = u ± a \lambda= u \pm a λ = u ± a ) contributions are behind the scaling discrepancies. A similar breakdown was easily achieved for the ES Turkel flux thanks to Barth’s eigenscaling theorem [39 ] . For the ES Miczek flux, further manipulations were needed, mainly because of its lack of symmetry, but we were eventually able to dig out a skew-symmetric matrix component that is at the root of the numerical anomalies observed (discarding it removes the anomalies, amplifying it amplifies them). Using these discrete Entropy Production Breakdowns (EPBs), we argue that this skew-symmetric component causes discrete entropy transfers between acoustic waves . These findings shed new lights on the local behavior of ES and EC schemes.
The present work is organized as follows: Section 2 introduces the compressible Euler equations, its underlying entropy structure, and its two low-Mach-number limits following [14 , 15 ] . Section 3 recaps the root of the accuracy degradation problems and introduces the flux-preconditioning technique. In section 4, we begin analyzing ES schemes in the low-Mach context. We seek to establish whether the flux-preconditioning approach, taking the preconditioner of Miczek et. al [11 , 12 ] and Turkel’s [5 , 14 ] , is compatible with entropy-stability. Numerical experiments are carried out in section 5 and further analyzed in section 6, where the ideas of Guillard & Viozat [14 ] are used to revisit the accuracy problems from the angle of entropy production. This is where EPBs are introduced and used to develop our discrete entropy transfer argument regarding the anomalies observed with the ES Miczek flux. Section 7 further discusses these developments.
The Compressible Euler Equations
The 3D compressible Euler equations are given by:
∂ ∂ t ( ρ ) + ∇ ⋅ ( ρ u ) = 0 , ∂ ∂ t ( ρ u ) + ∇ ⋅ ( ρ u ⊗ u + p ) = 0 , ∂ ∂ t ( ρ e t ) + ∇ ⋅ ( u ( ρ e t + p ) ) = 0. (5) \begin{aligned}
\frac{\partial}{\partial t}(\rho) + \nabla\cdot(\rho\mathbf{u}) &= 0,\\
\frac{\partial}{\partial t}(\rho\mathbf{u}) + \nabla\cdot(\rho\mathbf{u} \otimes\mathbf{u} + p) &= 0,\\
\frac{\partial}{\partial t}(\rho e^{t}) + \nabla\cdot\left(\mathbf{u}(\rho e^{t} + p)\right) &= 0. \tag*{(5)}
\end{aligned} ∂ t ∂ ( ρ ) + ∇ ⋅ ( ρ u ) ∂ t ∂ ( ρ u ) + ∇ ⋅ ( ρ u ⊗ u + p ) ∂ t ∂ ( ρ e t ) + ∇ ⋅ ( u ( ρ e t + p ) ) = 0 , = 0 , = 0. (5)
ρ \rho ρ is the density, u : = [ u , v , w ] ∈ R 3 \mathbf{u} := [u, v, w] \in\mathbb{R}^{3} u := [ u , v , w ] ∈ R 3 is the velocity vector, e t : = e + k e^{t} := e+k e t := e + k is the total energy (e e e is the internal energy, k : = 1 2 ∣ u ∣ 2 k := \frac{1}{2}|\mathbf{u}|^{2} k := 2 1 ∣ u ∣ 2 is the kinetic energy) and p p p is the pressure. We assume a calorically perfect gas with equation of state p : = ( γ − 1 ) ρ e p := (\gamma- 1)\rho e p := ( γ − 1 ) ρ e , where γ = 1.4 \gamma= 1.4 γ = 1.4 is the adiabatic index. This system can be cast in the form (1) with:
u : = [ ρ ρ u ρ v ρ w ρ e t ] , f 1 : = [ ρ u ρ u 2 + p ρ u v ρ u w u ( ρ e t + p ) ] , \mathbf{u} := \begin{bmatrix}\rho& \rho u & \rho v & \rho w & \rho e^{t}\end{bmatrix},\quad
\mathbf{f}_{1} := \begin{bmatrix}\rho u & \rho u^{2}+p & \rho uv & \rho uw & u(\rho e^{t}+p)\end{bmatrix}, u := [ ρ ρ u ρ v ρw ρ e t ] , f 1 := [ ρ u ρ u 2 + p ρ uv ρ u w u ( ρ e t + p ) ] ,
f 2 : = [ ρ v ρ u v ρ v 2 + p ρ v w v ( ρ e t + p ) ] , f 3 : = [ ρ w ρ u w ρ v w ρ w 2 + p w ( ρ e t + p ) ] . \mathbf{f}_{2} := \begin{bmatrix}\rho v & \rho uv & \rho v^{2}+p & \rho vw & v(\rho e^{t}+p)\end{bmatrix},\quad
\mathbf{f}_{3} := \begin{bmatrix}\rho w & \rho uw & \rho vw & \rho w^{2}+p & w(\rho e^{t}+p)\end{bmatrix}. f 2 := [ ρ v ρ uv ρ v 2 + p ρ v w v ( ρ e t + p ) ] , f 3 := [ ρw ρ u w ρ v w ρ w 2 + p w ( ρ e t + p ) ] .
In quasi-linear form, the system writes:
∂ u ∂ t + ∑ j = 1 3 A j ∂ u ∂ x j = 0 , A j : = ∂ f j ∂ u . (6) \frac{\partial\mathbf{u}}{\partial t}+\sum_{j=1}^{3}A_{j}\frac{\partial\mathbf{u}}{\partial x_{j}}=0,\quad A_{j}:=\frac{\partial\mathbf{f}_{j}}{\partial\mathbf{u}}. \tag*{(6)} ∂ t ∂ u + j = 1 ∑ 3 A j ∂ x j ∂ u = 0 , A j := ∂ u ∂ f j . (6)
A j A_{j} A j is the flux Jacobian in the direction x j x_{j} x j . Let n \mathbf{n} n be a normal vector of components ( n 1 , n 2 , n 3 ) (n_{1},n_{2},n_{3}) ( n 1 , n 2 , n 3 ) . Throughout this work, we will denote A A A the flux Jacobian projected along n \mathbf{n} n :
A : = ∑ j = 1 3 n j A j = [ 0 n 1 n 2 n 3 0 n 1 ( γ − 1 ) k − u u n ( 1 − γ ) n 1 u + u n ( 1 − γ ) n 1 v + u n 2 ( 1 − γ ) n 1 w + u n 3 n 1 ( γ − 1 ) n 2 ( γ − 1 ) k − v u n ( 1 − γ ) n 2 u + v n 1 ( 2 − γ ) n 2 v + u n ( 1 − γ ) n 2 w + v n 3 n 2 ( γ − 1 ) n 3 ( γ − 1 ) k − w u n ( 1 − γ ) n 3 u + w n 1 ( 1 − γ ) n 3 v + w n 2 ( 2 − γ ) n 3 w + u n n 2 ( γ − 1 ) u n ( − h t + ( γ − 1 ) k ) n 1 h t − ( γ − 1 ) u u n n 2 h t − ( γ − 1 ) v u n n 3 h t − ( γ − 1 ) w u n u n γ ] . A:=\sum_{j=1}^{3}n_{j}A_{j}=
\begin{bmatrix}
0 & n_{1} & n_{2} & n_{3} & 0\\
n_{1}(\gamma-1)k-u u_{n} & (1-\gamma)n_{1}u+u_{n} & (1-\gamma)n_{1}v+u n_{2} & (1-\gamma)n_{1}w+u n_{3} & n_{1}(\gamma-1)\\
n_{2}(\gamma-1)k-v u_{n} & (1-\gamma)n_{2}u+v n_{1} & (2-\gamma)n_{2}v+u_{n} & (1-\gamma)n_{2}w+v n_{3} & n_{2}(\gamma-1)\\
n_{3}(\gamma-1)k-w u_{n} & (1-\gamma)n_{3}u+w n_{1} & (1-\gamma)n_{3}v+w n_{2} & (2-\gamma)n_{3}w+u_{n} & n_{2}(\gamma-1)\\
u_{n}(-h^{t}+(\gamma-1)k) & n_{1}h^{t}-(\gamma-1)u u_{n} & n_{2}h^{t}-(\gamma-1)v u_{n} & n_{3}h^{t}-(\gamma-1)w u_{n} & u_{n}\gamma
\end{bmatrix}. A := j = 1 ∑ 3 n j A j = 0 n 1 ( γ − 1 ) k − u u n n 2 ( γ − 1 ) k − v u n n 3 ( γ − 1 ) k − w u n u n ( − h t + ( γ − 1 ) k ) n 1 ( 1 − γ ) n 1 u + u n ( 1 − γ ) n 2 u + v n 1 ( 1 − γ ) n 3 u + w n 1 n 1 h t − ( γ − 1 ) u u n n 2 ( 1 − γ ) n 1 v + u n 2 ( 2 − γ ) n 2 v + u n ( 1 − γ ) n 3 v + w n 2 n 2 h t − ( γ − 1 ) v u n n 3 ( 1 − γ ) n 1 w + u n 3 ( 1 − γ ) n 2 w + v n 3 ( 2 − γ ) n 3 w + u n n 3 h t − ( γ − 1 ) w u n 0 n 1 ( γ − 1 ) n 2 ( γ − 1 ) n 2 ( γ − 1 ) u n γ .
By virtue of the hyperbolicity of the compressible Euler equations, A A A is diagonalizable. We have A = R Λ R − 1 A=R\Lambda R^{-1} A = R Λ R − 1 with:
Λ = diag ( [ u n u n u n u n + a u n − a ] ) , u n : = ∑ i = 1 3 n i u i , a : = γ p ρ , \Lambda=\operatorname{diag}\left([u_{n}\quad u_{n}\quad u_{n}\quad u_{n}+a\quad u_{n}-a]\right),\quad
u_{n}:=\sum_{i=1}^{3}n_{i}u_{i},\quad a:=\sqrt{\frac{\gamma p}{\rho}}, Λ = diag ( [ u n u n u n u n + a u n − a ] ) , u n := i = 1 ∑ 3 n i u i , a := ρ γ p ,
R = [ n 1 n 2 n 3 1 1 n 1 u n 2 u + n 3 a n 3 u − n 2 a u n + n 1 a u n − n 1 a n 1 v − n 3 a n 2 v n 3 v + n 1 a u n + n 2 a u n − n 2 a n 1 w + n 2 a n 2 w − n 1 a n 3 w u n + n 3 a u n − n 3 a n 1 k − a ( n 3 v − n 2 w ) n 2 k + a ( n 3 u − n 1 w ) n 3 k − a ( n 2 u − n 1 v ) h t + u n a h t − u n a ] , R=
\begin{bmatrix}
n_{1} & n_{2} & n_{3} & 1 & 1\\
n_{1}u & n_{2}u+n_{3}a & n_{3}u-n_{2}a & u_{n}+n_{1}a & u_{n}-n_{1}a\\
n_{1}v-n_{3}a & n_{2}v & n_{3}v+n_{1}a & u_{n}+n_{2}a & u_{n}-n_{2}a\\
n_{1}w+n_{2}a & n_{2}w-n_{1}a & n_{3}w & u_{n}+n_{3}a & u_{n}-n_{3}a\\
n_{1}k-a(n_{3}v-n_{2}w) & n_{2}k+a(n_{3}u-n_{1}w) & n_{3}k-a(n_{2}u-n_{1}v) & h^{t}+u_{n}a & h^{t}-u_{n}a
\end{bmatrix}, R = n 1 n 1 u n 1 v − n 3 a n 1 w + n 2 a n 1 k − a ( n 3 v − n 2 w ) n 2 n 2 u + n 3 a n 2 v n 2 w − n 1 a n 2 k + a ( n 3 u − n 1 w ) n 3 n 3 u − n 2 a n 3 v + n 1 a n 3 w n 3 k − a ( n 2 u − n 1 v ) 1 u n + n 1 a u n + n 2 a u n + n 3 a h t + u n a 1 u n − n 1 a u n − n 2 a u n − n 3 a h t − u n a ,
where h t : = h + k h^{t}:=h+k h t := h + k is the total enthalpy (h : = e + p / ρ h:=e+p/\rho h := e + p / ρ is the enthalpy).
Entropy Structure
The compressible Euler system can be rewritten in terms of the total derivatives of density, velocity and internal energy:
D ρ D t = − ρ ∇ ⋅ u , D u D t = − 1 ρ ∇ p , D e D t = p ρ ∇ ⋅ u . (7) \frac{D\rho}{Dt}=-\rho\nabla\cdot\mathbf{u},\quad
\frac{D\mathbf{u}}{Dt}=-\frac{1}{\rho}\nabla p,\quad
\frac{De}{Dt}=\frac{p}{\rho}\nabla\cdot\mathbf{u}. \tag*{(7)} D t D ρ = − ρ ∇ ⋅ u , D t D u = − ρ 1 ∇ p , D t D e = ρ p ∇ ⋅ u . (7)
with the total derivative operator defined as:
D D t : = ∂ ∂ t + u ⋅ ∇ . \frac{D}{Dt}:=\frac{\partial}{\partial t}+\mathbf{u}\cdot\nabla. D t D := ∂ t ∂ + u ⋅ ∇.
The specific entropy s = ln p − γ ln ρ = ln e − ( γ − 1 ) ln ρ + ln ( γ − 1 ) s=\ln p-\gamma\ln\rho=\ln e-(\gamma-1)\ln\rho+\ln(\gamma-1) s = ln p − γ ln ρ = ln e − ( γ − 1 ) ln ρ + ln ( γ − 1 ) satisfies the differential Gibbs relation:
d s = 1 e ( d e − p ρ 2 d ρ ) (8) ds=\frac{1}{e}\left(de-\frac{p}{\rho^{2}}d\rho\right) \tag*{(8)} d s = e 1 ( d e − ρ 2 p d ρ ) (8)
Combining equations (7) and (8) leads to a transport equation for s s s :
∂ s ∂ t + u ⋅ ∇ s = 0 , (9) \frac{\partial s}{\partial t}+\mathbf{u}\cdot\nabla s=0, \tag*{(9)} ∂ t ∂ s + u ⋅ ∇ s = 0 , (9)
which combined with conservation of mass leads to the conservation of entropy:
∂ ρ s ∂ t + ∇ ⋅ ( ρ u s ) = 0. (10) \frac{\partial\rho s}{\partial t}+\nabla\cdot(\rho\mathbf{u}s)=0. \tag*{(10)} ∂ t ∂ ρ s + ∇ ⋅ ( ρ u s ) = 0. (10)
It can be shown that ρ s \rho s ρ s is a concave function of u \mathbf{u} u , hence U = − ρ s / ( γ − 1 ) U=-\rho s/(\gamma-1) U = − ρ s / ( γ − 1 ) is a mathematical entropy with fluxes ( F 1 , F 2 , F 3 ) = − ρ s ( u , v , w ) (F_1,F_2,F_3)=-\rho s(u,v,w) ( F 1 , F 2 , F 3 ) = − ρ s ( u , v , w ) . The entropy variables are defined by:
v : = ( ∂ U ∂ u ) T , (11) \mathbf{v}:=\left(\frac{\partial U}{\partial\mathbf{u}}\right)^T, \tag*{(11)} v := ( ∂ u ∂ U ) T , (11)
and with the present choice of U U U , it is given by:
v = [ γ − s γ − 1 − ρ k p ρ p u T − ρ p ] T . \mathbf{v}=\left[\frac{\gamma-s}{\gamma-1}-\frac{\rho k}{p}\quad\frac{\rho}{p}\mathbf{u}^T\quad-\frac{\rho}{p}\right]^T. v = [ γ − 1 γ − s − p ρ k p ρ u T − p ρ ] T .
An important result that is central in the construction of an ES scheme and will help us later in § 4 is stated below:
Theorem 2.1 (Mock [36 ] ). The existence of a mathematical entropy U U U for the system of conservation laws (1) implies that the change of variables u → v \mathbf{u}\to\mathbf{v} u → v (defined by eq. (11) ) symmetrizes the system. The matrix H H H defined by:
H : = ∂ u ∂ v , (12) H:=\frac{\partial\mathbf{u}}{\partial\mathbf{v}}, \tag*{(12)} H := ∂ v ∂ u , (12) is symmetric positive definite and ( A j H ) 1 ≤ j ≤ d (A_jH)_{1\leq j\leq d} ( A j H ) 1 ≤ j ≤ d is symmetric.
For the compressible Euler system and U = − ρ s / ( γ − 1 ) U=-\rho s/(\gamma-1) U = − ρ s / ( γ − 1 ) , the matrix H H H is given by:
H = [ ρ ρ u ρ v ρ w ρ e t ρ u ρ u 2 + p ρ u v ρ u w ( ρ e t + p ) u ρ v ρ u v ρ v 2 + p ρ v w ( ρ e t + p ) v ρ w ρ u w ρ v w ρ w 2 + p ( ρ e t + p ) w s y m ρ ( e t ) 2 + p ( p ( γ − 1 ) ρ + ( u 2 + v 2 + w 2 ) ) ] . H=
\begin{bmatrix}
\rho& \rho u & \rho v & \rho w & \rho e^t\\
\rho u & \rho u^2+p & \rho uv & \rho uw & (\rho e^t+p)u\\
\rho v & \rho uv & \rho v^2+p & \rho vw & (\rho e^t+p)v\\
\rho w & \rho uw & \rho vw & \rho w^2+p & (\rho e^t+p)w\\
\mathop{\rm sym} & & & & \rho(e^t)^2+p\left(\frac{p}{(\gamma-1)\rho}+(u^2+v^2+w^2)\right)
\end{bmatrix}. H = ρ ρ u ρ v ρw sym ρ u ρ u 2 + p ρ uv ρ u w ρ v ρ uv ρ v 2 + p ρ v w ρw ρ u w ρ v w ρ w 2 + p ρ e t ( ρ e t + p ) u ( ρ e t + p ) v ( ρ e t + p ) w ρ ( e t ) 2 + p ( ( γ − 1 ) ρ p + ( u 2 + v 2 + w 2 ) ) .
U = − ρ s / ( γ − 1 ) U=-\rho s/(\gamma-1) U = − ρ s / ( γ − 1 ) is not the only mathematical entropy for the compressible Euler system. Harten [33 ] introduced a family of mathematical entropies U = − ρ h ( s ) U=-\rho h(s) U = − ρ h ( s ) with h ′ > 0 h'>0 h ′ > 0 , h ′ − γ h ′ ′ > 0 h'-\gamma h''>0 h ′ − γ h ′′ > 0 and similar characterizations have been introduced for more complex versions of this system (general equations of state [34 ] , multicomponent [64 ] ). Throughout this manuscript, we work with the opposite of the thermodynamic entropy as it is the only non-trivial member of Harten’s family which, for the more general compressible Navier–Stokes equations, both symmetrizes the system and leads to a stability result [35 ] .
The 1 / ( γ − 1 ) 1/(\gamma-1) 1/ ( γ − 1 ) factor in the choice of U U U is such that the entropy flux potentials F j \mathcal{F}_j F j and F \mathcal{F} F defined by:
F j : = v ⋅ f j − F j , F : = ∑ j = 1 3 n j F j , (13) \mathcal{F}_j:=\mathbf{v}\cdot\mathbf{f}_j-F_j,\qquad\mathcal{F}:=\sum_{j=1}^{3}n_j\mathcal{F}_j, \tag*{(13)} F j := v ⋅ f j − F j , F := j = 1 ∑ 3 n j F j , (13)
simplify to F j = ρ u j \mathcal{F}_j=\rho u_j F j = ρ u j and F = ρ u n \mathcal{F}=\rho u_n F = ρ u n . These quantities are involved in the construction of EC fluxes.
Non-dimensionalization and Low-Mach-Number Limits
Here we first introduce the incompressible and acoustic limits of the compressible Euler system following Guillard & Viozat [14 ] and Guillard & Nkonga [15 ] . We then define the scaled system (together with its entropy) that we will work with in throughout our study of ES schemes in the low-Mach regime.
Let ρ r \rho_r ρ r , p r p_r p r and u r u_r u r be reference values for density, pressure and velocity magnitude, respectively, and let us define a reference speed of sound a r : = p r / ρ r a_r:=\sqrt{p_r/\rho_r} a r := p r / ρ r . Introduce the non-dimensional variables and operators:
ρ ~ : = ρ ρ r , u ~ : = u u r , p ~ : = p p r , e ~ : = e a r 2 , k ~ : = k 1 2 u r 2 , t ~ : = t t r , ∇ ~ : = l r ∇ , \tilde{\rho}:=\frac{\rho}{\rho_r},\quad\tilde{u}:=\frac{u}{u_r},\quad\tilde{p}:=\frac{p}{p_r},\quad\tilde{e}:=\frac{e}{a_r^2},\quad\tilde{k}:=\frac{k}{\frac{1}{2}u_r^2},\quad\tilde{t}:=\frac{t}{t_r},\quad\tilde{\nabla}:=l_r\nabla, ρ ~ := ρ r ρ , u ~ := u r u , p ~ := p r p , e ~ := a r 2 e , k ~ := 2 1 u r 2 k , t ~ := t r t , ∇ ~ := l r ∇ ,
with l r l_r l r and t r t_r t r are the reference length scale and time scales, respectively. The reference Mach number is defined as:
M r : = u r a r . M_r:=\frac{u_r}{a_r}. M r := a r u r .
The vast majority of the derivations made from here involve the non-dimensional flow variables. For simplicity, we therefore drop the tilde notation. Unless otherwise stated, the flow variables (ρ \rho ρ , u \mathbf{u} u , p p p , ...) are dimensionless.
Incompressible limit. Setting the reference time scale as t r : = u r / l r t_r := u_r/l_r t r := u r / l r , the scaled system writes:
∂ ∂ t ( ρ ) + ∇ ⋅ ( ρ u ) = 0 , ∂ ∂ t ( ρ u ) + ∇ ⋅ ( ρ u ⊗ u ) + 1 M r 2 ∇ p = 0 , ∂ ∂ t ( ρ ( e + M r 2 k ) ) + ∇ ⋅ ( u ( ρ ( e + M r 2 k ) + p ) ) = 0. (14) \begin{aligned}
\frac{\partial}{\partial t}(\rho) + \nabla\cdot(\rho\mathbf{u}) &= 0,\\
\frac{\partial}{\partial t}(\rho\mathbf{u}) + \nabla\cdot(\rho\mathbf{u} \otimes\mathbf{u}) + \frac{1}{M_r^2}\nabla p &= 0,\\
\frac{\partial}{\partial t}\left(\rho(e + M_r^2 k)\right) + \nabla\cdot\left(\mathbf{u}\left(\rho(e + M_r^2 k) + p\right)\right) &= 0. \tag*{(14)}
\end{aligned} ∂ t ∂ ( ρ ) + ∇ ⋅ ( ρ u ) ∂ t ∂ ( ρ u ) + ∇ ⋅ ( ρ u ⊗ u ) + M r 2 1 ∇ p ∂ t ∂ ( ρ ( e + M r 2 k ) ) + ∇ ⋅ ( u ( ρ ( e + M r 2 k ) + p ) ) = 0 , = 0 , = 0. (14)
The scaled equation of state writes p : = ( γ − 1 ) ρ e p := (\gamma- 1)\rho e p := ( γ − 1 ) ρ e . The second step is to consider asymptotic expansions (Klein [19 ] ) of the flow variables in powers of the reference Mach number:
p = p 0 + M r p 1 + M r 2 p 2 + O ( M r 3 ) , (15) p = p_0 + M_r p_1 + M_r^2 p_2 + O(M_r^3), \tag*{(15)} p = p 0 + M r p 1 + M r 2 p 2 + O ( M r 3 ) , (15)
u = u 0 + M r u 1 + M r 2 u 2 + O ( M r 3 ) , (16) \mathbf{u} = \mathbf{u}_0 + M_r\mathbf{u}_1 + M_r^2\mathbf{u}_2 + O(M_r^3), \tag*{(16)} u = u 0 + M r u 1 + M r 2 u 2 + O ( M r 3 ) , (16)
ρ = ρ 0 + M r ρ 1 + M r 2 ρ 2 + O ( M r 3 ) . (17) \rho= \rho_0 + M_r\rho_1 + M_r^2\rho_2 + O(M_r^3). \tag*{(17)} ρ = ρ 0 + M r ρ 1 + M r 2 ρ 2 + O ( M r 3 ) . (17)
Injecting these expansions into (14) and collecting terms of same order, one gets:
Order 1 / M r 2 1/M_r^2 1/ M r 2 :
∇ p 0 = 0. (18) \nabla p_0 = 0. \tag*{(18)} ∇ p 0 = 0. (18)
Order 1 / M r 1/M_r 1/ M r :
∇ p 1 = 0. (19) \nabla p_1 = 0. \tag*{(19)} ∇ p 1 = 0. (19)
Order 1:
∂ ∂ t ( ρ 0 ) + ∇ ⋅ ( ρ 0 u 0 ) = 0 , (20) \frac{\partial}{\partial t}(\rho_0) + \nabla\cdot(\rho_0\mathbf{u}_0) = 0, \tag*{(20)} ∂ t ∂ ( ρ 0 ) + ∇ ⋅ ( ρ 0 u 0 ) = 0 , (20)
∂ ∂ t ( ρ 0 u 0 ) + ∇ ⋅ ( ρ 0 u 0 ⊗ u 0 ) + ∇ p 2 = 0 , (21) \frac{\partial}{\partial t}(\rho_0\mathbf{u}_0) + \nabla\cdot(\rho_0\mathbf{u}_0 \otimes\mathbf{u}_0) + \nabla p_2 = 0, \tag*{(21)} ∂ t ∂ ( ρ 0 u 0 ) + ∇ ⋅ ( ρ 0 u 0 ⊗ u 0 ) + ∇ p 2 = 0 , (21)
∂ ∂ t p 0 + u 0 ⋅ ∇ p 0 + ρ 0 a 0 2 ∇ ⋅ u 0 = 0. (22) \frac{\partial}{\partial t}p_0 + \mathbf{u}_0 \cdot\nabla p_0 + \rho_0 a_0^2 \nabla\cdot\mathbf{u}_0 = 0. \tag*{(22)} ∂ t ∂ p 0 + u 0 ⋅ ∇ p 0 + ρ 0 a 0 2 ∇ ⋅ u 0 = 0. (22)
Equations (18) and (19) imply that pressure variations in space scale as M r 2 M_r^2 M r 2 at least: p ( x , t ) = p 0 + M r p 1 ( t ) + M r 2 p 2 ( x , t ) = P 0 ( t ) + M r 2 p 2 ( x , t ) p(x,t) = p_0 + M_r p_1(t) + M_r^2 p_2(x,t) = P_0(t) + M_r^2 p_2(x,t) p ( x , t ) = p 0 + M r p 1 ( t ) + M r 2 p 2 ( x , t ) = P 0 ( t ) + M r 2 p 2 ( x , t ) . If P 0 P_0 P 0 is constant then equation (22) implies the divergence constraint ∇ ⋅ u 0 = 0 \nabla\cdot\mathbf{u}_0 = 0 ∇ ⋅ u 0 = 0 . Injecting it into equation (20) implies that the material derivative of density is zero. Assuming that all particle paths come from regions of same density ρ 0 \rho_0 ρ 0 , we get that density is constant everywhere and equations (20) , (21) and (22) finally reduce to the incompressible system:
ρ 0 = c t e , (23) \rho_0 = \mathrm{cte}, \tag*{(23)} ρ 0 = cte , (23)
ρ 0 ( ∂ ∂ t ( u 0 ) + ∇ ⋅ ( u 0 ⊗ u 0 ) ) + ∇ p 2 = 0 , (24) \rho_0\left(\frac{\partial}{\partial t}(\mathbf{u}_0) + \nabla\cdot(\mathbf{u}_0 \otimes\mathbf{u}_0)\right) + \nabla p_2 = 0, \tag*{(24)} ρ 0 ( ∂ t ∂ ( u 0 ) + ∇ ⋅ ( u 0 ⊗ u 0 ) ) + ∇ p 2 = 0 , (24)
∇ ⋅ u 0 = 0. (25) \nabla\cdot\mathbf{u}_0 = 0. \tag*{(25)} ∇ ⋅ u 0 = 0. (25)
The divergence constraint also implies that the kinetic energy is conserved.
Acoustic limit. If the time scale is defined in terms of the reference speed of sound a r a_r a r , that is t r = l r / a r t_r = l_r/a_r t r = l r / a r , then instead of (14) , we have:
1 M r ∂ ∂ t ( ρ ) + ∇ ⋅ ( ρ u ) = 0 , 1 M r ∂ ∂ t ( ρ u ) + ∇ ⋅ ( ρ u ⊗ u ) + 1 M r 2 ∇ p = 0 , 1 M r ∂ ∂ t ( ρ ( e + M r 2 k ) ) + ∇ ⋅ ( u ( ρ ( e + M r 2 k ) + p ) ) = 0. (26) \begin{aligned}
\frac{1}{M_r}\frac{\partial}{\partial t}(\rho) + \nabla\cdot(\rho\mathbf{u}) &= 0,\\
\frac{1}{M_r}\frac{\partial}{\partial t}(\rho\mathbf{u}) + \nabla\cdot(\rho\mathbf{u} \otimes\mathbf{u}) + \frac{1}{M_r^2}\nabla p &= 0,\\
\frac{1}{M_r}\frac{\partial}{\partial t}\left(\rho(e + M_r^2 k)\right) + \nabla\cdot\left(\mathbf{u}\left(\rho(e + M_r^2 k) + p\right)\right) &= 0. \tag*{(26)}
\end{aligned} M r 1 ∂ t ∂ ( ρ ) + ∇ ⋅ ( ρ u ) M r 1 ∂ t ∂ ( ρ u ) + ∇ ⋅ ( ρ u ⊗ u ) + M r 2 1 ∇ p M r 1 ∂ t ∂ ( ρ ( e + M r 2 k ) ) + ∇ ⋅ ( u ( ρ ( e + M r 2 k ) + p ) ) = 0 , = 0 , = 0. (26)
1 M r ∂ ∂ t ( ρ ( e + M r 2 k ) ) + ∇ ⋅ ( u ( ρ ( e + M r 2 k ) + p ) ) = 0. (27) \frac{1}{M_r}\frac{\partial}{\partial t}\left(\rho(e + M_r^2 k)\right) + \nabla\cdot\left(\mathbf{u}\left(\rho(e + M_r^2 k) + p\right)\right) = 0. \tag*{(27)} M r 1 ∂ t ∂ ( ρ ( e + M r 2 k ) ) + ∇ ⋅ ( u ( ρ ( e + M r 2 k ) + p ) ) = 0. (27)
Introducing the expansions (15) - (17) into (26) and collecting terms of the same order, one gets:
Order 1 / M r 2 1/M_r^2 1/ M r 2 :
∇ p 0 = 0. (28) \nabla p_0 = 0. \tag*{(28)} ∇ p 0 = 0. (28)
Order 1 / M r 1/M_r 1/ M r :
∂ ∂ t ( ρ 0 ) = 0 , (29) \frac{\partial}{\partial t}(\rho_0) = 0, \tag*{(29)} ∂ t ∂ ( ρ 0 ) = 0 , (29)
∂ ∂ t ( ρ 0 u 0 ) + ∇ p 1 = 0 , (30) \frac{\partial}{\partial t}(\rho_0\mathbf{u}_0) + \nabla p_1 = 0, \tag*{(30)} ∂ t ∂ ( ρ 0 u 0 ) + ∇ p 1 = 0 , (30)
∂ ∂ t p 0 = 0. (31) \frac{\partial}{\partial t}p_0 = 0. \tag*{(31)} ∂ t ∂ p 0 = 0. (31)
Equations (28) and (31) imply that the pressure variations in space scale as M r M_r M r , that is one order of magnitude bigger than those in the incompressible limit. With further manipulations (see Guillard & Nkonga [15 ] for more details), it can be shown that the first order pressure p 1 p_1 p 1 satisfies the wave equation with propagation speed a 0 a_0 a 0 following:
∂ 2 ∂ t 2 p 1 − a 0 2 ∇ ⋅ ( ∇ p 1 ) = 0. \frac{\partial^2}{\partial t^2}p_1-a_0^2\nabla\cdot(\nabla p_1)=0. ∂ t 2 ∂ 2 p 1 − a 0 2 ∇ ⋅ ( ∇ p 1 ) = 0.
Non-Dimensional Entropy Structure. The above analysis shows two distinct scaled versions of the compressible Euler system, namely (14) and (26) . For the purpose of our work, it is enough to work with the first system because:
As we will see later, the accuracy issues stem from some algebraic implications of upwinding (∣ A ∣ \lvert A\rvert ∣ A ∣ vs A A A ). The flux Jacobian matrices of each scaled system differ by a constant factor M r > 0 M_r>0 M r > 0 only (∣ M r A ∣ = M r ∣ A ∣ \lvert M_rA\rvert=M_r\lvert A\rvert ∣ M r A ∣ = M r ∣ A ∣ ).
It is easy to show that system (14) implies the exact same entropy conservation as the original system (5) (with s s s being the same function of the non-dimensional density and pressure), and that system (26) implies
1 M r ∂ ( ρ s ) ∂ t + ∇ ⋅ ( ρ u s ) = 0. (32) \frac{1}{M_r}\frac{\partial(\rho s)}{\partial t}+\nabla\cdot(\rho\mathbf{u}s)=0. \tag*{(32)} M r 1 ∂ t ∂ ( ρ s ) + ∇ ⋅ ( ρ u s ) = 0. (32)
The corresponding definitions of the entropy variables are the same since in the latter case, the 1 / M r 1/M_r 1/ M r factor is present in the time derivatives of both u \mathbf{u} u and U U U .
We thereby redefine our state and flux vectors as:
u : = [ ρ ρ u ρ v ρ w ρ e t ] T , f 1 : = [ ρ u ρ u 2 + p / M r 2 ρ u v ρ u w ( ρ e t + p ) u ] T , \mathbf{u}:=\begin{bmatrix}\rho&\rho u&\rho v&\rho w&\rho e^t\end{bmatrix}^{T},\quad
\mathbf{f}_1:=\begin{bmatrix}\rho u&\rho u^2+p/M_r^2&\rho uv&\rho uw&(\rho e^t+p)u\end{bmatrix}^{T}, u := [ ρ ρ u ρ v ρw ρ e t ] T , f 1 := [ ρ u ρ u 2 + p / M r 2 ρ uv ρ u w ( ρ e t + p ) u ] T ,
f 2 : = [ ρ v ρ u v ρ v 2 + p / M r 2 ρ v w ( ρ e t + p ) v ] T , f 3 : = [ ρ w ρ u w ρ v w ρ w 2 + p / M r 2 ( ρ e t + p ) w ] T , \mathbf{f}_2:=\begin{bmatrix}\rho v&\rho uv&\rho v^2+p/M_r^2&\rho vw&(\rho e^t+p)v\end{bmatrix}^{T},\quad
\mathbf{f}_3:=\begin{bmatrix}\rho w&\rho uw&\rho vw&\rho w^2+p/M_r^2&(\rho e^t+p)w\end{bmatrix}^{T}, f 2 := [ ρ v ρ uv ρ v 2 + p / M r 2 ρ v w ( ρ e t + p ) v ] T , f 3 := [ ρw ρ u w ρ v w ρ w 2 + p / M r 2 ( ρ e t + p ) w ] T ,
with e t : = e + M r 2 k e^t:=e+M_r^2k e t := e + M r 2 k .
The expressions of the entropy U U U and its fluxes ( F i ) 1 ≤ i ≤ 3 (F_i)_{1\le i\le3} ( F i ) 1 ≤ i ≤ 3 are unchanged, but since the vector of conserved variables u \mathbf{u} u now contains a M r M_r M r factor in the total energy component, the non-dimensional entropy variables we will work with are given by:
v = [ γ − s γ − 1 − M r 2 ρ k p M r 2 ρ p u T − ρ p ] T . (33) \mathbf{v}=\begin{bmatrix}\dfrac{\gamma-s}{\gamma-1}-M_r^2\dfrac{\rho k}{p}&M_r^2\dfrac{\rho}{p}\mathbf{u}^{T}-\dfrac{\rho}{p}\end{bmatrix}^{T}. \tag*{(33)} v = [ γ − 1 γ − s − M r 2 p ρ k M r 2 p ρ u T − p ρ ] T . (33)
The potential function F \mathcal{F} F is unchanged, and the temporal Jacobian is given by
H = [ ρ ρ u ρ v ρ w ρ e t ρ u ρ u 2 + p M r 2 ρ u v ρ u w ( ρ e t + p ) u ρ v ρ u v ρ v 2 + p M r 2 ρ v w ( ρ e t + p ) v ρ w ρ u w ρ v w ρ w 2 + p M r 2 ( ρ e t + p ) w s y m ρ ( e t ) 2 + p ( e ( γ − 1 ) ρ + M r 2 ( u 2 + v 2 + w 2 ) ) ] . H=
\begin{bmatrix}
\rho& \rho u & \rho v & \rho w & \rho e^t\\
\rho u & \rho u^2+\dfrac{p}{M_r^2} & \rho uv & \rho uw & (\rho e^t+p)u\\
\rho v & \rho uv & \rho v^2+\dfrac{p}{M_r^2} & \rho vw & (\rho e^t+p)v\\
\rho w & \rho uw & \rho vw & \rho w^2+\dfrac{p}{M_r^2} & (\rho e^t+p)w\\
\mathrm{sym} & & & & \rho(e^t)^2+p\left(\dfrac{e}{(\gamma-1)\rho}+M_r^2(u^2+v^2+w^2)\right)
\end{bmatrix}. H = ρ ρ u ρ v ρw sym ρ u ρ u 2 + M r 2 p ρ uv ρ u w ρ v ρ uv ρ v 2 + M r 2 p ρ v w ρw ρ u w ρ v w ρ w 2 + M r 2 p ρ e t ( ρ e t + p ) u ( ρ e t + p ) v ( ρ e t + p ) w ρ ( e t ) 2 + p ( ( γ − 1 ) ρ e + M r 2 ( u 2 + v 2 + w 2 ) ) .
While interesting in its own right, the mathematical structure of the incompressible and acoustic systems is not of concern in the present work. Things would be different if we were looking at constructing ES discretizations of the compressible system which reduce to structure-preserving discretizations of the incompressible and acoustic equations. Here we are simply revisiting, in the context of Tadmor’s ES schemes, well-documented issues of compressible schemes in the low-Mach regime. The reference Mach number M r M_r M r is kept strictly positive so that the entropy structure remains well-defined (one thing to remain careful with is the strict convexity of U U U , which the definition of the entropy variables hinges upon [63 , 64 ] ).
Discrete Analysis and Flux-Preconditioning
Consider a general finite-volume discretization of (1) . In a given cell Ω i \Omega_i Ω i of volume V i V_i V i , we have:
d u i d t + 1 V i ∫ ∂ Ω i f ∗ d S = 0 , (34) \frac{\mathrm{d}\mathbf{u}_i}{\mathrm{d}t}+\frac{1}{V_i}\int_{\partial\Omega_i}\mathbf{f}^{*}\,\mathrm{d}S=0, \tag*{(34)} d t d u i + V i 1 ∫ ∂ Ω i f ∗ d S = 0 , (34)
where f ∗ = f ∗ ( u i , u j , n ) \mathbf{f}^{*}=\mathbf{f}^{*}(\mathbf{u}_i,\mathbf{u}_j,\mathbf{n}) f ∗ = f ∗ ( u i , u j , n ) denotes the numerical flux across the cell trace ∂ Ω i \partial\Omega_i ∂ Ω i (u j \mathbf{u}_j u j is the neighboring cell state value, n \mathbf{n} n is the normal vector). A standard choice for f ∗ \mathbf{f}^{*} f ∗ is the Roe flux [42 , 41 ] :
f ∗ ( u L , u R , n ) = 1 2 ( f ( u L ) + f ( u R ) ) − 1 2 ∣ A ∣ ( u R − u L ) , ∣ A ∣ = R ∣ Λ ∣ R − 1 . (35) \mathbf{f}^{*}(\mathbf{u}_{L},\mathbf{u}_{R},\mathbf{n})=\frac{1}{2}\left(\mathbf{f}(\mathbf{u}_{L})+\mathbf{f}(\mathbf{u}_{R})\right)-\frac{1}{2}|A|(\mathbf{u}_{R}-\mathbf{u}_{L}),\quad|A|=R|\Lambda|R^{-1}. \tag*{(35)} f ∗ ( u L , u R , n ) = 2 1 ( f ( u L ) + f ( u R ) ) − 2 1 ∣ A ∣ ( u R − u L ) , ∣ A ∣ = R ∣Λ∣ R − 1 . (35)
where the flux Jacobian A A A is evaluated using the so-called Roe-averages (A = A ( u L , u R ) A=A(\mathbf{u}_{L},\mathbf{u}_{R}) A = A ( u L , u R ) ).
In the low-Mach number regime the accuracy of such a scheme typically deteriorates as the Mach number goes to zero. Turkel [3 , 4 ] explained that it is because the dissipation matrix ∣ A ∣ |A| ∣ A ∣ contains terms which prevent the set of discrete equations solving the compressible system to converge to a set of discrete equations for the incompressible system in the low-Mach limit. To illustrate, Turkel considers [3 ] the simple case of a 2-by-2 hyperbolic system with the following Jacobian matrix:
A = [ u a / M r a / M r u ] , R = [ 1 1 1 − 1 ] , Λ = [ u + a / M r 0 0 u − a / M r ] . (36) A=\begin{bmatrix}u & a/M_r\\a/M_r & u\end{bmatrix},\quad R=\begin{bmatrix}1 & 1\\1 & -1\end{bmatrix},\quad\Lambda=\begin{bmatrix}u+a/M_r & 0\\0 & u-a/M_r\end{bmatrix}. \tag*{(36)} A = [ u a / M r a / M r u ] , R = [ 1 1 1 − 1 ] , Λ = [ u + a / M r 0 0 u − a / M r ] . (36)
In the subsonic regime, ∣ u + a / M r ∣ = u + a / M r |u+a/M_r|=u+a/M_r ∣ u + a / M r ∣ = u + a / M r and ∣ u − a / M r ∣ = − ( u − a / M r ) |u-a/M_r|=-(u-a/M_r) ∣ u − a / M r ∣ = − ( u − a / M r ) . This change of sign leads to a dissipation matrix that does not possess the same scaling behavior as the original Jacobian. The reader can easily verify that:
∣ A ∣ = [ a / M r u u a / M r ] = [ O ( 1 / M r ) O ( 1 ) O ( 1 ) O ( 1 / M r ) ] ≠ [ O ( 1 ) O ( 1 / M r ) O ( 1 / M r ) O ( 1 ) ] . |A|=\begin{bmatrix}a/M_r & u\\u& a/M_r\end{bmatrix}=\begin{bmatrix}\mathcal{O}(1/M_r) & \mathcal{O}(1)\\\mathcal{O}(1) & \mathcal{O}(1/M_r)\end{bmatrix}\ne\begin{bmatrix}\mathcal{O}(1) & \mathcal{O}(1/M_r)\\\mathcal{O}(1/M_r) & \mathcal{O}(1)\end{bmatrix}. ∣ A ∣ = [ a / M r u u a / M r ] = [ O ( 1/ M r ) O ( 1 ) O ( 1 ) O ( 1/ M r ) ] = [ O ( 1 ) O ( 1/ M r ) O ( 1/ M r ) O ( 1 ) ] .
This difference in scaling behavior is the root cause of the accuracy degradation issues. The dissipation term is an important component of this flux (stability) hence it cannot be discarded because the scheme would be less robust (see appendix § 10 ).
Flux-preconditioning is one way to compromise between stability and correct low-Mach behavior. It consists in replacing the dissipation matrix ∣ A ∣ |A| ∣ A ∣ with P − 1 ∣ P A ∣ P^{-1}|PA| P − 1 ∣ P A ∣ where P P P is an invertible preconditioning matrix. The preconditioned numerical flux now writes:
f ∗ ( u L , u R , n ) = 1 2 ( f ( u L ) + f ( u R ) ) − 1 2 P − 1 ∣ P A ∣ ( u R − u L ) . (37) \mathbf{f}^{*}(\mathbf{u}_{L},\mathbf{u}_{R},\mathbf{n})=\frac{1}{2}\left(\mathbf{f}(\mathbf{u}_{L})+\mathbf{f}(\mathbf{u}_{R})\right)-\frac{1}{2}P^{-1}|PA|(\mathbf{u}_{R}-\mathbf{u}_{L}). \tag*{(37)} f ∗ ( u L , u R , n ) = 2 1 ( f ( u L ) + f ( u R ) ) − 2 1 P − 1 ∣ P A ∣ ( u R − u L ) . (37)
P P P should correct the asymptotic behavior of the dissipation term in the low-Mach regime and only be active in this regime (P → I P\to I P → I as M r → 1 M_r\to1 M r → 1 ).
The design of P P P is not straightforward, even though it is clear that the acoustic eigenspace of the dissipation matrix should be targeted. The analysis can be significantly simplified by using similarity transformations, which amount to considering the compressible Euler equations in a alternative set of variables z \mathbf{z} z . Define:
A z : = Q − 1 A Q , Q : = ( ∂ u ∂ z ) . (38) A_z:=Q^{-1}AQ,\quad Q:=\left(\frac{\partial\mathbf{u}}{\partial\mathbf{z}}\right). \tag*{(38)} A z := Q − 1 A Q , Q := ( ∂ z ∂ u ) . (38)
First, a preconditioning matrix P z P_z P z is sought so that P z − 1 ∣ P z A z ∣ P_z^{-1}|P_zA_z| P z − 1 ∣ P z A z ∣ has appropriate Mach number scalings. The preconditioning matrix P P P in terms of the conservative variables u \mathbf{u} u is then derived from the similarity relation P = Q P z Q − 1 P=QP_zQ^{-1} P = Q P z Q − 1 . Indeed, one has:
P − 1 ∣ P A ∣ = Q P z − 1 Q − 1 ∣ Q P z Q − 1 Q A z Q − 1 ∣ = Q ( P z − 1 ∣ P z A z ∣ ) Q − 1 . P^{-1}|PA|=QP_z^{-1}Q^{-1}|QP_zQ^{-1}QA_zQ^{-1}|=Q\left(P_z^{-1}|P_zA_z|\right)Q^{-1}. P − 1 ∣ P A ∣ = Q P z − 1 Q − 1 ∣ Q P z Q − 1 Q A z Q − 1 ∣ = Q ( P z − 1 ∣ P z A z ∣ ) Q − 1 .
As a matter of course, this strategy is efficient only if A z A_z A z has a simpler structure than A A A . With the differential entropy variables 1 defined by:
d z = ( d p / ( ρ a M r ) , d u , d v , d w , d p − a 2 d ρ ) , (39) \mathrm{d}\mathbf{z}=\left(\mathrm{d}p/(\rho aM_r),\ \mathrm{d}u,\ \mathrm{d}v,\ \mathrm{d}w,\ \mathrm{d}p-a^2\mathrm{d}\rho\right), \tag*{(39)} d z = ( d p / ( ρ a M r ) , d u , d v , d w , d p − a 2 d ρ ) , (39)
the similarity matrix Q Q Q writes:
Q = [ M r ρ / a 0 0 0 − 1 / a 2 M r ρ u / a ρ 0 0 − u / a 2 M r ρ v / a 0 ρ 0 − v / a 2 M r ρ w / a 0 0 ρ − w / a 2 ρ k M r 3 / a + ρ a M r / ( γ − 1 ) M r 2 ρ u M r 2 ρ v M r 2 ρ w − M r 2 k / a 2 ] . (40) Q=\begin{bmatrix}
M_r\rho/a & 0 & 0 & 0 & -1/a^2\\
M_r\rho u/a & \rho& 0 & 0 & -u/a^2\\
M_r\rho v/a & 0 & \rho& 0 & -v/a^2\\
M_r\rho w/a & 0 & 0 & \rho& -w/a^2\\
\rho kM_r^3/a+\rho aM_r/(\gamma-1) & M_r^2\rho u & M_r^2\rho v & M_r^2\rho w & -M_r^2k/a^2
\end{bmatrix}. \tag*{(40)} Q = M r ρ / a M r ρ u / a M r ρ v / a M r ρw / a ρ k M r 3 / a + ρ a M r / ( γ − 1 ) 0 ρ 0 0 M r 2 ρ u 0 0 ρ 0 M r 2 ρ v 0 0 0 ρ M r 2 ρw − 1/ a 2 − u / a 2 − v / a 2 − w / a 2 − M r 2 k / a 2 . (40)
The mapped Jacobian has the elegant structure:
A z = [ u n n 1 a / M r n 2 a / M r n 3 a / M r 0 n 1 a / M r u n 0 0 0 n 2 a / M r 0 u n 0 0 n 3 a / M r 0 0 u n 0 0 0 0 0 u n ] . (41) A_z =
\begin{bmatrix}
u_n & n_1a/M_r & n_2a/M_r & n_3a/M_r & 0 \\
n_1a/M_r & u_n & 0 & 0 & 0 \\
n_2a/M_r & 0 & u_n & 0 & 0 \\
n_3a/M_r & 0 & 0 & u_n & 0 \\
0 & 0 & 0 & 0 & u_n
\end{bmatrix}. \tag*{(41)} A z = u n n 1 a / M r n 2 a / M r n 3 a / M r 0 n 1 a / M r u n 0 0 0 n 2 a / M r 0 u n 0 0 n 3 a / M r 0 0 u n 0 0 0 0 0 u n . (41)
Its eigenstructure A z = R z Λ R z − 1 A_z = R_z\Lambda R_z^{-1} A z = R z Λ R z − 1 is given by:
R z = [ 0 0 0 1 1 0 − n 3 n 2 n 1 n 1 n 3 0 − n 1 n 2 n 2 − n 2 n 1 0 n 3 n 3 − n 1 − n 2 − n 3 0 0 ] , Λ = diag ( u n , u n , u n , u n , u n + a / M r , u n − a / M r ) . (42) R_z =
\begin{bmatrix}
0 & 0 & 0 & 1 & 1 \\
0 & -n_3 & n_2 & n_1 & n_1 \\
n_3 & 0 & -n_1 & n_2 & n_2 \\
-n_2 & n_1 & 0 & n_3 & n_3 \\
-n_1 & -n_2 & -n_3 & 0 & 0
\end{bmatrix},
\qquad
\Lambda= \operatorname{diag}(u_n,u_n,u_n,u_n,u_n+a/M_r,u_n-a/M_r). \tag*{(42)} R z = 0 0 n 3 − n 2 − n 1 0 − n 3 0 n 1 − n 2 0 n 2 − n 1 0 − n 3 1 n 1 n 2 n 3 0 1 n 1 n 2 n 3 0 , Λ = diag ( u n , u n , u n , u n , u n + a / M r , u n − a / M r ) . (42)
The 2-by-2 hyperbolic system (36) of Turkel in [3 ] is a specific case of system (41). For this system, Turkel et al. [5 , 3 ] established the following necessary condition on P z P_z P z for convergence in the low-Mach limit:
P z − 1 ∣ P z A z ∣ = [ O ( 1 / M r 2 ) O ( 1 / M r ) O ( 1 / M r ) O ( 1 / M r ) 0 O ( 1 / M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 O ( 1 / M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 O ( 1 / M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 0 0 0 0 O ( 1 ) ] . (43) P_z^{-1}\lvert P_zA_z\rvert=
\begin{bmatrix}
\mathcal{O}(1/M_r^2) & \mathcal{O}(1/M_r) & \mathcal{O}(1/M_r) & \mathcal{O}(1/M_r) & 0 \\
\mathcal{O}(1/M_r) & \mathcal{O}(1) & \mathcal{O}(1) & \mathcal{O}(1) & 0 \\
\mathcal{O}(1/M_r) & \mathcal{O}(1) & \mathcal{O}(1) & \mathcal{O}(1) & 0 \\
\mathcal{O}(1/M_r) & \mathcal{O}(1) & \mathcal{O}(1) & \mathcal{O}(1) & 0 \\
0 & 0 & 0 & 0 & \mathcal{O}(1)
\end{bmatrix}. \tag*{(43)} P z − 1 ∣ P z A z ∣ = O ( 1/ M r 2 ) O ( 1/ M r ) O ( 1/ M r ) O ( 1/ M r ) 0 O ( 1/ M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 O ( 1/ M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 O ( 1/ M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 0 0 0 0 O ( 1 ) . (43)
They also showed that this is achieved with the Turkel preconditioning matrix:
P z = [ p 2 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 ] , (44) P_z =
\begin{bmatrix}
p^2 & 0 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 & 0 \\
0 & 0 & 1 & 0 & 0 \\
0 & 0 & 0 & 1 & 0 \\
0 & 0 & 0 & 0 & 1
\end{bmatrix}, \tag*{(44)} P z = p 2 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 , (44)
where p = min ( max ( M r , M c u t ) , 1 ) p=\min(\max(M_r,M_{cut}),1) p = min ( max ( M r , M c u t ) , 1 ) . The parameter p p p is defined in such a way that P z P_z P z is always invertible (the cut-off Mach number M c u t M_{cut} M c u t prevents p → 0 p \to0 p → 0 and P z P_z P z singular) and P z P_z P z approaches the identity matrix when M r → 1 M_r \to1 M r → 1 . We have P z A z = R p z Λ p R p z − 1 P_zA_z=R_{p_z}\Lambda_pR_{p_z}^{-1} P z A z = R p z Λ p R p z − 1 with
R p z = [ [ 0 0 0 0 − n 3 n 2 n 3 0 − n 1 − n 2 n 1 0 − n 1 − n 2 − n 3 ] 1 1 − K 2 [ K 1 K 2 n 1 n 1 n 2 n 2 n 3 n 3 0 0 ] ] , Λ p = diag ( u n , u n , u n , u n , u n p + a p , u n p − a p ) , R_{p_z} =
\begin{bmatrix}
\left[
\begin{array}{ccc}
0 & 0 & 0 \\
0 & -n_3 & n_2 \\
n_3 & 0 & -n_1 \\
-n_2 & n_1 & 0 \\
-n_1 & -n_2 & -n_3
\end{array}
\right]
\frac{1}{\sqrt{1-K_2}}
\left[
\begin{array}{cc}
K_1 & K_2 \\
n_1 & n_1 \\
n_2 & n_2 \\
n_3 & n_3 \\
0 & 0
\end{array}
\right]
\end{bmatrix},
\qquad
\Lambda_p=\operatorname{diag}(u_n,u_n,u_n,u_n,u_{np}+a_p,u_{np}-a_p), R p z = 0 0 n 3 − n 2 − n 1 0 − n 3 0 n 1 − n 2 0 n 2 − n 1 0 − n 3 1 − K 2 1 K 1 n 1 n 2 n 3 0 K 2 n 1 n 2 n 3 0 , Λ p = diag ( u n , u n , u n , u n , u n p + a p , u n p − a p ) ,
u n p = 1 2 u n ( p 2 + 1 ) , a p = ( u n p 2 + p 2 ( ( a / M r ) 2 − u n 2 ) ) 1 / 2 , K 1 = ( u n p − u n + a p ) M r / a , K 2 = ( u n p − u n − a p ) M r / a . u_{np}=\frac{1}{2}u_n(p^2+1),\qquad
a_p=\left(u_{np}^2+p^2\left((a/M_r)^2-u_n^2\right)\right)^{1/2},
\qquad
K_1=(u_{np}-u_n+a_p)M_r/a,\qquad
K_2=(u_{np}-u_n-a_p)M_r/a. u n p = 2 1 u n ( p 2 + 1 ) , a p = ( u n p 2 + p 2 ( ( a / M r ) 2 − u n 2 ) ) 1/2 , K 1 = ( u n p − u n + a p ) M r / a , K 2 = ( u n p − u n − a p ) M r / a .
In the subsonic regime, u n 2 < ( a / M r ) 2 ⇒ u n p < a p ⇒ ∣ u n p − a p ∣ = a p − u n p u_n^2 < (a/M_r)^2 \mathrel{\Rightarrow} u_{np}<a_p \mathrel{\Rightarrow} \lvert u_{np}-a_p\rvert=a_p-u_{np} u n 2 < ( a / M r ) 2 ⇒ u n p < a p ⇒ ∣ u n p − a p ∣ = a p − u n p . The preconditioned dissipation matrix writes (we assume u n > 0 u_n>0 u n > 0 throughout this paper, with no loss of generality):
P z − 1 ∣ P z A z ∣ = [ C 0 n 1 C 1 n 2 C 1 n 3 C 1 0 n 1 C 2 n 1 2 C 3 + ( 1 − n 1 2 ) u n n 1 n 2 C 4 n 1 n 3 C 4 0 n 2 C 2 n 2 n 1 C 4 n 2 2 C 3 + ( 1 − n 2 2 ) u n n 2 n 3 C 4 0 n 3 C 2 n 3 n 1 C 4 n 3 n 2 C 4 n 3 2 C 3 + ( 1 − n 3 2 ) u n 0 0 0 0 0 u n ] , P_z^{-1}\lvert P_zA_z\rvert=
\begin{bmatrix}
C_0 & n_1C_1 & n_2C_1 & n_3C_1 & 0 \\
n_1C_2 & n_1^2C_3+(1-n_1^2)u_n & n_1n_2C_4 & n_1n_3C_4 & 0 \\
n_2C_2 & n_2n_1C_4 & n_2^2C_3+(1-n_2^2)u_n & n_2n_3C_4 & 0 \\
n_3C_2 & n_3n_1C_4 & n_3n_2C_4 & n_3^2C_3+(1-n_3^2)u_n & 0 \\
0 & 0 & 0 & 0 & u_n
\end{bmatrix}, P z − 1 ∣ P z A z ∣ = C 0 n 1 C 2 n 2 C 2 n 3 C 2 0 n 1 C 1 n 1 2 C 3 + ( 1 − n 1 2 ) u n n 2 n 1 C 4 n 3 n 1 C 4 0 n 2 C 1 n 1 n 2 C 4 n 2 2 C 3 + ( 1 − n 2 2 ) u n n 3 n 2 C 4 0 n 3 C 1 n 1 n 3 C 4 n 2 n 3 C 4 n 3 2 C 3 + ( 1 − n 3 2 ) u n 0 0 0 0 0 u n ,
C 0 = ( a p 2 + u n p 2 − u n u n p ) / ( a p 2 ) , C 1 = M r u n p ( a p + u n − u n p ) ( a p − u n + u n p ) / ( a a p 2 ) , C_0=(a_p^2+u_{np}^2-u_nu_{np})/(ap^2),\qquad
C_1=M_ru_{np}(a_p+u_n-u_{np})(a_p-u_n+u_{np})/(aap^2), C 0 = ( a p 2 + u n p 2 − u n u n p ) / ( a p 2 ) , C 1 = M r u n p ( a p + u n − u n p ) ( a p − u n + u n p ) / ( aa p 2 ) ,
C 2 = ( a u n p ) / ( M r a p ) , C 3 = a p + u n p ( u n − u n p ) / a p , C_2=(au_{np})/(M_ra_p),\qquad
C_3=a_p+u_{np}(u_n-u_{np})/a_p, C 2 = ( a u n p ) / ( M r a p ) , C 3 = a p + u n p ( u n − u n p ) / a p ,
C 4 = ( a p − u n p ) ( a p − u n + u n p ) / a p , C_4=(a_p-u_{np})(a_p-u_n+u_{np})/a_p, C 4 = ( a p − u n p ) ( a p − u n + u n p ) / a p ,
and meets condition (43).
A different perspective (which we will revisit later in this work) is provided in the work of Guillard & Viozat [14 ] who observed that in the incompressible regime, pressure fluctuations in space typically scale as M r 2 M_r^2 M r 2 . By applying the process described in section 2 to the discrete equations, they were able to rigorously demonstrate that certain terms in the dissipation matrix of the upwind flux can lead to pressure fluctuations in space which scale as M r M_r M r instead. They show that with Turkel’s preconditioner (44) , the proper scaling of pressure fluctuations is recovered.
The second preconditioning matrix we consider was recently introduced by Miczek et al. [11 , 12 ] for unsteady calculations. It writes:
P z = [ 1 n 1 p n 2 p n 3 p 0 − n 1 p 1 0 0 0 − n 2 p 0 1 0 0 − n 3 p 0 0 1 0 0 0 0 0 1 ] (45) P_z =
\begin{bmatrix}
1 & n_1p & n_2p & n_3p & 0 \\
-n_1p & 1 & 0 & 0 & 0 \\
-n_2p & 0 & 1 & 0 & 0 \\
-n_3p & 0 & 0 & 1 & 0 \\
0 & 0 & 0 & 0 & 1
\end{bmatrix} \tag*{(45)} P z = 1 − n 1 p − n 2 p − n 3 p 0 n 1 p 1 0 0 0 n 2 p 0 1 0 0 n 3 p 0 0 1 0 0 0 0 0 1 (45)
with p = 1 − 1 / δ p = 1 - 1/\delta p = 1 − 1/ δ , δ = min ( max ( M r , M c u t ) , 1 ) \delta= \min(\max(M_r, M_{\mathrm{cut}}),1) δ = min ( max ( M r , M cut ) , 1 ) . This time we have P z A z = R p z Λ p R p z − 1 P_z A_z = R_{p_z}\Lambda_p R_{p_z}^{-1} P z A z = R p z Λ p R p z − 1 with
R p z = [ [ 0 0 0 0 − n 3 n 2 n 3 0 − n 1 − n 2 n 1 0 − n 1 − n 2 − n 3 ] ] 1 ( K 1 − K 2 ) [ K 1 K 2 n 1 n 1 n 2 n 2 n 3 n 3 0 0 ] , R_{p_z} =
\begin{bmatrix}
\begin{bmatrix}
0 & 0 & 0 \\
0 & -n_3 & n_2 \\
n_3 & 0 & -n_1 \\
-n_2 & n_1 & 0 \\
-n_1 & -n_2 & -n_3
\end{bmatrix}
\end{bmatrix}
\frac{1}{(K_1-K_2)}
\begin{bmatrix}
K_1 & K_2 \\
n_1 & n_1 \\
n_2 & n_2 \\
n_3 & n_3 \\
0 & 0
\end{bmatrix}, R p z = 0 0 n 3 − n 2 − n 1 0 − n 3 0 n 1 − n 2 0 n 2 − n 1 0 − n 3 ( K 1 − K 2 ) 1 K 1 n 1 n 2 n 3 0 K 2 n 1 n 2 n 3 0 ,
Λ p = diag ( u n , u n , u n , u n , u n + a p , u n − a p ) , \Lambda_p = \operatorname{diag}(u_n,u_n,u_n,u_n,u_n+a_p,u_n-a_p), Λ p = diag ( u n , u n , u n , u n , u n + a p , u n − a p ) ,
a p = ( p 2 + 1 ) a 2 / M r 2 − p 2 u n 2 , a_p = \sqrt{(p^2+1)a^2/M_r^2-p^2u_n^2}, a p = ( p 2 + 1 ) a 2 / M r 2 − p 2 u n 2 ,
K 1 = ( a + M r p u n ) / ( M r a p − a p ) , K 2 = − ( a + M r p u n ) / ( M r a p + a p ) . K_1 = (a+M_r p u_n)/(M_r a_p-a_p),\quad K_2 = -(a+M_r p u_n)/(M_r a_p+a_p). K 1 = ( a + M r p u n ) / ( M r a p − a p ) , K 2 = − ( a + M r p u n ) / ( M r a p + a p ) .
It is easily shown that u n < a / M r ⟹ u n 2 < a p 2 ⟹ ∣ u n − a p ∣ = a p − u n u_n < a/M_r \Longrightarrow u_n^2 < a_p^2 \Longrightarrow\lvert u_n-a_p\rvert= a_p-u_n u n < a / M r ⟹ u n 2 < a p 2 ⟹ ∣ u n − a p ∣ = a p − u n , therefore the preconditioned dissipation matrix writes:
P z − 1 ∣ P z A z ∣ = [ C 0 n 1 C 1 n 2 C 1 n 3 C 1 0 n 1 C 2 n 1 2 C 3 + ( 1 − n 1 2 ) u n n 1 n 2 C 4 n 1 n 3 C 4 0 n 2 C 2 n 2 n 1 C 4 n 2 2 C 3 + ( 1 − n 2 2 ) u n n 2 n 3 C 4 0 n 3 C 2 n 3 n 1 C 4 n 3 n 2 C 4 n 3 2 C 3 + ( 1 − n 3 2 ) u n 0 0 0 0 0 u n ] , P_z^{-1}\lvert P_z A_z\rvert=
\begin{bmatrix}
C_0 & n_1C_1 & n_2C_1 & n_3C_1 & 0 \\
n_1C_2 & n_1^2C_3+(1-n_1^2)u_n & n_1n_2C_4 & n_1n_3C_4 & 0 \\
n_2C_2 & n_2n_1C_4 & n_2^2C_3+(1-n_2^2)u_n & n_2n_3C_4 & 0 \\
n_3C_2 & n_3n_1C_4 & n_3n_2C_4 & n_3^2C_3+(1-n_3^2)u_n & 0 \\
0 & 0 & 0 & 0 & u_n
\end{bmatrix}, P z − 1 ∣ P z A z ∣ = C 0 n 1 C 2 n 2 C 2 n 3 C 2 0 n 1 C 1 n 1 2 C 3 + ( 1 − n 1 2 ) u n n 2 n 1 C 4 n 3 n 1 C 4 0 n 2 C 1 n 1 n 2 C 4 n 2 2 C 3 + ( 1 − n 2 2 ) u n n 3 n 2 C 4 0 n 3 C 1 n 1 n 3 C 4 n 2 n 3 C 4 n 3 2 C 3 + ( 1 − n 3 2 ) u n 0 0 0 0 0 u n ,
C 0 = ( a p + u n ) / ( p 2 + 1 ) + 2 u n ( K 2 − p ) / ( ( p 2 + 1 ) ( K 1 − K 2 ) ) , C_0 = (a_p+u_n)/(p^2+1)+2u_n(K_2-p)/((p^2+1)(K_1-K_2)), C 0 = ( a p + u n ) / ( p 2 + 1 ) + 2 u n ( K 2 − p ) / (( p 2 + 1 ) ( K 1 − K 2 )) ,
C 1 = ( p ( ( K 2 − K 1 ) a p + ( K 1 + K 2 ) u n ) − 2 K 1 K 2 u n ) / ( ( p 2 + 1 ) ( K 1 − K 2 ) ) , C_1 = (p((K_2-K_1)a_p+(K_1+K_2)u_n)-2K_1K_2u_n)/((p^2+1)(K_1-K_2)), C 1 = ( p (( K 2 − K 1 ) a p + ( K 1 + K 2 ) u n ) − 2 K 1 K 2 u n ) / (( p 2 + 1 ) ( K 1 − K 2 )) ,
C 2 = ( 2 u n + p ( ( K 1 − K 2 ) a p + ( K 1 + K 2 ) u n ) ) / ( ( p 2 + 1 ) ( K 1 − K 2 ) ) , C_2 = (2u_n+p((K_1-K_2)a_p+(K_1+K_2)u_n))/((p^2+1)(K_1-K_2)), C 2 = ( 2 u n + p (( K 1 − K 2 ) a p + ( K 1 + K 2 ) u n )) / (( p 2 + 1 ) ( K 1 − K 2 )) ,
C 3 = ( ( K 1 − K 2 ) a p − ( K 1 + K 2 ) u n − 2 K 1 K 2 p u n ) / ( ( p 2 + 1 ) ( K 1 − K 2 ) ) , C_3 = ((K_1-K_2)a_p-(K_1+K_2)u_n-2K_1K_2pu_n)/((p^2+1)(K_1-K_2)), C 3 = (( K 1 − K 2 ) a p − ( K 1 + K 2 ) u n − 2 K 1 K 2 p u n ) / (( p 2 + 1 ) ( K 1 − K 2 )) ,
C 4 = − u n + ( ( K 1 − K 2 ) a p − ( K 1 + K 2 ) u n − 2 K 1 K 2 p u n ) / ( ( p 2 + 1 ) ( K 1 − K 2 ) ) . C_4 = -u_n+((K_1-K_2)a_p-(K_1+K_2)u_n-2K_1K_2pu_n)/((p^2+1)(K_1-K_2)). C 4 = − u n + (( K 1 − K 2 ) a p − ( K 1 + K 2 ) u n − 2 K 1 K 2 p u n ) / (( p 2 + 1 ) ( K 1 − K 2 )) .
It satisfies Turkel’s necessary condition (43) as we have
P z − 1 ∣ P z A z ∣ = [ O ( 1 ) O ( 1 / M r ) O ( 1 / M r ) O ( 1 / M r ) 0 O ( 1 / M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 O ( 1 / M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 O ( 1 / M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 0 0 0 0 O ( 1 ) ] (46) P_z^{-1}\lvert P_z A_z\rvert=
\begin{bmatrix}
\mathcal{O}(1) & \mathcal{O}(1/M_r) & \mathcal{O}(1/M_r) & \mathcal{O}(1/M_r) & 0 \\
\mathcal{O}(1/M_r) & \mathcal{O}(1) & \mathcal{O}(1) & \mathcal{O}(1) & 0 \\
\mathcal{O}(1/M_r) & \mathcal{O}(1) & \mathcal{O}(1) & \mathcal{O}(1) & 0 \\
\mathcal{O}(1/M_r) & \mathcal{O}(1) & \mathcal{O}(1) & \mathcal{O}(1) & 0 \\
0 & 0 & 0 & 0 & \mathcal{O}(1)
\end{bmatrix} \tag*{(46)} P z − 1 ∣ P z A z ∣ = O ( 1 ) O ( 1/ M r ) O ( 1/ M r ) O ( 1/ M r ) 0 O ( 1/ M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 O ( 1/ M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 O ( 1/ M r ) O ( 1 ) O ( 1 ) O ( 1 ) 0 0 0 0 0 O ( 1 ) (46)
This flux-preconditioning matrix was designed to meet the more stringent condition (46) that P z − 1 ∣ P z A z ∣ P_z^{-1}\lvert P_z A_z\rvert P z − 1 ∣ P z A z ∣ has the same Mach number scalings as A z A_z A z . It is argued [11 , 12 , 13 ] that meeting condition (46) (which satisfies Turkel’s), improves the accuracy of the scheme in both the incompressible and acoustic low-Mach limits. It was recently shown by Bruel et al. [30 ] that while flux-preconditioning with the Turkel matrix improves the accuracy in the incompressible limit, it also leads to a numerical scheme which overly dissipates acoustic waves (more than the standard Roe flux would).
Several other preconditioning matrices have been proposed in the literature [18 , 20 , 21 ] with the acceleration of steady state calculations as the primary focus. We do not cover them in this work.
Flux-Preconditioning and Entropy-Stability
Preliminaries
Definition 4.1 (Tadmor [37 ] ). The semi-discrete finite-volume scheme (34) is called Entropy Conservative (EC) if it implies2 a finite-volume discretization of the entropy equation, that is:
d d t U ( u i ) + 1 V i ∫ ∂ Ω i F ∗ d S = 0 , (47) \frac{d}{dt}U(\mathbf{u}_i) + \frac{1}{V_i}\int_{\partial\Omega_i} F^{*}\,dS = 0, \tag*{(47)} d t d U ( u i ) + V i 1 ∫ ∂ Ω i F ∗ d S = 0 , (47) where F ∗ = F ∗ ( u L , u R , n ) F^{*}=F^{*}(\mathbf{u}_L,\mathbf{u}_R,\mathbf{n}) F ∗ = F ∗ ( u L , u R , n ) is a consistent entropy numerical flux. If the scheme (34) implies instead the inequality:
d d t U ( u i ) + 1 V i ∫ ∂ Ω i F ∗ d S < 0 , (48) \frac{d}{dt}U(\mathbf{u}_i) + \frac{1}{V_i}\int_{\partial\Omega_i} F^{*}\,dS < 0, \tag*{(48)} d t d U ( u i ) + V i 1 ∫ ∂ Ω i F ∗ d S < 0 , (48) it is called Entropy Stable (ES).
As stated in the introduction, there are several different ways to construct ES schemes. Godunov-type schemes in particular are undoubtedly the most popular ones at the moment. The present work is solely concerned to ES schemes built from Tadmor’s ground work [37 ] . A study of the behavior of Godunov-type schemes in the low-Mach regime can be found in Guillard & Murrone [16 ] .
At first-order, the main difference between conventional finite-volume schemes and EC/ES schemes lies in the choice of the numerical flux f ∗ \mathbf{f}^{*} f ∗ . The following two theorems outline their construction:
Theorem 4.1 (Tadmor [37 ] ). The finite-volume scheme (34) is EC if and only if the interface flux f ∗ \mathbf{f}^{*} f ∗ satisfies the interface condition:
[ v ] ⋅ f ∗ = [ F ] , (49) [\mathbf{v}]\cdot\mathbf{f}^{*}=[\mathcal{F}], \tag*{(49)} [ v ] ⋅ f ∗ = [ F ] , (49) where F \mathcal{F} F is the potential function defined by (13) . One such flux f ∗ \mathbf{f}^{*} f ∗ is called Entropy-Conservative (EC) and its corresponding entropy flux F ∗ = F ∗ ( u L , u R , n ) F^{*}=F^{*}(\mathbf{u}_L,\mathbf{u}_R,\mathbf{n}) F ∗ = F ∗ ( u L , u R , n ) is explicitly given by:
F ∗ = v ‾ ⋅ f ∗ − F ‾ , (50) F^{*}=\overline{\mathbf{v}}\cdot\mathbf{f}^{*}-\overline{\mathcal{F}}, \tag*{(50)} F ∗ = v ⋅ f ∗ − F , (50) where the bar notation denotes the arithmetic average.
Theorem 4.2 (Tadmor [37 ] ). The finite-volume scheme (34) is ES if and only if the interface flux f ∗ \mathbf{f}^{*} f ∗ satisfies the interface condition:
[ v ] ⋅ f ∗ < [ F ] , (51) [\mathbf{v}]\cdot\mathbf{f}^{*}<[\mathcal{F}], \tag*{(51)} [ v ] ⋅ f ∗ < [ F ] , (51) where F \mathcal{F} F is the potential function defined by (13) . This condition is met by fluxes of the form
f ∗ = f E C ∗ − 1 2 D [ v ] . (52) \mathbf{f}^{*}=\mathbf{f}^{*}_{EC}-\frac{1}{2}D[\mathbf{v}]. \tag*{(52)} f ∗ = f E C ∗ − 2 1 D [ v ] . (52) where f E C ∗ \mathbf{f}^{*}_{EC} f E C ∗ is an EC flux (denote F E C ∗ F^{*}_{EC} F E C ∗ the associated entropy flux), and D D D is a positive definite dissipation matrix.
d U ( u i ) d t + 1 V i ∫ ∂ Ω i F ∗ d S = − 1 V i E i , E i = ∫ ∂ Ω i E d S . (53) \frac{dU(\mathbf{u}_i)}{dt}+\frac{1}{V_i}\int_{\partial\Omega_i}F^{*}\,dS=-\frac{1}{V_i}\mathcal{E}_i,\quad\mathcal{E}_i=\int_{\partial\Omega_i}\mathcal{E}\,dS. \tag*{(53)} d t d U ( u i ) + V i 1 ∫ ∂ Ω i F ∗ d S = − V i 1 E i , E i = ∫ ∂ Ω i E d S . (53) The interface entropy flux F ∗ F^{*} F ∗ is given by:
F ∗ = F E C ∗ − v ‾ ⋅ D [ v ] . (54) F^{*}=F^{*}_{EC}-\overline{\mathbf{v}}\cdot D[\mathbf{v}]. \tag*{(54)} F ∗ = F E C ∗ − v ⋅ D [ v ] . (54) The local entropy production at the interface is given by:
E = 1 4 [ v ] ⋅ D [ v ] . (55) \mathcal{E}=\frac{1}{4}[\mathbf{v}]\cdot D[\mathbf{v}]. \tag*{(55)} E = 4 1 [ v ] ⋅ D [ v ] . (55)
Entropy Conservative Fluxes
As we have seen in § 3 , flux-preconditioning only affects the dissipative component of the standard upwind flux because the central flux does not introduce terms that introduce inappropriate Mach number scalings. What about EC fluxes? Unless the PDE is scalar, the entropy conservation condition (49) does not uniquely determine f E C ∗ f^*_{EC} f E C ∗ . The first EC flux was introduced by Tadmor [37 ] :
f E C ∗ = ∫ 0 1 f ( v ( ξ ) ) d ξ , v ( ξ ) : = v L + ξ ( v R − v L ) . (56) f^*_{EC} = \int_0^1 f(\mathbf{v}(\xi))\,\mathrm{d}\xi,\quad\mathbf{v}(\xi) := \mathbf{v}_L + \xi(\mathbf{v}_R-\mathbf{v}_L). \tag*{(56)} f E C ∗ = ∫ 0 1 f ( v ( ξ )) d ξ , v ( ξ ) := v L + ξ ( v R − v L ) . (56)
It is clear that this flux has the same M r M_r M r scaling as the central flux. The EC flux (56) is not used in practice because it lacks a closed form (evaluating it would require using a numerical quadrature, which would introduce approximation errors). Tadmor subsequently introduced a variant of (56) which does not require quadrature, but remains too computationally intensive. Our endeavors will eventually bring us back to Tadmor’s second flux (§ 7.4 ).
Using algebraic manipulations analogous to that of [42 ] , Roe [43 , 44 ] proposed a simple, closed-form EC flux for the Euler equations that is more popular than the previous two. In non-dimensional variables, this flux writes f E C ∗ = [ f 1 ∗ , f 2 ∗ , f 3 ∗ , f 4 ∗ , f 5 ∗ ] \mathbf{f}^*_{EC}=[f^*_1,f^*_2,f^*_3,f^*_4,f^*_5] f E C ∗ = [ f 1 ∗ , f 2 ∗ , f 3 ∗ , f 4 ∗ , f 5 ∗ ] with:
f 1 = ( m ‾ 2 n 1 + m ‾ 3 n 2 + m ‾ 4 n 3 ) m 5 ln , f_1 = \left(\overline{m}_2n_1+\overline{m}_3n_2+\overline{m}_4n_3\right)m^{\ln}_5, f 1 = ( m 2 n 1 + m 3 n 2 + m 4 n 3 ) m 5 l n ,
f 2 = n 1 M r 2 m ‾ 5 m ‾ 1 + m ‾ 2 m ‾ 1 f 1 , f_2 = \frac{n_1}{M_r^2}\frac{\overline{m}_5}{\overline{m}_1}+\frac{\overline{m}_2}{\overline{m}_1}f_1, f 2 = M r 2 n 1 m 1 m 5 + m 1 m 2 f 1 ,
f 3 = n 2 M r 2 m ‾ 5 m ‾ 1 + m ‾ 3 m ‾ 1 f 1 , f_3 = \frac{n_2}{M_r^2}\frac{\overline{m}_5}{\overline{m}_1}+\frac{\overline{m}_3}{\overline{m}_1}f_1, f 3 = M r 2 n 2 m 1 m 5 + m 1 m 3 f 1 ,
f 4 = n 3 M r 2 m ‾ 5 m ‾ 1 + m ‾ 4 m ‾ 1 f 1 , f_4 = \frac{n_3}{M_r^2}\frac{\overline{m}_5}{\overline{m}_1}+\frac{\overline{m}_4}{\overline{m}_1}f_1, f 4 = M r 2 n 3 m 1 m 5 + m 1 m 4 f 1 ,
f 5 = 1 2 γ + 1 γ − 1 f 1 m ‾ 1 m 1 ln + M r 2 2 m ‾ 1 ( m ‾ 2 f 2 + m ‾ 3 f 3 + m ‾ 4 f 4 ) . (57) f_5 = \frac{1}{2}\frac{\gamma+1}{\gamma-1}\frac{f_1}{\overline{m}_1m^{\ln}_1}+\frac{M_r^2}{2\overline{m}_1}\left(\overline{m}_2f_2+\overline{m}_3f_3+\overline{m}_4f_4\right). \tag*{(57)} f 5 = 2 1 γ − 1 γ + 1 m 1 m 1 l n f 1 + 2 m 1 M r 2 ( m 2 f 2 + m 3 f 3 + m 4 f 4 ) . (57)
with the algebraic variables ( m 1 , m 2 , m 3 , m 4 , m 5 ) = ( ρ p , ρ p u , ρ p v , ρ p w , ρ p ) (m_1,m_2,m_3,m_4,m_5)=\left(\sqrt{\frac{\rho}{p}},\sqrt{\frac{\rho}{p}}u,\sqrt{\frac{\rho}{p}}v,\sqrt{\frac{\rho}{p}}w,\sqrt{\rho p}\right) ( m 1 , m 2 , m 3 , m 4 , m 5 ) = ( p ρ , p ρ u , p ρ v , p ρ w , ρp ) . Logarithmic averages [43 , 45 ] in m 1 m_1 m 1 and m 5 m_5 m 5 are denoted by m 1 ln m^{\ln}_1 m 1 l n and m 5 ln m^{\ln}_5 m 5 l n , respectively. This flux has the same Mach number scaling as the central flux. Using a simpler set of algebraic variables, Chandrasekhar [46 ] developed another EC flux given by:
f 1 ∗ = ρ ln u n , f^*_1=\rho^{\ln}u_n, f 1 ∗ = ρ l n u n ,
f 2 ∗ = n 1 M r 2 ρ ‾ ρ / p ‾ + u ‾ f 1 ∗ , f^*_2=\frac{n_1}{M_r^2}\frac{\overline{\rho}}{\overline{\rho/p}}+\overline{u}f^*_1, f 2 ∗ = M r 2 n 1 ρ / p ρ + u f 1 ∗ ,
f 3 ∗ = n 2 M r 2 ρ ‾ ρ / p ‾ + v ‾ f 1 ∗ , f^*_3=\frac{n_2}{M_r^2}\frac{\overline{\rho}}{\overline{\rho/p}}+\overline{v}f^*_1, f 3 ∗ = M r 2 n 2 ρ / p ρ + v f 1 ∗ ,
f 4 ∗ = n 3 M r 2 ρ ‾ ρ / p ‾ + w ‾ f 1 ∗ , f^*_4=\frac{n_3}{M_r^2}\frac{\overline{\rho}}{\overline{\rho/p}}+\overline{w}f^*_1, f 4 ∗ = M r 2 n 3 ρ / p ρ + w f 1 ∗ ,
f 5 ∗ = ( 1 ( γ − 1 ) ( ρ / p ) ln − M r 2 k ‾ ) f 1 + M r 2 ( u ‾ f 2 + v ‾ f 3 + w ‾ f 4 ) . (58) f^*_5=\left(\frac{1}{(\gamma-1)(\rho/p)^{\ln}}-M_r^2\overline{k}\right)f_1+M_r^2\left(\overline{u}f_2+\overline{v}f_3+\overline{w}f_4\right). \tag*{(58)} f 5 ∗ = ( ( γ − 1 ) ( ρ / p ) l n 1 − M r 2 k ) f 1 + M r 2 ( u f 2 + v f 3 + w f 4 ) . (58)
While fluxes (56) , (57) and (58) all have the correct scaling, we refrain from stating that all EC fluxes have the correct scaling. Expanding condition (49) gives:
[ γ − s γ − 1 − M r 2 ρ ‾ k ] f 1 + M r 2 [ ρ u p ] f 2 + [ ρ v p ] f 3 + [ ρ w p ] f 4 − [ ρ p ] f 5 = [ ρ u n ] . \left[\frac{\gamma-s}{\gamma-1}-M_r^2\overline{\rho}k\right]f_1+M_r^2\left[\frac{\rho u}{p}\right]f_2+\left[\frac{\rho v}{p}\right]f_3+\left[\frac{\rho w}{p}\right]f_4-\left[\frac{\rho}{p}\right]f_5=[\rho u_n]. [ γ − 1 γ − s − M r 2 ρ k ] f 1 + M r 2 [ p ρ u ] f 2 + [ p ρ v ] f 3 + [ p ρw ] f 4 − [ p ρ ] f 5 = [ ρ u n ] .
In the same way that this condition does not fully determine f E C ∗ f^*_{EC} f E C ∗ , we cannot use it to impose its scaling.
As stated in § 3 , Flux-Preconditioning was introduced in part because completely discarding the dissipation component of (35) is not viable since the central flux alone lacks stability. For ES fluxes (52) and ES schemes in general, the situation is different. Discarding the dissipation component of an ES flux can be an option depending on the temporal discretization of (34) .
Theorem 4.3 (Tadmor [38 ] ). Consider the fully-discrete finite-volume scheme:
1 Δ t ( u i n + 1 − u i n ) + 1 V i ∫ ∂ Ω i f ∗ , n + 1 d S = 0 , (59) \frac{1}{\Delta t}\left(\mathbf{u}^{n+1}_i-\mathbf{u}^n_i\right)+\frac{1}{V_i}\int_{\partial\Omega_i}\mathbf{f}^{*,n+1}\,\mathrm{d}S=0, \tag*{(59)} Δ t 1 ( u i n + 1 − u i n ) + V i 1 ∫ ∂ Ω i f ∗ , n + 1 d S = 0 , (59)
obtained by applying Backward Euler in time to (34) , with f ∗ \mathbf{f}^{*} f ∗ an EC flux satisfying (49) (denote F ∗ \mathbf{F}^{*} F ∗ the associated entropy flux) and the n n n and n + 1 n+1 n + 1 superscripts referring to discrete time instants t n t^n t n and t n + 1 t^{n+1} t n + 1 , respectively. The scheme (59) implies a fully discrete version of the entropy inequality (3)
1 Δ t ( U ( u i n + 1 ) − U ( u i n ) ) + 1 V i ∫ ∂ Ω i F ∗ , n + 1 d S = − 1 Δ t E i B E , (60) \frac{1}{\Delta t}\left(U(\mathbf{u}_i^{n+1})-U(\mathbf{u}_i^n)\right)+\frac{1}{V_i}\int_{\partial\Omega_i}\mathbf{F}^{*,n+1}\,\mathrm{d}S=-\frac{1}{\Delta t}\mathcal{E}_i^{\mathrm{BE}}, \tag*{(60)} Δ t 1 ( U ( u i n + 1 ) − U ( u i n ) ) + V i 1 ∫ ∂ Ω i F ∗ , n + 1 d S = − Δ t 1 E i BE , (60)
With:
E i B E = ∫ − 1 2 1 2 ( 1 2 − ξ ) ( [ v ] n + 1 2 ⋅ H n + 1 2 [ v ] n + 1 2 ) d ξ > 0 , [ v ] n + 1 2 : = v i n + 1 − v i n , (61) \mathcal{E}_i^{\mathrm{BE}}=\int_{-\frac{1}{2}}^{\frac{1}{2}}\left(\frac{1}{2}-\xi\right)\left([\mathbf{v}]^{n+\frac{1}{2}}\cdot H^{n+\frac{1}{2}}[\mathbf{v}]^{n+\frac{1}{2}}\right)\,\mathrm{d}\xi>0,\quad[\mathbf{v}]^{n+\frac{1}{2}}:=\mathbf{v}_i^{n+1}-\mathbf{v}_i^n, \tag*{(61)} E i BE = ∫ − 2 1 2 1 ( 2 1 − ξ ) ( [ v ] n + 2 1 ⋅ H n + 2 1 [ v ] n + 2 1 ) d ξ > 0 , [ v ] n + 2 1 := v i n + 1 − v i n , (61)
H n + 1 2 : = H ( v n + 1 2 ) , v n + 1 2 ( ξ ) : = 1 2 ( v i n + v i n + 1 ) + ξ [ v ] n + 1 2 , H^{n+\frac{1}{2}}:=H\left(\mathbf{v}^{n+\frac{1}{2}}\right),\quad\mathbf{v}^{n+\frac{1}{2}}(\xi):=\frac{1}{2}\left(\mathbf{v}_i^n+\mathbf{v}_i^{n+1}\right)+\xi[\mathbf{v}]^{n+\frac{1}{2}}, H n + 2 1 := H ( v n + 2 1 ) , v n + 2 1 ( ξ ) := 2 1 ( v i n + v i n + 1 ) + ξ [ v ] n + 2 1 ,
and H H H defined by (12) . A similar result holds if an ES flux (52) is used instead:
1 Δ t ( U ( u i n + 1 ) − U ( u i n ) ) + 1 V i ∫ ∂ Ω i F ∗ , n + 1 d S = − 1 V i E i n + 1 − 1 Δ t E i B E , (62) \frac{1}{\Delta t}\left(U(\mathbf{u}_i^{n+1})-U(\mathbf{u}_i^n)\right)+\frac{1}{V_i}\int_{\partial\Omega_i}\mathbf{F}^{*,n+1}\,\mathrm{d}S=-\frac{1}{V_i}\mathcal{E}_i^{n+1}-\frac{1}{\Delta t}\mathcal{E}_i^{\mathrm{BE}}, \tag*{(62)} Δ t 1 ( U ( u i n + 1 ) − U ( u i n ) ) + V i 1 ∫ ∂ Ω i F ∗ , n + 1 d S = − V i 1 E i n + 1 − Δ t 1 E i BE , (62)
where E i n + 1 \mathcal{E}_i^{n+1} E i n + 1 is the discrete entropy production in space (55) at u n + 1 \mathbf{u}^{n+1} u n + 1 in cell i i i .
In § 5 , we compared four different fully-discrete ES schemes (59) , three using an ES flux, and one using an EC flux (58) alone. The best results are obtained with the latter choice (the central flux leads to unstable results [11 , 12 , 60 ] ). Analytical arguments regarding the lack of entropy stability of the central flux can be found in [37 ] .
For the Forward Euler in time, Tadmor established [38 ] unconditional lack of entropy-stability with an EC flux in space. If an ES flux is used in space, the entropy-stability of the fully-discrete scheme depends on whether the entropy produced in space outweighs the entropy lost in time (this balance can only be evaluated after the next state u n + 1 \mathbf{u}^{n+1} u n + 1 ). This configuration is not of interest to us.
Entropy-Stable Dissipation and Preconditioning
As noted in Barth [39 ] (section 2.4), the standard upwind dissipation operator R ∣ Λ ∣ R − 1 [ u ] R|\Lambda|R^{-1}[\mathbf{u}] R ∣Λ∣ R − 1 [ u ] is not ES but the current standard ES dissipation operator is largely inspired by it. The following theorem shows that an upwind-type ES dissipation operator can be obtained by recasting the standard dissipation operator in terms of the entropy variables ([ u ] ← H [ v ] [\mathbf{u}]\leftarrow H[\mathbf{v}] [ u ] ← H [ v ] ):
1 2 D [ v ] = 1 2 R ∣ Λ ∣ R − 1 H [ v ] . (63) \frac{1}{2}D[\mathbf{v}]=\frac{1}{2}R|\Lambda|R^{-1}H[\mathbf{v}]. \tag*{(63)} 2 1 D [ v ] = 2 1 R ∣Λ∣ R − 1 H [ v ] . (63)
Theorem 4.4 (Barth [39 ] ). Let A A A be a diagonalizable matrix (A = R Λ R − 1 A=R\Lambda R^{-1} A = R Λ R − 1 ) and let H H H be a symmetric positive definite matrix such that A H AH A H is symmetric. Then there exists a symmetric positive definite and block diagonal matrix T T T such that:
R T RT R T is an eigenvector matrix of A A A , i.e. A = ( R T ) Λ ( R T ) − 1 A=(RT)\Lambda(RT)^{-1} A = ( R T ) Λ ( R T ) − 1 .
H = ( R T ) ( R T ) T H=(RT)(RT)^{T} H = ( R T ) ( R T ) T which implies A H = ( R T ) Λ ( R T ) T AH=(RT)\Lambda(RT)^{T} A H = ( R T ) Λ ( R T ) T .
The matrix T T T can be inferred from T 2 = R − 1 H R − T T^2=R^{-1}HR^{-T} T 2 = R − 1 H R − T .
Since R T RT R T is an eigenvector matrix of A A A , the above theorem can be expressed in a simpler way as follows:
Corollary 4.4.1. Let A A A be a diagonalizable matrix and let H H H be a symmetric positive definite matrix such that A H AH A H is symmetric. Then there exist an eigenvector matrix R R R such that A = R Λ R − 1 A=R\Lambda R^{-1} A = R Λ R − 1 and H = R R T H=RR^{T} H = R R T .
The above result was first established by Merriam [40 ] for the compressible Euler equations. Barth generalized Merriam’s finding later on [39 ] . Using corollary 4.3, equation (63) becomes:
1 2 D [ v ] = 1 2 R ∣ Λ ∣ R T [ v ] . (64) \frac{1}{2}D[\mathbf{v}]=\frac{1}{2}R|\Lambda|R^{T}[\mathbf{v}]. \tag*{(64)} 2 1 D [ v ] = 2 1 R ∣Λ∣ R T [ v ] . (64)
The classic upwind dissipation term R ∣ Λ ∣ R − 1 [ u ] R|\Lambda|R^{-1}[\mathbf{u}] R ∣Λ∣ R − 1 [ u ] and its entropy-stable variant R ∣ Λ ∣ R T [ v ] R|\Lambda|R^{T}[\mathbf{v}] R ∣Λ∣ R T [ v ] are thus not different in essence. For infinitesimal variations ( d u , d v ) (\mathrm{d}\mathbf{u},\mathrm{d}\mathbf{v}) ( d u , d v ) , they are equal as we have:
R ∣ Λ ∣ R − 1 d u = ∣ A ∣ d u = ∣ A ∣ ( H d v ) = ( R ∣ Λ ∣ R − 1 ) ( R R T d v ) = R ∣ Λ ∣ R T d v R|\Lambda|R^{-1}\mathrm{d}\mathbf{u}=|A|\mathrm{d}\mathbf{u}=|A|(H\mathrm{d}\mathbf{v})=(R|\Lambda|R^{-1})(RR^{T}\mathrm{d}\mathbf{v})=R|\Lambda|R^{T}\mathrm{d}\mathbf{v} R ∣Λ∣ R − 1 d u = ∣ A ∣ d u = ∣ A ∣ ( H d v ) = ( R ∣Λ∣ R − 1 ) ( R R T d v ) = R ∣Λ∣ R T d v
From this relation, it is fair to assume that both dissipation operators will have the same scaling hence the same accuracy issues in the low-Mach limit (this is observed in practice - see next section). Furthermore, we can now introduce the candidate flux-preconditioned ES numerical flux as follows:
f ∗ = f E C ∗ − 1 2 P − 1 ∣ P A ∣ H [ v ] . (65) \mathbf{f}^{*}=\mathbf{f}_{\mathrm{EC}}^{*}-\frac{1}{2}P^{-1}|PA|H[\mathbf{v}]. \tag*{(65)} f ∗ = f EC ∗ − 2 1 P − 1 ∣ P A ∣ H [ v ] . (65)
The compatibility of flux-preconditioning with entropy stability now boils down to a linear algebra problem:
Under which conditions on the invertible matrix P P P is D P = P − 1 ∣ P A ∣ H D_P = P^{-1}|PA|H D P = P − 1 ∣ P A ∣ H positive definite? (66)
If P = I P = I P = I , positive definiteness follows from the eigenscaling theorem because H H H is symmetric positive definite and symmetrizes A A A from the right. Writing H = R R T H = RR^T H = R R T as before is not helpful unless the eigenvectors of ∣ P A ∣ |PA| ∣ P A ∣ are related to the eigenvalues of ∣ A ∣ |A| ∣ A ∣ in a convenient way. If H H H symmetrizes P A PA P A from the right, then ∣ P A ∣ H |PA|H ∣ P A ∣ H is symmetric positive definite but it is not clear if this matrix would remain positive definite upon multiplication on the left by P − 1 P^{-1} P − 1 . In addition, the condition that H H H symmetrizes P A PA P A might be too stringent to work with (for the compressible Euler equations in 3 dimensions, A A A and H H H are full matrices).
A key result which enabled us to move forward is that the positive definiteness and symmetry properties of a matrix can be established using congruence transforms. Since H H H symmetrizes A A A , H P T HP^T H P T symmetrizes P A PA P A and we can rewrite D P D_P D P as:
D P = P − 1 ∣ P A ∣ H = P − 1 ∣ P A ∣ H P T P − T = P − 1 ( ∣ P A ∣ H P T ) ( P − 1 ) T (66) D_P = P^{-1}|PA|H = P^{-1}|PA|HP^TP^{-T} = P^{-1}\left(|PA|HP^T\right)(P^{-1})^T \tag*{(66)} D P = P − 1 ∣ P A ∣ H = P − 1 ∣ P A ∣ H P T P − T = P − 1 ( ∣ P A ∣ H P T ) ( P − 1 ) T (66)
(66) shows that D P D_P D P is positive definite if and only if ∣ P A ∣ H P T |PA|HP^T ∣ P A ∣ H P T is positive definite. For the eigenscaling theorem (4.4) to apply, we need H P T HP^T H P T to be symmetric positive definite. At this stage, this still appears as a complicated a condition to work with (P P P invertible, H H H full).
In section 3, we recalled that preconditioners are typically developed for a mapped system first. Let A z = Q − 1 A Q A_z = Q^{-1}AQ A z = Q − 1 A Q and P z P_z P z be the associated preconditioner, then P − 1 ∣ P A ∣ = Q P z − 1 ∣ P z A z ∣ Q − 1 P^{-1}|PA| = QP_z^{-1}|P_zA_z|Q^{-1} P − 1 ∣ P A ∣ = Q P z − 1 ∣ P z A z ∣ Q − 1 . From there, we note that since H H H symmetrizes A A A from the right, then H z = Q − 1 H Q − T H_z = Q^{-1}HQ^{-T} H z = Q − 1 H Q − T symmetrizes A z A_z A z from the right as we have:
A H = ( Q A z Q − 1 ) ( Q H z Q T ) = Q ( A z H z ) Q T . AH = \left(QA_zQ^{-1}\right)\left(QH_zQ^T\right) = Q\left(A_zH_z\right)Q^T. A H = ( Q A z Q − 1 ) ( Q H z Q T ) = Q ( A z H z ) Q T .
We can then further decompose D P D_P D P as:
D P = P − 1 ∣ P A ∣ H = Q P z − 1 ∣ P z A z ∣ H z Q T = ( Q P z − 1 ) ∣ P z A z ∣ H z P z T ( Q P z − 1 ) T (67) D_P = P^{-1}|PA|H = QP_z^{-1}|P_zA_z|H_zQ^T = \left(QP_z^{-1}\right)|P_zA_z|H_zP_z^T\left(QP_z^{-1}\right)^T \tag*{(67)} D P = P − 1 ∣ P A ∣ H = Q P z − 1 ∣ P z A z ∣ H z Q T = ( Q P z − 1 ) ∣ P z A z ∣ H z P z T ( Q P z − 1 ) T (67)
(67) shows that D P D_P D P is positive definite if and only if ∣ P z A z ∣ H z P z T |P_zA_z|H_zP_z^T ∣ P z A z ∣ H z P z T is positive definite. Since H z P z T H_zP_z^T H z P z T symmetrizes P z A z P_zA_z P z A z from the right, then the eigenscaling theorem (4.4) applies if H z P z T H_zP_z^T H z P z T is symmetric positive definite.
With the differential entropy variables d z = ( d p ρ a M r , d u , d v , d w , d p − a 2 d ρ ) dz = \left(\frac{dp}{\rho a M_r},du,dv,dw,dp-a^2d\rho\right) d z = ( ρ a M r d p , d u , d v , d w , d p − a 2 d ρ ) introduced in section 3, the Jacobian A z A_z A z (equation (41)) is symmetric and from its structure, we can assume that P z P_z P z will have the general form:
P z = [ P 5 × 5 O 5 × 1 O 1 × 5 1 ] . P_z =
\begin{bmatrix}
P_{5\times5} & O_{5\times1}\\
O_{1\times5} & 1
\end{bmatrix}. P z = [ P 5 × 5 O 1 × 5 O 5 × 1 1 ] .
Remarkably, the matrix H z H_z H z has a very simple structure:
H z = a 2 γ ρ M r 2 [ 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 M r 2 a 2 ρ 2 ( γ − 1 ) ] . H_z = \frac{a^2}{\gamma\rho M_r^2}
\begin{bmatrix}
1 & 0 & 0 & 0 & 0\\
0 & 1 & 0 & 0 & 0\\
0 & 0 & 1 & 0 & 0\\
0 & 0 & 0 & 1 & 0\\
0 & 0 & 0 & 0 & M_r^2a^2\rho^2(\gamma-1)
\end{bmatrix}. H z = γ ρ M r 2 a 2 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 M r 2 a 2 ρ 2 ( γ − 1 ) .
It is easy to show that H z H_z H z commutes with P z P_z P z , A z A_z A z and with ∣ P z A z ∣ |P_zA_z| ∣ P z A z ∣ . This allows us to ultimately rewrite D P D_P D P as:
D P = ( Q P z − 1 ) ∣ P z A z ∣ H z P z T ( Q P z − 1 ) T = ( Q H z 1 / 2 P z − 1 ) ∣ P z A z ∣ P z T ( Q H z 1 / 2 P z − 1 ) T . (68) D_P = \left(QP_z^{-1}\right)|P_zA_z|H_zP_z^T\left(QP_z^{-1}\right)^T = \left(QH_z^{1/2}P_z^{-1}\right)|P_zA_z|P_z^T\left(QH_z^{1/2}P_z^{-1}\right)^T. \tag*{(68)} D P = ( Q P z − 1 ) ∣ P z A z ∣ H z P z T ( Q P z − 1 ) T = ( Q H z 1/2 P z − 1 ) ∣ P z A z ∣ P z T ( Q H z 1/2 P z − 1 ) T . (68)
and prove the following:
Theorem 4.5 (Flux-Preconditioning and Entropy-Stability). For the compressible Euler system (14), the preconditioned numerical flux (65) is ES if and only if the matrix ∣ P z A z ∣ P z T |P_zA_z|P_z^T ∣ P z A z ∣ P z T , with ( A z , P z ) (A_z,P_z) ( A z , P z ) defined by equations (38),(39) and (41), is positive definite. This is achieved under the sufficient but not necessary condition that P z P_z P z is symmetric positive definite.
P z P_z P z symmetric positive definite is a sufficient condition because of the eigenscaling theorem (4.4). Indeed, A z A_z A z symmetric implies that ( P z A z ) P z T (P_zA_z)P_z^T ( P z A z ) P z T is as well. In other words, P z T P_z^T P z T symmetrizes P z A z P_zA_z P z A z from the right. Turkel’s matrix (44) qualifies. This condition is not necessary, as Miczek’s P z P_z P z is not symmetric yet leads to an ES flux. We found the latter result while trying to answer a follow-up question to (66):
Can we find P z P_z P z such that P z A z P z T P_zA_zP_z^T P z A z P z T positive definite and P z − 1 ∣ P z A z ∣ P_z^{-1}|P_zA_z| P z − 1 ∣ P z A z ∣ scales like A z A_z A z with respect to M r M_r M r ? (70)
We have not managed to find a symmetric positive definite matrix P z P_z P z which satisfies the scaling requirements. To simplify the analysis, let’s consider the scenario where the flow and the interface normal are aligned with the x-direction. This brings us back to the Turkel’s 2-by-2 system (36) . Problem (70) simplifies to:
Can we find p p p , p 1 p_1 p 1 and p 2 p_2 p 2 such that P z − 1 ∣ P z A z ∣ = [ O ( 1 ) O ( 1 / M r ) O ( 1 / M r ) O ( 1 ) ] P_z^{-1}|P_zA_z| = \begin{bmatrix} \mathcal{O}(1) & \mathcal{O}(1/M_r) \\ \mathcal{O}(1/M_r) & \mathcal{O}(1) \end{bmatrix} P z − 1 ∣ P z A z ∣ = [ O ( 1 ) O ( 1/ M r ) O ( 1/ M r ) O ( 1 ) ] and P z = [ p 1 p p p 2 ] P_z = \begin{bmatrix} p_1 & p \\ p & p_2 \end{bmatrix} P z = [ p 1 p p p 2 ] is positive definite?
We have P z A z = R p Λ p R p − 1 P_zA_z = R_p\Lambda_pR_p^{-1} P z A z = R p Λ p R p − 1 with:
Λ p = diag ( [ 0.5 ( u p + a p ) , 0.5 ( u p − a p ) ] ) , R p = [ r 1 r 2 1 1 ] , \Lambda_p = \operatorname{diag}([0.5(u_p+a_p), 0.5(u_p-a_p)]), \quad R_p = \begin{bmatrix} r_1 & r_2 \\ 1 & 1 \end{bmatrix}, Λ p = diag ([ 0.5 ( u p + a p ) , 0.5 ( u p − a p )]) , R p = [ r 1 1 r 2 1 ] ,
u p = ( p 1 + p 2 ) u + 2 a p / M r , a p = u p 2 + 4 det ( P ) ( a 2 / M r 2 − u 2 ) , u_p = (p_1+p_2)u + 2ap/M_r, \quad a_p = \sqrt{u_p^2+4\det(P)(a^2/M_r^2-u^2)}, u p = ( p 1 + p 2 ) u + 2 a p / M r , a p = u p 2 + 4 det ( P ) ( a 2 / M r 2 − u 2 ) ,
r 1 = ( M r a p − a p p 2 ( p 1 − p 2 ) / p ) / ( 2 a p 2 + 2 M r p u ) + ( p 1 − p 2 ) / ( 2 p ) , r_1 = (M_ra_p-a_pp_2(p_1-p_2)/p)/(2ap_2+2M_rpu)+(p_1-p_2)/(2p), r 1 = ( M r a p − a p p 2 ( p 1 − p 2 ) / p ) / ( 2 a p 2 + 2 M r p u ) + ( p 1 − p 2 ) / ( 2 p ) ,
r 2 = ( − M r a p − a p p 2 ( p 1 − p 2 ) / p ) / ( 2 a p 2 + 2 M r p u ) + ( p 1 − p 2 ) / ( 2 p ) . r_2 = (-M_ra_p-a_pp_2(p_1-p_2)/p)/(2ap_2+2M_rpu)+(p_1-p_2)/(2p). r 2 = ( − M r a p − a p p 2 ( p 1 − p 2 ) / p ) / ( 2 a p 2 + 2 M r p u ) + ( p 1 − p 2 ) / ( 2 p ) .
det ( P ) = p 1 p 2 − p 2 > 0 \det(P)=p_1p_2-p^2>0 det ( P ) = p 1 p 2 − p 2 > 0 and trace ( P ) = p 1 + p 2 > 0 \operatorname{trace}(P)=p_1+p_2>0 trace ( P ) = p 1 + p 2 > 0 impose p 1 p_1 p 1 and p 2 p_2 p 2 to be positive. det ( P ) > 0 \det(P)>0 det ( P ) > 0 and a 2 / M r 2 − u 2 > 0 a^2/M_r^2-u^2>0 a 2 / M r 2 − u 2 > 0 in the subsonic regime, therefore u p < a p ⇒ ∣ u p − a p ∣ = − ( u p − a p ) u_p<a_p \Rightarrow|u_p-a_p|=-(u_p-a_p) u p < a p ⇒ ∣ u p − a p ∣ = − ( u p − a p ) and we have:
P z − 1 ∣ P z A z ∣ = [ a 11 a 12 a 12 a 22 ] , P_z^{-1}|P_zA_z| = \begin{bmatrix} a_{11} & a_{12} \\ a_{12} & a_{22} \end{bmatrix}, P z − 1 ∣ P z A z ∣ = [ a 11 a 12 a 12 a 22 ] ,
a 11 = 1 a p ( u 2 ( p 1 − p 2 ) + 2 a 2 p 2 / M r 2 + 2 a p u / M r ) , a 12 = 1 a p ( 2 p u 2 + a ( p 1 + p 2 ) u / M r ) , a_{11} = \frac{1}{a_p}\left(u^2(p_1-p_2)+2a^2p_2/M_r^2+2apu/M_r\right), \quad a_{12} = \frac{1}{a_p}\left(2pu^2+a(p_1+p_2)u/M_r\right), a 11 = a p 1 ( u 2 ( p 1 − p 2 ) + 2 a 2 p 2 / M r 2 + 2 a p u / M r ) , a 12 = a p 1 ( 2 p u 2 + a ( p 1 + p 2 ) u / M r ) ,
a 21 = a 12 , a 22 = 1 a p ( − u 2 ( p 1 − p 2 ) + 2 a 2 p 1 / M r 2 + 2 a p u / M r ) . a_{21}=a_{12}, \quad a_{22} = \frac{1}{a_p}\left(-u^2(p_1-p_2)+2a^2p_1/M_r^2+2apu/M_r\right). a 21 = a 12 , a 22 = a p 1 ( − u 2 ( p 1 − p 2 ) + 2 a 2 p 1 / M r 2 + 2 a p u / M r ) .
Looking at the expression of a p a_p a p , we see that in the limit M r → 0 M_r \to0 M r → 0 , a p a_p a p can scale either as p / M r p/M_r p / M r , p 1 p 2 / M r \sqrt{p_1p_2}/M_r p 1 p 2 / M r , p 1 p_1 p 1 or p 2 p_2 p 2 .
If a p ≈ p / M r a_p \approx p/M_r a p ≈ p / M r : a 11 ≈ u 2 ( p 1 − p 2 ) M r / p + 2 a 2 p 2 / ( p M r ) + 2 a u = O ( 1 ) a_{11} \approx u^2(p_1-p_2)M_r/p+2a^2p_2/(pM_r)+2au=\mathcal{O}(1) a 11 ≈ u 2 ( p 1 − p 2 ) M r / p + 2 a 2 p 2 / ( p M r ) + 2 a u = O ( 1 ) requires p 2 / p p_2/p p 2 / p to scale as M r M_r M r at most. Likewise, p 1 / p p_1/p p 1 / p must scale as M r M_r M r at most for a 22 a_{22} a 22 to be O ( 1 ) \mathcal{O}(1) O ( 1 ) . But then a 12 ≈ 2 M r u 2 + a ( p 1 / p + p 2 / p ) u = O ( M r ) a_{12}\approx2M_ru^2+a(p_1/p+p_2/p)u=\mathcal{O}(M_r) a 12 ≈ 2 M r u 2 + a ( p 1 / p + p 2 / p ) u = O ( M r ) does not scale as 1 / M r 1/M_r 1/ M r .
If a p ≈ p 1 a_p\approx p_1 a p ≈ p 1 : the second term in a 22 a_{22} a 22 scales as 1 / M r 2 1/M_r^2 1/ M r 2 .
If a p ≈ p 2 a_p\approx p_2 a p ≈ p 2 : the second term in a 11 a_{11} a 11 scales as 1 / M r 2 1/M_r^2 1/ M r 2 .
If a p ≈ p 1 p 2 / M r a_p\approx\sqrt{p_1p_2}/M_r a p ≈ p 1 p 2 / M r : Denote X = p 1 / p 2 X=\sqrt{p_1/p_2} X = p 1 / p 2 . Then a 11 ≈ u 2 ( X − 1 / X ) M r + 2 a 2 / ( X M r ) + 2 a p u / ( p 1 p 2 ) = O ( 1 ) a_{11}\approx u^2(X-1/X)M_r+2a^2/(XM_r)+2apu/(\sqrt{p_1p_2})=\mathcal{O}(1) a 11 ≈ u 2 ( X − 1/ X ) M r + 2 a 2 / ( X M r ) + 2 a p u / ( p 1 p 2 ) = O ( 1 ) imposes that X X X scales as 1 / M r 1/M_r 1/ M r . But then the second term in a 22 a_{22} a 22 scales at 1 / M r 2 1/M_r^2 1/ M r 2 instead of 1.
In each case, it seems3 that the Mach number scaling requirements cannot be met.
Miczek’s flux-preconditioner can be found by seeking P z P_z P z in the form:
P z = [ 1 p − p 1 ] . P_z = \begin{bmatrix} 1 & p \\ -p & 1 \end{bmatrix}. P z = [ 1 − p p 1 ] .
P z P_z P z is not symmetric but it is positive definite for any p p p since its symmetric part is the identity matrix. We have P z A z = R p Λ p R p − 1 P_zA_z=R_p\Lambda_pR_p^{-1} P z A z = R p Λ p R p − 1 with:
Λ p = diag ( [ u + a p , u − a p ] ) , R p = [ ( − M r a p + a p ) / ( a − M r p u ) ( M r a p + a p ) / ( a − M r p u ) 1 1 ] , \Lambda_p=\operatorname{diag}([u+a_p,u-a_p]), \quad R_p=\begin{bmatrix} (-M_ra_p+a_p)/(a-M_rpu) & (M_ra_p+a_p)/(a-M_rpu) \\ 1 & 1 \end{bmatrix}, Λ p = diag ([ u + a p , u − a p ]) , R p = [ ( − M r a p + a p ) / ( a − M r p u ) 1 ( M r a p + a p ) / ( a − M r p u ) 1 ] ,
a p = u 2 + det ( P ) ( a 2 / M r 2 − u 2 ) > u . a_p=\sqrt{u^2+\det(P)(a^2/M_r^2-u^2)}>u. a p = u 2 + det ( P ) ( a 2 / M r 2 − u 2 ) > u .
We have:
P z − 1 ∣ P z A z ∣ = 1 a p [ a 2 / M r 2 p u 2 + a ( M r u − a p ) / M r 2 − p u 2 + a ( M r u − a p ) / M r 2 a 2 / M r 2 ] . P_z^{-1}|P_zA_z|=\frac{1}{a_p}\begin{bmatrix} a^2/M_r^2 & pu^2+a(M_ru-a_p)/M_r^2 \\ -pu^2+a(M_ru-a_p)/M_r^2 & a^2/M_r^2 \end{bmatrix}. P z − 1 ∣ P z A z ∣ = a p 1 [ a 2 / M r 2 − p u 2 + a ( M r u − a p ) / M r 2 p u 2 + a ( M r u − a p ) / M r 2 a 2 / M r 2 ] .
For the first term to be O ( 1 ) \mathcal{O}(1) O ( 1 ) we need a p = O ( 1 / M r 2 ) a_p=\mathcal{O}(1/M_r^2) a p = O ( 1/ M r 2 ) which imposes p = O ( 1 / M r ) p=\mathcal{O}(1/M_r) p = O ( 1/ M r ) . The scaling of A z A_z A z is completely recovered. In the subsonic regime, Miczek set p = 1 − 1 / M r p=1-1/M_r p = 1 − 1/ M r so that in the limit M r → 1 M_r\to1 M r → 1 , P z → I P_z\to I P z → I .
Finally, we have that ∣ P z A z ∣ P z T |P_zA_z|P_z^T ∣ P z A z ∣ P z T is symmetric positive definite since its symmetric part has a determinant a 2 ( a 2 − M r 2 a p 2 ) det ( P ) 2 / ( M r 4 a p 2 ) a^2(a^2-M_r^2a_p^2)\det(P)^2/(M_r^4a_p^2) a 2 ( a 2 − M r 2 a p 2 ) det ( P ) 2 / ( M r 4 a p 2 ) and a trace 2 a 2 det ( P ) / ( M r 2 a p ) 2a^2\det(P)/(M_r^2a_p) 2 a 2 det ( P ) / ( M r 2 a p ) that are both positive. In § 6 , this entropy stability result will be established in a more elegant way for the full system.
Numerical experiments
In this section, we examine four different first-order ES schemes (59) (Theorem 3.3) in two simple flow configurations representative of the incompressible and acoustic limits. In section 5.1, we consider the Gresho vortex. In section 5.2, we consider a right-moving sound wave in one dimension. Periodic boundary conditions are set in both problems. A CFL of 1 is used for Backward Euler time integration.
In space, we use the classic ES Roe flux [43 ] (the entropy fix of Ismail & Roe [45 ] is not needed as we are not dealing with shock configurations), the ES Turkel flux, the ES Miczek flux, with the EC flux of Chandrasekhar [46 ] as the base (the same results were observed with the EC flux of Roe (57) [43 , 44 ] ). We also consider the EC flux of Chandrasekhar alone.
The calculations are made using a code which solves the discrete equations in dimensional form using a standard Newton-GMRES method [59 ] . The numerical fluxes in dimensional form are obtained by setting M r = 1 M_r = 1 M r = 1 and computing p p p locally using the Mach number associated with the average state. We use hat notation to denote the dimensional flow variables.
Gresho Vortex
The Gresho vortex [9 , 10 , 12 ] is a steady-state solution of the incompressible Euler equations in two dimensions ( Ω = [ 0 , 1 ] × [ 0 , 1 ] ) (\Omega= [0, 1] \times[0, 1]) ( Ω = [ 0 , 1 ] × [ 0 , 1 ]) . Let R R R be the radius of the vortex and r r r be the radial coordinate. Density is constant ρ ^ = ρ r \hat{\rho} = \rho_r ρ ^ = ρ r . The velocity field is given by:
u ^ = u ^ ϕ e ϕ , u ^ ϕ = u r { r / R , 0 ≤ r < R 2 − r / R , R ≤ r ≤ 2 R 0 , 2 R ≤ r (69) \hat{\boldsymbol{u}} = \hat{u}_{\phi}\boldsymbol{e}_{\phi}, \qquad\hat{u}_{\phi} = u_r
\begin{cases}
r/R, & 0 \le r < R \\
2-r/R, & R \le r \le2R \\
0, & 2R \le r
\end{cases} \tag*{(69)} u ^ = u ^ ϕ e ϕ , u ^ ϕ = u r ⎩ ⎨ ⎧ r / R , 2 − r / R , 0 , 0 ≤ r < R R ≤ r ≤ 2 R 2 R ≤ r (69)
u ϕ u_{\phi} u ϕ denotes the tangential velocity, and the mapping between cartesian ( u x , u y ) (u_x,u_y) ( u x , u y ) and radial coordinates is defined by:
r = x 2 + y 2 , e ϕ = − sin ( ϕ ) u x + cos ( ϕ ) u y = − ( y r ) u x + ( x r ) u y . r = \sqrt{x^2+y^2}, \qquad\boldsymbol{e}_{\phi} = -\sin(\phi)\boldsymbol{u}_x + \cos(\phi)\boldsymbol{u}_y = -\left(\frac{y}{r}\right)\boldsymbol{u}_x + \left(\frac{x}{r}\right)\boldsymbol{u}_y. r = x 2 + y 2 , e ϕ = − sin ( ϕ ) u x + cos ( ϕ ) u y = − ( r y ) u x + ( r x ) u y .
The reference time scale is set as the vortex period t r = 2 π R / u ϕ ( R ) = 2 π R / u r t_r = 2\pi R/u_{\phi}(R) = 2\pi R/u_r t r = 2 π R / u ϕ ( R ) = 2 π R / u r . The pressure p ^ \hat{p} p ^ must provide the centripetal force:
p ^ = p r + ∫ 0 r ρ r u ϕ 2 ( r ˉ ) r ˉ d r ˉ = p r + ρ r u r 2 { ( r / R ) 2 / 2 , 0 ≤ r < R ( r / R ) 2 / 2 + 4 ( 1 − ( r / R ) + ln ( r / R ) ) , R ≤ r ≤ 2 R − 2 + 4 ln 2 , 2 R ≤ r \hat{p} = p_r + \int_0^r \rho_r \frac{u_{\phi}^2(\bar{r})}{\bar{r}} \, \mathrm{d}\bar{r} = p_r + \rho_r u_r^2
\begin{cases}
(r/R)^2/2, & 0 \le r < R \\
(r/R)^2/2 + 4(1-(r/R)+\ln(r/R)), & R \le r \le2R \\
-2 + 4\ln2, & 2R \le r
\end{cases} p ^ = p r + ∫ 0 r ρ r r ˉ u ϕ 2 ( r ˉ ) d r ˉ = p r + ρ r u r 2 ⎩ ⎨ ⎧ ( r / R ) 2 /2 , ( r / R ) 2 /2 + 4 ( 1 − ( r / R ) + ln ( r / R )) , − 2 + 4 ln 2 , 0 ≤ r < R R ≤ r ≤ 2 R 2 R ≤ r
p r p_r p r is a strictly positive constant. The reference Mach number M r M_r M r for this setup is defined as the one at r = R r = R r = R :
M r = u r γ ( p r / ρ r + u r 2 / 2 ) ⟺ p r = ρ r u r 2 ( 1 γ M r 2 − 1 2 ) . (70) M_r = \frac{u_r}{\sqrt{\gamma(p_r/\rho_r + u_r^2/2)}} \Longleftrightarrow p_r = \rho_r u_r^2\left(\frac{1}{\gamma M_r^2} - \frac{1}{2}\right). \tag*{(70)} M r = γ ( p r / ρ r + u r 2 /2 ) u r ⟺ p r = ρ r u r 2 ( γ M r 2 1 − 2 1 ) . (70)
This relation shows how the reference quantities ( ρ r , u r , p r ) (\rho_r, u_r, p_r) ( ρ r , u r , p r ) relate to the reference Mach number M r M_r M r . We take R = 0.2 R = 0.2 R = 0.2 , ρ r = 1.0 \rho_r = 1.0 ρ r = 1.0 and u r = 2 π R M r ⟹ t r = 1 / M r u_r = 2\pi R M_r \Longrightarrow t_r = 1/M_r u r = 2 π R M r ⟹ t r = 1/ M r . p r p_r p r is determined by equation (72). Spatial fluctuations in p p p are of order M r 2 M_r^2 M r 2 while spatial fluctuations in u \boldsymbol{u} u are of order 1.
As in Miczek et al. [12 ] , we fix the grid (150 × \times × 150 cells) and run the ES schemes at different M r ∈ { 3 × 10 − 1 , 3 × 10 − 2 , 3 × 10 − 3 } M_r \in\{3 \times10^{-1}, 3 \times10^{-2}, 3 \times10^{-3}\} M r ∈ { 3 × 1 0 − 1 , 3 × 1 0 − 2 , 3 × 1 0 − 3 } for one vortex revolution, that is until t = 1 t = 1 t = 1 . Figure 1 shows the initial solution for M r = 3 × 10 − 3 M_r = 3 \times10^{-3} M r = 3 × 1 0 − 3 . Figure 2 shows snapshots of the solution with each scheme at different Mach numbers, and provides a clear illustration of the accuracy degradation issues in the low-Mach regime (ES Roe). The other three schemes do not show a visible dependency on the reference Mach number. The best results are obtained with the EC flux. The difference between the ES Turkel and ES Miczek fluxes is not clearly visible from these plots.
Figure 1. Gresho Vortex: Initial Mach number distribution M / M r M/M_r M / M r for M r = 3 × 10 − 3 M_r = 3 \times10^{-3} M r = 3 × 1 0 − 3 .
Figure 3 shows a normalized kinetic energy evolution for all four schemes at different Mach numbers. For the ES Roe flux, we see that the rate at which the kinetic energy decays increases with the Mach number. We can also see that the normalized kinetic energy for M r = 3 × 10 − 2 M_r = 3 \times10^{-2} M r = 3 × 1 0 − 2 becomes bigger than for M r = 3 × 10 − 3 M_r = 3 \times10^{-3} M r = 3 × 1 0 − 3 . This was slightly visible in figure 2. The Gresho vortex is a stationary solution , hence it is not surprising that numerical solution would eventually reach a steady state (we could then see the faster kinetic energy decay as the scheme converging to a wrong solution faster as M r → 0 M_r \to0 M r → 0 ). For the ES Miczek and ES Turkel fluxes, the kinetic energy decay appears to be independent of the Mach number. In each case, we see that the M r = 3 × 10 − 1 M_r = 3 \times10^{-1} M r = 3 × 1 0 − 1 curve is not matching exactly with the M r = { 3 × 10 − 2 , 3 × 10 − 3 } M_r = \{3 \times10^{-2}, 3 \times10^{-3}\} M r = { 3 × 1 0 − 2 , 3 × 1 0 − 3 } ones. We believe that this is because the M r = 3 × 10 − 1 M_r = 3 \times10^{-1} M r = 3 × 1 0 − 1 configuration does not completely fall into the incompressible regime. Figure 3 overall suggests that the ES Miczek flux performs better than the ES Turkel flux. This is also supported by Figure 7 (a)-(Figure 7 c)-(Figure 7 e) which show that the ES Turkel flux produces more entropy than the ES Miczek flux.
Figure 3. Gresho vortex: Total kinetic energy k / k 0 k/k_0 k / k 0 evolution over time for different ES fluxes at different Mach numbers.
Figure 7. Total entropy ( ρ s ) − ( ρ s ) 0 (\rho s) - (\rho s)_0 ( ρ s ) − ( ρ s ) 0 over time for all fluxes for the Gresho Vortex (left) and the sound wave (right).
Figure 4 shows the pressure distribution along the centerline y = 0.5 y = 0.5 y = 0.5 , after one revolution at M r = 3 × 10 − 3 M_r = 3 \times10^{-3} M r = 3 × 1 0 − 3 . The solution with the ES Miczek flux is clearly not in phase with the exact solution. The same anomaly is observed at different Mach numbers. Figure 5 suggests that this anomaly is the consequence of a spurious transient in the early stages of the vortex rotation. We found that the duration of this transient decreases with the Mach number.
Figure 4. Gresho vortex: Centerline pressure profile p ^ ( x , 0.5 ) \hat{p}(x,0.5) p ^ ( x , 0.5 ) after one rotation at M r = 3 × 10 − 3 M_r = 3 \times10^{-3} M r = 3 × 1 0 − 3 .
Figure 5. Gresho Vortex: Centerline pressure profiles at early instants highlighting the spurious transient observed with the ES Miczek flux (blue). M r = 3 × 10 − 3 M_r = 3 \times10^{-3} M r = 3 × 1 0 − 3 . Same legend as figure 4.
Acoustic wave
One way to set up a right-moving acoustic wave is to consider, as in Bruel et al. [30 ] , a free stream ( ρ ∞ , u ∞ , a ∞ ) (\rho_\infty, u_\infty, a_\infty) ( ρ ∞ , u ∞ , a ∞ ) and introduce fluctuations such that the Riemann invariants associated with the left moving acoustic wave and the entropy wave are constant throughout the domain. We set Ω = [ − 0.5 , 0.5 ] \Omega= [-0.5,\,0.5] Ω = [ − 0.5 , 0.5 ] and perturb density as follows:
ρ ^ ( x , 0 ) = ρ ∞ ( 1 + M r ψ ( x ) ) , \hat{\rho}(x,0) = \rho_\infty(1+M_r\psi(x)), ρ ^ ( x , 0 ) = ρ ∞ ( 1 + M r ψ ( x )) ,
where ψ ( x ) = exp ( − α x 2 ) \psi(x) = \exp(-\alpha x^2) ψ ( x ) = exp ( − α x 2 ) defines a gaussian pulse centered at the center of the domain. We set α = ln ( 10 3 ) / 0.15 2 \alpha= \ln(10^3)/0.15^2 α = ln ( 1 0 3 ) /0.1 5 2 so that ψ ( x ) < 10 − 3 \psi(x)<10^{-3} ψ ( x ) < 1 0 − 3 for ∣ x ∣ < 0.15 |x|<0.15 ∣ x ∣ < 0.15 . The flow is isentropic, hence p ^ ( x , 0 ) = ρ ^ ( x , 0 ) γ ⟹ a ^ = γ ( ρ ^ ( x , 0 ) ) γ − 1 \hat{p}(x,0)=\hat{\rho}(x,0)^\gamma\Longrightarrow\hat{a}=\sqrt{\gamma(\hat{\rho}(x,0))^{\gamma-1}} p ^ ( x , 0 ) = ρ ^ ( x , 0 ) γ ⟹ a ^ = γ ( ρ ^ ( x , 0 ) ) γ − 1 . The corresponding velocity perturbation must satisfy
( u ^ ( x , 0 ) − u ∞ ) − 2 ( a ^ ( x , 0 ) − a ∞ ) γ − 1 = 0 ⟹ u ^ ( x , 0 ) = u ∞ + 2 ( a ^ ( x , 0 ) − a ∞ ) γ − 1 . (\hat{u}(x,0)-u_\infty)-\frac{2(\hat{a}(x,0)-a_\infty)}{\gamma-1}=0
\Longrightarrow
\hat{u}(x,0)=u_\infty+\frac{2(\hat{a}(x,0)-a_\infty)}{\gamma-1}. ( u ^ ( x , 0 ) − u ∞ ) − γ − 1 2 ( a ^ ( x , 0 ) − a ∞ ) = 0 ⟹ u ^ ( x , 0 ) = u ∞ + γ − 1 2 ( a ^ ( x , 0 ) − a ∞ ) .
a ^ ( x , 0 ) \hat{a}(x,0) a ^ ( x , 0 ) and p ^ ( x , 0 ) \hat{p}(x,0) p ^ ( x , 0 ) are imposed by the density. If the reference Mach number M r M_r M r is small enough, we can write:
u ^ ( x , 0 ) = u r + 2 a r γ − 1 ( ( 1 + M r ψ ) γ − 1 2 − 1 ) = u ∞ + a ∞ M r ψ + O ( M r 2 ) . (71) \hat{u}(x,0)=u_r+\frac{2a_r}{\gamma-1}\left(\left(1+M_r\psi\right)^{\frac{\gamma-1}{2}}-1\right)=u_\infty+a_\infty M_r\psi+O(M_r^2). \tag*{(71)} u ^ ( x , 0 ) = u r + γ − 1 2 a r ( ( 1 + M r ψ ) 2 γ − 1 − 1 ) = u ∞ + a ∞ M r ψ + O ( M r 2 ) . (71)
We set u ∞ = 0 u_\infty=0 u ∞ = 0 and a ∞ = 1 a_\infty=1 a ∞ = 1 , so that the speed of propagation of the acoustic wave is roughly one. The reference time scale t r = 1 t_r=1 t r = 1 is the time it takes for the acoustic wave to do one period. We have ρ r = ρ ∞ \rho_r=\rho_\infty ρ r = ρ ∞ , u r = M r u_r=M_r u r = M r and a r = a ∞ a_r=a_\infty a r = a ∞ . Hence, spatial fluctuations in ( ρ , p ) (\rho,p) ( ρ , p ) are of order M r M_r M r , while fluctuations in u u u are of order 1.
We tested the four schemes on a grid of 500 cells for M r ∈ { 10 − 2 , 10 − 3 , 10 − 4 } M_r\in\{10^{-2},\,10^{-3},\,10^{-4}\} M r ∈ { 1 0 − 2 , 1 0 − 3 , 1 0 − 4 } . Figures 6(a)-(c) show the numerical solution at t = 1 t=1 t = 1 for different Mach numbers. The reference solution4 is obtained using a 4-th order TecNO scheme [47 ] on a grid of 1000 cells with a 4-th order Runge-Kutta time integration and a CFL of 0.5. We see that the ES Roe flux, ES Miczek flux and EC flux lead to a self-similar numerical solution. We can see that the acoustic wave is almost completely gone with the ES Turkel flux. This is in agreement with the analysis and results of Bruel et al. [30 ] for the barotropic Euler equations. The ES Miczek flux does not have this problem. Furthermore, it seems to perform just as well as the EC flux. This is also supported by figures 7(b)-(d)-(f).
Figure 8 shows the temporal evolution of a normalized sound wave amplitude A A A defined as:
A ( t ) = max x ∈ Ω p ( x , t ) max x ∈ Ω p ( x , 0 ) . (72) A(t)=\frac{\max_{x\in\Omega}p(x,t)}{\max_{x\in\Omega}p(x,0)}. \tag*{(72)} A ( t ) = max x ∈ Ω p ( x , 0 ) max x ∈ Ω p ( x , t ) . (72)
We can see that the rate at which the ES Turkel flux damps the sound wave increases as the Mach number decreases, while all other fluxes show a self-similar behavior. For the ES Miczek flux, we notice slight perturbations in A A A which seem to occur around t = { 0 , 0.5 , 1.0 } t=\{0,\,0.5,\,1.0\} t = { 0 , 0.5 , 1.0 } . Figure 9 suggests that these perturbations are caused by a spurious left-moving acoustic wave, created at ( x , t ) = ( 0 , 0 ) (x,t)=(0,0) ( x , t ) = ( 0 , 0 ) , that meets the right-moving acoustic wave when it reaches the periodic boundary and when it reaches the center of the domain at the end of the period.
::::
Figure a. EC Roe − M r = 3 × 10 − 1 -M_r = 3 \times10^{-1} − M r = 3 × 1 0 − 1
Figure b. EC Roe − M r = 3 × 10 − 2 -M_r = 3 \times10^{-2} − M r = 3 × 1 0 − 2
Figure c. EC Roe − M r = 3 × 10 − 3 -M_r = 3 \times10^{-3} − M r = 3 × 1 0 − 3
Figure d. ES Miczek − M r = 3 × 10 − 1 -M_r = 3 \times10^{-1} − M r = 3 × 1 0 − 1
Figure e. ES Miczek − M r = 3 × 10 − 2 -M_r = 3 \times10^{-2} − M r = 3 × 1 0 − 2
Figure f. ES Miczek − M r = 3 × 10 − 3 -M_r = 3 \times10^{-3} − M r = 3 × 1 0 − 3
Figure g. ES Turkel − M r = 3 × 10 − 1 -M_r = 3 \times10^{-1} − M r = 3 × 1 0 − 1
Figure h. ES Turkel − M r = 3 × 10 − 2 -M_r = 3 \times10^{-2} − M r = 3 × 1 0 − 2
Figure i. ES Turkel − M r = 3 × 10 − 3 -M_r = 3 \times10^{-3} − M r = 3 × 1 0 − 3
Figure j. ES Roe − M r = 3 × 10 − 1 -M_r = 3 \times10^{-1} − M r = 3 × 1 0 − 1
Figure k. ES Roe − M r = 3 × 10 − 2 -M_r = 3 \times10^{-2} − M r = 3 × 1 0 − 2
Figure l. ES Roe − M r = 3 × 10 − 3 -M_r = 3 \times10^{-3} − M r = 3 × 1 0 − 3
caption: Gresho Vortex: M / M r M/M_r M / M r profiles at t = 1 t = 1 t = 1 . Same legend as figure 1-(a).
::::
Summary
At this point, we have demonstrated, both analytically and numerically, that Flux-Preconditioning is compatible with Entropy-Stability. Numerical results are overall consistent with previous studies:
(S.1) The ES Roe flux suffers from the same accuracy issues in the incompressible low-Mach limit as those previously reported with the classic Roe flux [11 , 12 , 13 ] . This does not come as a surprise considering that the dissipation operators are not fundamentally different. These issues were not observed with the sound wave, in agreement with [30 ] . The temporal variation of the wave amplitude (72) is independent of the Mach number.
(S.2) The ES Turkel flux has a more consistent behavior in the incompressible limit, but at the price of damping acoustic waves harder as the Mach number decreases [30 ] .
(S.3) The ES Miczek flux performs well in both limits if we ignore the spurious transient in the Gresho vortex and the spurious left-moving acoustic wave, none of which were reported in [11 , 12 , 13 ] . These are hard to notice on contour plots.
The EC flux performs the best in both cases. This confirms that for standard ES schemes, it is the dissipation component of (52) that causes the accuracy issues. This also suggests that the simplest fix in the context of (implicit) ES schemes could be to simply discard the dissipation part of the ES flux. This will be investigated in future work for space-time high-order [48 ] discretizations in complex mixed flow configurations. We expect the stiffness issues associated with both the low-Mach regime and high-order implicit discretization to add a significant layer of complexity to the analysis.
What follows in the remaining two sections is entirely motivated by the authors’ goal to better understand the local behavior of ES schemes. The errors observed with the ES Miczek flux are intriguing. For the sound wave in particular, the spurious left-moving acoustic wave is reminiscent of anomalies the authors studied previously [61 , 63 ] (none of which could be tied to the violation of an entropy inequality). For all these reasons, we decided to delve into these issues, with an emphasis on the physical quantity ES schemes have an actual handle on.
The Accuracy Degradation from an Entropy Production Perspective
In the incompressible limit, Guillard & Viozat [14 ] showed that pressure fluctuations in space are of order M 2 M^2 M 2 , i.e. we can write p ( x , t ) = p 0 ( t ) + M 2 p 2 ( x , t ) p(x,t) = p_0(t) + M^2 p_2(x,t) p ( x , t ) = p 0 ( t ) + M 2 p 2 ( x , t ) . Assuming constant density ρ = ρ 0 \rho= \rho_0 ρ = ρ 0 , we can write:
ρ s = ρ 0 ( ln ( p 0 + M r 2 p 2 + O ( M r 3 ) ) − γ ln ( ρ 0 ) ) = ρ 0 ( s 0 + ln ( 1 + M r 2 ( p 2 / p 0 ) + O ( M r 3 ) ) ) = ρ 0 s 0 + M r 2 ρ 0 ( p 2 / p 0 ) + O ( M r 3 ) . \rho s = \rho_0 \left( \ln\left(p_0 + M_r^2 p_2 + O(M_r^3)\right) - \gamma\ln(\rho_0) \right) = \rho_0 \left( s_0 + \ln\left(1 + M_r^2(p_2/p_0) + O(M_r^3)\right) \right) = \rho_0 s_0 + M_r^2 \rho_0(p_2/p_0) + O(M_r^3). ρ s = ρ 0 ( ln ( p 0 + M r 2 p 2 + O ( M r 3 ) ) − γ ln ( ρ 0 ) ) = ρ 0 ( s 0 + ln ( 1 + M r 2 ( p 2 / p 0 ) + O ( M r 3 ) ) ) = ρ 0 s 0 + M r 2 ρ 0 ( p 2 / p 0 ) + O ( M r 3 ) .
with s 0 = ln p 0 − γ ln ρ 0 s_0 = \ln p_0 - \gamma\ln\rho_0 s 0 = ln p 0 − γ ln ρ 0 . Therefore, we state:
(a) (a) M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2
(b) (b) M r = 10 − 3 M_r = 10^{-3} M r = 1 0 − 3
(c) (c) M r = 10 − 4 M_r = 10^{-4} M r = 1 0 − 4
Figure 6. Sound wave: Pressure profiles at t = 1 t = 1 t = 1 for different Mach numbers.
(E.1) In the incompressible limit, entropy ρ s \rho s ρ s fluctuations in space should be of order M r 2 M_r^2 M r 2 .
Similarly [15 ] :
(E.2) In the acoustic limit, entropy ρ s \rho s ρ s fluctuations in space should be of order M r M_r M r .
In the incompressible limit, there is the additional requirement that kinetic energy should be conserved. To precisely and rigorously relate discrete changes in kinetic energy to discrete changes in entropy is not straightforward, if at all possible. Let’s assume periodic boundary conditions so that discrete conservation of total energy implies that it remains constant globally. We can write:
Δ ( ρ e + M r 2 ρ k ) = 0 ⟺ Δ ( ρ k ) = − 1 M r 2 Δ ( ρ e ) = − 1 ( γ − 1 ) M r 2 Δ ( p ) = − 1 ( γ − 1 ) M r 2 Δ ( exp ( ρ s − γ ρ ln ( ρ ) ρ ) ) . \Delta(\rho e + M_r^2 \rho k) = 0 \quad\Longleftrightarrow\quad\Delta(\rho k) = -\frac{1}{M_r^2}\Delta(\rho e) = -\frac{1}{(\gamma-1)M_r^2}\Delta(p) = -\frac{1}{(\gamma-1)M_r^2}\Delta\left(\exp\left(\frac{\rho s-\gamma\rho\ln(\rho)}{\rho}\right)\right). Δ ( ρ e + M r 2 ρ k ) = 0 ⟺ Δ ( ρ k ) = − M r 2 1 Δ ( ρ e ) = − ( γ − 1 ) M r 2 1 Δ ( p ) = − ( γ − 1 ) M r 2 1 Δ ( exp ( ρ ρ s − γ ρ ln ( ρ ) ) ) .
where Δ \Delta Δ refers to the global change, that is the sum ∑ i Δ i \sum_i \Delta_i ∑ i Δ i of local changes in each cell i i i . Assuming constant density, this relation simplifies to:
Δ ( ρ k ) = − 1 exp ( ρ ) ( γ − 1 ) M r 2 Δ ( exp ( ρ s ) ) . (73) \Delta(\rho k) = \frac{-1}{\exp(\rho)(\gamma-1)M_r^2}\Delta\left(\exp(\rho s)\right). \tag*{(73)} Δ ( ρ k ) = exp ( ρ ) ( γ − 1 ) M r 2 − 1 Δ ( exp ( ρ s ) ) . (73)
Equation (73) relates the global change in kinetic energy ρ k \rho k ρ k to the global change in the exponential of the entropy, which ES schemes do not explicitly control. It is certainly tempting to say that since the exponential function is monotonically increasing, Δ ( ρ s ) > 0 ⟹ Δ ( exp ( ρ s ) ) > 0 \Delta(\rho s)>0 \Longrightarrow\Delta\left(\exp(\rho s)\right)>0 Δ ( ρ s ) > 0 ⟹ Δ ( exp ( ρ s ) ) > 0 . This statement is true locally, but ES schemes are not explicitly designed to achieve Δ i ( ρ s ) > 0 \Delta_i(\rho s)>0 Δ i ( ρ s ) > 0 , because equation (53) also features flux contributions (in other words, one could have Δ i ( ρ s ) < 0 \Delta_i(\rho s)<0 Δ i ( ρ s ) < 0 ). We therefore refrain from making hasty interpretations.
Entropy Production Breakdowns (EPBs)
The most remarkable feature of ES schemes is the relation that holds at the semi-discrete level for entropy in each cell (53) , which we rewrite here:
d U ( u i ) d t + 1 V i ∫ ∂ Ω i F ∗ d S = − 1 V i E i , E i = ∫ ∂ Ω i E d S . \frac{dU(\mathbf{u}_i)}{dt}+\frac{1}{V_i}\int_{\partial\Omega_i}F^*\mathrm{d}S=-\frac{1}{V_i}\mathcal{E}_i,\quad\mathcal{E}_i=\int_{\partial\Omega_i}\mathcal{E}\mathrm{d}S. d t d U ( u i ) + V i 1 ∫ ∂ Ω i F ∗ d S = − V i 1 E i , E i = ∫ ∂ Ω i E d S .
The cell valued field E i \mathcal{E}_i E i tells us how much entropy is produced in space in response to the jumps in entropy variables across interfaces. It can therefore give us an idea of the magnitude of the entropy fluctuations the scheme creates. To this end, we proceed to derive a more detailed expression for E \mathcal{E} E . Ignoring the 1 / 4 1/4 1/4 factor in (55), we have:
E = [ v ] T D [ v ] = [ v ] T R ∣ Λ ∣ R T [ v ] . \mathcal{E}=[\mathbf{v}]^T D[\mathbf{v}]=[\mathbf{v}]^T R|\Lambda|R^T[\mathbf{v}]. E = [ v ] T D [ v ] = [ v ] T R ∣Λ∣ R T [ v ] .
Figure 9. Sound wave: Pressure profiles showing that the spurious wave (blue) reported in Figure 5 is an acoustic wave propagating at a speed of one. Same legend as Figure 6a .
Now let r 1 , … , r N \mathbf{r}_1,\ldots,\mathbf{r}_N r 1 , … , r N denote the columns of the eigenvector matrix R R R where N N N is the number of eigenvalues (possibly repeated). We have R = [ r 1 , … , r N ] R=[\mathbf{r}_1,\ldots,\mathbf{r}_N] R = [ r 1 , … , r N ] , ∣ Λ ∣ = diag ( ∣ λ 1 ∣ , … , ∣ λ N ∣ ) |\Lambda|=\operatorname{diag}(|\lambda_1|,\ldots,|\lambda_N|) ∣Λ∣ = diag ( ∣ λ 1 ∣ , … , ∣ λ N ∣ ) . Define μ T = [ μ 1 , … , μ N ] = [ v ] T R \boldsymbol{\mu}^{T}=[\mu_1,\ldots,\mu_N]=[\mathbf{v}]^{T}R μ T = [ μ 1 , … , μ N ] = [ v ] T R . We have:
E = μ T ∣ Λ ∣ μ = ∑ k = 1 N ∣ λ k ∣ μ k 2 , \mathcal{E}=\boldsymbol{\mu}^{T}|\Lambda|\boldsymbol{\mu}=\sum_{k=1}^{N}|\lambda_k|\mu_k^2, E = μ T ∣Λ∣ μ = k = 1 ∑ N ∣ λ k ∣ μ k 2 ,
and we can see how the total entropy production breaks down into the positive contributions associated with each eigenvector or ”mode” r i \mathbf{r}_i r i . This decomposition is inspired by how Roe & Pike [41 ] rewrote the Roe flux:
R ∣ Λ ∣ R − 1 [ u ] = ∑ k = 1 N ∣ λ k ∣ α k r k , α = R − 1 [ u ] . (74) R|\Lambda|R^{-1}[\mathbf{u}]=\sum_{k=1}^{N}|\lambda_k|\alpha_k\mathbf{r}_k,\quad\boldsymbol{\alpha}=R^{-1}[\mathbf{u}]. \tag*{(74)} R ∣Λ∣ R − 1 [ u ] = k = 1 ∑ N ∣ λ k ∣ α k r k , α = R − 1 [ u ] . (74)
It is also inspired by the family of closed-form EC fluxes Tadmor proposed in [38 ] (we discuss them in section 7). The vector α \boldsymbol{\alpha} α in equation (76) is known as a vector of wave strengths . We can interpret μ = R T [ v ] \boldsymbol{\mu}=R^{T}[\mathbf{v}] μ = R T [ v ] in our decomposition as a vector of wave strengths as well, as for infinitesimal variations we have:
d u = H d v = R R T d v ⟹ R − 1 d u = R T d v . \mathrm{d}\mathbf{u}=H\mathrm{d}\mathbf{v}=RR^{T}\mathrm{d}\mathbf{v}\ \Longrightarrow\ R^{-1}\mathrm{d}\mathbf{u}=R^{T}\mathrm{d}\mathbf{v}. d u = H d v = R R T d v ⟹ R − 1 d u = R T d v .
For the compressible Euler system (14), R = [ r u n , 1 , r u n , 2 , r u n , 3 , r u n + a , r u n − a ] R=[\mathbf{r}_{u_n,1},\mathbf{r}_{u_n,2},\mathbf{r}_{u_n,3},\mathbf{r}_{u_n+a},\mathbf{r}_{u_n-a}] R = [ r u n , 1 , r u n , 2 , r u n , 3 , r u n + a , r u n − a ] (N = 5 N=5 N = 5 ) and we have:
E = ∣ u n ∣ ( μ u n , 1 2 + μ u n , 2 2 + μ u n , 3 2 ) + ∣ u n + ( a / M r ) ∣ μ u n + a 2 + ∣ u n − ( a / M r ) ∣ μ u n − a 2 . (75) \mathcal{E}=|u_n|(\mu_{u_n,1}^{2}+\mu_{u_n,2}^{2}+\mu_{u_n,3}^{2})+\left|u_n+\left(a/M_r\right)\right|\mu_{u_n+a}^{2}+\left|u_n-\left(a/M_r\right)\right|\mu_{u_n-a}^{2}. \tag*{(75)} E = ∣ u n ∣ ( μ u n , 1 2 + μ u n , 2 2 + μ u n , 3 2 ) + ∣ u n + ( a / M r ) ∣ μ u n + a 2 + ∣ u n − ( a / M r ) ∣ μ u n − a 2 . (75)
It breaks down into entropy production due to convective modes (first three terms, which we gather into E u n \mathcal{E}_{u_n} E u n ) and entropy production due to acoustic modes (remaining two terms, which we denote E u n + a \mathcal{E}_{u_n+a} E u n + a and E u n − a \mathcal{E}_{u_n-a} E u n − a respectively). We expect the latter to be the key in understanding the low-Mach problems. The entropy production field E ^ \widehat{\mathcal{E}} E that the code solving the dimensional system (5) computes is related to E \mathcal{E} E by the simple relation:
E ^ = ( ρ r u r ) × E . (76) \widehat{\mathcal{E}}=(\rho_r u_r)\times\mathcal{E}. \tag*{(76)} E = ( ρ r u r ) × E . (76)
Given that in both test problems the reference Mach number M r M_r M r is adjusted by changing the reference velocity u r u_r u r only, we use E ^ = M r × E \widehat{\mathcal{E}}=M_r\times\mathcal{E} E = M r × E instead. We also define the global quantity (sum over all cells):
⟨ E ⟩ = ∑ i E i . (77) \langle\mathcal{E}\rangle=\sum_i\mathcal{E}_i. \tag*{(77)} ⟨ E ⟩ = i ∑ E i . (77)
which we will subsequently use to visualize the global influence of each entropy production field in (77) on the total entropy production in space.
We now proceed to develop the expressions of E u n , E u n − a \mathcal{E}_{u_n},\mathcal{E}_{u_n-a} E u n , E u n − a and E u n + a \mathcal{E}_{u_n+a} E u n + a . We will first treat the convective modes (entropy & shear waves) since they are common to all three ES fluxes. We then treat the acoustic modes. Note that these dissipation matrices are evaluated at averaged states (we simply take arithmetic averages for all ES fluxes). For smooth flow configurations, we do not expect the choice of average values to have a impact.
Convective modes. The scaled eigenvectors associated with λ = u n \lambda=u_n λ = u n are given by:
r u n , 1 = K q ( n 1 K 0 r 0 + ( a / M r ) r s 1 ) , r u n , 2 = K q ( n 2 K 0 r 0 + ( a / M r ) r s 2 ) , r u n , 3 = K q ( n 3 K 0 r 0 + ( a / M r ) r s 3 ) , \mathbf{r}_{u_n,1}=K_q(n_1K_0\mathbf{r}_0+(a/M_r)\mathbf{r}_{s1}),\quad\mathbf{r}_{u_n,2}=K_q(n_2K_0\mathbf{r}_0+(a/M_r)\mathbf{r}_{s2}),\quad\mathbf{r}_{u_n,3}=K_q(n_3K_0\mathbf{r}_0+(a/M_r)\mathbf{r}_{s3}), r u n , 1 = K q ( n 1 K 0 r 0 + ( a / M r ) r s 1 ) , r u n , 2 = K q ( n 2 K 0 r 0 + ( a / M r ) r s 2 ) , r u n , 3 = K q ( n 3 K 0 r 0 + ( a / M r ) r s 3 ) ,
r 0 = [ 1 u v w M r 2 k ] , r s 1 = [ 0 0 n 3 − n 2 M r 2 ( n 3 v − n 2 w ) ] , r s 2 = [ 0 − n 3 0 n 1 M r 2 ( n 1 w − n 3 u ) ] , r s 3 = [ 0 n 2 − n 1 0 M r 2 ( n 2 u − n 1 v ) ] , \mathbf{r}_0=
\begin{bmatrix}
1\\u\\v\\w\\M_r^2 k
\end{bmatrix},\quad
\mathbf{r}_{s1}=
\begin{bmatrix}
0\\0\\n_3\\-n_2\\M_r^2(n_3v-n_2w)
\end{bmatrix},\quad
\mathbf{r}_{s2}=
\begin{bmatrix}
0\\-n_3\\0\\n_1\\M_r^2(n_1w-n_3u)
\end{bmatrix},\quad
\mathbf{r}_{s3}=
\begin{bmatrix}
0\\n_2\\-n_1\\0\\M_r^2(n_2u-n_1v)
\end{bmatrix}, r 0 = 1 u v w M r 2 k , r s 1 = 0 0 n 3 − n 2 M r 2 ( n 3 v − n 2 w ) , r s 2 = 0 − n 3 0 n 1 M r 2 ( n 1 w − n 3 u ) , r s 3 = 0 n 2 − n 1 0 M r 2 ( n 2 u − n 1 v ) ,
K q = ( ρ / γ ) 1 / 2 , K 0 = ( γ − 1 ) 1 / 2 . K_q=(\rho/\gamma)^{1/2},\quad K_0=(\gamma-1)^{1/2}. K q = ( ρ / γ ) 1/2 , K 0 = ( γ − 1 ) 1/2 .
r 0 \mathbf{r}_0 r 0 is an entropy wave. Let μ 0 = r 0 T [ v ] \mu_0=\mathbf{r}_0^{T}[\mathbf{v}] μ 0 = r 0 T [ v ] be the corresponding wave strength, we can show that:
μ 0 = − [ s ] γ − 1 − M r 2 4 [ ρ p ] ( [ u ] 2 + [ v ] 2 + [ w ] 2 ) . \mu_0=\frac{-[s]}{\gamma-1}-\frac{M_r^2}{4}\left[\frac{\rho}{p}\right]\left([u]^2+[v]^2+[w]^2\right). μ 0 = γ − 1 − [ s ] − 4 M r 2 [ p ρ ] ( [ u ] 2 + [ v ] 2 + [ w ] 2 ) .
r s 1 , r s 2 \mathbf{r}_{s1},\mathbf{r}_{s2} r s 1 , r s 2 and r s 3 \mathbf{r}_{s3} r s 3 are shear waves (they satisfy n 1 r s 1 + n 2 r s 2 + n 3 r s 3 = 0 n_1\mathbf{r}_{s1}+n_2\mathbf{r}_{s2}+n_3\mathbf{r}_{s3}=0 n 1 r s 1 + n 2 r s 2 + n 3 r s 3 = 0 ). The corresponding wave strengths μ s 1 = r s 1 T [ v ] \mu_{s1}=\mathbf{r}_{s1}^{T}[\mathbf{v}] μ s 1 = r s 1 T [ v ] , μ s 2 = r s 2 T [ v ] \mu_{s2}=\mathbf{r}_{s2}^{T}[\mathbf{v}] μ s 2 = r s 2 T [ v ] and μ s 3 = r s 3 T [ v ] \mu_{s3}=\mathbf{r}_{s3}^{T}[\mathbf{v}] μ s 3 = r s 3 T [ v ] are given by:
μ s 1 = M r 2 ( ρ p ) ‾ [ v ] 1 , μ s 2 = M r 2 ( ρ p ) ‾ [ v ] 2 , μ s 3 = M r 2 ( ρ p ) ‾ [ v ] 3 , \mu_{s1}=M_r^2\overline{\left(\frac{\rho}{p}\right)}[v]_1,\quad\mu_{s2}=M_r^2\overline{\left(\frac{\rho}{p}\right)}[v]_2,\quad\mu_{s3}=M_r^2\overline{\left(\frac{\rho}{p}\right)}[v]_3, μ s 1 = M r 2 ( p ρ ) [ v ] 1 , μ s 2 = M r 2 ( p ρ ) [ v ] 2 , μ s 3 = M r 2 ( p ρ ) [ v ] 3 ,
ν 1 = n 3 v − n 2 w , ν 3 = n 1 w − n 3 u , ν 3 = n 2 u − n 1 v . \nu_1=n_3v-n_2w,\quad\nu_3=n_1w-n_3u,\quad\nu_3=n_2u-n_1v. ν 1 = n 3 v − n 2 w , ν 3 = n 1 w − n 3 u , ν 3 = n 2 u − n 1 v .
We now have:
E u n = ∣ u n ∣ K q 2 ( ( n 1 K 0 μ 0 + ( a / M r ) μ s 1 ) 2 + ( n 2 K 0 μ 0 + ( a / M r ) μ s 2 ) 2 + ( n 3 K 0 μ 0 + ( a / M r ) μ s 3 ) 2 ) = ∣ u n ∣ K q 2 ( K 0 2 μ 0 2 + ( a / M r ) 2 ( μ s 1 2 + μ s 2 2 + μ s 3 2 ) ) = ∣ u n ∣ ( γ − 1 γ ρ μ 0 2 + ρ a 2 γ M r 2 ( μ s 1 2 + μ s 2 2 + μ s 3 2 ) ) . \begin{aligned}
\mathcal{E}_{un}=|u_n|K_q^2\left(\left(n_1K_0\mu_0+(a/M_r)\mu_{s1}\right)^2+\left(n_2K_0\mu_0+(a/M_r)\mu_{s2}\right)^2+\left(n_3K_0\mu_0+(a/M_r)\mu_{s3}\right)^2\right) \\
&=|u_n|K_q^2\left(K_0^2\mu_0^2+(a/M_r)^2\left(\mu_{s1}^2+\mu_{s2}^2+\mu_{s3}^2\right)\right) \\
&=|u_n|\left(\frac{\gamma-1}{\gamma}\rho\mu_0^2+\frac{\rho a^2}{\gamma M_r^2}\left(\mu_{s1}^2+\mu_{s2}^2+\mu_{s3}^2\right)\right).
\end{aligned} E u n = ∣ u n ∣ K q 2 ( ( n 1 K 0 μ 0 + ( a / M r ) μ s 1 ) 2 + ( n 2 K 0 μ 0 + ( a / M r ) μ s 2 ) 2 + ( n 3 K 0 μ 0 + ( a / M r ) μ s 3 ) 2 ) = ∣ u n ∣ K q 2 ( K 0 2 μ 0 2 + ( a / M r ) 2 ( μ s 1 2 + μ s 2 2 + μ s 3 2 ) ) = ∣ u n ∣ ( γ γ − 1 ρ μ 0 2 + γ M r 2 ρ a 2 ( μ s 1 2 + μ s 2 2 + μ s 3 2 ) ) .
Injecting the discrete wave strength expressions, we get:
E u n = ∣ u n ∣ ( γ − 1 γ ρ μ 0 2 + α ρ M r 2 ( [ V 1 ] 2 + [ V 2 ] 2 + [ V 3 ] 2 ) ) , α = a 2 γ ( ρ p ) 2 , (78) \mathcal{E}_{un}=|u_n|\left(\frac{\gamma-1}{\gamma}\rho\mu_0^2+\alpha\rho M_r^2\left([V_1]^2+[V_2]^2+[V_3]^2\right)\right),\quad\alpha=\frac{a^2}{\gamma}\left(\frac{\rho}{p}\right)^2, \tag*{(78)} E u n = ∣ u n ∣ ( γ γ − 1 ρ μ 0 2 + α ρ M r 2 ( [ V 1 ] 2 + [ V 2 ] 2 + [ V 3 ] 2 ) ) , α = γ a 2 ( p ρ ) 2 , (78)
which we rewrite as the sum of a contribution of an entropy wave contribution E u n , s \mathcal{E}_{un,s} E u n , s (first term) and a contribution due to shear waves E u n , τ \mathcal{E}_{un,\tau} E u n , τ (remaining three terms).
E u n = E u n , s + E u n , τ . \mathcal{E}_{un}=\mathcal{E}_{un,s}+\mathcal{E}_{un,\tau}. E u n = E u n , s + E u n , τ .
For cartesian grids aligned with the ( x , y , z ) (x,y,z) ( x , y , z ) coordinate system, the normal vectors are along the basis vectors and the entropy production due to shear E u n , τ \mathcal{E}_{un,\tau} E u n , τ can be broken down into 6 terms:
Along x x x , shear in y y y (E u n , τ x y = ∣ u n ∣ μ 3 2 \mathcal{E}_{un,\tau xy}=|u_n|\mu_3^2 E u n , τ x y = ∣ u n ∣ μ 3 2 ) and shear in z z z (E u n , τ x z = ∣ u n ∣ μ 2 2 \mathcal{E}_{un,\tau xz}=|u_n|\mu_2^2 E u n , τ x z = ∣ u n ∣ μ 2 2 ).
Along y y y , shear in z z z (E u n , τ y z = ∣ u n ∣ μ 1 2 \mathcal{E}_{un,\tau yz}=|u_n|\mu_1^2 E u n , τ y z = ∣ u n ∣ μ 1 2 ) and shear in x x x (E u n , τ y x = ∣ u n ∣ μ 3 2 \mathcal{E}_{un,\tau yx}=|u_n|\mu_3^2 E u n , τ y x = ∣ u n ∣ μ 3 2 ).
Along z z z , shear in y y y (E u n , τ z y = ∣ u n ∣ μ 1 2 \mathcal{E}_{un,\tau zy}=|u_n|\mu_1^2 E u n , τ z y = ∣ u n ∣ μ 1 2 ) and shear in x x x (E u n , τ z x = ∣ u n ∣ μ 2 2 \mathcal{E}_{un,\tau zx}=|u_n|\mu_2^2 E u n , τ z x = ∣ u n ∣ μ 2 2 ).
This gives:
E u n , τ = E u n , τ x y + E u n , τ x z + E u n , τ y x + E u n , τ y z + E u n , τ z x + E u n , τ z y (79) \mathcal{E}_{un,\tau}=\mathcal{E}_{un,\tau xy}+\mathcal{E}_{un,\tau xz}+\mathcal{E}_{un,\tau yx}+\mathcal{E}_{un,\tau yz}+\mathcal{E}_{un,\tau zx}+\mathcal{E}_{un,\tau zy} \tag*{(79)} E u n , τ = E u n , τ x y + E u n , τ x z + E u n , τ y x + E u n , τ y z + E u n , τ z x + E u n , τ z y (79)
Acoustic modes. The scaled acoustic eigenvectors r 4 , 5 = r u n ± a \mathbf{r}_{4,5}=\mathbf{r}_{un\pm a} r 4 , 5 = r u n ± a are given by:
r u n ± a = K a [ 1 u ± n 1 ( a / M r ) v ± n 2 ( a / M r ) w ± n 3 ( a / M r ) h + M r 2 k ± u n a M r ] , K a = ( ρ 2 γ ) 1 / 2 . \mathbf{r}_{un\pm a}=K_a
\begin{bmatrix}
1\\
u\pm n_1(a/M_r)\\
v\pm n_2(a/M_r)\\
w\pm n_3(a/M_r)\\
h+M_r^2k\pm u_naM_r
\end{bmatrix},\qquad K_a=\left(\frac{\rho}{2\gamma}\right)^{1/2}. r u n ± a = K a 1 u ± n 1 ( a / M r ) v ± n 2 ( a / M r ) w ± n 3 ( a / M r ) h + M r 2 k ± u n a M r , K a = ( 2 γ ρ ) 1/2 .
The acoustic wave strengths μ u n ± a = r u n ± a [ v ] \mu_{un\pm a}=\mathbf{r}_{un\pm a}[\mathbf{v}] μ u n ± a = r u n ± a [ v ] are given by:
μ u n ± a = K a ( μ 0 − h [ ρ p ] ± M r a ( ρ p ) [ u n ] ) . \mu_{un\pm a}=K_a\left(\mu_0-h\left[\frac{\rho}{p}\right]\pm M_ra\left(\frac{\rho}{p}\right)[u_n]\right). μ u n ± a = K a ( μ 0 − h [ p ρ ] ± M r a ( p ρ ) [ u n ] ) .
The entropy production field due to acoustic modes therefore writes:
E u n ± a = ∣ u n ± ( a / M r ) ∣ K a 2 ( μ 0 − h [ ρ p ] ± M r a ( ρ p ) [ u n ] ) 2 . \mathcal{E}_{un\pm a}=|u_n\pm(a/M_r)|K_a^2\left(\mu_0-h\left[\frac{\rho}{p}\right]\pm M_ra\left(\frac{\rho}{p}\right)[u_n]\right)^2. E u n ± a = ∣ u n ± ( a / M r ) ∣ K a 2 ( μ 0 − h [ p ρ ] ± M r a ( p ρ ) [ u n ] ) 2 .
Summary. Overall, the discrete entropy production field E = [ v ] T D [ v ] \mathcal{E}=[\mathbf{v}]^{T}D[\mathbf{v}] E = [ v ] T D [ v ] can be decomposed as:
E = E u n , s + ( E u n , τ x y + E u n , τ x z + E u n , τ y x + E u n , τ y z + E u n , τ z x + E u n , τ z y ) + E u n + a + E u n − a (80) \mathcal{E}=\mathcal{E}_{un,s}+\left(\mathcal{E}_{un,\tau xy}+\mathcal{E}_{un,\tau xz}+\mathcal{E}_{un,\tau yx}+\mathcal{E}_{un,\tau yz}+\mathcal{E}_{un,\tau zx}+\mathcal{E}_{un,\tau zy}\right)+\mathcal{E}_{un+a}+\mathcal{E}_{un-a} \tag*{(80)} E = E u n , s + ( E u n , τ x y + E u n , τ x z + E u n , τ y x + E u n , τ y z + E u n , τ z x + E u n , τ z y ) + E u n + a + E u n − a (80)
Each of these entropy production fields can be visualized. Figure 10 and Figure 11 show them for the Gresho vortex at t = 0 t=0 t = 0 . This is, to the best of our knowledge, the first time that a concrete view on how an ES scheme produces entropy locally is given. What is striking is that the acoustic entropy production fields are 2 to 5 orders of magnitudes bigger than the convective ones. Figure 13 (a)-(Figure 13 b)-(Figure 13 e) show that the acoustic entropy production fields make for most of the entropy produced by the ES Roe flux.
Figure 10. Gresho vortex: Entropy production fields associated with the convective modes at t = 0 t = 0 t = 0 and M r = 3 × 10 − 2 M_r = 3 \times10^{-2} M r = 3 × 1 0 − 2 . These are common to all ES fluxes.
Figure 11. Gresho vortex: Acoustic Entropy production fields at t = 0 t = 0 t = 0 of the ES Roe flux at M r = 3 × 10 − 2 M_r = 3 \times10^{-2} M r = 3 × 1 0 − 2 .
Figure 13. Integral of each entropy production field with time at different Mach numbers for the ES Roe flux on the Gresho Vortex (left) and the sound wave (right).
Similarly, Figure 12 (a)-(Figure 12 c) show the entropy production fields at t = 0 t=0 t = 0 for the acoustic wave. The entropy production field associated with entropy waves (there is no shear in this one-dimensional setup) and the entropy production field associated with left-moving acoustic waves are negligible compared to the entropy production field associated with right-moving acoustic waves. This makes sense, and over time, this difference in magnitude is sustained as shown in Figure 13 (b)-(Figure 13 d)-(Figure 13 f).
Figure 12. Sound Wave: Entropy production fields at different Mach numbers at t = 0 t = 0 t = 0 and M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2 for the ES Roe flux.
EPBs of Preconditioned operators
EPBs for the preconditioned operators D P [ v ] D_P[\mathbf{v}] D P [ v ] of Turkel and Miczek can be obtained if we manage to express them in a symmetric form R ∣ Λ ∣ R T [ v ] R|\Lambda|R^T[\mathbf{v}] R ∣Λ∣ R T [ v ] . For this purpose, we can start from the congruence relation (68) we established in section 4:
P − 1 ∣ P A ∣ [ v ] = ( Q H z 1 / 2 P z − 1 ) ( ∣ P z A z ∣ P z T ) ( Q H z 1 / 2 P z − 1 ) T . P^{-1}|PA|[\mathbf{v}] = \left(QH_z^{1/2}P_z^{-1}\right)\left(|P_zA_z|P_z^T\right)\left(QH_z^{1/2}P_z^{-1}\right)^T. P − 1 ∣ P A ∣ [ v ] = ( Q H z 1/2 P z − 1 ) ( ∣ P z A z ∣ P z T ) ( Q H z 1/2 P z − 1 ) T .
We see that a symmetric form for D P D_P D P can be inferred from one for ∣ P z A z ∣ P z T |P_zA_z|P_z^T ∣ P z A z ∣ P z T (and vice versa). A simple trick to proceed, which we picked up from Diosady & Murman [48 ] , consists in forcing the eigenscaling theorem (4.4) by introducing the matrix T p 2 T_p^2 T p 2 defined by P z T = R p z T p 2 R p z T P_z^T=R_{pz}T_p^2R_{pz}^T P z T = R p z T p 2 R p z T . From there, we have:
∣ P z A z ∣ P z T = R p z ∣ Λ p ∣ T p 2 R p z T ⟹ D P = R p ( ∣ Λ p ∣ T p ) R p T , R p = Q H z 1 / 2 P z − 1 R p z . (81) |P_zA_z|P_z^T=R_{pz}|\Lambda_p|T_p^2R_{pz}^T \quad\Longrightarrow\quad D_P=R_p(|\Lambda_p|T_p)R_p^T,\quad R_p=QH_z^{1/2}P_z^{-1}R_{pz}. \tag*{(81)} ∣ P z A z ∣ P z T = R p z ∣ Λ p ∣ T p 2 R p z T ⟹ D P = R p ( ∣ Λ p ∣ T p ) R p T , R p = Q H z 1/2 P z − 1 R p z . (81)
If T p T_p T p is diagonal, an EPB can be introduced along the column vectors of R p R_p R p . Turkel’s matrix qualifies with T p 2 T_p^2 T p 2 given by:
T p 2 = diag ( [ 1 , 1 , 1 , K 2 2 + p 2 , K 1 2 + p 2 ] ) , (82) T_p^2=\operatorname{diag}([1,\ 1,\ 1,\ K_2^2+p^2,\ K_1^2+p^2]), \tag*{(82)} T p 2 = diag ([ 1 , 1 , 1 , K 2 2 + p 2 , K 1 2 + p 2 ]) , (82)
and R p = [ r u n , 1 , r u n , 2 , r u n , 3 , r u n p + a p , r u n p − a p ] R_p=[\mathbf{r}_{un,1},\ \mathbf{r}_{un,2},\ \mathbf{r}_{un,3},\ \mathbf{r}_{unp+ap},\ \mathbf{r}_{unp-ap}] R p = [ r u n , 1 , r u n , 2 , r u n , 3 , r u n p + a p , r u n p − a p ] with:
r u n p + a p = ρ γ p 2 ( K 1 − K 2 ) K 1 ∣ [ 1 u + n 1 ( a / M r ) ( p 2 / K 1 ) v + n 2 ( a / M r ) ( p 2 / K 1 ) w + n 3 ( a / M r ) ( p 2 / K 1 ) h t + u n a M r ( p 2 / K 1 ) ] , r u n p − a p = ρ γ p 2 ( K 1 − K 2 ) K 2 ∣ [ 1 u + n 1 ( a / M r ) ( p 2 / K 2 ) v + n 2 ( a / M r ) ( p 2 / K 2 ) w + n 3 ( a / M r ) ( p 2 / K 2 ) h t + u n a M r ( p 2 / K 2 ) ] . (83) \mathbf{r}_{unp+ap}=\sqrt{\frac{\rho}{\gamma p^2(K_1-K_2)}}\frac{K_1}{\vphantom{\Big|}}
\begin{bmatrix}
1\\
u+n_1(a/M_r)(p^2/K_1)\\
v+n_2(a/M_r)(p^2/K_1)\\
w+n_3(a/M_r)(p^2/K_1)\\
h^t+u_naM_r(p^2/K_1)
\end{bmatrix},
\qquad
\mathbf{r}_{unp-ap}=\sqrt{\frac{\rho}{\gamma p^2(K_1-K_2)}}\frac{K_2}{\vphantom{\Big|}}
\begin{bmatrix}
1\\
u+n_1(a/M_r)(p^2/K_2)\\
v+n_2(a/M_r)(p^2/K_2)\\
w+n_3(a/M_r)(p^2/K_2)\\
h^t+u_naM_r(p^2/K_2)
\end{bmatrix}. \tag*{(83)} r u n p + a p = γ p 2 ( K 1 − K 2 ) ρ K 1 1 u + n 1 ( a / M r ) ( p 2 / K 1 ) v + n 2 ( a / M r ) ( p 2 / K 1 ) w + n 3 ( a / M r ) ( p 2 / K 1 ) h t + u n a M r ( p 2 / K 1 ) , r u n p − a p = γ p 2 ( K 1 − K 2 ) ρ K 2 1 u + n 1 ( a / M r ) ( p 2 / K 2 ) v + n 2 ( a / M r ) ( p 2 / K 2 ) w + n 3 ( a / M r ) ( p 2 / K 2 ) h t + u n a M r ( p 2 / K 2 ) . (83)
The corresponding entropy production fields differ from (82) in the acoustic part only. We have:
E p : = [ v ] ⋅ D P [ v ] = [ v ] T R p ( Λ p T p 2 ) R p T [ v ] = E u n , s + E u n , τ + E u n p + a p + E u n p − a p , (84) \mathcal{E}_p:=[\mathbf{v}]\cdot D_P[\mathbf{v}]=[\mathbf{v}]^TR_p(\Lambda_pT_p^2)R_p^T[\mathbf{v}]=\mathcal{E}_{un,s}+\mathcal{E}_{un,\tau}+\mathcal{E}_{unp+ap}+\mathcal{E}_{unp-ap}, \tag*{(84)} E p := [ v ] ⋅ D P [ v ] = [ v ] T R p ( Λ p T p 2 ) R p T [ v ] = E u n , s + E u n , τ + E u n p + a p + E u n p − a p , (84)
with:
E u n p + a p = μ u n p + a p 2 ( K 2 2 + p 2 ) ∣ u n p + a p ∣ , E u n p − a p = μ u n p − a p 2 ( K 1 2 + p 2 ) ∣ u n p − a p ∣ , (85) \mathcal{E}_{unp+ap}=\mu_{unp+ap}^2(K_2^2+p^2)|u_{np}+a_p|,\qquad
\mathcal{E}_{unp-ap}=\mu_{unp-ap}^2(K_1^2+p^2)|u_{np}-a_p|, \tag*{(85)} E u n p + a p = μ u n p + a p 2 ( K 2 2 + p 2 ) ∣ u n p + a p ∣ , E u n p − a p = μ u n p − a p 2 ( K 1 2 + p 2 ) ∣ u n p − a p ∣ , (85)
and:
μ u n p + a p = r u n p + a p T [ v ] = ρ γ p 2 ( K 1 − K 2 ) K 1 ∣ ( μ 0 − h [ ρ p ] + a M r p 2 K 1 [ ρ p ] [ u n ] ) , \mu_{unp+ap}=\mathbf{r}_{unp+ap}^T[\mathbf{v}]
=\sqrt{\frac{\rho}{\gamma p^2(K_1-K_2)}}\frac{K_1}{\vphantom{\Big|}}
\left(\mu_0-h\left[\frac{\rho}{p}\right]+\frac{aM_rp^2}{K_1}\left[\frac{\rho}{p}\right][u_n]\right), μ u n p + a p = r u n p + a p T [ v ] = γ p 2 ( K 1 − K 2 ) ρ K 1 ( μ 0 − h [ p ρ ] + K 1 a M r p 2 [ p ρ ] [ u n ] ) ,
μ u n p − a p = r u n p − a p T [ v ] = ρ γ p 2 ( K 1 − K 2 ) K 2 ∣ ( μ 0 − h [ ρ p ] + a M r p 2 K 2 [ ρ p ] [ u n ] ) . \mu_{unp-ap}=\mathbf{r}_{unp-ap}^T[\mathbf{v}]
=\sqrt{\frac{\rho}{\gamma p^2(K_1-K_2)}}\frac{K_2}{\vphantom{\Big|}}
\left(\mu_0-h\left[\frac{\rho}{p}\right]+\frac{aM_rp^2}{K_2}\left[\frac{\rho}{p}\right][u_n]\right). μ u n p − a p = r u n p − a p T [ v ] = γ p 2 ( K 1 − K 2 ) ρ K 2 ( μ 0 − h [ p ρ ] + K 2 a M r p 2 [ p ρ ] [ u n ] ) .
Figures A.32(a)-(b) show the modified acoustic entropy production fields for the Gresho vortex at t = 0 t=0 t = 0 . The two fields are of the same magnitude and they appear to be in some sort of symmetry. Figure 14 (a)-(Figure 14 c)-(Figure 14 e) show that the total acoustic entropy production fields are of the same order as those associated with the shear waves over time.
Figure 14. Integral of each entropy production field with time at different Mach numbers for the ES Turkel flux on the Gresho Vortex (left) and the sound wave (right).
For the sound wave, the initial entropy production fields are shown in figures A.33(a)-(b). The preconditioning leads to modified acoustic eigenvectors which can no longer be tied to right-moving and left-moving moving waves. The flow consists of a right-moving acoustic wave, yet we see that both entropy production fields E u n p ± a p \mathcal{E}_{unp\pm ap} E u n p ± a p are active. Figure 14 (b)-(Figure 14 d)-(Figure 14 f) show the overwhelming domination of both acoustic entropy production fields.
For Miczek’s matrix, we do not benefit from the eigenscaling theorem, but we do know that T p 2 T_p^2 T p 2 is positive definite. We have R p = [ r u n , 1 , r u n , 2 , r u n , 3 , r u n + a p , r u n − a p ] R_p=[\mathbf{r}_{un,1},\ \mathbf{r}_{un,2},\ \mathbf{r}_{un,3},\ \mathbf{r}_{un+ap},\ \mathbf{r}_{un-ap}] R p = [ r u n , 1 , r u n , 2 , r u n , 3 , r u n + a p , r u n − a p ] with:
r u n + a p = ρ γ ( p 2 + 1 ) ( K 1 − K 2 ) 1 ∣ [ K 1 − p u ( K 1 − p ) + ( a / M r ) n 1 ( K 1 p + 1 ) v ( K 1 − p ) + ( a / M r ) n 2 ( K 1 p + 1 ) w ( K 1 − p ) + ( a / M r ) n 3 ( K 1 p + 1 ) h t ( K 1 − p ) + u n ( a M r ) ( K 1 p + 1 ) ] , \mathbf{r}_{un+ap}=\sqrt{\frac{\rho}{\gamma(p^2+1)(K_1-K_2)}}\frac{1}{\vphantom{\Big|}}
\begin{bmatrix}
K_1-p\\
u(K_1-p)+(a/M_r)n_1(K_1p+1)\\
v(K_1-p)+(a/M_r)n_2(K_1p+1)\\
w(K_1-p)+(a/M_r)n_3(K_1p+1)\\
h^t(K_1-p)+u_n(aM_r)(K_1p+1)
\end{bmatrix}, r u n + a p = γ ( p 2 + 1 ) ( K 1 − K 2 ) ρ 1 K 1 − p u ( K 1 − p ) + ( a / M r ) n 1 ( K 1 p + 1 ) v ( K 1 − p ) + ( a / M r ) n 2 ( K 1 p + 1 ) w ( K 1 − p ) + ( a / M r ) n 3 ( K 1 p + 1 ) h t ( K 1 − p ) + u n ( a M r ) ( K 1 p + 1 ) ,
r u n − a p = ρ γ ( p 2 + 1 ) ( K 1 − K 2 ) 1 ∣ [ K 2 − p u ( K 2 − p ) + ( a / M r ) n 1 ( K 2 p + 1 ) v ( K 2 − p ) + ( a / M r ) n 2 ( K 2 p + 1 ) w ( K 2 − p ) + ( a / M r ) n 3 ( K 2 p + 1 ) h t ( K 2 − p ) + u n ( a M r ) ( K 2 p + 1 ) ] . \mathbf{r}_{un-ap}=\sqrt{\frac{\rho}{\gamma(p^2+1)(K_1-K_2)}}\frac{1}{\vphantom{\Big|}}
\begin{bmatrix}
K_2-p\\
u(K_2-p)+(a/M_r)n_1(K_2p+1)\\
v(K_2-p)+(a/M_r)n_2(K_2p+1)\\
w(K_2-p)+(a/M_r)n_3(K_2p+1)\\
h^t(K_2-p)+u_n(aM_r)(K_2p+1)
\end{bmatrix}. r u n − a p = γ ( p 2 + 1 ) ( K 1 − K 2 ) ρ 1 K 2 − p u ( K 2 − p ) + ( a / M r ) n 1 ( K 2 p + 1 ) v ( K 2 − p ) + ( a / M r ) n 2 ( K 2 p + 1 ) w ( K 2 − p ) + ( a / M r ) n 3 ( K 2 p + 1 ) h t ( K 2 − p ) + u n ( a M r ) ( K 2 p + 1 ) .
and:
T p 2 = [ 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 K 2 2 + 1 ( K 2 − K 1 ) p − K 1 K 2 − 1 0 0 0 ( K 1 − K 2 ) p − K 1 K 2 − 1 K 1 2 + 1 ] . T_p^2 =
\begin{bmatrix}
1 & 0 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 & 0 \\
0 & 0 & 1 & 0 & 0 \\
0 & 0 & 0 & K_2^2+1 & (K_2-K_1)p-K_1K_2-1 \\
0 & 0 & 0 & (K_1-K_2)p-K_1K_2-1 & K_1^2+1
\end{bmatrix}. T p 2 = 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 K 2 2 + 1 ( K 1 − K 2 ) p − K 1 K 2 − 1 0 0 0 ( K 2 − K 1 ) p − K 1 K 2 − 1 K 1 2 + 1 .
T p 2 T_p^2 T p 2 is not diagonal, but D P D_P D P can be further reduced by observing that in the subsonic regime, the last 2-by-2 bloc of ∣ Λ p ∣ T p 2 \lvert\Lambda_p\rvert T_p^2 ∣ Λ p ∣ T p 2 can be decomposed into symmetric and skew-symmetric parts as follows
( ∣ Λ p ∣ T p 2 ) ( 4 : 5 , 4 : 5 ) = [ ∣ u n + a p ∣ ( K 2 2 + 1 ) 0 0 ∣ u n − a p ∣ ( K 1 2 + 1 ) ] + [ 0 − δ p δ p 0 ] , \left(\lvert\Lambda_p\rvert T_p^2\right)_{(4:5,4:5)}
=
\begin{bmatrix}
\lvert u_n+a_p\rvert(K_2^2+1) & 0 \\
0 & \lvert u_n-a_p\rvert(K_1^2+1)
\end{bmatrix}
+
\begin{bmatrix}
0 & -\delta_p \\
\delta_p & 0
\end{bmatrix}, ( ∣ Λ p ∣ T p 2 ) ( 4 : 5 , 4 : 5 ) = [ ∣ u n + a p ∣ ( K 2 2 + 1 ) 0 0 ∣ u n − a p ∣ ( K 1 2 + 1 ) ] + [ 0 δ p − δ p 0 ] ,
δ p = 2 p ( p 2 + 1 ) ( a 2 − M r 2 u n 2 ) M r ( a − M r p u n ) . \delta_p=\frac{2p(p^2+1)(a^2-M_r^2u_n^2)}{M_r(a-M_rpu_n)}. δ p = M r ( a − M r p u n ) 2 p ( p 2 + 1 ) ( a 2 − M r 2 u n 2 ) .
Instead of a symmetric form, we now have D P = R p ( ∣ Λ p ∣ T p 2 + Δ p ) R p T D_P=R_p(\lvert\Lambda_p\rvert T_p^2+\Delta_p)R_p^T D P = R p (∣ Λ p ∣ T p 2 + Δ p ) R p T with:
T p 2 = diag ( [ 1 , 1 , K 2 2 + 1 , K 1 2 + 1 ] ) , Δ p = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 − δ p 0 0 0 δ p 0 ] . T_p^2=\operatorname{diag}([1,1,K_2^2+1,K_1^2+1]),\qquad
\Delta_p=
\begin{bmatrix}
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & -\delta_p \\
0 & 0 & 0 & \delta_p & 0
\end{bmatrix}. T p 2 = diag ([ 1 , 1 , K 2 2 + 1 , K 1 2 + 1 ]) , Δ p = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 δ p 0 0 0 − δ p 0 .
Since T p 2 T_p^2 T p 2 is diagonal positive and Δ p \Delta_p Δ p is skew-symmetric, it follows that D P D_P D P is positive definite for the Miczek flux-preconditioner (hence the compatibility with entropy-stability). The EPB for Miczek’s flux is more subtle than for Turkel’s or Roe’s because of the skew symmetric matrix Δ p \Delta_p Δ p . We could ignore Δ p \Delta_p Δ p in the EPB, since it does not contribute to E p \mathcal{E}_p E p . However, it turns out that this matrix plays a key role in the anomalies observed in the previous section.
Let D P A [ v ] D_P^A[\mathbf{v}] D P A [ v ] denote the acoustic part of Miczek’s dissipation operator R p ( Λ p T p 2 + Δ p ) R p T [ v ] R_p(\Lambda_pT_p^2+\Delta_p)R_p^T[\mathbf{v}] R p ( Λ p T p 2 + Δ p ) R p T [ v ] . We have:
D P A [ v ] = [ r u n + a p r u n − a p ] [ ∣ u n + a p ∣ ( 1 + K 2 2 ) − δ p δ p ∣ u n − a p ∣ ( 1 + K 1 2 ) ] [ μ u n + a p μ u n − a p ] . (86) D_P^A[\mathbf{v}]
=
\begin{bmatrix}
\mathbf{r}_{u_n+a_p} & \mathbf{r}_{u_n-a_p}
\end{bmatrix}
\begin{bmatrix}
\lvert u_n+a_p\rvert(1+K_2^2) & -\delta_p \\
\delta_p & \lvert u_n-a_p\rvert(1+K_1^2)
\end{bmatrix}
\begin{bmatrix}
\mu_{u_n+a_p} \\
\mu_{u_n-a_p}
\end{bmatrix}. \tag*{(86)} D P A [ v ] = [ r u n + a p r u n − a p ] [ ∣ u n + a p ∣ ( 1 + K 2 2 ) δ p − δ p ∣ u n − a p ∣ ( 1 + K 1 2 ) ] [ μ u n + a p μ u n − a p ] . (86)
where μ u n ± a p = r u n ± a p T [ v ] \mu_{u_n\pm a_p}=\mathbf{r}_{u_n\pm a_p}^T[\mathbf{v}] μ u n ± a p = r u n ± a p T [ v ] is given by:
μ u n + a p = ρ γ ( p 2 + 1 ) ( K 1 − K 2 ) ( ( K 1 − p ) ( μ 0 − h [ ρ p ] ) + a M r ( K 1 p + 1 ) ( ρ p ) [ u n ] ) , \mu_{u_n+a_p}
=
\sqrt{\frac{\rho}{\gamma(p^2+1)(K_1-K_2)}}
\left((K_1-p)\left(\mu_0-h\left[\frac{\rho}{p}\right]\right)
+aM_r(K_1p+1)\left(\frac{\rho}{p}\right)[u_n]\right), μ u n + a p = γ ( p 2 + 1 ) ( K 1 − K 2 ) ρ ( ( K 1 − p ) ( μ 0 − h [ p ρ ] ) + a M r ( K 1 p + 1 ) ( p ρ ) [ u n ] ) ,
μ u n − a p = ρ γ ( p 2 + 1 ) ( K 1 − K 2 ) ( ( K 2 − p ) ( μ 0 − h [ ρ p ] ) + a M r ( K 2 p + 1 ) ( ρ p ) [ u n ] ) . \mu_{u_n-a_p}
=
\sqrt{\frac{\rho}{\gamma(p^2+1)(K_1-K_2)}}
\left((K_2-p)\left(\mu_0-h\left[\frac{\rho}{p}\right]\right)
+aM_r(K_2p+1)\left(\frac{\rho}{p}\right)[u_n]\right). μ u n − a p = γ ( p 2 + 1 ) ( K 1 − K 2 ) ρ ( ( K 2 − p ) ( μ 0 − h [ p ρ ] ) + a M r ( K 2 p + 1 ) ( p ρ ) [ u n ] ) .
Expanding (86) , we have:
D P A [ v ] = r u n + a p ( μ u n + a p ∣ u n + a p ∣ ( 1 + K 2 2 ) − δ p μ u n − a p ) + r u n − a p ( μ u n − a p ∣ u n − a p ∣ ( 1 + K 1 2 ) + δ p μ u n + a p ) . (87) D_P^A[\mathbf{v}]
=
\mathbf{r}_{u_n+a_p}\left(\mu_{u_n+a_p}\lvert u_n+a_p\rvert(1+K_2^2)-\delta_p\mu_{u_n-a_p}\right)
+
\mathbf{r}_{u_n-a_p}\left(\mu_{u_n-a_p}\lvert u_n-a_p\rvert(1+K_1^2)+\delta_p\mu_{u_n+a_p}\right). \tag*{(87)} D P A [ v ] = r u n + a p ( μ u n + a p ∣ u n + a p ∣ ( 1 + K 2 2 ) − δ p μ u n − a p ) + r u n − a p ( μ u n − a p ∣ u n − a p ∣ ( 1 + K 1 2 ) + δ p μ u n + a p ) . (87)
Multiplying on the left by [ v ] T [\mathbf{v}]^T [ v ] T gives an acoustic entropy production field:
[ v ] T D P A [ v ] = E u n + a p + E u n − a p , (88) [\mathbf{v}]^TD_P^A[\mathbf{v}]
=
\mathcal{E}_{u_n+a_p}+\mathcal{E}_{u_n-a_p}, \tag*{(88)} [ v ] T D P A [ v ] = E u n + a p + E u n − a p , (88)
where the fields E u n ± a p \mathcal{E}_{u_n\pm a_p} E u n ± a p break down into contributions { E u n ± a p S , ∓ Δ E p } \{\mathcal{E}_{u_n\pm a_p}^S,\mp\Delta\mathcal{E}_p\} { E u n ± a p S , ∓ Δ E p } from the symmetric and skew-symmetric parts of the dissipation operator:
E u n + a p = E u n + a p S − Δ E p , E u n − a p = E u n − a p S + Δ E p , (89) \mathcal{E}_{u_n+a_p}=\mathcal{E}_{u_n+a_p}^S-\Delta\mathcal{E}_p,\qquad
\mathcal{E}_{u_n-a_p}=\mathcal{E}_{u_n-a_p}^S+\Delta\mathcal{E}_p, \tag*{(89)} E u n + a p = E u n + a p S − Δ E p , E u n − a p = E u n − a p S + Δ E p , (89)
E u n + a p S = μ u n + a p 2 ∣ u n + a p ∣ ( 1 + K 2 2 ) , E u n − a p S = μ u n − a p 2 ∣ u n − a p ∣ ( 1 + K 1 2 ) , (90) \mathcal{E}_{u_n+a_p}^S=\mu_{u_n+a_p}^2\lvert u_n+a_p\rvert(1+K_2^2),\qquad
\mathcal{E}_{u_n-a_p}^S=\mu_{u_n-a_p}^2\lvert u_n-a_p\rvert(1+K_1^2), \tag*{(90)} E u n + a p S = μ u n + a p 2 ∣ u n + a p ∣ ( 1 + K 2 2 ) , E u n − a p S = μ u n − a p 2 ∣ u n − a p ∣ ( 1 + K 1 2 ) , (90)
Δ E p = δ p μ u n + a p μ u n − a p . (91) \Delta\mathcal{E}_p=\delta_p\mu_{u_n+a_p}\mu_{u_n-a_p}. \tag*{(91)} Δ E p = δ p μ u n + a p μ u n − a p . (91)
E u n + a p \mathcal{E}_{u_n+a_p} E u n + a p and E u n − a p \mathcal{E}_{u_n-a_p} E u n − a p are no longer positive in principle but their addition is always positive. Equations (87) and (89) suggest that while Δ p \Delta_p Δ p does not change the discrete entropy production produced at an interface, it effects how this amount is distributed locally among acoustic modes.
Figures A.34(a)-(b) show the modified acoustic entropy production fields for the Gresho vortex at t = 0 t=0 t = 0 . They resemble those of the ES Turkel flux. Figures A.34(c)-(e) show the contributions of the symmetric and skew-symmetric terms. The skew-symmetric component is not negligible. Figure 15 (a)-(Figure 15 c) show that the total acoustic entropy production fields are of the same order as those associated with the shear waves over time. We also see that the total contribution ⟨ Δ E p ⟩ \langle\Delta\mathcal{E}_p\rangle ⟨ Δ E p ⟩ from the skew-symmetric matrix evolves in time like a damped oscillator, with a characteristic time that decreases with the Mach number. This suggests that the spurious transient causing the phase errors we observed earlier has something to do with the skew-symmetric matrix. A simple way to confirm this is to multiply the skew-symmetric term by a factor and see how it impacts the solution. This is illustrated in Figure 16 (a)-(Figure 16 b). Taking out the skew-symmetric indeed removes the transient and phase errors. Making the skew-symmetric term stronger amplifies them. What’s more, Figure 17 shows that the skew-symmetric term does not have a visible impact on the ability of the scheme to conserve the kinetic energy of the system.
Figure 15. Gresho Vortex: Integral of each entropy production field with time at different Mach numbers for the ES Miczek flux.
Figure 16. Gresho Vortex: Pressure field at M r = 3 × 10 − 3 M_r = 3 \times10^{-3} M r = 3 × 1 0 − 3 for the Miczek flux when the skew-symmetric term is multiplied by a factor. The phase errors observed in Figure 4 and Figure 5 disappear if the skew-symmetric term is removed, and amplified if the skew-symmetric term is made bigger.
Figure 17. Gresho vortex: Total kinetic energy over time. The skew-symmetric matrix does not strongly impact the ability of the scheme to preserve the kinetic energy.
For the sound wave, the initial entropy production fields are showed in figures A.35(a)-(e). The contribution from the skew-symmetric part is two orders of magnitude bigger than the contribution from the symmetric part. This is why, for visibility, we show the integrated entropy production fields in two parts (Figure 18 ). While the perturbations we observed in Figure 8 appear in the symmetric parts E u n ± a p S \mathcal{E}^{S}_{u_n\pm a_p} E u n ± a p S of the acoustic entropy production fields, it turns out from Figure 19 (a)-(Figure 19 b) that it is the skew-symmetric term again that is causing the appearance of a spurious left-moving acoustic wave. These observations lead us to the following statement:
Figure 8. Sound wave: Normalized amplitude evolution for all fluxes at different Mach numbers.
Figure 18. Sound wave: Integral of entropy production fields for M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2 (same trends at lower M r M_r M r values) for the ES Miczek flux, omitting the contribution of the skew-symmetric matrix (left) and including it (right).
Figure 19. Sound wave: Pressure snapshots showing that the spurious left-moving acoustic wave is due to the skew-symmetric term in the ES Miczek flux. M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2
Conjecture: The skew-symmetric matrix Δ p \Delta_p Δ p in the Miczek ES flux causes entropy transfers among acoustic waves.
We examine this claim in more detail in section 7.
The Discrete Low-Mach Regime Revisited
Using the analytical expressions we just derived, we can now determine how the entropy produced by each ES flux scales with respect to M r M_r M r and establish whether (E.1) and (E.2) are satisfied. This effort, similar in spirit to the analysis of Guillard & Viozat [14 ] , Guillard & Nkonga [15 ] and Bruel et al. [30 ] , provides an explanation to (S.1), (S.2) and (S.3) in terms of entropy production.
To verify the scaling analysis, we computed, for each ES flux, the integrated (77) entropy production fields at t = 0 t=0 t = 0 for the Gresho vortex and the sound wave at different reference Mach numbers. The scalings are shown in Figure 20 , Figure 21 and Figure 22 .
Figure 20. Entropy production scalings - ES Roe flux
Figure 21. Entropy production scalings - ES Turkel flux
Figure 22. Entropy production scalings - ES Miczek flux
Incompressible limit. For the Gresho vortex, density is constant, pressure and velocity variations are of order M r 2 M_r^2 M r 2 and 1, respectively. At the discrete level, this translates into:
[ ρ ] = 0 , [ p ] = O ( M r 2 ) , [ u ] = O ( 1 ) , [ v ] = O ( 1 ) ⟹ [\rho]=0,\ [p]=\mathcal{O}(M_r^2),\ [u]=\mathcal{O}(1),\ [v]=\mathcal{O}(1)\quad\Longrightarrow [ ρ ] = 0 , [ p ] = O ( M r 2 ) , [ u ] = O ( 1 ) , [ v ] = O ( 1 ) ⟹
[ s ] = O ( M r 2 ) , [ ρ k p ] = O ( 1 ) , [ ρ u p ] = O ( 1 ) , [ ρ v p ] = O ( 1 ) , [ ρ p ] = O ( M r 2 ) . (92) [s]=\mathcal{O}(M_r^2),\quad\left[\frac{\rho k}{p}\right]=\mathcal{O}(1),\quad\left[\frac{\rho u}{p}\right]=\mathcal{O}(1),\quad\left[\frac{\rho v}{p}\right]=\mathcal{O}(1),\quad\left[\frac{\rho}{p}\right]=\mathcal{O}(M_r^2). \tag*{(92)} [ s ] = O ( M r 2 ) , [ p ρ k ] = O ( 1 ) , [ p ρ u ] = O ( 1 ) , [ p ρ v ] = O ( 1 ) , [ p ρ ] = O ( M r 2 ) . (92)
For the classic ES upwind dissipation, this gives:
μ 0 = O ( M r 2 ) and μ s 1 = μ s 2 = 0 , μ s 3 = O ( 1 ) ⟹ E u n , s = O ( M r 4 ) , E u n , τ = O ( M r 2 ) . (93) \mu_0=\mathcal{O}(M_r^2)\ \text{and}\ \mu_{s1}=\mu_{s2}=0,\ \mu_{s3}=\mathcal{O}(1)\quad\Longrightarrow\quad\mathcal{E}_{u_n,s}=\mathcal{O}(M_r^4),\ \mathcal{E}_{u_n,\tau}=\mathcal{O}(M_r^2). \tag*{(93)} μ 0 = O ( M r 2 ) and μ s 1 = μ s 2 = 0 , μ s 3 = O ( 1 ) ⟹ E u n , s = O ( M r 4 ) , E u n , τ = O ( M r 2 ) . (93)
μ u n ± a = O ( M r ) . (94) \mu_{u_n\pm a}=\mathcal{O}(M_r). \tag*{(94)} μ u n ± a = O ( M r ) . (94)
This implies that the overall discrete entropy production scales as M r M_r M r , that is one order of magnitude above what is expected. This explains the accuracy degradation observed.
With the flux-preconditioner of Turkel, we have p = O ( M r ) p=\mathcal{O}(M_r) p = O ( M r ) , a p , u n p = O ( 1 ) a_p,u_{np}=\mathcal{O}(1) a p , u n p = O ( 1 ) and K 1 , K 2 , K 1 − K 2 = O ( M r ) K_1,K_2,K_1-K_2=\mathcal{O}(M_r) K 1 , K 2 , K 1 − K 2 = O ( M r ) , therefore:
μ u n p ± a p = O ( 1 ) ⟹ E u n p ± a p = O ( M r 2 ) . \mu_{u_{np}\pm a_p}=\mathcal{O}(1)\quad\Longrightarrow\quad\mathcal{E}_{u_{np}\pm a_p}=\mathcal{O}(M_r^2). μ u n p ± a p = O ( 1 ) ⟹ E u n p ± a p = O ( M r 2 ) .
That is the correct scaling. Hence the consistent behavior.
With the preconditioner of Miczek, we have p = O ( 1 / M r ) p=\mathcal{O}(1/M_r) p = O ( 1/ M r ) , a p = O ( 1 / M r 2 ) a_p=\mathcal{O}(1/M_r^2) a p = O ( 1/ M r 2 ) , K 2 = O ( M r ) K_2=\mathcal{O}(M_r) K 2 = O ( M r ) and K 1 = O ( 1 / M r ) K_1=\mathcal{O}(1/M_r) K 1 = O ( 1/ M r ) because its denominator writes:
M r a p − a p = M r ( p 2 + 1 ) a 2 / M r 2 − p 2 u n 2 − a p = a p ( 1 + 1 / p 2 − M r 2 u n 2 / a 2 − 1 ) = O ( M r ) . \begin{aligned}
M_r a_p-ap=M_r\sqrt{(p^2+1)a^2/M_r^2-p^2u_n^2}-ap \\
&=ap\left(\sqrt{1+1/p^2-M_r^2u_n^2/a^2}-1\right)=\mathcal{O}(M_r).
\end{aligned} M r a p − a p = M r ( p 2 + 1 ) a 2 / M r 2 − p 2 u n 2 − a p = a p ( 1 + 1/ p 2 − M r 2 u n 2 / a 2 − 1 ) = O ( M r ) .
Therefore:
μ u n + a p = O ( M r 2 ) , μ u n − a p = O ( M r 4 ) ⟹ E u n + a p S = O ( M r 2 ) , E u n − a p S = O ( M r 4 ) , \mu_{u_n+a_p}=\mathcal{O}(M_r^2),\quad\mu_{u_n-a_p}=\mathcal{O}(M_r^4)\quad\Longrightarrow\quad\mathcal{E}^{S}_{u_n+a_p}=\mathcal{O}(M_r^2),\quad\mathcal{E}^{S}_{u_n-a_p}=\mathcal{O}(M_r^4), μ u n + a p = O ( M r 2 ) , μ u n − a p = O ( M r 4 ) ⟹ E u n + a p S = O ( M r 2 ) , E u n − a p S = O ( M r 4 ) ,
δ p = O ( 1 / M r 4 ) ⟹ Δ E p = O ( M r 2 ) . \delta_p=\mathcal{O}(1/M_r^4)\quad\Longrightarrow\quad\Delta\mathcal{E}_p=\mathcal{O}(M_r^2). δ p = O ( 1/ M r 4 ) ⟹ Δ E p = O ( M r 2 ) .
Here again, the discrete entropy production has the correct scaling.
Acoustic limit. For the sound wave configuration, density, velocity and pressure gradients are of orders M r M_r M r , 1 and M r M_r M r , respectively. The specific entropy is constant. At the discrete level, this translates into:
[ ρ ] = O ( M r ) , [ p ] = O ( M r ) , [ u ] = O ( 1 ) , [ s ] = 0 ⟹ [ ρ k p ] = O ( 1 ) , [ ρ u p ] = O ( 1 ) , [ ρ p ] = O ( M r ) . [\rho] = \mathcal{O}(M_r),\ [p] = \mathcal{O}(M_r),\ [u] = \mathcal{O}(1),\ [s] = 0 \Longrightarrow\left[\frac{\rho k}{p}\right] = \mathcal{O}(1),\ \left[\frac{\rho u}{p}\right] = \mathcal{O}(1),\ \left[\frac{\rho}{p}\right] = \mathcal{O}(M_r). [ ρ ] = O ( M r ) , [ p ] = O ( M r ) , [ u ] = O ( 1 ) , [ s ] = 0 ⟹ [ p ρ k ] = O ( 1 ) , [ p ρ u ] = O ( 1 ) , [ p ρ ] = O ( M r ) .
For the classic ES upwind dissipation, this gives:
μ 0 = O ( M r 3 ) and μ s 1 = μ s 2 = μ s 3 = 0 ⟹ E u n , s = O ( M r 6 ) , E u n , τ = 0. (95) \mu_0 = \mathcal{O}(M_r^3)\ \text{and}\ \mu_{s1} = \mu_{s2} = \mu_{s3} = 0 \Longrightarrow\mathcal{E}_{un,s} = \mathcal{O}(M_r^6),\ \mathcal{E}_{un,\tau} = 0. \tag*{(95)} μ 0 = O ( M r 3 ) and μ s 1 = μ s 2 = μ s 3 = 0 ⟹ E u n , s = O ( M r 6 ) , E u n , τ = 0. (95)
μ u n ± a = O ( M r ) ⟹ E u n ± a = O ( M r ) . (96) \mu_{u_n \pm a} = \mathcal{O}(M_r) \Longrightarrow\mathcal{E}_{u_n \pm a} = \mathcal{O}(M_r). \tag*{(96)} μ u n ± a = O ( M r ) ⟹ E u n ± a = O ( M r ) . (96)
This implies that the overall discrete entropy production scales as M r M_r M r , in agreement with (E.2).
With Turkel’s preconditioner, we have:
μ u n p ± a p = O ( 1 / M r ) ⟹ E u n p ± a p = O ( 1 ) , \mu_{u_n p \pm a_p} = \mathcal{O}(1/M_r) \Longrightarrow\mathcal{E}_{u_n p \pm a_p} = \mathcal{O}(1), μ u n p ± a p = O ( 1/ M r ) ⟹ E u n p ± a p = O ( 1 ) ,
meaning that entropy fluctuations will be one order of magnitude stronger than what is expected. This explains why sound waves are severely damped with this flux.
With Miczek’s preconditioner, we have:
μ u n + a p = O ( M r 2 ) , μ u n − a p = O ( M r 3 ) ⟹ E u n + a p S = O ( M r 2 ) , E u n − a p S = O ( M r 2 ) , Δ E p = O ( M r ) \mu_{u_n + a_p} = \mathcal{O}(M_r^2),\ \mu_{u_n - a_p} = \mathcal{O}(M_r^3) \Longrightarrow\mathcal{E}^{S}_{u_n + a_p} = \mathcal{O}(M_r^2),\ \mathcal{E}^{S}_{u_n - a_p} = \mathcal{O}(M_r^2),\ \Delta\mathcal{E}_p = \mathcal{O}(M_r) μ u n + a p = O ( M r 2 ) , μ u n − a p = O ( M r 3 ) ⟹ E u n + a p S = O ( M r 2 ) , E u n − a p S = O ( M r 2 ) , Δ E p = O ( M r )
The discrete entropy production is one order of magnitude weaker than what is expected. This can explain why the sound wave is less damped than with the ES Roe flux.
Connections with other low-Mach fixes
Several alternatives to Flux-Preconditioning have been proposed, some of which are discussed in Guillard & Nkonga [15 ] . They can be broken down into two categories. There are corrections based on the idea that the excessive dissipation in the low-Mach limit is due to the acoustic eigenvalues scaling as O ( 1 / M r ) \mathcal{O}(1/M_r) O ( 1/ M r ) and therefore becoming infinitely large. Li & Gu [22 , 23 ] introduced an all-speed Roe-type scheme where the eigenvalues are modified as:
u n ± ( a / M r ) ⟶ u n ± f ( M r ) ( a / M r ) , u_n \pm(a/M_r) \longrightarrow u_n \pm f(M_r)(a/M_r), u n ± ( a / M r ) ⟶ u n ± f ( M r ) ( a / M r ) ,
and f ( M r ) f(M_r) f ( M r ) is a correction introduced so that f ( M r ) ( a / M r ) f(M_r)(a/M_r) f ( M r ) ( a / M r ) is bounded in the low-Mach limit. This type of correction does not impede entropy-stability.
The second kind of correction [28 , 27 , 29 ] consists in modifying the jump terms in the normal velocity [ u n ] [u_n] [ u n ] (see also Thornber et al. [25 , 26 ] ). By and large, they multiply [ u n ] [u_n] [ u n ] by a correction term of order M r M_r M r . These fixes are motivated in part by the work of Birken & Meister [24 ] , who showed that the flux-preconditioner of Turkel enforce a more stringent (by a factor M r M_r M r ) CFL condition (a similar result was proved by Barsukow et al. [13 ] for the flux-preconditioner of Miczek).
For the ES Roe flux, the acoustic part D a [ v ] D^a[\mathbf{v}] D a [ v ] of the dissipation operator writes:
D a [ v ] = [ r u n + a r u n − a ] [ ∣ u n + ( a / M r ) ∣ 0 0 ∣ u n − ( a / M r ) ∣ ] [ μ u n + a μ u n − a ] (97) D^a[\mathbf{v}]=\begin{bmatrix}r_{un+a}&r_{un-a}\end{bmatrix}\begin{bmatrix}\left|u_n+\left(a/M_r\right)\right|&0\\0&\left|u_n-\left(a/M_r\right)\right|\end{bmatrix}\begin{bmatrix}\mu_{un+a}\\\mu_{un-a}\end{bmatrix} \tag*{(97)} D a [ v ] = [ r u n + a r u n − a ] [ ∣ u n + ( a / M r ) ∣ 0 0 ∣ u n − ( a / M r ) ∣ ] [ μ u n + a μ u n − a ] (97)
where
μ u n ± a = K a ( μ 0 − h [ ρ p ] ± M r a ( ρ p ) ‾ [ u n ] ) . \mu_{un\pm a}=K_a\left(\mu_0-h\left[\frac{\rho}{p}\right]\pm M_ra\overline{\left(\frac{\rho}{p}\right)}[u_n]\right). μ u n ± a = K a ( μ 0 − h [ p ρ ] ± M r a ( p ρ ) [ u n ] ) .
Let μ ~ u n ± a \widetilde{\mu}_{un\pm a} μ u n ± a be the wave strength obtained after applying the correction [ u n ] → M r [ u n ] [u_n]\rightarrow M_r[u_n] [ u n ] → M r [ u n ] :
μ ~ u n ± a = K a ( μ 0 − h [ ρ p ] ± M r 2 a ( ρ p ) ‾ [ u n ] ) . \widetilde{\mu}_{un\pm a}=K_a\left(\mu_0-h\left[\frac{\rho}{p}\right]\pm M_r^2a\overline{\left(\frac{\rho}{p}\right)}[u_n]\right). μ u n ± a = K a ( μ 0 − h [ p ρ ] ± M r 2 a ( p ρ ) [ u n ] ) .
The resulting acoustic entropy production field E ~ A \widetilde{\mathcal{E}}^{A} E A becomes:
E ~ A = [ v ] T D A [ v ] = ∣ u n + ( a / M r ) ∣ μ u n + a μ ~ u n + a + ∣ u n − ( a / M r ) ∣ μ u n − a μ ~ u n − a . \widetilde{\mathcal{E}}^{A} = [\mathbf{v}]^{T}D^{A}[\mathbf{v}] = \left|u_{n} + (a/M_{r})\right|\mu_{u_{n}+a}\widetilde{\mu}_{u_{n}+a} + \left|u_{n} - (a/M_{r})\right|\mu_{u_{n}-a}\widetilde{\mu}_{u_{n}-a}. E A = [ v ] T D A [ v ] = ∣ u n + ( a / M r ) ∣ μ u n + a μ u n + a + ∣ u n − ( a / M r ) ∣ μ u n − a μ u n − a .
It is not clear whether the resulting operator leads to an ES flux as the sign of E ~ A \widetilde{\mathcal{E}}^{A} E A is not clear, but we have E ~ A = O ( M r 2 ) \widetilde{\mathcal{E}}^{A} = O(M_{r}^{2}) E A = O ( M r 2 ) in the incompressible limit, in agreement with (E.1).
Discussion
The origin of the skew-symmetric term
Given that the Miczek flux-preconditioner was constructed so that P − 1 ∣ P A ∣ P^{-1}|PA| P − 1 ∣ P A ∣ has the same scaling as A A A , the appearance of a skew-symmetric term in the scaled form of the Miczek ES dissipation operator could be explained by examining the acoustic entropy production field without upwinding , that is with Λ \Lambda Λ instead of ∣ Λ ∣ |\Lambda| ∣Λ∣ . We have:
E u n + a = μ u n + a 2 ( u n + ( a / M r ) ) , E u n − a = μ u n − a 2 ( u n − ( a / M r ) ) . (98) \mathcal{E}_{u_{n}+a} = \mu_{u_{n}+a}^{2}\left(u_{n} + (a/M_{r})\right), \qquad\mathcal{E}_{u_{n}-a} = \mu_{u_{n}-a}^{2}\left(u_{n} - (a/M_{r})\right). \tag*{(98)} E u n + a = μ u n + a 2 ( u n + ( a / M r ) ) , E u n − a = μ u n − a 2 ( u n − ( a / M r ) ) . (98)
If we assume μ u n + a 2 ≈ μ u n − a 2 ≈ μ u n + a μ u n − a \mu_{u_{n}+a}^{2} \approx\mu_{u_{n}-a}^{2} \approx\mu_{u_{n}+a}\mu_{u_{n}-a} μ u n + a 2 ≈ μ u n − a 2 ≈ μ u n + a μ u n − a , then we can write something similar to (89) :
E u n + a ≈ E u n + a S + Δ E a , E u n − a ≈ E u n − a S − Δ E a , (99) \mathcal{E}_{u_{n}+a} \approx\mathcal{E}^{S}_{u_{n}+a} + \Delta\mathcal{E}_{a}, \qquad\mathcal{E}_{u_{n}-a} \approx\mathcal{E}^{S}_{u_{n}-a} - \Delta\mathcal{E}_{a}, \tag*{(99)} E u n + a ≈ E u n + a S + Δ E a , E u n − a ≈ E u n − a S − Δ E a , (99)
where:
E u n + a S = μ u n + a 2 u n , Δ E a = μ u n + a μ u n − a ( a / M r ) , E u n − a S = μ u n − a 2 u n . \mathcal{E}^{S}_{u_{n}+a} = \mu_{u_{n}+a}^{2}u_{n}, \qquad\Delta\mathcal{E}_{a} = \mu_{u_{n}+a}\mu_{u_{n}-a}(a/M_{r}), \qquad\mathcal{E}^{S}_{u_{n}-a} = \mu_{u_{n}-a}^{2}u_{n}. E u n + a S = μ u n + a 2 u n , Δ E a = μ u n + a μ u n − a ( a / M r ) , E u n − a S = μ u n − a 2 u n .
As a matter of course, the resulting dissipation operator is no longer guaranteed to be ES. The point is that the entropy production balance between acoustic fields described by equation (101) might be what the skew-symmetric matrix Δ p \Delta_{p} Δ p of the ES Miczek flux tries to reproduce. Whether recovering this balance is key in ensuring a good low-Mach behavior is a different story. The numerical results (§ 5 ) advise against it, at least at first-order.
A simple equivalent to the ES Miczek flux
Consider the dissipation operator D P = R ( ∣ Λ p ∣ + Δ p ) R T D_{P} = R(|\Lambda_{p}| + \Delta_{p})R^{T} D P = R ( ∣ Λ p ∣ + Δ p ) R T where R R R is the scaled eigenvector matrix of the ES Roe flux (§ 6.1 ) and:
∣ Λ p ∣ = ( ∣ u n ∣ 0 0 0 0 0 ∣ u n ∣ 0 0 0 0 0 ∣ u n ∣ 0 0 0 0 0 f 1 ∣ u n + ( a / M r ) ∣ 0 0 0 0 0 f 2 ∣ u n − ( a / M r ) ∣ ) , Δ p = g ( 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 + δ p 0 0 0 − δ p 0 ) , |\Lambda_{p}| =
\begin{pmatrix}
|u_{n}| & 0 & 0 & 0 & 0 \\
0 & |u_{n}| & 0 & 0 & 0 \\
0 & 0 & |u_{n}| & 0 & 0 \\
0 & 0 & 0 & f_{1}|u_{n} + (a/M_{r})| & 0 \\
0 & 0 & 0 & 0 & f_{2}|u_{n} - (a/M_{r})|
\end{pmatrix},
\qquad
\Delta_{p} = g
\begin{pmatrix}
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & +\delta_{p} \\
0 & 0 & 0 & -\delta_{p} & 0
\end{pmatrix}, ∣ Λ p ∣ = ∣ u n ∣ 0 0 0 0 0 ∣ u n ∣ 0 0 0 0 0 ∣ u n ∣ 0 0 0 0 0 f 1 ∣ u n + ( a / M r ) ∣ 0 0 0 0 0 f 2 ∣ u n − ( a / M r ) ∣ , Δ p = g 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 − δ p 0 0 0 + δ p 0 ,
and f 1 f_{1} f 1 , f 2 f_{2} f 2 and g g g are functions of M r M_{r} M r . The eigenvectors R R R are left untouched. Similarly to (89) and (99) , we have:
E u n − a = E u n − a S − g Δ E p , E u n + a = E u n + a S + g Δ E p \mathcal{E}_{u_{n}-a} = \mathcal{E}^{S}_{u_{n}-a} - g\Delta\mathcal{E}_{p}, \qquad\mathcal{E}_{u_{n}+a} = \mathcal{E}^{S}_{u_{n}+a} + g\Delta\mathcal{E}_{p} E u n − a = E u n − a S − g Δ E p , E u n + a = E u n + a S + g Δ E p
E u n − a S = μ u n − a 2 f 2 ∣ u n − a ∣ , Δ E p = δ p μ u n − a μ u n + a , E u n + a S = μ u n + a 2 f 1 ∣ u n + a ∣ . \mathcal{E}^{S}_{u_{n}-a} = \mu_{u_{n}-a}^{2}f_{2}|u_{n}-a|, \qquad\Delta\mathcal{E}_{p} = \delta_{p}\mu_{u_{n}-a}\mu_{u_{n}+a}, \qquad\mathcal{E}^{S}_{u_{n}+a} = \mu_{u_{n}+a}^{2}f_{1}|u_{n}+a|. E u n − a S = μ u n − a 2 f 2 ∣ u n − a ∣ , Δ E p = δ p μ u n − a μ u n + a , E u n + a S = μ u n + a 2 f 1 ∣ u n + a ∣.
This dissipation operator is ES as long as f 1 , f 2 ≥ 0 f_{1}, f_{2} \ge0 f 1 , f 2 ≥ 0 , and we can emulate equation (101) by taking f 1 = ∣ u n ∣ / ∣ u n + a / M r ∣ f_{1} = |u_{n}|/|u_{n} + a/M_{r}| f 1 = ∣ u n ∣/∣ u n + a / M r ∣ , f 2 = ∣ u n ∣ / ∣ u n − a / M r ∣ f_{2} = |u_{n}|/|u_{n} - a/M_{r}| f 2 = ∣ u n ∣/∣ u n − a / M r ∣ , g = 1 g = 1 g = 1 and δ p = a / M r \delta_{p} = a/M_{r} δ p = a / M r . This gives:
E u n − a S = μ u n − a 2 ∣ u n ∣ , Δ E p = μ u n − a μ u n + a ( a / M r ) , E u n + a S = μ u n + a 2 ∣ u n ∣ . \mathcal{E}^{S}_{u_{n}-a} = \mu_{u_{n}-a}^{2}|u_{n}|, \qquad\Delta\mathcal{E}_{p} = \mu_{u_{n}-a}\mu_{u_{n}+a}(a/M_{r}), \qquad\mathcal{E}^{S}_{u_{n}+a} = \mu_{u_{n}+a}^{2}|u_{n}|. E u n − a S = μ u n − a 2 ∣ u n ∣ , Δ E p = μ u n − a μ u n + a ( a / M r ) , E u n + a S = μ u n + a 2 ∣ u n ∣.
In the incompressible and acoustic limits, we have:
E u n − a S = O ( M r 2 ) , Δ E p = O ( M r ) , E u n + a S = O ( M r 2 ) , \mathcal{E}^{S}_{u_{n}-a} = O(M_{r}^{2}), \qquad\Delta\mathcal{E}_{p} = O(M_{r}), \qquad\mathcal{E}^{S}_{u_{n}+a} = O(M_{r}^{2}), E u n − a S = O ( M r 2 ) , Δ E p = O ( M r ) , E u n + a S = O ( M r 2 ) ,
which meets the low-Mach requirements (E.1) and (E.2). This dissipation operator also meets Miczek’s requirement that the dissipation matrix should have exactly the same Mach number scalings as A A A . Remarkably, we have:
R z ( ∣ Λ p ∣ + Δ p ) R z − 1 = ( ∣ u n ∣ − n x a / M r − n y a / M r − n z a / M r 0 n x a / M r ∣ u n ∣ 0 0 0 n y a / M r 0 ∣ u n ∣ 0 0 n z a / M r 0 0 ∣ u n ∣ 0 0 0 0 0 ∣ u n ∣ ) . R_{z}(|\Lambda_{p}|+\Delta_{p})R_{z}^{-1} =
\begin{pmatrix}
|u_{n}| & -n_{x}a/M_{r} & -n_{y}a/M_{r} & -n_{z}a/M_{r} & 0 \\
n_{x}a/M_{r} & |u_{n}| & 0 & 0 & 0 \\
n_{y}a/M_{r} & 0 & |u_{n}| & 0 & 0 \\
n_{z}a/M_{r} & 0 & 0 & |u_{n}| & 0 \\
0 & 0 & 0 & 0 & |u_{n}|
\end{pmatrix}. R z ( ∣ Λ p ∣ + Δ p ) R z − 1 = ∣ u n ∣ n x a / M r n y a / M r n z a / M r 0 − n x a / M r ∣ u n ∣ 0 0 0 − n y a / M r 0 ∣ u n ∣ 0 0 − n z a / M r 0 0 ∣ u n ∣ 0 0 0 0 0 ∣ u n ∣ .
To have this ”skewed” ES dissipation operator return to Roe’s as M r → 1 M_{r} \to1 M r → 1 , we can set f 1 = M r + ( 1 − M r ) ∣ u n ∣ / ∣ u n + ( a / M r ) ∣ f_{1} = M_{r} + (1-M_{r})|u_{n}|/|u_{n} + (a/M_{r})| f 1 = M r + ( 1 − M r ) ∣ u n ∣/∣ u n + ( a / M r ) ∣ , f 2 = M r + ( 1 − M r ) ∣ u n ∣ / ∣ u n − ( a / M r ) ∣ f_{2} = M_{r} + (1-M_{r})|u_{n}|/|u_{n} - (a/M_{r})| f 2 = M r + ( 1 − M r ) ∣ u n ∣/∣ u n − ( a / M r ) ∣ , and g = 1 − M r g = 1-M_{r} g = 1 − M r for instance. Numerical results (figures 23 and 24) show that this operator behaves just like the ES Miczek dissipation operator for both the Gresho vortex and the sound wave. The skewed ES dissipation operator (7.2) has not been introduced to compete with Miczek’s flux or any of the aforementioned schemes (we remind the reader that the best results were observed with an EC flux in space). We introduced it to assess our intuition that skew-symmetric dissipation operators change the way entropy is locally produced. The skewed dissipation operator can be easily shown to induce a O ( M r 2 ) O(M_{r}^{2}) O ( M r 2 ) CFL condition, like the Turkel [24 ] and Miczek [13 ] dissipation operators (see appendix C in [60 ] ).
Figure 23. Gresho Vortex: Pressure field at M r = 3 × 10 − 3 M_r = 3 \times10^{-3} M r = 3 × 1 0 − 3 for the skewed ES flux when the skew-symmetric term is multiplied by different factors.
Figure 24. Sound wave: Centerline pressure profiles with the skewed ES flux instead. M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2 .
Different ways of breaking down discrete entropy production
It is important to recognize that the EPB we introduced in § 6.1 is not unique. Consider a dissipation operator consisting of two linearly independent modes R = [ r 1 , r 2 ] R = [\mathbf{r}_1, \mathbf{r}_2] R = [ r 1 , r 2 ] . We have:
R ∣ Λ ∣ R T [ v ] = ∣ λ 1 ∣ μ 1 r 1 + ∣ λ 2 ∣ μ 2 r 2 ⟹ E = [ v ] T R ∣ Λ ∣ R T [ v ] = E 1 + E 2 . R|\Lambda|R^T[\mathbf{v}] = |\lambda_1|\mu_1\mathbf{r}_1 + |\lambda_2|\mu_2\mathbf{r}_2 \quad\Longrightarrow\quad\mathcal{E} = [\mathbf{v}]^T R|\Lambda|R^T[\mathbf{v}] = \mathcal{E}_1 + \mathcal{E}_2. R ∣Λ∣ R T [ v ] = ∣ λ 1 ∣ μ 1 r 1 + ∣ λ 2 ∣ μ 2 r 2 ⟹ E = [ v ] T R ∣Λ∣ R T [ v ] = E 1 + E 2 .
Let R ‾ = { r ‾ 1 , r ‾ 2 } \overline{R} = \{\overline{\mathbf{r}}_1,\overline{\mathbf{r}}_2\} R = { r 1 , r 2 } be an alternative pair of linearly independent modes defined by the mapping:
r 1 = l 11 r ‾ 1 + l 12 r ‾ 2 , μ 1 = l 11 μ ‾ 1 + l 12 μ ‾ 2 , r 2 = l 21 r ‾ 1 + l 22 r ‾ 2 , μ 2 = l 21 μ ‾ 1 + l 22 μ ‾ 2 . \begin{aligned}
\mathbf{r}_1 &= l_{11}\overline{\mathbf{r}}_1 + l_{12}\overline{\mathbf{r}}_2, &
\mu_1 &= l_{11}\overline{\mu}_1 + l_{12}\overline{\mu}_2,\\
\mathbf{r}_2 &= l_{21}\overline{\mathbf{r}}_1 + l_{22}\overline{\mathbf{r}}_2, &
\mu_2 &= l_{21}\overline{\mu}_1 + l_{22}\overline{\mu}_2.
\end{aligned} r 1 r 2 = l 11 r 1 + l 12 r 2 , = l 21 r 1 + l 22 r 2 , μ 1 μ 2 = l 11 μ 1 + l 12 μ 2 , = l 21 μ 1 + l 22 μ 2 .
Then the dissipation operator can be expressed in terms of these modes:
R ∣ Λ ∣ R T [ v ] = ( L 11 μ ‾ 1 + L 12 μ ‾ 2 ) r ‾ 1 + ( L 22 μ ‾ 2 + L 21 μ ‾ 1 ) r ‾ 2 , R|\Lambda|R^T[\mathbf{v}] = (L_{11}\overline{\mu}_1 + L_{12}\overline{\mu}_2)\overline{\mathbf{r}}_1 + (L_{22}\overline{\mu}_2 + L_{21}\overline{\mu}_1)\overline{\mathbf{r}}_2, R ∣Λ∣ R T [ v ] = ( L 11 μ 1 + L 12 μ 2 ) r 1 + ( L 22 μ 2 + L 21 μ 1 ) r 2 ,
with:
L 11 = ( ∣ λ 1 ∣ l 11 2 + ∣ λ 2 ∣ l 21 2 ) > 0 , L 22 = ( ∣ λ 1 ∣ l 12 2 + ∣ λ 2 ∣ l 22 2 ) > 0 , L 12 = L 21 = ( ∣ λ 1 ∣ l 11 l 12 + ∣ λ 2 ∣ l 21 l 22 ) . L_{11} = (|\lambda_1|l_{11}^2 + |\lambda_2|l_{21}^2) > 0,\quad L_{22} = (|\lambda_1|l_{12}^2 + |\lambda_2|l_{22}^2) > 0,\quad L_{12} = L_{21} = (|\lambda_1|l_{11}l_{12} + |\lambda_2|l_{21}l_{22}). L 11 = ( ∣ λ 1 ∣ l 11 2 + ∣ λ 2 ∣ l 21 2 ) > 0 , L 22 = ( ∣ λ 1 ∣ l 12 2 + ∣ λ 2 ∣ l 22 2 ) > 0 , L 12 = L 21 = ( ∣ λ 1 ∣ l 11 l 12 + ∣ λ 2 ∣ l 21 l 22 ) .
This gives the EPB:
E = E ‾ 1 + E ‾ 2 , E ‾ 1 = L 11 μ ‾ 1 2 + L 12 μ ‾ 1 μ ‾ 2 , E ‾ 2 = L 22 μ ‾ 2 2 + L 21 μ ‾ 1 μ ‾ 2 (100) \mathcal{E} = \overline{\mathcal{E}}_1 + \overline{\mathcal{E}}_2,\quad\overline{\mathcal{E}}_1 = L_{11}\overline{\mu}_1^2 + L_{12}\overline{\mu}_1\overline{\mu}_2,\quad\overline{\mathcal{E}}_2 = L_{22}\overline{\mu}_2^2 + L_{21}\overline{\mu}_1\overline{\mu}_2 \tag*{(100)} E = E 1 + E 2 , E 1 = L 11 μ 1 2 + L 12 μ 1 μ 2 , E 2 = L 22 μ 2 2 + L 21 μ 1 μ 2 (100)
Unlike the initial decomposition, each individual field E ‾ i \overline{\mathcal{E}}_i E i is no longer guaranteed to be positive. This does not matter much given that the sign of E \mathcal{E} E will not change. We also see that depending on the choice of modes, coupling terms within each field E ‾ i \overline{\mathcal{E}}_i E i may appear. We can write:
E ‾ k = E ‾ k S + ∑ k ′ ≠ k E ‾ k k ′ , E ‾ k S = L k k μ ‾ k 2 , E ‾ k k ′ = L k k ′ μ ‾ k μ ‾ k ′ . (101) \overline{\mathcal{E}}_k = \overline{\mathcal{E}}_k^S + \sum_{k'\ne k}\overline{\mathcal{E}}_{kk'},\quad\overline{\mathcal{E}}_k^S = L_{kk}\overline{\mu}_k^2,\quad\overline{\mathcal{E}}_{kk'} = L_{kk'}\overline{\mu}_k\overline{\mu}_{k'}. \tag*{(101)} E k = E k S + k ′ = k ∑ E k k ′ , E k S = L k k μ k 2 , E k k ′ = L k k ′ μ k μ k ′ . (101)
Note that the coupling terms do not cancel each other, i.e. E ‾ k k ′ + E ‾ k ′ k = 0 \overline{\mathcal{E}}_{kk'} + \overline{\mathcal{E}}_{k'k} = 0 E k k ′ + E k ′ k = 0 , k ≠ k ′ k \ne k' k = k ′ . In fact, they are equal E ‾ k k ′ = E ‾ k ′ k \overline{\mathcal{E}}_{kk'} = \overline{\mathcal{E}}_{k'k} E k k ′ = E k ′ k .
If the dissipation operator has a skew-symmetric component:
R Δ R T [ v ] = δ ( μ 2 r 1 − μ 1 r 2 ) ⟹ [ v ] T R Δ R T [ v ] = Δ E − Δ E = 0 , Δ E = δ μ 1 μ 2 , R\Delta R^T[\mathbf{v}] = \delta(\mu_2\mathbf{r}_1 - \mu_1\mathbf{r}_2) \quad\Longrightarrow\quad[\mathbf{v}]^T R\Delta R^T[\mathbf{v}] = \Delta\mathcal{E} - \Delta\mathcal{E} = 0,\quad\Delta\mathcal{E} = \delta\mu_1\mu_2, R Δ R T [ v ] = δ ( μ 2 r 1 − μ 1 r 2 ) ⟹ [ v ] T R Δ R T [ v ] = Δ E − Δ E = 0 , Δ E = δ μ 1 μ 2 ,
we can rewrite it in terms of { r ‾ 1 , r ‾ 2 } \{\overline{\mathbf{r}}_1,\overline{\mathbf{r}}_2\} { r 1 , r 2 } instead. Remarkably, we have:
R Δ R T [ v ] = δ ( μ 2 r 1 − μ 1 r 2 ) = δ ( l 11 l 22 − l 12 l 21 ) ( μ ‾ 2 r ‾ 1 − μ ‾ 1 r ‾ 2 ) = δ ‾ ( μ ‾ 2 r ‾ 1 − μ ‾ 1 r ‾ 2 ) R\Delta R^T[\mathbf{v}] = \delta(\mu_2\mathbf{r}_1 - \mu_1\mathbf{r}_2) = \delta(l_{11}l_{22} - l_{12}l_{21})(\overline{\mu}_2\overline{\mathbf{r}}_1 - \overline{\mu}_1\overline{\mathbf{r}}_2) = \overline{\delta}(\overline{\mu}_2\overline{\mathbf{r}}_1 - \overline{\mu}_1\overline{\mathbf{r}}_2) R Δ R T [ v ] = δ ( μ 2 r 1 − μ 1 r 2 ) = δ ( l 11 l 22 − l 12 l 21 ) ( μ 2 r 1 − μ 1 r 2 ) = δ ( μ 2 r 1 − μ 1 r 2 )
The mapping is one-to-one hence l 11 l 22 − l 12 l 21 ≠ 0 l_{11}l_{22} - l_{12}l_{21} \ne0 l 11 l 22 − l 12 l 21 = 0 . This shows that the skew-symmetric operator R Δ R T [ v ] R\Delta R^T[\mathbf{v}] R Δ R T [ v ] (entropy transfer between modes { r 1 , r 2 } \{\mathbf{r}_1,\mathbf{r}_2\} { r 1 , r 2 } ) is equivalent to a skew-symmetric operator R ‾ Δ ‾ R ‾ T [ v ] \overline{R}\,\overline{\Delta}\,\overline{R}^T[\mathbf{v}] R Δ R T [ v ] (entropy transfer between { r ‾ 1 , r ‾ 2 } \{\overline{\mathbf{r}}_1,\overline{\mathbf{r}}_2\} { r 1 , r 2 } ):
[ v ] T R ‾ Δ ‾ R ‾ T [ v ] = Δ ‾ E − Δ ‾ E = 0 , Δ ‾ E = δ ‾ μ ‾ 1 μ ‾ 2 . [\mathbf{v}]^T\overline{R}\,\overline{\Delta}\,\overline{R}^T[\mathbf{v}] = \overline{\Delta}\mathcal{E} - \overline{\Delta}\mathcal{E} = 0,\quad\overline{\Delta}\mathcal{E} = \overline{\delta}\overline{\mu}_1\overline{\mu}_2. [ v ] T R Δ R T [ v ] = Δ E − Δ E = 0 , Δ E = δ μ 1 μ 2 .
Using the above algebra, we can now introduce EPBs for the ES Turkel and ES Miczek fluxes in terms of the original acoustic eigenvectors instead of the modified ones. For Turkel’s flux-preconditioner, we map from { r 1 , r 2 } = { r u n p + a p , r u n p − a p } \{\mathbf{r}_1,\mathbf{r}_2\} = \{\mathbf{r}_{unp+ap},\mathbf{r}_{unp-ap}\} { r 1 , r 2 } = { r u n p + a p , r u n p − a p } to { r ‾ 1 , r ‾ 2 } = { r u n + a , r u n − a } \{\overline{\mathbf{r}}_1,\overline{\mathbf{r}}_2\} = \{\mathbf{r}_{un+a},\mathbf{r}_{un-a}\} { r 1 , r 2 } = { r u n + a , r u n − a } using:
r u n p + a p = 1 2 p 2 ( K 1 − K 2 ) ( ( K 1 + p 2 ) r u n + a + ( K 1 − p 2 ) r u n − a ) , \mathbf{r}_{unp+ap} = \frac{1}{\sqrt{2}p^2(K_1-K_2)}\left((K_1+p^2)\mathbf{r}_{un+a}+(K_1-p^2)\mathbf{r}_{un-a}\right), r u n p + a p = 2 p 2 ( K 1 − K 2 ) 1 ( ( K 1 + p 2 ) r u n + a + ( K 1 − p 2 ) r u n − a ) ,
r u n p − a p = 1 2 p 2 ( K 1 − K 2 ) ( ( K 2 + p 2 ) r u n + a + ( K 2 − p 2 ) r u n − a ) . \mathbf{r}_{unp-ap} = \frac{1}{\sqrt{2}p^2(K_1-K_2)}\left((K_2+p^2)\mathbf{r}_{un+a}+(K_2-p^2)\mathbf{r}_{un-a}\right). r u n p − a p = 2 p 2 ( K 1 − K 2 ) 1 ( ( K 2 + p 2 ) r u n + a + ( K 2 − p 2 ) r u n − a ) .
The new decomposition (100) –(101) (to contrast with (86)) writes:
E p = ( E u n + a S + E u n + a , u n − a ) + ( E u n − a S + E u n − a , u n + a ) . (102) \mathcal{E}_p = \left(\mathcal{E}_{un+a}^S + \mathcal{E}_{un+a,un-a}\right) + \left(\mathcal{E}_{un-a}^S + \mathcal{E}_{un-a,un+a}\right). \tag*{(102)} E p = ( E u n + a S + E u n + a , u n − a ) + ( E u n − a S + E u n − a , u n + a ) . (102)
Figures A.28 and A.30 show the initial entropy production fields for the Gresho vortex and the sound wave using the decomposition (102) . These entropy production fields are more similar to those of the classic ES Roe flux (figures 11 and 12) than the ones along the modified acoustic eigenvectors (figures A.32 and A.33). We also see that the coupling term E u n + a , u n − a \mathcal{E}_{u_n+a,u_n-a} E u n + a , u n − a can be negative.
For Miczek’s flux-preconditioner, modified and original acoustic eigenvectors satisfy:
r u n + a p = 1 2 ( p 2 + 1 ) ( K 1 − K 2 ) ( ( K 1 ( 1 + p ) + 1 − p ) r u n + a + ( K 1 ( 1 − p ) − ( 1 + p ) ) r u n − a ) . \mathbf{r}_{u_n+ap}=\frac{1}{\sqrt{2}(p^2+1)(K_1-K_2)}\left((K_1(1+p)+1-p)\mathbf{r}_{u_n+a}+(K_1(1-p)-(1+p))\mathbf{r}_{u_n-a}\right). r u n + a p = 2 ( p 2 + 1 ) ( K 1 − K 2 ) 1 ( ( K 1 ( 1 + p ) + 1 − p ) r u n + a + ( K 1 ( 1 − p ) − ( 1 + p )) r u n − a ) .
r u n − a p = 1 2 ( p 2 + 1 ) ( K 1 − K 2 ) ( ( K 2 ( 1 + p ) + 1 − p ) r u n + a + ( K 2 ( 1 − p ) − ( 1 + p ) ) r u n − a ) . \mathbf{r}_{u_n-ap}=\frac{1}{\sqrt{2}(p^2+1)(K_1-K_2)}\left((K_2(1+p)+1-p)\mathbf{r}_{u_n+a}+(K_2(1-p)-(1+p))\mathbf{r}_{u_n-a}\right). r u n − a p = 2 ( p 2 + 1 ) ( K 1 − K 2 ) 1 ( ( K 2 ( 1 + p ) + 1 − p ) r u n + a + ( K 2 ( 1 − p ) − ( 1 + p )) r u n − a ) .
The new decomposition (102)–(103) writes:
E p = ( E u n + a S + E u n + a , u n − a − Δ E a ) + ( E u n − a S + E u n − a , u n + a + Δ E a ) . (103) \mathcal{E}_p=\left(\mathcal{E}^{S}_{u_n+a}+\mathcal{E}_{u_n+a,u_n-a}-\Delta\mathcal{E}_a\right)+\left(\mathcal{E}^{S}_{u_n-a}+\mathcal{E}_{u_n-a,u_n+a}+\Delta\mathcal{E}_a\right). \tag*{(103)} E p = ( E u n + a S + E u n + a , u n − a − Δ E a ) + ( E u n − a S + E u n − a , u n + a + Δ E a ) . (103)
Figures A.29 and A.31 show the initial entropy production fields for the Gresho vortex and the sound wave using EPB (105). The coupling term E u n + a , u n − a \mathcal{E}_{u_n+a,u_n-a} E u n + a , u n − a is negligible. For the sound wave, Figure 25 shows the integrated entropy production fields according to (105). The culpability of the skew-symmetric part of the ES Miczek flux in the spurious transient is striking : the skew-symmetric contribution Δ E a \Delta\mathcal{E}_a Δ E a kicks in around t ∈ { 0 , 0.5 , 1 } t \in\{0,0.5,1\} t ∈ { 0 , 0.5 , 1 } . This could not be seen with the previous EPB (Figure 18 ).
Figure 25. Sound wave: Integral of entropy production fields along the acoustic eigenvectors with time at M r = 10 − 2 M_r=10^{-2} M r = 1 0 − 2 for the ES Miczek flux.
An Incomplete Picture
In an unpublished manuscript, Roe [44 ] made the following observation regarding EC fluxes:
Corollary 7.0.1 (Roe [44 ] ). Let f E C ∗ \mathbf{f}^{*}_{EC} f E C ∗ an E C EC E C flux following theorem (4.1). Then for any skew-symmetric matrix Δ \Delta Δ , we have that the numerical flux f ∗ \mathbf{f}^{*} f ∗ defined by:
f ∗ = f E C ∗ − Δ [ v ] , (104) \mathbf{f}^{*}=\mathbf{f}^{*}_{EC}-\Delta[\mathbf{v}], \tag*{(104)} f ∗ = f E C ∗ − Δ [ v ] , (104) is EC as well.
This result is a simple consequence of [ v ] T Δ [ v ] = 0 [\mathbf{v}]^{T}\Delta[\mathbf{v}]=0 [ v ] T Δ [ v ] = 0 . While Δ \Delta Δ does not contribute to the total discrete entropy production, it still has an impact on the discrete entropy equation (47) through the entropy flux F ∗ \mathbf{F}^{*} F ∗ . It is easy to show that the discrete entropy flux writes:
F ∗ = v ‾ ⋅ ( f ∗ − Δ [ v ] ) − F ‾ . \mathbf{F}^{*}=\overline{\mathbf{v}}\cdot\left(\mathbf{f}^{*}-\Delta[\mathbf{v}]\right)-\overline{F}. F ∗ = v ⋅ ( f ∗ − Δ [ v ] ) − F .
The contribution from Δ \Delta Δ is non-zero. We ran the skewed ES flux of section 7.2 without R ∣ Λ p ∣ R T [ v ] R|\Lambda_p|R^{T}[\mathbf{v}] R ∣ Λ p ∣ R T [ v ] (this leaves a skewed EC flux (106)) and observed the same anomalies (Figure 26 and Figure 27 ). This shows that the picture drawn by EPBs is not complete, and that perhaps we should take a few steps back and try to better understand discrete entropy conservation first.
Figure 26. Gresho Vortex: Centerline pressure profile with the skewed EC flux. M r = 3 × 10 − 3 M_{r} = 3 \times10^{-3} M r = 3 × 1 0 − 3 .
Figure 27. Sound wave: Same pressure profiles as in figure 19 with the skewed EC flux instead. M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2 .
In section 4.2 we got a glimpse of how diverse EC fluxes can be. EC fluxes such as Roe’s (57) or Chandrasekhar’s (58) are popular because of their algebraic simplicity but their local behavior is not easy to analyze, at least analytically. Given a dissipation operator R ∣ Λ ∣ R T [ v ] = ∑ k = 1 N r k ∣ Λ k ∣ μ k R|\Lambda|R^{T}[\mathbf{v}] = \sum_{k=1}^{N} \mathbf{r}_{k}|\Lambda_{k}|\mu_{k} R ∣Λ∣ R T [ v ] = ∑ k = 1 N r k ∣ Λ k ∣ μ k , one could look for an EC flux f ∗ \mathbf{f}^{*} f ∗ of the form:
f ∗ = ∑ k = 1 N f k r k ⟹ [ v ] ⋅ f ∗ = ∑ k = 1 N f k μ k \mathbf{f}^{*} = \sum_{k=1}^{N} f_{k}\mathbf{r}_{k} \quad\Longrightarrow\quad[\mathbf{v}]\cdot\mathbf{f}^{*} = \sum_{k=1}^{N} f_{k}\mu_{k} f ∗ = k = 1 ∑ N f k r k ⟹ [ v ] ⋅ f ∗ = k = 1 ∑ N f k μ k
Following theorem 4.1, the implied sum above has to be equal to the jump [ F ] [\mathcal{F}] [ F ] . If [ F ] [\mathcal{F}] [ F ] can be broken down as the sum of N N N independent intermediate jumps [ F ] k [\mathcal{F}]^{k} [ F ] k , then one can solve for the f k ∗ f_{k}^{*} f k ∗ and obtain the candidate EC flux:
f k = [ F ] k μ k ⟹ f ∗ = ∑ k = 1 N ( [ F ] k μ k ) r k . (105) f_{k} = \frac{[\mathcal{F}]^{k}}{\mu_{k}} \quad\Longrightarrow\quad\mathbf{f}^{*} = \sum_{k=1}^{N}\left(\frac{[\mathcal{F}]^{k}}{\mu_{k}}\right)\mathbf{r}_{k}. \tag*{(105)} f k = μ k [ F ] k ⟹ f ∗ = k = 1 ∑ N ( μ k [ F ] k ) r k . (105)
This candidate flux qualifies if it is consistent. This kind of modal EC flux was already introduced by Tadmor [38 ] about two decades ago. He set [ F ] k = F ( v ∗ , k + 1 ) − F ( v ∗ , k ) [\mathcal{F}]^{k} = \mathcal{F}(\mathbf{v}^{*,k+1}) - \mathcal{F}(\mathbf{v}^{*,k}) [ F ] k = F ( v ∗ , k + 1 ) − F ( v ∗ , k ) with an appropriately designed sequence ( v ∗ , k ) 1 ≤ k ≤ N + 1 (\mathbf{v}^{*,k})_{1\leq k\leq N+1} ( v ∗ , k ) 1 ≤ k ≤ N + 1 satisfying v ∗ , 1 = v L \mathbf{v}^{*,1} = \mathbf{v}_{L} v ∗ , 1 = v L , v ∗ , N + 1 = v R \mathbf{v}^{*,N+1} = \mathbf{v}_{R} v ∗ , N + 1 = v R . This modal representation might lead to useful insights into the local behavior of EC fluxes. One could for instance compare the magnitudes of the f k f_{k} f k coefficients and use skew-symmetric interface operators R Δ R T [ v ] R\Delta R^{T}[\mathbf{v}] R Δ R T [ v ] to alter the balance ∑ k = 1 N μ k f k = [ F ] \sum_{k=1}^{N}\mu_{k}f_{k} = [\mathcal{F}] ∑ k = 1 N μ k f k = [ F ] and see how it effects the discrete solution.
When considering the anomalies associated with the ES Miczek flux in the second test problem, we talked about entropy transfer between (acoustic) waves . It is important to recognize that for nonlinear flow configurations involving significant discontinuities and/or multi-dimensional physics, the notion of a wave become ambiguous. One can argue that the EPBs we introduced and worked with are inherently one-dimensional.
Regarding the effect of the temporal discretization on discrete entropy dynamics, we could introduce a temporal EPB starting from E B E \mathcal{E}^{BE} E B E (eq. (61) - theorem 4.3) and using H = R R T H = RR^{T} H = R R T (corollary 4.3) but computing the fields accurately requires quadrature. In addition, they cannot be computed a priori . Elements of discussion regarding the effect of temporal discretization can be found in [61 , 62 ] .
Conclusions
In this work, the behavior of ES schemes in the low-Mach regime was investigated. We showed that standard ES schemes suffer from the same accuracy degradation issues as standard upwind schemes (and for the same reasons). Using appropriate similarity and congruence transforms, we were able to define the extent to which the flux-preconditioning technique is compatible with entropy-stability. We introduced ES versions of the preconditioned upwind fluxes of Turkel and Miczek. Numerical results confirmed the analysis but also highlighted spurious transients with the flux-preconditioner of Miczek which were not reported until now.
These unexpected anomalies, together with the recent work of Bruel et al. [30 ] on the acoustic limit and the failure of the Turkel flux-preconditioner, led us to further investigate the matter. Leveraging Tadmor’s framework, we introduced discrete Entropy Production Breakdowns (EPBs) that allowed us to revisit the accuracy degradation issue in terms of entropy. In the same spirit as Guillard & Viozat [14 ] (incompressible limit) and Bruel et al. [30 ] (acoustic limit), we showed that the accuracy degradation problems at the discrete level are caused by discrete entropy fluctuations that are inconsistent with those of the continuous system.
An important outgrowth of the overall effort is the discovery that the spurious transients observed with the ES Miczek flux are caused by a skew-symmetric dissipation term which appeared when a scaled form R ∣ Λ ∣ R T [ v ] R|\Lambda|R^{T}[\mathbf{v}] R ∣Λ∣ R T [ v ] of the preconditioned dissipation operator was sought. Analytical and numerical arguments suggest that this term induces entropy transfers between acoustic waves. While the role played by skew-symmetric terms and the scope of EPBs remain to be fully understood, we believe these findings shed new lights on the local behavior of EC/ES schemes and how to further improve them. These findings should also, hopefully, convince the reader that there is more to draw from EC/ES schemes than a global stability statement such as inequality (3).
Future work will continue the analysis in a more complex setting, including unstructured grids [8 ] , high-order discretizations and mixed flow configurations [26 ] of practical interest. The challenges associated with efficient time-integration and preconditioning (stiffness and steady-state convergence [6 ] ) will bring yet another layer of difficulty to that effort.
Acknowledgments
Ayoub Gouasmi and Karthik Duraisamy were funded by AFOSR through grant number FA9550-16-1-030 (Tech. monitor: Fariba Fahroo). Support from the NASA Space Technology Mission Directorate (STMD) through the Entry Systems Modeling (ESM) project and from the NASA High-End Computing (HEC) Program are gratefully acknowledged.
Ayoub Gouasmi would like to thank Laslo Diosady, Philip Roe and Eitan Tadmor for productive conversations, and Eli Turkel for important clarifications regarding a proof in his work [3 ] and the benefits of congruence transformations.
Entropy Production Field Snapshots
Figure A.28. Gresho Vortex: Entropy production fields along the original acoustic eigenvectors at t = 0 t = 0 t = 0 for the ES Turkel flux. M r = 3 × 10 − 2 M_r = 3 \times10^{-2} M r = 3 × 1 0 − 2 .
Figure A.29. Gresho Vortex: Entropy production fields along the original acoustic eigenvectors at t = 0 t = 0 t = 0 for the ES Miczek flux. M r = 3 × 10 − 2 M_r = 3 \times10^{-2} M r = 3 × 1 0 − 2 .
Figure A.30. Sound wave: Entropy production fields along the original acoustic eigenvectors at t = 0 t = 0 t = 0 for the ES Turkel flux M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2 .
Figure A.31. Sound wave: Entropy production fields along the acoustic eigenvectors at t = 0 t = 0 t = 0 for the ES Miczek flux M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2 .
Figure A.32. Gresho Vortex: Entropy production fields at t = 0 t = 0 t = 0 for the ES Turkel flux M r = 3 × 10 − 2 M_r = 3 \times10^{-2} M r = 3 × 1 0 − 2 .
Figure A.33. Sound wave: Entropy production fields at t = 0 t = 0 t = 0 for the ES Turkel flux M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2 .
(a) (a) ϵ ^ u n p + a p = ϵ ^ u n p + a p S − Δ ϵ ^ p \hat{\epsilon}_{unp+ap} = \hat{\epsilon}^{S}_{unp+ap} - \Delta\hat{\epsilon}_p ϵ ^ u n p + a p = ϵ ^ u n p + a p S − Δ ϵ ^ p
(b) (b) ϵ ^ u n p − a p = ϵ ^ u n p − a p S + Δ ϵ ^ p \hat{\epsilon}_{unp-ap} = \hat{\epsilon}^{S}_{unp-ap} + \Delta\hat{\epsilon}_p ϵ ^ u n p − a p = ϵ ^ u n p − a p S + Δ ϵ ^ p
(c) (c) ϵ ^ u n p + a p S \hat{\epsilon}^{S}_{unp+ap} ϵ ^ u n p + a p S
(d) (d) ϵ ^ u n p − a p S \hat{\epsilon}^{S}_{unp-ap} ϵ ^ u n p − a p S
(e) (e) Δ ϵ ^ p \Delta\hat{\epsilon}_p Δ ϵ ^ p
Figure A.34. Gresho Vortex: Entropy production fields at t = 0 t = 0 t = 0 for the ES Miczek flux M r = 3 × 10 − 2 M_r = 3 \times10^{-2} M r = 3 × 1 0 − 2 .
Figure A.35. (a) E ^ u n p + a p = E ^ u n p + a p S − Δ E ^ p \widehat{\mathcal{E}}_{unp+ap} = \widehat{\mathcal{E}}^{S}_{unp+ap} - \Delta\widehat{\mathcal{E}}_{p} E u n p + a p = E u n p + a p S − Δ E p ; (b) E ^ u n p − a p = E ^ u n p + a p S + Δ E ^ p \widehat{\mathcal{E}}_{unp-ap} = \widehat{\mathcal{E}}^{S}_{unp+ap} + \Delta\widehat{\mathcal{E}}_{p} E u n p − a p = E u n p + a p S + Δ E p ; (c) E ^ u n p + a p S \widehat{\mathcal{E}}^{S}_{unp+ap} E u n p + a p S ; (d) E ^ u n p − a p S \widehat{\mathcal{E}}^{S}_{unp-ap} E u n p − a p S ; (e) Δ E ^ p \Delta\widehat{\mathcal{E}}_{p} Δ E p . Figure A.35: Sound wave: Entropy production fields at t = 0 t = 0 t = 0 for the ES Miczek flux. M r = 10 − 2 M_r = 10^{-2} M r = 1 0 − 2 .