betaFeedback

WorksMathematics

Entropy-Stable and Well-Balanced Discontinuous Galerkin Methods for the Compressible Euler Equations in Vector-Invariant Form

Abstract

We develop structure-preserving methods for the compressible Euler equations with gravity in vector-invariant form and potential temperature as a prognostic variable within the flux-differencing discontinuous Galerkin spectral element method (DGSEM) framework. By discretizing the nonconservative terms as symmetric and antisymmetric products, we derive two-point numerical fluxes that conserve both the thermodynamic entropy and the total energy. Moreover, we design an entropy-stable numerical flux that is well-balanced for both isothermal and isentropic background states. All properties are shown to carry over to the high-order DGSEM on general curvilinear meshes. Several numerical examples confirm the theoretical findings and show the robustness and accuracy of the scheme for use in modern dynamical cores for atmospheric flows.

arXiv:2610.05820v1 [math.NA] 5 Oct 2026

Introduction

In recent decades, increasing attention has been devoted to the development of modern dynamical cores, driven by advances in high-performance computing and by the need for more accurate, efficient and robust numerical methods for atmospheric flows. Many operational and research cores are based on spectral-element methods, which combine high-order accuracy with good scalability on modern CPU and GPU architectures (see, e.g., [6, 24, 36, 45, 53, 70, 94]); we refer to [56] for a review of element-based Galerkin methods for numerical weather prediction.

Among the high-order spectral element methods, discontinuous Galerkin (DG) methods have gained significant attention due to their ability to handle arbitrary geometries, their high-order accuracy, and their excellent scalability for parallel computing on CPU and GPU hardware [11, 59, 88, 90]. Since the pioneering work of Carpenter et al. [12, 13], Fisher et al. [30] and Gassner et al. [35], the flux-differencing discontinuous Galerkin spectral element method (DGSEM) has emerged as a promising approach for solving the compressible Euler equations. Combining entropy-conservative/stable fluxes [80, 81] with a flux-differencing volume integral and suitable interface fluxes yields provably entropy-stable (or entropy-conservative) and well-balanced schemes. This increases robustness [48, 54, 70, 71, 73, 77, 89] and removes the need for ad hoc stabilization techniques, such as artificial viscosity [86, 95], filtering [37] and dealiasing [57, 93] to control spurious oscillations and robustness issues in underresolved simulations. It also allows convergence analyses going beyond arguments relying on linearization [23, 55, 64].

Various formulations of the compressible Euler equations are currently being explored for the development of modern dynamical cores, differing in the choice of the thermodynamic variables, such as potential temperature, entropy, internal or total energy, as well as in the form of the momentum equation, e.g., the conservative or the vector-invariant form, and it is still unclear whether one formulation offers advantages over the others [1, 6, 37, 39, 70].

In particular, the vector-invariant form, for which energy conservation can be established only through integration by parts, is widely used in modern dynamical cores. For example, Taylor et al. [82] proposed an energy-consistent discretization that uses the vector-invariant form for the horizontal momentum and an advective form for the vertical transport, with the potential temperature as a prognostic variable. The CliMA dynamical core [94] discretizes the vector-invariant form with the total energy as a prognostic variable, following a hybrid approach that couples a spectral-element method with staggered finite differences in the vertical direction.

In the DG framework, several structure-preserving discretizations have been proposed for various formulations for atmospheric flows. Ricardo et al. [70] proposed a DG method for the moist compressible Euler equations in vector-invariant form that is entropy-conserving and energy-conserving/stable, with the thermodynamic entropy as a prognostic variable. Waruszewski et al. [89] extended the entropy-conservative flux of Chandrashekar [18] to the compressible Euler equations with gravity in the total energy formulation; they proved that their scheme is well-balanced for an isothermal background state for gravity aligned to the mesh (see also [19, 20, 52, 54, 58] for different approaches to well-balanced schemes). Artiano et al. [1] proposed structure-preserving, entropy- and energy-conservative/stable, and well-balanced schemes for different sets of equations, using either potential temperature or the sum of kinetic and internal energy; they also constructed a scheme that is well-balanced for an isentropic background state and extended it to arbitrary curvilinear meshes.

In this work, we focus on the spatial discretization of the compressible Euler equations in vector-invariant form, with potential temperature as the thermodynamic variable. To the authors’ knowledge, no provably entropy-stable scheme has been proposed for the vector-invariant form so far. Leveraging the recent framework for nonconservative terms introduced in [2], we derive new two-point fluxes that guarantee conservation of total energy and thermodynamic entropy. We further construct an entropy-stable numerical flux that guarantees the positivity of the pressure, and we prove that the resulting schemes are well-balanced for two families of hydrostatic background states, namely isentropic and isothermal background states. The scheme is first presented in the finite volume framework and then extended to the DGSEM on arbitrary curvilinear meshes, following the work in [2].

The paper is organized as follows. In Section 2, we introduce the vector-invariant formulation of the compressible Euler equations and derive total-energy- and entropy-conservative two-point fluxes for finite volume methods. Entropy stability is investigated in Section 3, and pressure positivity for strong-stability-preserving (SSP) Runge–Kutta methods is proved in Section 4. The well-balanced schemes for isentropic and isothermal background states and their derivation are presented in Section 5. The novel entropy-stable and well-balanced numerical flux is presented in Section 6. Section 7 extends all conservation properties, the well-balanced schemes, and the entropy stability to the DGSEM on general curvilinear meshes. Numerical results are reported in Section 8, and a summary with conclusions is given in Section 9.

Vector-invariant form of the compressible Euler equations

The compressible Euler equations in vector-invariant form can be written as [32]

∂ϱ∂t+∇⋅(ϱV)=0,∂V∂t+(∇×V)×V+∇(∥V∥22)+cpθ∇Π+∇ϕ=0,∂(ϱθ)∂t+∇⋅(ϱθV)=0,(1)\begin{aligned} \frac{\partial\varrho}{\partial t} + \nabla\cdot(\varrho\mathbf{V}) &= 0, \\ \frac{\partial\mathbf{V}}{\partial t} + (\nabla\times\mathbf{V}) \times\mathbf{V} + \nabla\left(\frac{\lVert\mathbf{V} \rVert^2}{2}\right) + c_p \theta\nabla\Pi+ \nabla\phi&= 0, \\ \frac{\partial(\varrho\theta)}{\partial t} + \nabla\cdot(\varrho\theta\mathbf{V}) &= 0, \tag*{(1)} \end{aligned}

where ϱ\varrho is the density, V\mathbf{V} the velocity, θ\theta the potential temperature, p=p0(ϱθR/p0)γp = p_0(\varrho\theta R/p_0)^\gamma the pressure, p0=100 000 Pap_0 = 100\,000\ \mathrm{Pa} the reference pressure, Π=(ϱθR/p0)R/cv\Pi= (\varrho\theta R/p_0)^{R/c_v} the Exner pressure, and ϕ=ϕ(x,y,z)\phi= \phi(x,y,z) the geopotential. We assume an ideal gas equation of state, i.e., p=ϱRTp = \varrho R T with the gas constant R=cp−cvR = c_p - c_v and the temperature TT. The (constant) specific heats at constant volume and pressure are denoted by cvc_v and cpc_p, respectively, and γ=cp/cv\gamma= c_p/c_v is the ratio of specific heats.

For smooth solutions, the system (1) admits additional conservation laws of the form

∂tU(u)+∇⋅F(u)=0,(2)\partial_t U(\mathbf{u}) + \nabla\cdot\mathbf{F}(\mathbf{u}) = 0, \tag*{(2)}

where UU is a mathematical entropy, F\mathbf{F} the associated entropy flux, and u=(ϱ,V,ϱθ)\mathbf{u} = (\varrho,\mathbf{V},\varrho\theta) are the prognostic variables.1 In particular, both the thermodynamic entropy and the total energy act as mathematical entropies for the system (1), and the corresponding entropy fluxes can be derived from the conservation laws. In the following, we consider the total energy

UϱE=pγ−1+12ϱ∥V∥2+ϱϕ,FϱE=(UϱE+p)V,(3)U_{\varrho E} = \frac{p}{\gamma- 1} + \frac{1}{2}\varrho\lVert\mathbf{V} \rVert^2 + \varrho\phi,\qquad\mathbf{F}_{\varrho E} = (U_{\varrho E} + p)\mathbf{V}, \tag*{(3)}

and the thermodynamic entropy

Uϱs=−ϱsγ−1,s=log⁡(pϱγ),Fϱs=UϱsV,(4)U_{\varrho s} = -\frac{\varrho s}{\gamma- 1},\qquad s = \log\left(\frac{p}{\varrho^\gamma}\right),\qquad\mathbf{F}_{\varrho s} = U_{\varrho s}\mathbf{V}, \tag*{(4)}

where ss is the specific entropy. Next, we derive entropy-conservative (EC) and total-energy-conservative (TEC) numerical fluxes for the system (1). Such fluxes are the first building blocks in the construction of many entropy-stable schemes [18, 31, 89, 92] based on Tadmor’s approach [80, 81].

Entropy analysis

Because of the particular structure of the vector-invariant form, we restrict the analysis to the two-dimensional case for simplicity, i.e., V=(v1,v3)=(u,w)\mathbf{V}=(v_1,v_3)=(u,w). The extension to three dimensions follows along the same lines. The system (1) in two-dimensional Cartesian coordinates reads2

∂ϱ∂t+∂(ϱv1)∂x+∂(ϱv3)∂z=0,\frac{\partial\varrho}{\partial t}+\frac{\partial(\varrho v_1)}{\partial x}+\frac{\partial(\varrho v_3)}{\partial z}=0,
∂v1∂t+v3(∂v1∂z−∂v3∂x)+∂∂x(v12+v322)+cpθ∂Π∂x+∂ϕ∂x=0(5)\frac{\partial v_1}{\partial t}+v_3\left(\frac{\partial v_1}{\partial z}-\frac{\partial v_3}{\partial x}\right)+\frac{\partial}{\partial x}\left(\frac{v_1^2+v_3^2}{2}\right)+c_p\theta\frac{\partial\Pi}{\partial x}+\frac{\partial\phi}{\partial x}=0 \tag*{(5)}
∂v3∂t+v1(∂v3∂x−∂v1∂z)+∂∂z(v12+v322)+cpθ∂Π∂z+∂ϕ∂z=0,\frac{\partial v_3}{\partial t}+v_1\left(\frac{\partial v_3}{\partial x}-\frac{\partial v_1}{\partial z}\right)+\frac{\partial}{\partial z}\left(\frac{v_1^2+v_3^2}{2}\right)+c_p\theta\frac{\partial\Pi}{\partial z}+\frac{\partial\phi}{\partial z}=0,
∂(ϱθ)∂t+∂(ϱθv1)∂x+∂(ϱθv3)∂z=0.\frac{\partial(\varrho\theta)}{\partial t}+\frac{\partial(\varrho\theta v_1)}{\partial x}+\frac{\partial(\varrho\theta v_3)}{\partial z}=0.

With the set of prognostic variables u=(ϱ,v1,v3,ϱθ)\mathbf{u}=(\varrho,v_1,v_3,\varrho\theta), the system can be cast in the compact form

∂tu+∑j∂xjfj(u)+∑jHj(u)∂xjgj(u)=0,(6)\partial_t\mathbf{u}+\sum_j\partial_{x_j}\mathbf{f}^j(\mathbf{u})+\sum_j\mathbf{H}^j(\mathbf{u})\partial_{x_j}\mathbf{g}^j(\mathbf{u})=0, \tag*{(6)}

where fj\mathbf{f}^j represents the conservative fluxes and Hj∂xjgj\mathbf{H}^j\partial_{x_j}\mathbf{g}^j the nonconservative products, namely the vorticity contributions, the pressure term cpθ∂xjΠc_p\theta\partial_{x_j}\Pi and the geopotential term ∂xjϕ\partial_{x_j}\phi, with the following definitions

f1=(ϱv1K0ϱθv1),f3=(ϱv30Kϱθv3),(7)\mathbf{f}^1=\begin{pmatrix}\varrho v_1\\K\\0\\\varrho\theta v_1\end{pmatrix},\qquad \mathbf{f}^3=\begin{pmatrix}\varrho v_3\\0\\K\\\varrho\theta v_3\end{pmatrix}, \tag*{(7)}
H1=(000−v3cpθ1v100000),g1=(v3Πϕ),H3=(000v300−v1cpθ1000),g3=(v1Πϕ),(8)\mathbf{H}^1= \begin{pmatrix} 0&0&0\\ -v_3&c_p\theta&1\\ v_1&0&0\\ 0&0&0 \end{pmatrix}, \qquad \mathbf{g}^1= \begin{pmatrix} v_3\\ \Pi\\ \phi \end{pmatrix}, \qquad \mathbf{H}^3= \begin{pmatrix} 0&0&0\\ v_3&0&0\\ -v_1&c_p\theta&1\\ 0&0&0 \end{pmatrix}, \qquad \mathbf{g}^3= \begin{pmatrix} v_1\\ \Pi\\ \phi \end{pmatrix}, \tag*{(8)}

where K=12∥V∥2K=\frac{1}{2}\lVert\mathbf{V}\rVert^2.

We introduce some standard two-point notation that we will use throughout the study:

⟦a⟧=a+−a−,(jump)\llbracket a\rrbracket=a_+-a_-,\qquad\text{(jump)}
{ ⁣{a} ⁣}=12(a++a−),(arithmetic mean)\{\!\{a\}\!\}=\frac{1}{2}(a_++a_-),\qquad\text{(arithmetic mean)}
{ ⁣{a} ⁣}log⁡=⟦a⟧⟦log⁡a⟧,(logarithmic mean, cf. citep‘[44]‘)\{\!\{a\}\!\}_{\log}=\frac{\llbracket a\rrbracket}{\llbracket\log a\rrbracket},\qquad\text{(logarithmic mean, cf. {citep}`[44]`)}
{ ⁣{a} ⁣}γ=γ−1γ⟦aγ⟧⟦aγ−1⟧,(Stolarsky mean, cf. citep‘[91]‘)\{\!\{a\}\!\}_{\gamma}=\frac{\gamma-1}{\gamma}\frac{\llbracket a^\gamma\rrbracket}{\llbracket a^{\gamma-1}\rrbracket},\qquad\text{(Stolarsky mean, cf. {citep}`[91]`)}
{ ⁣{a} ⁣}geo=a+a−,(geometric mean),(9)\{\!\{a\}\!\}_{\mathrm{geo}}=\sqrt{a_+a_-},\qquad\text{(geometric mean),} \tag*{(9)}

with the discrete product rules ⟦ab⟧={ ⁣{a} ⁣}⟦b⟧+{ ⁣{b} ⁣}⟦a⟧\llbracket ab\rrbracket=\{\!\{a\}\!\}\llbracket b\rrbracket+\{\!\{b\}\!\}\llbracket a\rrbracket, ⟦a2⟧=2⟦a⟧{ ⁣{a} ⁣}\llbracket a^2\rrbracket=2\llbracket a\rrbracket\{\!\{a\}\!\}.

To derive the entropy-conservative/stable methods, we follow the approach presented in [2], which is based on a specialization of the fluctuation form of the nonconservative terms (see, e.g., [14, 69]). Among the forms proposed therein, we adopt the third, which is the most practical, as it offers enough flexibility to derive entropy-conservative fluxes for most nonconservative hyperbolic systems, while keeping the construction of novel entropy-stable/conservative schemes straightforward. Following [2], a semidiscrete finite volume (FV) method for (6) on a uniform Cartesian grid reads

∂tui+∑j1Δxj(fi+1/2num,j−fi−1/2num,j)+∑j12Δxj(Hi+1/2num,j[gj]i+1/2+Hi−1/2num,j[gj]i−1/2)=0.(10)\partial_t \mathbf{u}_i+\sum_j\frac{1}{\Delta x_j}\left(f^{\mathrm{num},j}_{i+1/2}-f^{\mathrm{num},j}_{i-1/2}\right)+\sum_j\frac{1}{2\Delta x_j}\left(H^{\mathrm{num},j}_{i+1/2}[g^j]_{i+1/2}+H^{\mathrm{num},j}_{i-1/2}[g^j]_{i-1/2}\right)=0. \tag*{(10)}

The numerical counterparts fnum,jf^{\mathrm{num},j}, Hnum,jH^{\mathrm{num},j}, and gjg^j follow naturally from (7) and (8), respectively. Note that the gradient of the potential is treated as a nonconservative term, although it could be discretized in divergence form. This choice is made purely for convenience, since it simplifies the derivation of the numerical fluxes. Nevertheless, the derivation can be carried out equivalently by treating the geopotential as a conservative term with central numerical flux.

The scheme (10) is uniquely determined once the numerical fluxes are specified. Thus, we are looking for numerical fluxes that conserve the entropy functionals UϱsU_{\varrho s} and UϱEU_{\varrho E}. It is important to note that, when expressed in terms of the variables (ϱ,v1,v3,ϱθ)(\varrho,v_1,v_3,\varrho\theta), these functionals lose strict convexity. The thermodynamic entropy remains convex but not strictly [1], whereas the total energy is not convex, since the Hessian is indefinite if the velocity is non-zero. Indeed, considering the vector-invariant form in one dimension, the Hessians of the two mathematical entropies read

UϱE′′(u)=[0v0vϱ000γRΠϱθ],Uϱs′′(u)=γγ−1[1ϱ0−1ϱθ000−1ϱθ0ϱ(ϱθ)2].(11)U_{\varrho E}^{\prime\prime}(\mathbf{u})= \begin{bmatrix} 0 & v & 0\\ v & \varrho& 0\\ 0 & 0 & \gamma R\frac{\Pi}{\varrho\theta} \end{bmatrix}, \qquad U_{\varrho s}^{\prime\prime}(\mathbf{u})= \frac{\gamma}{\gamma-1} \begin{bmatrix} \frac{1}{\varrho} & 0 & -\frac{1}{\varrho\theta}\\ 0 & 0 & 0\\ -\frac{1}{\varrho\theta} & 0 & \frac{\varrho}{(\varrho\theta)^2} \end{bmatrix}. \tag*{(11)}

with eigenvalues

λϱE,1,2=ϱ±ϱ2+4ϱv22,λϱE,3=γRΠϱθ,(12)\lambda_{\varrho E,1,2}=\frac{\varrho\pm\sqrt{\varrho^2+4\varrho v^2}}{2}, \qquad \lambda_{\varrho E,3}=\gamma R\frac{\Pi}{\varrho\theta}, \tag*{(12)}
λϱs,1=λϱs,2=0,λϱs,3=γγ−1(1ϱ+ϱ(ϱθ)2).(13)\lambda_{\varrho s,1}=\lambda_{\varrho s,2}=0, \qquad \lambda_{\varrho s,3}=\frac{\gamma}{\gamma-1}\left(\frac{1}{\varrho}+\frac{\varrho}{(\varrho\theta)^2}\right). \tag*{(13)}

The loss of strict convexity implies that Barth’s theorem [7] cannot be applied to uniquely determine a dissipation operator guaranteeing entropy stability [89, 92]. However, a generalized Tadmor condition remains both necessary and sufficient for entropy conservation/stability, regardless of whether a mathematical entropy is convex (see the algebraic characterization in [2]), so that entropy-stable schemes can still be obtained by enforcing this condition. Moreover, we show that it can be satisfied in a simple way for any discretization of the compressible Euler equations that uses the density and the potential temperature (in conservative form) as prognostic variables, independently of how the momentum equation is discretized.

For completeness, we report here the relevant result for the semidiscretization (10), which corresponds to the third form of [2] and extends the classical result of Tadmor [81].

Theorem 2.1 (Theorem 3.10 of [2]). The FV scheme (10) is entropy-conservative/stable for a given entropy pair (U,F)(U,F) if and only if

⟦ω⟧⋅fnum,j−{ ⁣{ω} ⁣}⋅Hnum,j⟦gj⟧≤⟦ψj⟧(14)\llbracket\omega\rrbracket\cdot f^{\mathrm{num},j}-\{\!\{\omega\}\!\}\cdot H^{\mathrm{num},j}\llbracket g^j\rrbracket\leq\llbracket\psi^j\rrbracket \tag*{(14)}

for all jj, where ω=U′\omega=U' are the entropy variables and ψj=ω⋅fj−Fj\psi^j=\omega\cdot f^j-F^j is the entropy potential.

In the next two sections, we follow an analysis similar to that of [1] to derive the total energy and the thermodynamic entropy numerical fluxes, using the generalized Tadmor condition (14).

Total energy conservation

We first use the total energy UϱEU_{\varrho E} as the mathematical entropy. Since the analysis decouples in the two spatial directions, we carry out the derivations in the x1x_1-direction; the x3x_3-direction follows analogously. The entropy variables and the entropy potential in the x1x_1-direction associated with (ϱ,v1,v3,ϱθ)(\varrho, v_1, v_3, \varrho\theta) are

ωϱE=(K+ϕ,ϱv1,ϱv3,cpΠ),ψϱE1=ϱKv1,K=12(v12+v32).(15)\boldsymbol{\omega}_{\varrho E} = (K+\phi,\varrho v_1,\varrho v_3,c_p\Pi), \qquad\psi_{\varrho E}^{1}=\varrho K v_1,\qquad K=\frac{1}{2}(v_1^2+v_3^2). \tag*{(15)}

Inserting (15) into the condition (14) with equality, we obtain

⟦K⟧fϱ,1+⟦ϕ⟧fϱ,1+⟦ϱv1⟧fv1,1+cp⟦Π⟧fϱθ,1+{{ϱv1}}v3num,1⟦v3⟧−{{ϱv3}}v1num,1⟦v3⟧−{{ϱv1}}(cpθnum,1⟦Π⟧+⟦ϕ⟧)=⟦ϱv1K⟧(16)\llbracket K\rrbracket f^{\varrho,1}+\llbracket\phi\rrbracket f^{\varrho,1}+\llbracket\varrho v_1\rrbracket f^{v_1,1}+c_p\llbracket\Pi\rrbracket f^{\varrho\theta,1} + \{\{\varrho v_1\}\}v_3^{\mathrm{num},1}\llbracket v_3\rrbracket-\{\{\varrho v_3\}\}v_1^{\mathrm{num},1}\llbracket v_3\rrbracket-\{\{\varrho v_1\}\}\left(c_p\theta^{\mathrm{num},1}\llbracket\Pi\rrbracket+\llbracket\phi\rrbracket\right)=\llbracket\varrho v_1K\rrbracket \tag*{(16)}

where θnum,1\theta^{\mathrm{num},1} denotes the discretization of θ\theta in the nonconservative pressure product cpθ∂x1Πc_p\theta\partial_{x_1}\Pi, and the term {{ϱv1}}⟦ϕ⟧\{\{\varrho v_1\}\}\llbracket\phi\rrbracket stems from the nonconservative geopotential gradient. Expanding the right-hand side with the discrete chain rule and matching the coefficients of the independent jumps ⟦K⟧\llbracket K\rrbracket, ⟦ϕ⟧\llbracket\phi\rrbracket, ⟦ϱv1⟧\llbracket\varrho v_1\rrbracket, and ⟦Π⟧\llbracket\Pi\rrbracket yields the following result.

Theorem 2.2. A numerical flux for the compressible Euler equations in vector-invariant form (5) satisfying

fϱ,j={{ϱvj}},fvj,j={{K}},fϱθ,j={{ϱvj}}θnum,j,vinum,j={{ϱvi}}{{ϱ}},(17)f^{\varrho,j}=\{\{\varrho v_j\}\}, \\ f^{v_j,j}=\{\{K\}\}, \\ f^{\varrho\theta,j}=\{\{\varrho v_j\}\}\theta^{\mathrm{num},j}, \\ v_i^{\mathrm{num},j}=\frac{\{\{\varrho v_i\}\}}{\{\{\varrho\}\}}, \tag*{(17)}

where θnum,j\theta^{\mathrm{num},j} is any consistent discretization of θ\theta, is total-energy-conservative (TEC).

Remark 2.3. Note that the condition to derive a TEC flux for vinum,jv_i^{\mathrm{num},j} in the x1x_1-direction decouples into

{{ϱv1}}v3num={{ϱv3}}v1num,(18)\{\{\varrho v_1\}\}v_3^{\mathrm{num}}=\{\{\varrho v_3\}\}v_1^{\mathrm{num}}, \tag*{(18)}

which can be satisfied in many different ways, e.g., by vinum,j={{ϱvi}}/ϱnumv_i^{\mathrm{num},j}=\{\{\varrho v_i\}\}/\varrho^{\mathrm{num}}, where ϱnum\varrho^{\mathrm{num}} is any consistent discretization of the density. We adopt the simplest choice ϱnum={{ϱ}}\varrho^{\mathrm{num}}=\{\{\varrho\}\}, since we found no reason to introduce a more expensive mean value.

Remark 2.4. The scheme (17) uses a different momentum discretization from the energy-conservative scheme proposed by Ricardo et al. [70]: here the skew-symmetric vorticity term is discretized by means of nonconservative split forms [2], and the scheme of Ricardo et al. is recovered when the vorticity term (∇×V)×V(\nabla\times\boldsymbol{V})\times\boldsymbol{V} is discretized pointwise (i.e., evaluated at the right interface as Hi2⟦g⟧i+1/2\frac{H_i}{2}\llbracket g\rrbracket_{i+1/2}) and the potential temperature numerical flux is the central one. The freedom to choose the potential-temperature numerical flux in the present generalization, in contrast to the work of [70], plays a key role when deriving a method that conserves the entropy- as well as the total energy and guarantees preservation of isothermal and isentropic background states, as shown later in § 5.

Thermodynamic entropy conservation

We now look for numerical fluxes that conserve the thermodynamic entropy UϱsU_{\varrho s}. The associated entropy variables are

ωϱs=(log⁡(p/ϱγ)−γγ−1,0,0,−γγ−1ϱϱθ),(19)\boldsymbol{\omega}_{\varrho s}=\left(\frac{\log(p/\varrho^\gamma)-\gamma}{\gamma-1},0,0,-\frac{\gamma}{\gamma-1}\frac{\varrho}{\varrho\theta}\right), \tag*{(19)}

and the entropy potential vanishes, ψϱsj=0\psi_{\varrho s}^{j}=0. The velocity components of the entropy variables ωϱs\boldsymbol{\omega}_{\varrho s} vanish and the mass and potential-temperature equations coincide with those of the conservative formulation [1]. Thus, the condition (14) reduces to the same entropy conservation condition as in [1 Eq. (26)], which reads

⟦log⁡(1/θ)⟧fϱ,j−⟦1/θ⟧fϱθ,j=0.(20)\llbracket\log(1/\theta) \rrbracket f^{\varrho,j} - \llbracket1/\theta\rrbracket f^{\varrho\theta,j} = 0. \tag*{(20)}

The condition (20) involves only the density and potential-temperature fluxes, and the density flux remains a degree of freedom. Solving for the potential-temperature flux to avoid the influence of the pressure in the density flux (see [1]) gives the following result.

Theorem 2.5. A numerical flux for the compressible Euler equations in vector-invariant form (5) satisfying

fϱ,j=any consistent flux of ϱvj,f^{\varrho,j} = \text{any consistent flux of } \varrho v_j,
fϱθ,j=1{ ⁣{1/θ} ⁣}log⁡fϱ,j,(21)f^{\varrho\theta,j} = \frac{1}{\{\!\{1/\theta\}\!\}_{\log}} f^{\varrho,j}, \tag*{(21)}

is entropy-conservative (EC).

Remark 2.6. This result coincides with the one obtained in [1]. Clearly, the choice of formulation and of momentum discretization plays no role, and the result holds equally for the conservative variables with momentum ϱvj\varrho v_j.

The degrees of freedom in the EC and TEC numerical fluxes can be combined to construct a numerical flux that conserves the total energy and entropy. A full characterization of such a numerical flux is given in § 5, where we prove well-balancedness properties.

Entropy stability

Usually, entropy-stable methods are obtained by adding proper dissipation to an EC flux, so that (20) is satisfied as an inequality. Here, we propose a simple modification of the EC flux (21) that yields an entropy-stable flux and also guarantees positivity of the pressure, as shown in § 4.

Theorem 3.1. A numerical flux for the compressible Euler equations in vector-invariant form (5) satisfying

fϱθ,j=fϱ,jθnum,j,f^{\varrho\theta,j} = f^{\varrho,j}\theta^{\mathrm{num},j},
θnum,j=1{ ⁣{1/θ} ⁣}log⁡−θmin⁡2{ ⁣{θ} ⁣}⟦θ⟧sign⁡(fϱ,j),(22)\theta^{\mathrm{num},j} = \frac{1}{\{\!\{1/\theta\}\!\}_{\log}} - \frac{\theta^{\min}}{2\{\!\{\theta\}\!\}} \llbracket\theta\rrbracket\operatorname{sign}(f^{\varrho,j}), \tag*{(22)}

where fϱ,jf^{\varrho,j} is any consistent numerical flux of the density, is entropy-stable (ES). Moreover, θnum,j∈[θmin⁡,θmax⁡]\theta^{\mathrm{num},j} \in[\theta_{\min},\theta_{\max}] with θi+1/2max⁡=max⁡(θi,θi+1)\theta^{\max}_{i+1/2} = \max(\theta_i,\theta_{i+1}) and θi+1/2min⁡=min⁡(θi,θi+1)\theta^{\min}_{i+1/2} = \min(\theta_i,\theta_{i+1}).

Proof. The entropy stability condition (20) becomes

⟦log⁡(1/θ)⟧fϱ,j−⟦1/θ⟧fϱθ,j≤0.(23)\llbracket\log(1/\theta) \rrbracket f^{\varrho,j} - \llbracket1/\theta\rrbracket f^{\varrho\theta,j} \leq0. \tag*{(23)}

Substituting the entropy-stable flux (22) and using { ⁣{1/θ} ⁣}log⁡=⟦1/θ⟧/⟦log⁡(1/θ)⟧\{\!\{1/\theta\}\!\}_{\log} = \llbracket1/\theta\rrbracket/ \llbracket\log(1/\theta) \rrbracket, we obtain

fϱ,j(⟦log⁡(1/θ)⟧−⟦1/θ⟧1{ ⁣{1/θ} ⁣}log⁡+⟦1/θ⟧θmin⁡2{ ⁣{θ} ⁣}⟦θ⟧sign⁡(fϱ,j))=−θmin⁡2{ ⁣{θ} ⁣}⟦θ⟧2{ ⁣{θ} ⁣}geo2∣fϱ,j∣≤0,(24)f^{\varrho,j}\left( \llbracket\log(1/\theta) \rrbracket - \llbracket1/\theta\rrbracket \frac{1}{\{\!\{1/\theta\}\!\}_{\log}} + \llbracket1/\theta\rrbracket \frac{\theta^{\min}}{2\{\!\{\theta\}\!\}} \llbracket\theta\rrbracket \operatorname{sign}(f^{\varrho,j}) \right) = -\frac{\theta^{\min}}{2\{\!\{\theta\}\!\}} \frac{\llbracket\theta\rrbracket^2}{\{\!\{\theta\}\!\}_{\mathrm{geo}}^2} \lvert f^{\varrho,j}\rvert\leq0, \tag*{(24)}

where we used

⟦1θ⟧=−⟦θ⟧{ ⁣{θ} ⁣}geo2.(25)\llbracket\frac{1}{\theta} \rrbracket= -\frac{\llbracket\theta\rrbracket}{\{\!\{\theta\}\!\}_{\mathrm{geo}}^2}. \tag*{(25)}

Now we show that the numerical flux is bounded by the minimum and maximum values at the interface. First, we notice that the inverse of the logarithmic mean of 1/θ1/\theta is bounded by the harmonic and geometric means [21]

2θmin⁡θmax⁡θmax⁡+θmin⁡≤1{{1/θ}}log⁡≤θmin⁡θmax⁡.(26)\frac{2\theta^{\min}\theta^{\max}}{\theta^{\max}+\theta^{\min}} \le\frac{1}{\{\{1/\theta\}\}_{\log}} \le\sqrt{\theta^{\min}\theta^{\max}}. \tag*{(26)}

Moreover, we can rewrite θnum=1{{1/θ}}log⁡−S\theta^{\mathrm{num}}=\frac{1}{\{\{1/\theta\}\}_{\log}}-S, where S=θmin⁡2{{θ}}⟦θ⟧sign⁡(fϱ,j)S=\frac{\theta^{\min}}{2\{\{\theta\}\}} \llbracket\theta\rrbracket\operatorname{sign}(f^{\varrho,j}) and therefore

1{{1/θ}}log⁡−∣S∣≤θnum≤1{{1/θ}}log⁡+∣S∣,(27)\frac{1}{\{\{1/\theta\}\}_{\log}}-|S| \le\theta^{\mathrm{num}} \le\frac{1}{\{\{1/\theta\}\}_{\log}}+|S|, \tag*{(27)}

where

∣S∣=θmin⁡(θmax⁡−θmin⁡)θmax⁡+θmin⁡≥0.(28)|S|=\frac{\theta^{\min}(\theta^{\max}-\theta^{\min})}{\theta^{\max}+\theta^{\min}}\ge0. \tag*{(28)}

For the lower bound, using (26) we obtain

1{{1/θ}}log⁡−∣S∣≥2θmin⁡θmax⁡θmax⁡+θmin⁡−θmin⁡(θmax⁡−θmin⁡)θmax⁡+θmin⁡=θmin⁡.(29)\frac{1}{\{\{1/\theta\}\}_{\log}}-|S| \ge\frac{2\theta^{\min}\theta^{\max}}{\theta^{\max}+\theta^{\min}}-\frac{\theta^{\min}(\theta^{\max}-\theta^{\min})}{\theta^{\max}+\theta^{\min}}=\theta^{\min}. \tag*{(29)}

For the upper bound, we have

1{{1/θ}}log⁡+∣S∣≤θmax⁡θmin⁡+θmin⁡(θmax⁡−θmin⁡)θmax⁡+θmin⁡.(30)\frac{1}{\{\{1/\theta\}\}_{\log}}+|S| \le\sqrt{\theta^{\max}\theta^{\min}}+\frac{\theta^{\min}(\theta^{\max}-\theta^{\min})}{\theta^{\max}+\theta^{\min}}. \tag*{(30)}

We have to prove the following

θmax⁡θmin⁡+θmin⁡(θmax⁡−θmin⁡)θmax⁡+θmin⁡≤θmax⁡,(31)\sqrt{\theta^{\max}\theta^{\min}}+\frac{\theta^{\min}(\theta^{\max}-\theta^{\min})}{\theta^{\max}+\theta^{\min}}\le\theta^{\max}, \tag*{(31)}

which is equivalent to proving the following

ai+1ai≤ai+12+ai2ai+1+ai=2{{a}}−{{a}}har,(32)\sqrt{a_{i+1}a_i}\le\frac{a_{i+1}^{2}+a_i^{2}}{a_{i+1}+a_i}=2\{\{a\}\}-\{\{a\}\}_{\mathrm{har}}, \tag*{(32)}

where

{{a}}har=2aiai+1ai+1+ai(33)\{\{a\}\}_{\mathrm{har}}=2\frac{a_i a_{i+1}}{a_{i+1}+a_i} \tag*{(33)}

is the harmonic mean. Therefore, the proof boils down to the following inequality

{{a}}geo≤2{{a}}−{{a}}har,(34)\{\{a\}\}_{\mathrm{geo}}\le2\{\{a\}\}-\{\{a\}\}_{\mathrm{har}}, \tag*{(34)}

which is satisfied by the strictly increasing monotonicity of the mean values generated by the integral [21]. □

Remark 3.2. The simpler numerical flux for the potential temperature θ\theta

θnum=1{{1/θ}}log⁡−⟦θ⟧2sign⁡(fϱ,j)(35)\theta^{\mathrm{num}}=\frac{1}{\{\{1/\theta\}\}_{\log}}-\frac{\llbracket\theta\rrbracket}{2}\operatorname{sign}(f^{\varrho,j}) \tag*{(35)}

is also entropy-stable, but it does not guarantee that θnum\theta^{\mathrm{num}} remains bounded in the interval [θmin⁡,θmax⁡][\theta^{\min},\theta^{\max}].

Remark 3.3. The result above shows that, whenever the density and the potential temperature (in conservative form) are chosen as prognostic variables, entropy stability can be achieved simply by upwinding the potential temperature flux according to the inverse logarithmic mean law, independently of whether the conservative or the vector-invariant form is used. A concrete choice of the density flux, which constitutes a degree of freedom here as it does for the entropy-conservative flux, is given in § 5.

On the positivity of the density and pressure

In this section, we investigate the positivity of the pressure and density for a fully-discrete explicit scheme. Although the main focus of the present study is on the spatial discretization, operational atmospheric models typically require (vertically) implicit time integrators (see, e.g., [4, 36, 38, 82]). The corresponding positivity analysis for vertically implicit schemes is left for future work. Density and pressure must remain positive to avoid nonphysical states and instabilities [28]. Since SSP Runge–Kutta methods are convex combinations of explicit Euler steps [40] and our set of interest is also convex, it suffices to study the positivity of a single explicit Euler step applied to the first-order FV scheme. The analysis can be extended to DG methods with similar arguments (see [97, 98]).

We consider the convex set of admissible states

G={u=(ϱ,v,ϱθ) | ϱ>0, p=p0(ϱθRp0)γ>0},(36)G = \left\{u=(\varrho,v,\varrho\theta)\,\middle|\,\varrho>0,\ p=p_0\left(\frac{\varrho\theta R}{p_0}\right)^\gamma>0\right\}, \tag*{(36)}

where, for simplicity, we have considered the one-dimensional case, since the velocity components do not play a role in the positivity analysis of the density and the pressure.

Theorem 4.1. Assume that all uin∈Gu_i^n \in G. Consider an explicit Euler discretization of the FV scheme (10) with flux fϱθ=fϱθnumf^{\varrho\theta}=f^{\varrho\theta\mathrm{num}}, where fϱ={ ⁣{ϱ} ⁣}−⟦ϱ⟧2sign⁡(vnum) vnumf^\varrho=\left\{\!\left\{\varrho\right\}\!\right\}-\frac{\llbracket\varrho\rrbracket}{2}\operatorname{sign}(v^{\mathrm{num}})\,v^{\mathrm{num}}, vnumv^{\mathrm{num}} is a consistent interface velocity, and θnum∈[θmin⁡,θmax⁡]\theta^{\mathrm{num}}\in[\theta^{\min},\theta^{\max}] with θmin⁡=min⁡(θi,θi+1)\theta^{\min}=\min(\theta_i,\theta_{i+1}), and θmax⁡=max⁡(θi,θi+1)\theta^{\max}=\max(\theta_i,\theta_{i+1}). Then, the resulting scheme preserves the positivity of ϱθ\varrho\theta, and hence of the pressure, under the Courant–Friedrichs–Lewy (CFL) condition

Δt<Δx2λ,λ≥max⁡(vi+1/2num,+θi+1/2max⁡θi,∣vi−1/2num,−∣θi−1/2max⁡θi),(37)\Delta t<\frac{\Delta x}{2\lambda},\qquad\lambda\ge\max\left(v_{i+1/2}^{\mathrm{num},+}\frac{\theta_{i+1/2}^{\max}}{\theta_i},\left|v_{i-1/2}^{\mathrm{num},-}\right|\frac{\theta_{i-1/2}^{\max}}{\theta_i}\right), \tag*{(37)}

where vnum,+=max⁡(vnum,0)v^{\mathrm{num},+}=\max(v^{\mathrm{num}},0) and vnum,−=min⁡(vnum,0)v^{\mathrm{num},-}=\min(v^{\mathrm{num}},0) denote the positive and negative parts of the interface velocity.

Proof. The explicit Euler step of the first-order FV scheme for ϱθ\varrho\theta in the xx-direction reads

(ϱθ)in+1=(ϱθ)in−ΔtΔx(fi+1/2ϱθ−fi−1/2ϱθ).(38)(\varrho\theta)_i^{n+1}=(\varrho\theta)_i^n-\frac{\Delta t}{\Delta x}\left(f_{i+1/2}^{\varrho\theta}-f_{i-1/2}^{\varrho\theta}\right). \tag*{(38)}

With the upwind density flux fi+1/2ϱ=vi+1/2num,+ϱi+vi+1/2num,−ϱi+1f_{i+1/2}^{\varrho}=v_{i+1/2}^{\mathrm{num},+}\varrho_i+v_{i+1/2}^{\mathrm{num},-}\varrho_{i+1}, the update can be split into three contributions

(ϱθ)in+1=ϱiθi−ΔtΔxϱi(vi+1/2num,+θi+1/2num−vi−1/2num,−θi−1/2num)−ΔtΔx(vi+1/2num,−ϱi+1θi+1/2num−vi−1/2num,+ϱi−1θi−1/2num),(39)(\varrho\theta)_i^{n+1}=\varrho_i\theta_i-\frac{\Delta t}{\Delta x}\varrho_i\left(v_{i+1/2}^{\mathrm{num},+}\theta_{i+1/2}^{\mathrm{num}}-v_{i-1/2}^{\mathrm{num},-}\theta_{i-1/2}^{\mathrm{num}}\right) -\frac{\Delta t}{\Delta x}\left(v_{i+1/2}^{\mathrm{num},-}\varrho_{i+1}\theta_{i+1/2}^{\mathrm{num}}-v_{i-1/2}^{\mathrm{num},+}\varrho_{i-1}\theta_{i-1/2}^{\mathrm{num}}\right), \tag*{(39)}

where we dropped the superscript num on the velocity for simplicity. Collecting the different contributions yields

(ϱθ)in+1=ϱiθi(1−ΔtΔx[vi+1/2num,+θi+1/2numθi+∣vi−1/2num,−∣θi−1/2numθi])+ΔtΔx∣vi+1/2num,−∣ϱi+1θi+1/2num+ΔtΔxvi−1/2num,+ϱi−1θi−1/2num.(40)\begin{aligned} (\varrho\theta)_i^{n+1} ={}&\varrho_i\theta_i\left(1-\frac{\Delta t}{\Delta x}\left[v_{i+1/2}^{\mathrm{num},+}\frac{\theta_{i+1/2}^{\mathrm{num}}}{\theta_i}+\left|v_{i-1/2}^{\mathrm{num},-}\right|\frac{\theta_{i-1/2}^{\mathrm{num}}}{\theta_i}\right]\right)\\ &+\frac{\Delta t}{\Delta x}\left|v_{i+1/2}^{\mathrm{num},-}\right|\varrho_{i+1}\theta_{i+1/2}^{\mathrm{num}}+\frac{\Delta t}{\Delta x}v_{i-1/2}^{\mathrm{num},+}\varrho_{i-1}\theta_{i-1/2}^{\mathrm{num}}. \tag*{(40)} \end{aligned}

We show that the first term is strictly positive and that the remaining two terms are non-negative. The second and third terms are products of non-negative factors. Indeed, the velocity parts satisfy ∣vi+1/2num,−∣≥0\lvert v^{\mathrm{num},-}_{i+1/2}\rvert\ge0 and vi−1/2num,+≥0v^{\mathrm{num},+}_{i-1/2} \ge0, the densities ϱi±1>0\varrho_{i\pm1}>0 by assumption, while θi±1/2num∈[θmin⁡,θmax⁡]\theta^{\mathrm{num}}_{i\pm1/2} \in[\theta^{\min},\theta^{\max}] holds by construction.

The first term is the product of ϱiθi>0\varrho_i\theta_i > 0 with the factor in parentheses, which is non-negative under the CFL condition (37):

ΔtΔx(vi+1/2num,+θi+1/2numθi+∣vi−1/2num,−∣θi−1/2numθi)≤ΔtΔx2λ<1.(41)\frac{\Delta t}{\Delta x}\left(v^{\mathrm{num},+}_{i+1/2}\frac{\theta^{\mathrm{num}}_{i+1/2}}{\theta_i}+\lvert v^{\mathrm{num},-}_{i-1/2}\rvert\frac{\theta^{\mathrm{num}}_{i-1/2}}{\theta_i}\right)\leq\frac{\Delta t}{\Delta x}2\lambda<1. \tag*{(41)}

Since p=p0(Rϱθ/p0)γp=p_0(R\varrho\theta/p_0)^\gamma, the positivity of ϱθ\varrho\theta implies pin+1>0p_i^{n+1}>0 for all n∈Nn\in\mathbb{N}. □

The positivity of the density follows from the same argument with θi=1\theta_i=1; therefore, we state only the result.

Corollary 4.2. Assume that all uin∈Gu_i^n\in G. Consider an explicit Euler discretization of the FV scheme (10) with flux fϱ={{ϱ}}−⟦ϱ⟧2sign⁡(vnum)vnumf^\varrho=\left\{\{\varrho\}\right\}-\frac{\llbracket\varrho\rrbracket}{2}\operatorname{sign}(v^{\mathrm{num}})v^{\mathrm{num}}, where vnumv^{\mathrm{num}} is a consistent interface velocity. Then, the resulting scheme preserves the positivity of ϱ\varrho under the CFL condition

Δt<Δx2λ,λ=max⁡(vi+1/2num,+,∣vi−1/2num,−∣).(42)\Delta t<\frac{\Delta x}{2\lambda},\qquad\lambda=\max\left(v^{\mathrm{num},+}_{i+1/2},\lvert v^{\mathrm{num},-}_{i-1/2}\rvert\right). \tag*{(42)}

Well-balanced schemes

Hydrostatically balanced atmospheres at rest are steady states of (1) characterized by V=0V=0, which satisfy

cpθ∇Π+∇ϕ=0.(43)c_p\theta\nabla\Pi+\nabla\phi=0. \tag*{(43)}

A scheme is well-balanced if it preserves (43) exactly at the discrete level. Therefore, a consistent and well-balanced scheme must produce no spurious contributions in the density and potential temperature equations at the steady state and must reduce, in the momentum equations, to a discrete analog of (43). Indeed, for V=0V=0 and consistent (and symmetric) numerical fluxes, the gradient of the kinetic energy {{K}}\{\{K\}\} and the vorticity terms vanish, and the FV scheme (10) reduces to

cp2Δx(θi+1/2num⟦Π⟧i+1/2+θi−1/2num⟦Π⟧i−1/2)+12Δx(⟦ϕ⟧i+1/2+⟦ϕ⟧i−1/2)=0.(44)\frac{c_p}{2\Delta x}\left(\theta^{\mathrm{num}}_{i+1/2}\llbracket\Pi\rrbracket_{i+1/2}+\theta^{\mathrm{num}}_{i-1/2}\llbracket\Pi\rrbracket_{i-1/2}\right)+\frac{1}{2\Delta x}\left(\llbracket\phi\rrbracket_{i+1/2}+\llbracket\phi\rrbracket_{i-1/2}\right)=0. \tag*{(44)}

Equation (44) is a specific form of the well-balancedness condition for nonconservative hyperbolic systems, which has been derived in [2].

Theorem 5.1 (Theorem 6.5 of [2]). A finite volume scheme (10) with symmetric numerical fluxes fnumf^{\mathrm{num}} and HnumH^{\mathrm{num}} satisfies the well-balancedness condition

1Δxi(fi+1/2num−fi−1/2num)+Hi+1/2num⟦g⟧i+1/2+Hi−1/2num⟦g⟧i−1/22Δxi=0,(45)\frac{1}{\Delta x_i}\left(f^{\mathrm{num}}_{i+1/2}-f^{\mathrm{num}}_{i-1/2}\right)+\frac{H^{\mathrm{num}}_{i+1/2}\llbracket g\rrbracket_{i+1/2}+H^{\mathrm{num}}_{i-1/2}\llbracket g\rrbracket_{i-1/2}}{2\Delta x_i}=0, \tag*{(45)}

if and only if

fnum(ui,ui+1)+12Hnum(ui,ui+1)(g(ui+1)−g(ui))=f(ui).(46)f^{\mathrm{num}}(u_i,u_{i+1})+\frac{1}{2}H^{\mathrm{num}}(u_i,u_{i+1})(g(u_{i+1})-g(u_i))=f(u_i). \tag*{(46)}

Assuming that the discrete kinetic energy flux and the vorticity terms vanish at the steady state, the necessary and sufficient condition can be recast as follows.

Lemma 5.2. Given a hydrostatic balance state, the vector-invariant form semidiscretization (10) is well-balanced if

fϱ=0,fv=0,vnum=0,cpθnum⟦Π⟧+⟦ϕ⟧=0,fθϱ=0.(47)\begin{aligned} f^\varrho&=0,\\ f^v&=0,\\ v^{\mathrm{num}}&=0,\\ c_p\theta^{\mathrm{num}}\llbracket\Pi\rrbracket+\llbracket\phi\rrbracket&=0,\\ f^{\theta\varrho}&=0. \tag*{(47)} \end{aligned}

Therefore, we exploit the only remaining degree of freedom, the choice of θnum\theta^{\mathrm{num}}, to enforce well-balancedness. We now analyze isothermal and isentropic background states, and summarize the results in the following two lemmas.

Lemma 5.3. A numerical flux preserves the hydrostatic balance (43) prescribed by a constant background temperature TT if

θnum=1{1θ}log⁡.(48)\theta^{\mathrm{num}} = \frac{1}{\left\{\frac{1}{\theta}\right\}_{\log}}. \tag*{(48)}

Proof. For a constant temperature, T=θΠ=constT=\theta\Pi=\mathrm{const} and thus θ=T/Π\theta=T/\Pi, so we can integrate the hydrostatic balance exactly:

cpθ∂xΠ=−∂xϕ,(49)c_p\theta\partial_x\Pi=-\partial_x\phi, \tag*{(49)}

which, upon substituting Π=T/θ\Pi=T/\theta, can be written as

−1θ∂xθ=−1cpT∂xϕ.(50)-\frac{1}{\theta}\partial_x\theta=-\frac{1}{c_pT}\partial_x\phi. \tag*{(50)}

A solution must be of the form

−log⁡(θ)+log⁡(θ0)=1cpT(−ϕ+ϕ0),(51)-\log(\theta)+\log(\theta_0)=\frac{1}{c_pT}(-\phi+\phi_0), \tag*{(51)}

which implies that, for any two points, we have

cpT⟦log⁡θ⟧=⟦ϕ⟧.(52)c_pT\llbracket\log\theta\rrbracket=\llbracket\phi\rrbracket. \tag*{(52)}

The condition (47) at the isothermal background state, using (52), reduces to

c_pT\theta^{\mathrm{num}}\left\llbracket\frac{1}{\theta}\right\rrbracket+c_pT\llbracket\log\theta\rrbracket=0, \tag*{(53)}

which is satisfied if θnum=1{1θ}log⁡\theta^{\mathrm{num}}=\frac{1}{\left\{\frac{1}{\theta}\right\}_{\log}}.

Lemma 5.4. A numerical flux preserves the hydrostatic balance (43) prescribed by a constant background potential temperature θ\theta if

θnum=any consistent two-point function of θ±.(54)\theta^{\mathrm{num}}=\text{any consistent two-point function of }\theta_{\pm}. \tag*{(54)}

Proof. For a constant potential temperature, the hydrostatic balance law (43) has the closed-form solution

Π=Π0−ϕcpθ.(55)\Pi=\Pi_0-\frac{\phi}{c_p\theta}. \tag*{(55)}

Thus, substituting in (47) and using the consistency of the numerical flux θnum\theta^{\mathrm{num}}, we obtain

⟦Π⟧=−1cpθ⟦ϕ⟧.(56)\llbracket\Pi\rrbracket=-\frac{1}{c_p\theta}\llbracket\phi\rrbracket. \tag*{(56)}

The condition becomes

cpθ⟦Π⟧−cpθ⟦Π⟧=0,(57)c_p\theta\llbracket\Pi\rrbracket-c_p\theta\llbracket\Pi\rrbracket=0, \tag*{(57)}

which proves the claim. □

Remark 5.5. We highlight that the present result applies also to the scheme of Ricardo et al. [70]; their potential-temperature numerical flux is the central one and therefore consistent, preserving the isentropic background state exactly.

Since preservation of the isentropic background state is guaranteed by any consistent numerical flux for the potential temperature in the velocity component, and since the flux that enforces the isothermal balance coincides with the entropy-conservative one, a single numerical flux can be constructed to preserve both background states exactly while being total-energy- and entropy-conservative. We summarize this result in the following theorem.

Theorem 5.6. The numerical flux for the compressible Euler equations in vector-invariant form (5) given by

fϱ,j={{ϱvj}},fvj,j={{K}},fϱθ,j={{ϱvj}}θnum,vinum={{ϱvi}}{{ϱ}},θnum=1{{1/θ}}log⁡(58)\begin{aligned} f^{\varrho,j} &= \{\{\varrho v_j\}\}, \\ f^{v_j,j} &= \{\{K\}\}, \\ f^{\varrho\theta,j} &= \{\{\varrho v_j\}\}\theta^{\mathrm{num}}, \\ v_i^{\mathrm{num}} &= \frac{\{\{\varrho v_i\}\}}{\{\{\varrho\}\}}, \\ \theta^{\mathrm{num}} &= \frac{1}{\{\{1/\theta\}\}_{\log}} \tag*{(58)} \end{aligned}

is TEC, EC, and well-balanced for isothermal and isentropic background states.

Proof. It suffices to show that Lemma 5.2 is satisfied, as well as the EC and TEC conditions in Theorems 2.5 and 2.2. □

Remark 5.7. We stress that the combination of all the properties achieved in Theorem 5.6, namely EC, TEC and simultaneous well-balancedness for isothermal and isentropic background states, is not possible to achieve with the conservative formulation of the Euler equations with potential temperature (see [1]).

The numerical flux (58) represents the volume numerical flux that we employ in the volume kernel discretization of the DGSEM flux-differencing method described in § 7. A characterization of a well-balanced and entropy-stable numerical flux is presented in the next section.

An entropy-stable and well-balanced scheme

So far, only the entropy- and total-energy-conservative fluxes have been fully specified, while the entropy stability and well-balancedness conditions leave some degrees of freedom. We now fix these degrees of freedom and present the numerical flux used at the interfaces in the simulations, which guarantees entropy stability and well-balancedness.

Theorem 6.1. The numerical flux for the compressible Euler equations in vector-invariant form (5) given by

fϱ,j=({{ϱ}}−⟦ϱ⟧2sign⁡(Vnum,j))Vnum,j,fvi,j=δij({{K}}−{{c}}2{{ϱ}}⟦ϱvj⟧)−⟦vj⟧2{{ϱ}}⟦ϱvi⟧,fϱθ,j=fϱ,j(θnum−θmin⁡2{{ϱ}}⟦θ⟧sign⁡(Vnum,j)),vinum={{ϱvi}}{{ϱ}},Vnum,j={{vj}}−cpθnum⟦Π⟧2{{c}}−⟦Φ⟧2{{c}},θnum=1{{1/θ}}log⁡(59)\begin{aligned} f^{\varrho,j} &= \left(\{\{\varrho\}\}-\frac{\llbracket\varrho\rrbracket}{2}\operatorname{sign}(V^{\mathrm{num},j})\right)V^{\mathrm{num},j}, \\ f^{v_i,j} &= \delta_{ij}\left(\{\{K\}\}-\frac{\{\{c\}\}}{2\{\{\varrho\}\}}\llbracket\varrho v_j\rrbracket\right)-\frac{\llbracket v_j\rrbracket}{2\{\{\varrho\}\}}\llbracket\varrho v_i\rrbracket, \\ f^{\varrho\theta,j} &= f^{\varrho,j}\left(\theta^{\mathrm{num}}-\frac{\theta^{\min}}{2\{\{\varrho\}\}}\llbracket\theta\rrbracket\operatorname{sign}(V^{\mathrm{num},j})\right), \\ v_i^{\mathrm{num}} &= \frac{\{\{\varrho v_i\}\}}{\{\{\varrho\}\}}, \\ V^{\mathrm{num},j} &= \{\{v_j\}\}-c_p\theta^{\mathrm{num}}\frac{\llbracket\Pi\rrbracket}{2\{\{c\}\}}-\frac{\llbracket\Phi\rrbracket}{2\{\{c\}\}}, \\ \theta^{\mathrm{num}} &= \frac{1}{\{\{1/\theta\}\}_{\log}} \tag*{(59)} \end{aligned}

where c=γRTc = \sqrt{\gamma RT} is the speed of sound, is entropy-stable and well-balanced for the isothermal and isentropic background states.

Proof. For the well-balancedness property, it suffices to show that, for V=0V = 0, only the discrete hydrostatic balance terms (44) remain in the scheme (10), since Vnum,j=0V^{\mathrm{num},j} = 0, and that θnum\theta^{\mathrm{num}} satisfies the assumptions of Lemmas 5.3 and 5.4. Entropy stability follows from Theorem 3.1. □

We further observe that this entropy-stable Riemann solver can also be used for the compressible Euler equations in conservative form, which read

∂tϱ+∇⋅(ϱV)=0,∂t(ϱV)+∇⋅(ϱV⊗V)+∇p+ϱ∇ϕ=0,∂t(ϱθ)+∇⋅(ϱθV)=0.(60)\begin{aligned} \partial_t \varrho+ \nabla\cdot(\varrho V) &= 0,\\ \partial_t(\varrho V) + \nabla\cdot(\varrho V \otimes V) + \nabla p + \varrho\nabla\phi&= 0,\\ \partial_t(\varrho\theta) + \nabla\cdot(\varrho\theta V) &= 0. \tag*{(60)} \end{aligned}

by changing the interface velocity as follows

Vnum,j={ ⁣{vj} ⁣}−⟦p⟧2{ ⁣{c} ⁣}1ϱnum−⟦ϕ⟧2{ ⁣{c} ⁣}.(61)V^{\mathrm{num},j} = \{\!\{v_j\}\!\} - \frac{\llbracket p\rrbracket}{2\{\!\{c\}\!\}}\frac{1}{\varrho^{\mathrm{num}}} - \frac{\llbracket\phi\rrbracket}{2\{\!\{c\}\!\}}. \tag*{(61)}

which comes from solving the Rankine–Hugoniot condition in the incompressible limit [22]; the geopotential term is added to guarantee well-balancedness. The choice of ϱnum\varrho^{\mathrm{num}} is given by the Stolarsky or the logarithmic mean, depending on whether one wishes to preserve the isentropic or isothermal well-balanced property, respectively (see [1, 89]). This stems from the fact that the momentum components do not enter the entropy stability analysis, and therefore any consistent discretization of the momentum equation may be used. We summarize the result in the following theorem.

Theorem 6.2. The numerical flux for the compressible Euler equations in conservative form (60) given by

fϱ,j=({ ⁣{ϱ} ⁣}−⟦ϱ⟧2sign⁡(Vnum,j))Vnum,j,fϱvi,j=({ ⁣{ϱvi} ⁣}−⟦ϱvi⟧2sign⁡(Vnum,j))Vnum,j+δijPnum,j,fϱθ,j=fϱ,j(θnum−θmin⁡2{ ⁣{θ} ⁣}⟦θ⟧sign⁡(Vnum,j)),Vnum,j={ ⁣{vj} ⁣}−⟦p⟧2{ ⁣{c} ⁣}1ϱnum−⟦ϕ⟧2{ ⁣{c} ⁣},Pnum,j={ ⁣{p} ⁣}−12{ ⁣{c} ⁣}{ ⁣{ϱ} ⁣}⟦vj⟧,θnum=1{ ⁣{1/θ} ⁣}log⁡,(62)\begin{aligned} f^{\varrho,j} &= \left(\{\!\{\varrho\}\!\} - \frac{\llbracket\varrho\rrbracket}{2}\operatorname{sign}(V^{\mathrm{num},j})\right)V^{\mathrm{num},j},\\ f^{\varrho v_i,j} &= \left(\{\!\{\varrho v_i\}\!\} - \frac{\llbracket\varrho v_i\rrbracket}{2}\operatorname{sign}(V^{\mathrm{num},j})\right)V^{\mathrm{num},j} + \delta_{ij}P^{\mathrm{num},j},\\ f^{\varrho\theta,j} &= f^{\varrho,j}\left(\theta^{\mathrm{num}} - \frac{\theta^{\min}}{2\{\!\{\theta\}\!\}}\llbracket\theta\rrbracket\operatorname{sign}(V^{\mathrm{num},j})\right),\\ V^{\mathrm{num},j} &= \{\!\{v_j\}\!\} - \frac{\llbracket p\rrbracket}{2\{\!\{c\}\!\}}\frac{1}{\varrho^{\mathrm{num}}} - \frac{\llbracket\phi\rrbracket}{2\{\!\{c\}\!\}},\\ P^{\mathrm{num},j} &= \{\!\{p\}\!\} - \frac{1}{2}\{\!\{c\}\!\}\{\!\{\varrho\}\!\}\llbracket v_j\rrbracket,\\ \theta^{\mathrm{num}} &= \frac{1}{\{\!\{1/\theta\}\!\}_{\log}}, \tag*{(62)} \end{aligned}

where c=γRTc = \sqrt{\gamma RT} is the speed of sound, is entropy-stable and well-balanced for isothermal background states if ϱnum={ ⁣{ϱ} ⁣}log⁡\varrho^{\mathrm{num}} = \{\!\{\varrho\}\!\}_{\log} and for isentropic background states if ϱnum={ ⁣{ϱ} ⁣}γ\varrho^{\mathrm{num}} = \{\!\{\varrho\}\!\}_{\gamma}.

Proof. The proof follows analogous steps to Theorem 6.1. Entropy stability follows from Theorem 3.1, since the momentum components do not enter the entropy stability analysis. For the well-balanced property, it suffices to show that, for V=0V = 0, Vnum,j=0V^{\mathrm{num},j} = 0 and Pnum,j={ ⁣{p} ⁣}P^{\mathrm{num},j} = \{\!\{p\}\!\}, so that, discretizing the geopotential term as ϱnum⟦ϕ⟧\varrho^{\mathrm{num}}\llbracket\phi\rrbracket, only the discrete hydrostatic balance terms of Lemmas 4.4 and 4.5 of [1] remain for the isothermal and isentropic background states, respectively. □

Extension to discontinuous Galerkin spectral element methods and curvilinear meshes

The two-point numerical fluxes previously constructed are the building blocks of a high-order flux-differencing DGSEM. Since the entropy stability and well-balancedness analyses rely solely on the summation-by-parts (SBP) property, they carry over to any diagonal-norm SBP discretization (see [12, 69, 89]). As for the finite volume scheme, we employ the specific extension of the fluctuation form to high-order SBP operators shown in [2], from which the structure-preserving properties follow directly.

On each dd-dimensional element EE, the solution is approximated by Lagrange polynomials {lk}\{l_k\} of degree pp on the Gauss–Lobatto–Legendre nodes. The corresponding quadrature defines the diagonal mass matrix MM and the derivative operators DjD^j, j∈{1,…,d}j \in\{1,\ldots,d\}, with (Dj)ik=lk′(ξij)(D^j)_{ik}=l_k^{\prime}(\xi_i^j) on the reference element [−1,1]d[-1,1]^d. Together with the boundary restriction RR, the boundary mass matrix BB, and the normal operators NjN^j that contain the signs of the outward reference normals, they satisfy the SBP property [34, 42, 65]

MDj+(Dj)TM=RTBNjR,(63)MD^j + (D^j)^T M = R^TBN^jR, \tag*{(63)}

which is a discrete analog of integration by parts.

Curved elements are obtained through a mapping, e.g., in two dimensions x(ξ1,ξ2)=x(ξ,η)=(X(ξ,η),Y(ξ,η))\boldsymbol{x}(\xi^1,\xi^2)=\boldsymbol{x}(\xi,\eta)=(X(\xi,\eta),Y(\xi,\eta)), following the approach of Kopriva [49, 50]. Under the mapping x(ξ,η)\boldsymbol{x}(\xi,\eta), with Jacobian J=XξYη−XηYξJ=X_\xi Y_\eta-X_\eta Y_\xi, the system (6) becomes

J∂tu+∑j=1d∂ξjf~j(u)+∑j=1dH~(u)∂ξjg~j(u)=0,(64)J\partial_t\boldsymbol{u}+\sum_{j=1}^{d}\partial_{\xi_j}\widetilde{\boldsymbol{f}}^j(\boldsymbol{u})+\sum_{j=1}^{d}\widetilde{H}(\boldsymbol{u})\partial_{\xi_j}\widetilde{\boldsymbol{g}}^j(\boldsymbol{u})=0, \tag*{(64)}

with the contravariant fluxes

f~j=n^j⋅(f1,f2),g~j=n^j∘(g1,g2),H~=(H1,H2),(65)\widetilde{\boldsymbol{f}}^j=\widehat{\boldsymbol{n}}^j\cdot(\boldsymbol{f}^1,\boldsymbol{f}^2),\qquad\widetilde{\boldsymbol{g}}^j=\widehat{\boldsymbol{n}}^j\circ(\boldsymbol{g}^1,\boldsymbol{g}^2),\qquad\widetilde{H}=(H^1,H^2), \tag*{(65)}

where ∘\circ is the Hadamard product. The contravariant normals n^j\widehat{\boldsymbol{n}}^j,

n^1=(Yη,−Xη)T,n^2=(−Yξ,Xξ)T,(66)\widehat{\boldsymbol{n}}^1=(Y_\eta,-X_\eta)^T,\qquad\widehat{\boldsymbol{n}}^2=(-Y_\xi,X_\xi)^T, \tag*{(66)}

are built from the metric terms Xξ,Xη,Yξ,YηX_\xi,X_\eta,Y_\xi,Y_\eta and satisfy the discrete metric identities [49, 50]

D1Yη−D2Yξ=0,D2Xξ−D1Xη=0,(67)D^1Y_\eta-D^2Y_\xi=0,\qquad D^2X_\xi-D^1X_\eta=0, \tag*{(67)}

so that the free-stream preservation property holds [49, 87]. In three dimensions, the metric terms are computed using the invariant curl form of Kopriva [49], a modification of the conservative curl form of Thomas and Lombard [83], which satisfies the discrete metric identities (see also [26] for an alternative construction of the metric terms and [60] for optimized geometric metrics).

Given these definitions, the semidiscretization reads

Ji∂tui+VOLi+SURFi=0,(68)J_i\partial_t\boldsymbol{u}_i+\mathrm{VOL}_i+\mathrm{SURF}_i=0, \tag*{(68)}

where the volume term collects the conservative volume numerical fluxes and the antisymmetric nonconservative product,

VOLi:=∑j=1d(∑k=1N2Dikjf~vol,j(ui,uk)+∑k=1NDikjH~vol(ui,uk)[ ⁣[g~j] ⁣]ik),(69)\mathrm{VOL}_i:=\sum_{j=1}^{d}\left(\sum_{k=1}^{N}2D^j_{ik}\widetilde{\boldsymbol{f}}^{\mathrm{vol},j}(\boldsymbol{u}_i,\boldsymbol{u}_k)+\sum_{k=1}^{N}D^j_{ik}\widetilde{H}^{\mathrm{vol}}(\boldsymbol{u}_i,\boldsymbol{u}_k)\left[\![\widetilde{\boldsymbol{g}}^j]\!\right]_{ik}\right), \tag*{(69)}

and the surface term couples neighboring elements through the surface numerical fluxes,

SURF⁡:=∑j=1dM−1RTB(f~num,j+12H~num⟦g~j⟧)−∑j=1dM−1RTBNjRf~j,(70)\operatorname{SURF} := \sum_{j=1}^{d} M^{-1}R^{T}B\left(\tilde{f}^{\mathrm{num},j}+\frac{1}{2}\tilde{H}^{\mathrm{num}}\llbracket\tilde{g}^{j}\rrbracket\right)-\sum_{j=1}^{d}M^{-1}R^{T}BN^{j}R\tilde{f}^{j}, \tag*{(70)}

with the discrete contravariant fluxes

f~num,j=fnum(u−,u+,n^),\tilde{f}^{\mathrm{num},j}=f^{\mathrm{num}}(u_{-},u_{+},\hat{n}),
f~vol,j(ui,uk)=fvol(ui,uk,⟦n^j⟧ik)=⟦n^j⟧ik⋅(fvol,1,fvol,2),(71)\tilde{f}^{\mathrm{vol},j}(u_i,u_k)=f^{\mathrm{vol}}\left(u_i,u_k,\llbracket\hat{n}^{j}\rrbracket_{ik}\right)=\llbracket\hat{n}^{j}\rrbracket_{ik}\cdot\left(f^{\mathrm{vol},1},f^{\mathrm{vol},2}\right), \tag*{(71)}
g~j=⟦n^j⟧∘(g1,g2),\tilde{g}^{j}=\llbracket\hat{n}^{j}\rrbracket\circ(g^{1},g^{2}),

and H~vol\tilde{H}^{\mathrm{vol}} defined analogously. Here fnum(⋅,⋅,n)f^{\mathrm{num}}(\cdot,\cdot,n) and fvol(⋅,⋅,n)f^{\mathrm{vol}}(\cdot,\cdot,n) denote two-point numerical fluxes in a general direction nn, i.e., consistent in the sense f(u,u,n)=n⋅(f1,f2)f(u,u,n)=n\cdot(f^{1},f^{2}). For the numerical flux fnum(u−,u+,n^)f^{\mathrm{num}}(u_{-},u_{+},\hat{n}) at the interfaces between elements at ξj=±1\xi_{j}=\pm1, u−u_{-} denotes the interior state, u+u_{+} the exterior state, and n^\hat{n} the outward-pointing normal.

Since the diagonal-norm SBP operators mimic integration by parts at the discrete level, the algebraic Tadmor and well-balanced characterizations of the finite-volume analysis extend to high-order SBP flux-differencing discretizations in curvilinear coordinates or on unstructured grids [2, 15, 16, 69, 89]. The structure-preserving properties of the finite volume scheme therefore carry over at arbitrary polynomial degree and, provided (67) holds, on general curvilinear meshes: with the volume flux (58) and the surface flux (59), the scheme is entropy-stable and well-balanced. Before stating the theorem, we extend the entropy-stable interface flux (59) to a general direction nn,

fϱ,num=({ ⁣{ϱ} ⁣}−⟦ϱ⟧2sign⁡(Vnum))Vnum,f^{\varrho,\mathrm{num}}=\left(\{\!\{\varrho\}\!\}-\frac{\llbracket\varrho\rrbracket}{2}\operatorname{sign}(V^{\mathrm{num}})\right)V^{\mathrm{num}},
fV,num={ ⁣{K} ⁣}n−{ ⁣{c} ⁣}2{ ⁣{ϱ} ⁣}(⟦ϱV⟧⋅n)ν−∣{ ⁣{V} ⁣}⋅n∣2{ ⁣{ϱ} ⁣}⟦ϱV⟧,f^{V,\mathrm{num}}=\{\!\{K\}\!\}n-\frac{\{\!\{c\}\!\}}{2\{\!\{\varrho\}\!\}}\left(\llbracket\varrho V\rrbracket\cdot n\right)\nu-\frac{|\{\!\{V\}\!\}\cdot n|}{2\{\!\{\varrho\}\!\}}\llbracket\varrho V\rrbracket,
fϱθ,num=fϱ,num(θnum−θmin2{ ⁣{θ} ⁣}⟦θ⟧sign⁡(Vnum)),f^{\varrho\theta,\mathrm{num}}=f^{\varrho,\mathrm{num}}\left(\theta^{\mathrm{num}}-\frac{\theta^{\mathrm{min}}}{2\{\!\{\theta\}\!\}}\llbracket\theta\rrbracket\operatorname{sign}(V^{\mathrm{num}})\right),
Vnum={ ⁣{V} ⁣}⋅n−∥n∥(cpθnum⟦Π⟧2{ ⁣{c} ⁣}+⟦Φ⟧2{ ⁣{c} ⁣}),V^{\mathrm{num}}=\{\!\{V\}\!\}\cdot n-\|n\|\left(c_{p}\theta^{\mathrm{num}}\frac{\llbracket\Pi\rrbracket}{2\{\!\{c\}\!\}}+\frac{\llbracket\Phi\rrbracket}{2\{\!\{c\}\!\}}\right),
θnum=1{ ⁣{1/θ} ⁣}log⁡,\theta^{\mathrm{num}}=\frac{1}{\{\!\{1/\theta\}\!\}_{\log}},
vinum={ ⁣{ϱvi} ⁣}{ ⁣{ϱ} ⁣},(72)v_{i}^{\mathrm{num}}=\frac{\{\!\{\varrho v_{i}\}\!\}}{\{\!\{\varrho\}\!\}}, \tag*{(72)}

where ν=n/∥n∥\nu=n/\|n\|.

Theorem 7.1. Consider the semidiscretization (68) with the volume and surface terms (69) and (70). If the volume fluxes fvolf^{\mathrm{vol}}, HvolH^{\mathrm{vol}} are as in Theorem 5.6 and the surface fluxes fnumf^{\mathrm{num}}, HnumH^{\mathrm{num}} as in Theorem 6.1, MM and RTBNjRR^{T}BN^{j}R are diagonal and the metric identities (67) hold discretely, then the vector-invariant semidiscretization is entropy-stable and well-balanced on general curvilinear meshes with slip wall or periodic boundary conditions.

Proof. The result is a specialization of Theorems 6.1 and 6.6 of [2] to the vector-invariant fluxes of Theorems 5.6 and 6.1. The well-balanced property follows from Lemmas 5.3 and 5.4. The slip wall boundary conditions are imposed through the interface entropy-stable flux (72), evaluated at the outward-pointing face normal n^\hat{n}, using a reflected exterior state

ub=(ϱ−,V−−2(V−⋅ν^)ν^,(ϱθ)−),ν^=n^∥n^∥.(73)u_{b}=(\varrho_{-},V_{-}-2(V_{-}\cdot\hat{\nu})\hat{\nu},(\varrho\theta)_{-}),\qquad\hat{\nu}=\frac{\hat{n}}{\|\hat{n}\|}. \tag*{(73)}

We now derive the condition for entropy stability at the boundary. For the compressible Euler equations in conservative form, this condition has already been derived by Gassner et al. [33] (see also [43, 79], where slip wall boundary conditions are proved to be entropy stable when imposed weakly through the numerical flux). Here, we show that this result extends also to slip wall boundary conditions for the compressible Euler equations in vector-invariant form. We contract the semidiscretization (68) with ωTM\boldsymbol{\omega}^{T}M. The SBP property (63), the metric identities (67) and the entropy conservation of the volume fluxes then yield the curvilinear counterpart of Eq. (178) in [2], which reads

ddt∑i=1NMiiJiU(ui)=∑j=1d∑i,k=1N(RTBNjR)i,kψ~kj−ωT∑j=1dRTB(f~num,j+12H~num⟦g~j⟧)(74)\frac{\mathrm{d}}{\mathrm{d}t}\sum_{i=1}^{N}M_{ii}J_iU(u_i)=\sum_{j=1}^{d}\sum_{i,k=1}^{N}\left(R^{T}BN^{j}R\right)_{i,k}\widetilde{\psi}^{j}_{k}-\boldsymbol{\omega}^{T}\sum_{j=1}^{d}R^{T}B\left(\widetilde{f}^{\mathrm{num},j}+\frac{1}{2}\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}^{j}\rrbracket\right) \tag*{(74)}

with ψ~j=n^j⋅(ψ1,ψ2)\widetilde{\psi}^{j}=\hat{n}^{j}\cdot(\psi^{1},\psi^{2}) the contravariant entropy potential. The entropy rate of the element then reduces to

ddt∑i=1NMiiJiU(ui)=−1T∑j=1dRTBF~j,F~j:=ω−⋅(f~num,j+12H~num⟦g~j⟧)−ψ~−j,(75)\frac{\mathrm{d}}{\mathrm{d}t}\sum_{i=1}^{N}M_{ii}J_iU(u_i)=-\mathbf{1}^{T}\sum_{j=1}^{d}R^{T}B\widetilde{F}^{j},\qquad\widetilde{F}^{j}:=\boldsymbol{\omega}_{-}\cdot\left(\widetilde{f}^{\mathrm{num},j}+\frac{1}{2}\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}^{j}\rrbracket\right)-\widetilde{\psi}^{j}_{-}, \tag*{(75)}

where F~j\widetilde{F}^{j} collects the values of F~j\widetilde{F}^{j} at the face nodes, u−u_{-} denotes the value of the element itself, and u+u_{+} denotes the value of the neighboring element or the prescribed boundary state at the boundary of the domain. For a face normal n^\hat{n}, we write g~=n^∘(g1,g2)\widetilde{g}=\hat{n}\circ(g^{1},g^{2}) and ψ~(u,n^)=n^⋅(ψ1,ψ2)\widetilde{\psi}(u,\hat{n})=\hat{n}\cdot(\psi^{1},\psi^{2}); thus, at each face node we have

F~j=F~(u−,u+,n^):=ω−⋅(fnum(u−,u+,n^)+12H~num⟦g~⟧)−ψ~(u−,n^),(76)\widetilde{F}^{j}=\widetilde{F}(u_{-},u_{+},\hat{n}):=\boldsymbol{\omega}_{-}\cdot\left(\boldsymbol{f}^{\mathrm{num}}(u_{-},u_{+},\hat{n})+\frac{1}{2}\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}\rrbracket\right)-\widetilde{\psi}(u_{-},\hat{n}), \tag*{(76)}

where, with a slight abuse of notation, n^=±n^j\hat{n}=\pm\hat{n}^{j} on ξj=±1\xi_{j}=\pm1 is the outward normal of the element and the face quantities satisfy

fnum(u+,u−,−n^)=−fnum(u−,u+,n^).(77)\boldsymbol{f}^{\mathrm{num}}(u_{+},u_{-},-\hat{n})=-\boldsymbol{f}^{\mathrm{num}}(u_{-},u_{+},\hat{n}). \tag*{(77)}

Note that H~num\widetilde{H}^{\mathrm{num}} depends only on the two states, while the normal enters the nonconservative term through ⟦g~⟧\llbracket\widetilde{g}\rrbracket, so both the jump and the normal change sign and H~num⟦g~⟧\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}\rrbracket is invariant under a change of the normal direction. At an interface, we have therefore

F~(u+,u−,−n^)=ω+⋅(−fnum(u−,u+,n^)+12H~num⟦g~⟧)−ψ~(u+,−n^)=ω+⋅(−fnum(u−,u+,n^)+12H~num⟦g~⟧)+ψ~+.(78)\begin{aligned} \widetilde{F}(u_{+},u_{-},-\hat{n})&=\boldsymbol{\omega}_{+}\cdot\left(-\boldsymbol{f}^{\mathrm{num}}(u_{-},u_{+},\hat{n})+\frac{1}{2}\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}\rrbracket\right)-\widetilde{\psi}(u_{+},-\hat{n})\\ &=\boldsymbol{\omega}_{+}\cdot\left(-\boldsymbol{f}^{\mathrm{num}}(u_{-},u_{+},\hat{n})+\frac{1}{2}\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}\rrbracket\right)+\widetilde{\psi}_{+}. \tag*{(78)} \end{aligned}

The two contributions of the interface then sum up to

F~(u−,u+,n^)+F~(u+,u−,−n^)=(ω−−ω+)⋅f~num+12(ω−+ω+)⋅H~num⟦g~⟧−⟦ψ~⟧=−(⟦ω⟧⋅f~num−{ ⁣{ω} ⁣}⋅H~num⟦g~⟧−⟦ψ~⟧).(79)\begin{aligned} \widetilde{F}(u_{-},u_{+},\hat{n})+\widetilde{F}(u_{+},u_{-},-\hat{n})&=(\boldsymbol{\omega}_{-}-\boldsymbol{\omega}_{+})\cdot\widetilde{\boldsymbol{f}}^{\mathrm{num}}+\frac{1}{2}(\boldsymbol{\omega}_{-}+\boldsymbol{\omega}_{+})\cdot\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}\rrbracket-\llbracket\widetilde{\psi}\rrbracket\\ &=-\left(\llbracket\boldsymbol{\omega}\rrbracket\cdot\widetilde{\boldsymbol{f}}^{\mathrm{num}}-\{\!\{\boldsymbol{\omega}\}\!\}\cdot\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}\rrbracket-\llbracket\widetilde{\psi}\rrbracket\right). \tag*{(79)} \end{aligned}

Summing up the contributions of all elements, the entropy rate reads

ddt∑elements∑i=1NMiiJiU(ui)=∑interior interfaces∑lBll(⟦ω⟧⋅f~num−{ ⁣{ω} ⁣}⋅H~num⟦g~⟧−⟦ψ~⟧)−∑boundary interfaces∑lBllF~l.(80)\frac{\mathrm{d}}{\mathrm{d}t}\sum_{\mathrm{elements}}\sum_{i=1}^{N}M_{ii}J_iU(u_i)=\sum_{\mathrm{interior\ interfaces}}\sum_l B_{ll}\left(\llbracket\boldsymbol{\omega}\rrbracket\cdot\widetilde{\boldsymbol{f}}^{\mathrm{num}}-\{\!\{\boldsymbol{\omega}\}\!\}\cdot\widetilde{H}^{\mathrm{num}}\llbracket\widetilde{g}\rrbracket-\llbracket\widetilde{\psi}\rrbracket\right)-\sum_{\mathrm{boundary\ interfaces}}\sum_l B_{ll}\widetilde{F}^{l}. \tag*{(80)}

Here, the sum over ll runs over all quadrature nodes on the interface. The sum in square brackets is nonpositive by the entropy stability condition (14) and positivity of the weights BllB_{ll}. At a boundary interface, the exterior state is the prescribed ubu_b and the condition for entropy stability reads

F~b=ω−⋅(fnum(u−,ub,n^)+12Hnum(u−,ub)⟦g~⟧)−ψ~−≥0(81)\widetilde{F}_b = \boldsymbol{\omega}_{-} \cdot\left(\boldsymbol{f}^{\mathrm{num}}(u_{-},u_b,\hat{\boldsymbol{n}}) + \frac{1}{2}\boldsymbol{H}^{\mathrm{num}}(u_{-},u_b)\llbracket\widetilde{\boldsymbol{g}}\rrbracket\right) - \widetilde{\psi}_{-} \ge0 \tag*{(81)}

at every boundary quadrature node. Note that condition (81) generalizes the one derived in [33, 79] by including the nonconservative contribution.

We now insert the reflection state (73). Considering that ψ~−=0\widetilde{\psi}_{-}=0 and that the only nonzero components of the entropy variables (19) are the density and potential-temperature ones, only fϱ,numf^{\varrho,\mathrm{num}} and fϱθ,numf^{\varrho\theta,\mathrm{num}} enter the boundary term (81). For the boundary state ubu_b in (73), { ⁣{V} ⁣}⋅n^=0\{\!\{\boldsymbol{V}\}\!\}\cdot\hat{\boldsymbol{n}}=0 and ⟦Π⟧=⟦ϕ⟧=0\llbracket\Pi\rrbracket=\llbracket\phi\rrbracket=0, so fϱ,num=fϱθ,num=0f^{\varrho,\mathrm{num}}=f^{\varrho\theta,\mathrm{num}}=0 and the boundary term vanishes. Therefore, F~b=0\widetilde{F}_b=0 for any choice of the momentum flux; the slip wall does not contribute to the entropy rate, and the semidiscretization is entropy stable up to the boundary. □

Remark 7.2. We emphasize that the semidiscretization of Theorem 7.1 ensures entropy stability (and total energy conservation in the volume kernel) at the cost of a single nonlinear mean value, i.e., the inverse of the logarithmic mean. In contrast, the schemes presented in [1, 89] require the evaluation of two nonlinear mean values. Moreover, this scheme also preserves locally and globally two background states, while the schemes derived in [1, 89] can preserve only one given background state. Furthermore, given the particular form of the nonconservative terms, which is antisymmetric, the computational cost of the flux-differencing DGSEM implementation can also be reduced for the nonconservative terms by computing only the upper or lower triangular part of the derivative operator [2, 67] (see also the implementation in our reproducibility repository [3]).

Numerical results

In this section, we validate the structure-preserving methods derived for the vector-invariant form (1), assessing the theoretical findings of the previous sections. We have implemented our methods in Julia [8] using Trixi.jl [68, 72]. Unless stated otherwise, the time integration is carried out with the third-order, four-stage SSP Runge–Kutta method [51] implemented in OrdinaryDiffEq.jl [63]. We generated the figures using Makie.jl [27]. All source code required to reproduce the numerical results is available in our reproducibility repository [3].

The section is organized as follows: we first assess the conservation of entropy and total energy for the vector-invariant formulation. We then validate the well-balanced schemes of § 5 and perform a convergence study on the inertia-gravity wave test case. Subsequently, the methods are tested on linear hydrostatic and linear non-hydrostatic mountain waves, a breaking-wave test case, and a critical-layer test case. Finally, the robustness of the presented method is tested on the baroclinic instability benchmark on a cubed-sphere mesh.

Conservation of entropy and total energy

First, we analyze the conservation properties of the derived numerical fluxes in the absence of a geopotential term. We assess these properties on the three-dimensional inviscid Taylor–Green vortex, a canonical test for the transition to turbulence and the generation of under-resolved scales.

The initial condition is [35]

ρ(x,0)=1,v1(x,0)=sin⁡(x)cos⁡(y)cos⁡(z),v2(x,0)=−cos⁡(x)sin⁡(y)cos⁡(z),v3(x,0)=0,p(x,0)=100γ+(cos⁡(2x)+cos⁡(2y))(cos⁡(2z)+2)16.(82)\begin{aligned} \rho(x,0) &= 1,\\ v_1(x,0) &= \sin(x)\cos(y)\cos(z),\\ v_2(x,0) &= -\cos(x)\sin(y)\cos(z),\\ v_3(x,0) &= 0,\\ p(x,0) &= \frac{100}{\gamma}+\frac{(\cos(2x)+\cos(2y))(\cos(2z)+2)}{16}. \tag*{(82)} \end{aligned}

The solution is computed on [−π,π]3[-\pi,\pi]^3 using 4 elements in each direction, with periodic boundary conditions and CFL =0.01=0.01, up to the final time T=5T=5. For this test case only, we employ the numerical fluxes of Theorem 5.6 for both the volume and surface numerical fluxes. Table 1 reports, for the total-energy- and entropy-conservative (ETEC) flux (58) and polynomial degrees p∈{2,3,4,5}p \in\{2,3,4,5\}, the conservation error ∣∫U−∫U0∣\lvert\int U-\int U_0\rvert (computed using the quadrature induced by the mass matrix MM) and the semidiscrete entropy rates ωTM∂tu\omega^T M\partial_t u of the thermodynamic entropy UρsU_{\rho s} and of the total energy UρEU_{\rho E}. Both the thermodynamic entropy and the total energy are conserved up to machine precision for all polynomial degrees, the entropy rates remaining at the level of round-off, in agreement with the theoretical results.

ppThermodynamic entropyTotal energy
∣∫Uρs−∫Uρs,0∣\lvert\int U_{\rho s}-\int U_{\rho s,0}\rvertωρsTM∂tu\omega_{\rho s}^T M\partial_t u∣∫UρE−∫UρE,0∣\lvert\int U_{\rho E}-\int U_{\rho E,0}\rvertωρETM∂tu\omega_{\rho E}^T M\partial_t u
21.91×10−111.91 \times10^{-11}2.05×10−182.05 \times10^{-18}5.55×10−105.55 \times10^{-10}3.73×10−153.73 \times10^{-15}
32.57×10−112.57 \times10^{-11}1.10×10−171.10 \times10^{-17}5.24×10−105.24 \times10^{-10}1.05×10−151.05 \times10^{-15}
43.23×10−113.23 \times10^{-11}4.12×10−184.12 \times10^{-18}6.53×10−106.53 \times10^{-10}6.37×10−166.37 \times10^{-16}
53.86×10−113.86 \times10^{-11}2.99×10−182.99 \times10^{-18}7.86×10−107.86 \times10^{-10}1.29×10−151.29 \times10^{-15}

Table 1. Maximum entropy error ∣∫Uρs−∫Uρs,0∣\lvert\int U_{\rho s}-\int U_{\rho s,0}\rvert and entropy residual ωρsTM∂tu\omega_{\rho s}^T M\partial_t u, and total-energy error ∣∫UρE−∫UρE,0∣\lvert\int U_{\rho E}-\int U_{\rho E,0}\rvert and total-energy residual ωρETM∂tu\omega_{\rho E}^T M\partial_t u, for the Taylor–Green vortex for different polynomial degrees pp up to the final time T=5T=5.

Well-balancedness

We assess the well-balancing properties of Lemmas 5.3 and 5.4 on a curvilinear mesh, considering two canonical hydrostatic background states: an isothermal atmosphere (T0=250T_0=250 K) and a constant-potential-temperature atmosphere (θ0=300\theta_0=300 K). In both cases, the velocity field is initially at rest, and the density and pressure satisfy the hydrostatic balance. The domain is discretized into 16×1616\times16 elements with polynomial degree 3, and the time step is fixed to Δt=0.025\Delta t=0.025 s. We employ the smooth curvilinear mapping [1]

x=500(1+ξ+0.1sin⁡(πξ)sin⁡(πη)),z=500(1+η+0.1sin⁡(πξ)sin⁡(πη)),(83)x=500(1+\xi+0.1\sin(\pi\xi)\sin(\pi\eta)),\qquad z=500(1+\eta+0.1\sin(\pi\xi)\sin(\pi\eta)), \tag*{(83)}

which produces the warped mesh shown in Figure 1. The simulations are run up to ten days (T=864 000T=864\,000 s). Figure 2 reports the L2L_2 error of the horizontal and vertical velocity over the ten days, both in double precision (Float64 in Julia) and double-double precision (using MultiFloats.jl [96]). For the stably stratified isothermal atmosphere (dθ/dz>0\mathrm{d}\theta/\mathrm{d}z>0, so that N2>0\mathcal{N}^2>0), the hydrostatic balance is preserved up to machine precision throughout, in both precisions. The constant potential temperature background state is instead neutrally stratified (dθ/dz=0\mathrm{d}\theta/\mathrm{d}z=0, N2=0\mathcal{N}^2=0): the hydrostatic rest state is metastable. Therefore, a physical instability is triggered, which causes the growth of perturbations in double precision, growing to O(10−4)O(10^{-4}) over ten days. Repeating the simulation in double-double precision lowers the round-off floor by more than ten orders of magnitude, and the well-balancedness error remains at machine precision, confirming, as already observed in [1], that this growth is entirely due to floating-point round-off and not to a deficiency of the well-balanced scheme.

Figure 1. Warped mesh used for the well-balancedness test cases.

Figure 2. L2L_2 error of the horizontal (∥u∥2\lVert u\rVert_2) and vertical (∥w∥2\lVert w\rVert_2) velocity for the isothermal (T=constT = \mathrm{const}) and constant-potential-temperature (θ=const\theta= \mathrm{const}) background states over ten days, in double-double precision (MultiFloat{Float64,2}, left) and double precision (Float64, right), for the vector-invariant formulation on a curvilinear mesh.

Inertia-gravity waves

The high-order convergence of the DGSEM is assessed using the linearized solution of Baldauf and Brdar [5] for inertia-gravity waves in a channel. The atmosphere is initialized with an isothermal background state at T0=250T_0 = 250 K, perturbed by a warm bubble

T′=ΔTsin⁡(πzH)exp⁡(−(x−xc)2a2),(84)T' = \Delta T \sin\left(\frac{\pi z}{H}\right) \exp\left(-\frac{(x-x_c)^2}{a^2}\right), \tag*{(84)}

with H=10H = 10 km, channel length L=300L = 300 km, xc=100x_c = 100 km, a=5a = 5 km, and geopotential ϕ=gz\phi= gz, g=9.81g = 9.81 m/s2^2. The solution is computed up to t=1800t = 1800 s with ΔT=1.0×10−3\Delta T = 1.0 \times10^{-3} K to avoid nonlinear saturation effects [4, 9, 89]. The domain is discretized with Nx×NzN_x \times N_z elements at a fixed ratio Δx/Δz=3\Delta x/\Delta z = 3 and CFL =0.1= 0.1. Figure 3 reports the L2L_2 errors of the horizontal and vertical velocity, of the temperature and of the pressure as a function of the mesh size Δx\Delta x, for polynomial degrees p∈{2,3,4}p \in\{2, 3, 4\}. The structure-preserving scheme attains the expected high-order convergence rates. As reported in [4, 9, 89], saturation errors due to nonlinear effects appear at polynomial degree 4, and are particularly pronounced in the horizontal velocity component.

Figure 3. L2L_2 error of the horizontal velocity (top left), vertical velocity (top right), temperature (bottom left) and pressure (bottom right) as a function of the mesh size, for polynomial degrees p∈{2,3,4}p \in\{2,3,4\}, for the vector-invariant formulation.

The convergence study is repeated on a curvilinear mesh, using the transformation of [89]. As shown in Figure 4, the observed convergence rates agree with those obtained in [1, 89].

Figure 4. L2L_2 error of the horizontal velocity (top left), vertical velocity (top right), temperature (bottom left) and pressure (bottom right) as a function of the mesh size, for polynomial degrees p∈{2,3,4}p \in\{2, 3, 4\}, for the vector-invariant formulation on the warped mesh.

Finally, Figure 5 shows the vertical velocity ww at the final time t=1800t = 1800 s, computed on a 90×1290 \times12 mesh with polynomial degree p=3p = 3 and CFL =1= 1.

Figure 5. Vertical velocity ww of the inertia-gravity wave at the final time t=1800t = 1800 s, computed with 90 × 12 elements and polynomial degree p=3p = 3, for the vector-invariant formulation.

Numerical results with orography

We now present numerical results for four idealized flows over orography. To avoid spurious reflections at the domain boundaries, non-reflecting boundary conditions are prescribed at the top and lateral boundaries through Rayleigh damping layers [39, 61]. On the right-hand side of the

momentum and potential-temperature equations, we add the source terms

qV=(V−V0)(SV+Sh1+Sh2),qρθ=ρ(θ−θ0)(SV+Sh1+Sh2),(85)\begin{aligned} q_V &= (V - V^0)(S_V + S_{h_1} + S_{h_2}),\\ q_{\rho\theta} &= \rho(\theta- \theta^0)(S_V + S_{h_1} + S_{h_2}), \tag*{(85)} \end{aligned}

where the Rayleigh damping profiles SVS_V, Sh1S_{h_1}, and Sh2S_{h_2} are defined as

SV={0,z<zB,−αsin⁡2[π2z−zBzT−zB],z≥zB,Sh1={0,x<xB,−αsin⁡2[π2x−xBxT−xB],x≥xB,S_V = \begin{cases} 0, & z < z_B,\\ -\alpha\sin^2\left[\frac{\pi}{2}\frac{z-z_B}{z_T-z_B}\right], & z \ge z_B, \end{cases} \qquad S_{h_1} = \begin{cases} 0, & x < x_B,\\ -\alpha\sin^2\left[\frac{\pi}{2}\frac{x-x_B}{x_T-x_B}\right], & x \ge x_B, \end{cases}
Sh2={0,x>−xB,−αsin⁡2[π2x+xBxB−xT],x≤−xB.(86)S_{h_2} = \begin{cases} 0, & x > -x_B,\\ -\alpha\sin^2\left[\frac{\pi}{2}\frac{x+x_B}{x_B-x_T}\right], & x \le-x_B. \end{cases} \tag*{(86)}

Moreover, for the following test cases in this subsection, the time integration is done with the fourth-order, nine-stage, low-storage FSAL explicit Runge–Kutta method with adaptive time-stepping developed in [66], as implemented in OrdinaryDiffEq.jl [63].

Linear hydrostatic mountain

The first benchmark is the linear hydrostatic mountain [29, 37], with the versiera di Agnesi profile

h(x)=hc1+(x/ac)2.(87)h(x) = \frac{h_c}{1 + (x/a_c)^2}. \tag*{(87)}

The domain is [−120,120]×[0,30][-120,120] \times[0,30] km2^2, with hc=1h_c = 1 m and ac=10a_c = 10 km. The atmosphere has a constant background temperature T0=250T_0 = 250 K and a constant mean flow u‾=20\overline{u} = 20 m/s. The Exner pressure is Π‾=exp⁡(−N2z/g)\overline{\Pi} = \exp(-\mathcal{N}^2z/g), with N=g/cpT0\mathcal{N} = g/\sqrt{c_pT_0} denoting the Brunt–Väisälä frequency. Since Nac/u‾>1\mathcal{N}a_c/\overline{u} > 1, the flow is in the hydrostatic regime [37]. A free-slip condition is used at the bottom, and non-reflecting conditions at the top and lateral boundaries, with α=0.035\alpha= 0.035, zB=15z_B = 15 km, zT=30z_T = 30 km, xB=60x_B = 60 km, xT=120x_T = 120 km. We use 100 × 60 elements and polynomial degree p=3p = 3. The quantity of interest is the analytical momentum flux [75]

m=∫−∞∞ϱ‾(z)u′(x,z)w′(x,z) dx,mH=−π4ϱ‾su‾sNhc2,(88)m = \int_{-\infty}^{\infty} \overline{\varrho}(z)u'(x,z)w'(x,z)\,\mathrm{d}x,\qquad m^H = -\frac{\pi}{4}\overline{\varrho}_s\overline{u}_s\mathcal{N}h_c^2, \tag*{(88)}

where u′u', w′w' are the velocity perturbations and ϱ‾s\overline{\varrho}_s, u‾s\overline{u}_s the surface background density and velocity. The normalized momentum flux m/mHm/m^H should approach 1. Figure 6 shows the evolution of the normalized momentum flux at T=2.5T = 2.5 h, 5 h, 7.5 h, 10 h, 12.5 h, which agrees with the results obtained in [1, 37, 61]. Figure 7 shows the horizontal and vertical velocity components at the final time T=12.5T = 12.5 h, analogous to the contour obtained in [1, 37].

Evolution of the normalized momentum flux for the linear hydrostatic mountain

Figure 6. Evolution of the normalized momentum flux for the linear hydrostatic mountain with 100 × 60 elements and p=3p = 3, for the vector-invariant formulation.

Figure 7. Contours of the horizontal (left) and vertical (right) velocity components for the linear hydrostatic mountain with 100 × 60 elements and p=3p = 3, for the vector-invariant formulation.

Linear non-hydrostatic mountain

The second benchmark focuses on linear non-hydrostatic mountain waves [29, 37]. The initial state is a uniform horizontal mean flow u‾=10\overline{u} = 10 m/s within a uniformly stratified atmosphere with constant Brunt–Väisälä frequency N=0.01\mathcal{N} = 0.01 s−1^{-1}. The Exner pressure and potential temperature follow the hydrostatic balance

Π‾(z)=1+g2cpθ0N2(exp⁡(−N2gz)−1),θ(z)=θ0exp⁡(N2gz),(89)\overline{\Pi}(z) = 1 + \frac{g^2}{c_p\theta_0\mathcal{N}^2}\left(\exp\left(-\frac{\mathcal{N}^2}{g}z\right)-1\right),\qquad\theta(z) = \theta_0\exp\left(\frac{\mathcal{N}^2}{g}z\right), \tag*{(89)}

with θ0=280\theta_0 = 280 K, p=p0Π‾cp/Rp = p_0\overline{\Pi}^{c_p/R}, T=θ‾Π‾T = \overline{\theta}\overline{\Pi}, and ϱ‾=p/(RT)\overline{\varrho} = p/(RT). The mountain profile is again the versiera di Agnesi (87) with hc=1h_c = 1 m and ac=1a_c = 1 km. The domain is [−72,72]×[0,30][-72,72] \times[0,30] km2^2 and the simulation spans t∈[0,8]t \in[0,8] hours. No-flux conditions are imposed at the bottom and non-reflecting conditions at the top and lateral boundaries, with damping layers in the last 15 km vertically and 32 km horizontally, and α=0.03\alpha= 0.03. We use 200 × 50 elements and p=3p = 3. Since Nac/u‾=1\mathcal{N}a_c/\overline{u} = 1, the flow is in the non-hydrostatic regime [37, 62]. The normalized momentum flux is computed analogously to the hydrostatic case and normalized by mNH=0.457 mHm^{NH} = 0.457\,m^H [47]. Figure 8 shows the evolution of the normalized momentum flux at T=2T = 2 h, 4 h, 6 h, 8 h. The momentum progressively approaches the expected value of 1. Figure 9 reports the horizontal and vertical velocity components at the final time, in agreement with the reference solutions [29, 37].

Evolution of normalized momentum flux $\overline{m}(z)$ versus $z$ for 2 h, 4 h, 6 h, and 8 h

Figure 8. Evolution of the normalized momentum flux for the linear non-hydrostatic mountain with 200 × 50 elements and p=3p = 3, for the vector-invariant formulation.

Figure 9. Contours of the horizontal (left) and vertical (right) velocity components for the linear non-hydrostatic mountain with 200 × 50 elements and p=3p = 3, for the vector-invariant formulation.

Breaking gravity waves

The third orographic benchmark is the breaking lee-wave test of Klein [46], originally proposed by Smolarkiewicz and Margolin [76], which follows a large-amplitude mountain wave from its generation up to the onset of wave breaking. A constant mean flow uˉ=10 m/s\bar{u} = 10\,\mathrm{m/s} is prescribed over an isothermal atmosphere with Brunt–Väisälä frequency N=0.01 s−1\mathcal{N} = 0.01\,\mathrm{s}^{-1} and surface temperature T0=g2cpN2T_0 = \frac{g^2}{c_p\mathcal{N}^2}, with g=10 m/s2g = 10\,\mathrm{m/s}^2 and the modified ratio of specific heats γ=1.0697\gamma= 1.0697 adopted in [46]. The orography is the versiera di Agnesi (87) with hc=200π≈628 mh_c = 200\pi\approx628\,\mathrm{m} and ac=1 kma_c = 1\,\mathrm{km}, so that the wave amplitude lies well within the nonlinear regime. The domain is [−60,60]×[0,60] km2[-60, 60] \times[0, 60]\,\mathrm{km}^2, discretized with 50×3050 \times30 elements and polynomial degree p=4p = 4; non-reflecting conditions are enforced through Rayleigh damping layers in the upper 20 km20\,\mathrm{km} and in the outer 20 km20\,\mathrm{km} on each lateral side, with α=1/600\alpha= 1/600. The simulation is run up to T=3 hT = 3\,\mathrm{h}. Figure 10 shows the isentropic lines at t=2.5 ht = 2.5\,\mathrm{h} and t=3.0 ht = 3.0\,\mathrm{h}. At 2.5 h2.5\,\mathrm{h}, the lee wave propagates upward and steepens with height, in close agreement with the reference solution of Klein [46]. At 3.0 h3.0\,\mathrm{h}, wave breaking sets in, generating small-scale instabilities. As already pointed out in [46], beyond this stage the flow is governed by the dissipation of the numerical scheme and a quantitative comparison is no longer meaningful.

Figure 10. Isentropic lines (potential-temperature contours, with a contour spacing of 5 K) for the breaking lee-wave test at t=2.5 ht = 2.5\,\mathrm{h} (top) and t=3.0 ht = 3.0\,\mathrm{h} (bottom), with 50×3050 \times30 elements and p=4p = 4, for the vector-invariant formulation.

Critical layer

The last orographic benchmark is inspired by the idealized study of Spichtinger and Smolarkiewicz [78], who investigated the impact of the turbulence generated within a critical layer on the formation and evolution of cirrus clouds. We follow the dynamical setup of their simulations, replacing the ice microphysics by a passive tracer to measure the induced mixing. A linear wind profile uˉ(z)=u0−Λz\bar{u}(z) = u_0 - \Lambda z, with u0=10 m/su_0 = 10\,\mathrm{m/s} and shear Λ=1×10−3 s−1\Lambda= 1 \times10^{-3}\,\mathrm{s}^{-1}, is prescribed over an atmosphere with constant Brunt–Väisälä frequency N=0.0097 s−1\mathcal{N} = 0.0097\,\mathrm{s}^{-1} and surface potential temperature θs=288.18 K\theta_s = 288.18\,\mathrm{K}, so that the background wind vanishes at the critical level zc=u0/Λ=10 kmz_c = u_0/\Lambda= 10\,\mathrm{km}. The waves are excited by the fixed orography zb(x)=a0cos⁡(2πx/λx)z_b(x) = a_0 \cos(2\pi x/\lambda_x), with a0=20 ma_0 = 20\,\mathrm{m} and λx=10 km\lambda_x = 10\,\mathrm{km}. The domain is [−5,5]×[0,20] km2[-5, 5] \times[0, 20]\,\mathrm{km}^2, discretized with 80 × 180 elements and polynomial degree p=3p = 3. A free-slip condition is used at the bottom and non-reflecting conditions in the upper 5 km, with α=0.03 s−1\alpha= 0.03\,\mathrm{s}^{-1}. The passive tracer χ\chi is prescribed as a Gaussian layer centered at zχ=8.8 kmz_\chi= 8.8\,\mathrm{km} with standard deviation σχ=250 m\sigma_\chi= 250\,\mathrm{m}, and the simulation is run up to T=12 hT = 12\,\mathrm{h}. For this test, we use the third-order, four-stage SSP Runge–Kutta method [51] with the embedded method of [25] and the efficient implementation of [66] available in OrdinaryDiffEq.jl [63].

Figure 11 shows the time evolution of the vertical velocity in time intervals of 90 min, starting at t=4.5 ht = 4.5\,\mathrm{h}. The wave excited by the orography propagates upward and, as it approaches the critical level, its vertical wavelength λz=2πu(z)/N\lambda_z = 2\pi u(z)/\mathcal{N} and its vertical group velocity tend to zero: the wave cannot reach zcz_c and is absorbed by the mean flow beneath it [10, 41]. From 7.5 h onward, small-scale structures develop beneath the critical level, where the wave breaks and the flow becomes turbulent, as in [78].

Figure 11. Vertical velocity for the critical-layer test case at t=4.5t = 4.5, 6, 7.5, 9, 10.5 and 12 h, with 80 × 180 elements and p=3p = 3, for the vector-invariant formulation. Gray lines indicate the isentropic lines.

Figure 12 shows the evolution of the passive tracer, which follows the wave motion until the breaking and is then stirred by the turbulence. Figure 13 shows the deviation of the horizontally averaged tracer ⟨χ⟩=∫ϱχ dx / ∫ϱ dx\langle\chi\rangle= \int\varrho\chi\,\mathrm{d}x \,/\, \int\varrho\,\mathrm{d}x from its initial profile: the tracer is transported from the center of the layer toward its edges, so that the layer is broadened by the mixing, which is still developing at T=12 hT = 12\,\mathrm{h}.

Figure 12. Passive tracer χ\chi for the critical-layer test case at t=4.5t = 4.5, 6, 7.5, 9, 10.5 and 12 h, with 80 × 180 elements and p=3p = 3, for the vector-invariant formulation. Gray lines indicate the isentropic lines.

Deviation of the horizontally averaged tracer profile

Figure 13. Deviation of the horizontally averaged tracer profile from its initial value for the critical-layer test case at t=4.5t = 4.5, 6, 7.5, 9, 10.5 and 12 h, with 80 × 180 elements and p=3p = 3, for the vector-invariant formulation.

Baroclinic instability

To further validate the formulation, we employ the baroclinic wave benchmark of Ullrich et al. [85], adopted in the 2016 Dynamical Core Model Intercomparison Project (DCMIP) [84]. The initial state is a balanced, axisymmetric solution of the deep-atmosphere equations, perturbed by a localized Gaussian perturbation of the zonal wind in the northern midlatitudes, which triggers the growth of a baroclinic disturbance. The evolution is predominantly linear up to about day 7 and becomes nonlinear afterward, leading to wave breaking. The spatial discretization uses an equiangular cubed-sphere grid over six panels in three configurations: a first coarse resolution with Kh=8K_h = 8 elements in the horizontal direction, Kv=4K_v = 4 elements in the vertical direction, and p=5p = 5, as in [1]. The remaining two configurations have equal numbers of degrees of freedom, with different polynomial degrees as in [89]: Kh=30K_h = 30, Kv=8K_v = 8 elements with p=3p = 3, and Kh=15K_h = 15, Kv=4K_v = 4 elements with p=7p = 7. On the right-hand side, a pointwise Coriolis source term −2Ω×V-2\boldsymbol{\Omega} \times\mathbf{V} is prescribed.

Time integration uses a horizontally explicit, vertically implicit (HEVI) linear IMEX scheme with the ARK(2,3,2) method of [36, 38] and Δt=50\Delta t = 50, 90 and 180s for p=7p = 7, p=3p = 3, and p=5p = 5, respectively. Following the approach of Giraldo et al. [36, 38], we add and subtract a vertical linear operator. The Jacobian of the flux-differencing discretization in the vertical direction is computed following the approach of [17]. Figure 14 shows contour plots of the surface pressure and of the temperature and relative vorticity at 850 hPa on days 8 and 10. The simulation with the coarse grid gives good results when compared to the more refined grid resolution simulations shown in Figure 15 and Figure 16. The plots are in general in good agreement with the results from the MCore, ENDGame [85], and MPAS models [74], as well as the entropy-stable DG scheme from [89], where the vorticity also exhibited grid oscillations due to the minimal numerical dissipation, since the relative vorticity field is more sensitive to numerical dissipation than the pressure and temperature fields [74, 89].

Surface pressure, 850 hPa temperature, and 850 hPa relative vorticity at days 8 and 10

Figure 14. Surface pressure (top), 850 hPa temperature (middle) and 850 hPa relative vorticity (bottom) at day 8 (left) and day 10 (right) for the baroclinic instability test case, with Kh=8K_h = 8, Kv=4K_v = 4, and polynomial degree p=5p = 5.

Surface pressure, 850 hPa temperature and 850 hPa relative vorticity at days 8 and 10

Figure 15. Surface pressure (top), 850 hPa temperature (middle) and 850 hPa relative vorticity (bottom) at day 8 (left) and day 10 (right) for the baroclinic instability test case, with Kh=30K_h = 30, Kv=8K_v = 8, and polynomial degree p=3p = 3.

Surface pressure, 850 hPa temperature, and 850 hPa relative vorticity at days 8 and 10

Figure 16. Surface pressure (top), 850 hPa temperature (middle) and 850 hPa relative vorticity (bottom) at day 8 (left) and day 10 (right) for the baroclinic instability test case, with Kh=15K_h = 15, Kv=4K_v = 4, and polynomial degree p=7p = 7.

Figure 17 shows the evolution of the thermodynamic entropy, the minimum surface pressure and the maximum horizontal wind speed up to day 20, for two discretizations with the same number of degrees of freedom: Kh=30K_h = 30, Kv=8K_v = 8 with p=3p = 3 (Δt=90\Delta t = 90 s) and Kh=15K_h = 15, Kv=4K_v = 4 with p=7p = 7 (Δt=50\Delta t = 50 s). The entropy exhibits minimal dissipation up to day 8 and decreases afterward, when the instability generates unresolved scales, consistent with the entropy stability of the scheme. At the same number of degrees of freedom, the high-order discretization dissipates less entropy. The minimum surface pressure and the maximum wind speed agree closely between the two discretizations up to day 15, as well as with the reference solutions in [74, 85, 89]. Therefore, the presented new entropy-stable method shows desirable properties of robustness and accuracy also for long-time simulations with very high-order accuracy.

Figure 17. Relative change of the thermodynamic entropy UϱsU_{\varrho s} (left), minimum surface pressure (middle) and maximum horizontal wind speed (right) for the baroclinic instability test case up to day 20, with Kh=30K_h = 30, Kv=8K_v = 8, p=3p = 3 and Kh=15K_h = 15, Kv=4K_v = 4, p=7p = 7.

Summary and conclusions

We presented a structure-preserving flux-differencing discontinuous Galerkin spectral element method (DGSEM) for the compressible Euler equations with gravity in vector-invariant form, using potential temperature as a prognostic variable. By discretizing the nonconservative vorticity, pressure and geopotential terms as antisymmetric terms, we derived two-point numerical fluxes that are total-energy-conservative (TEC) and entropy-conservative (EC), as well as an entropy-stable (ES) numerical flux that provably preserves both isothermal and isentropic hydrostatic background states. The ES flux also guarantees the positivity of the density and of the pressure for the first-order finite-volume scheme with strong-stability-preserving Runge–Kutta methods, under a suitable CFL condition. The main difference with the work of Ricardo et al. [70] lies in the choice of the prognostic thermodynamic variable: while they employ the thermodynamic entropy as a linear invariant, we adopt the potential temperature. As a consequence, their schemes conserve the thermodynamic entropy by construction, and total-energy-conservative/stable fluxes are derived; in our formulation, the potential temperature is conserved by construction, and we derive total-energy-conservative and entropy-conservative/stable fluxes. Moreover, we proved that the resulting schemes are well-balanced for two families of hydrostatic background states, namely isentropic and isothermal states, on general curvilinear meshes. Additionally, we have shown that the isentropic background is preserved by any consistent potential-temperature flux, hence by any split form of the pressure gradient written as cpθ∇Πc_p\theta\nabla\Pi. Consequently, the isentropic background is preserved by the scheme of Ricardo et al. [70] as recovered in our framework, while the isothermal background requires the inverse logarithmic-mean flux (a kind of generalized nonlinear split-form), recovered via the flux-differencing discretization. Furthermore, we proved that slip wall boundary conditions are entropy stable for the vector-invariant form. All these properties carry over, at arbitrary polynomial degree, to high-order SBP methods and, in particular, to the DGSEM considered here on general curvilinear meshes. The scheme is also efficient, since entropy stability is obtained through a single nonlinear (logarithmic) mean, at a lower cost than total-energy- or potential-temperature-based formulations in conservative form [1, 89]. To the best of our knowledge, this is the first scheme that is well-balanced for two distinct families of hydrostatic background states simultaneously: the same numerical flux preserves both isothermal and isentropic equilibria, locally and globally, without requiring the background state to be prescribed a priori. In contrast, existing well-balanced entropy-stable DGSEM schemes preserve a single given background state, selected a priori through the choice of the density mean in the numerical flux [1, 89]. Numerical experiments, from well-balancedness and inertia-gravity waves to linear hydrostatic/non-hydrostatic mountain flows, as well as breaking waves and critical layer test cases and the baroclinic instability on the cubed sphere, confirmed the theoretical properties and the robustness and accuracy of the method.

Acknowledgments

MA and HR were supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) through project number 528753982 and within the DFG priority program SPP 2410 through project number 526031774. This work was also supported by the Max Planck Graduate Center with the Johannes Gutenberg University of Mainz (MPGC) and the Mainz Institute of Multiscale Modeling (M³ODEL).

Tool disclosure

Claude Opus 5 was used to assist with software development and to improve the readability and language.

Data availability statement

All Julia source code and data needed to reproduce the numerical results presented in this paper are available in our reproducibility repository [3].

References

  1. [1]M. Artiano, O. Knoth, P. Spichtinger, and H. Ranocha. “Structure-Preserving High-Order Methods for the Compressible Euler Equations in Potential Temperature Formulation for Atmospheric Flows.” In: Journal of Computational Physics 566 (2026), p. 115221. DOI: 10.1016/j.jcp.2026.115221.DOI
  2. [2]M. Artiano and H. Ranocha. On Affordable High-Order Entropy-Conservative/Stable and Well-Balanced Methods for Nonconservative Hyperbolic Systems. 2026. DOI: 10.48550/arXiv.2603.18978. arXiv: 2603.18978 [math.NA].DOI
  3. [3]M. Artiano and H. Ranocha. Reproducibility repository for ”Entropy-Stable and Well-Balanced Discontinuous Galerkin Methods for the Compressible Euler Equations in Vector-Invariant Form”. https://github.com/MarcoArtiano/2026_entropy_stable_vector_invariant. 2026. DOI: 10.5281/zenodo.23144288.DOI
  4. [4]M. Baldauf. “A horizontally explicit, vertically implicit (HEVI) discontinuous Galerkin scheme for the 2-dimensional Euler and Navier-Stokes equations using terrain-following coordinates.” In: Journal of Computational Physics 446 (2021), p. 110635. DOI: 10.1016/j.jcp.2021.110635.DOI
  5. [5]M. Baldauf and S. Brdar. “An analytic solution for linear gravity waves in a channel as a test for numerical models using the non-hydrostatic, compressible Euler equations.” In: Quarterly Journal of the Royal Meteorological Society 139.677 (2013), pp. 1977–1989. doi: 10.1002/qj.2105.
  6. [6]M. Baldauf and F. Prill. “Comparison of two Euler equation sets in a Discontinuous Galerkin solver for atmospheric modelling (BRIDGE v0.9).” In: Geoscientific Model Development 19.14 (2026), pp. 7013–7040. doi: 10.5194/gmd-19-7013-2026.DOI
  7. [7]T. J. Barth. “Numerical Methods for Gasdynamic Systems on Unstructured Meshes.” In: An Introduction to Recent Developments in Theory and Numerics for Conservation Laws: Proceedings of the International School on Theory and Numerics for Conservation Laws, Freiburg/Littenweiler, October 20–24, 1997. Ed. by D. Kröner, M. Ohlberger, and C. Rohde. Berlin, Heidelberg: Springer Berlin Heidelberg, 1999, pp. 195–285. DOI: 10.1007/978-3-642-58535-7_5.DOI
  8. [8]J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah. “Julia: A Fresh Approach to Numerical Computing.” In: SIAM Review 59.1 (2017), pp. 65–98. DOI: 10.1137/141000671.DOI
  9. [9]S. Blaise, J. Lambrechts, and E. Deleersnijder. “A stabilization for three-dimensional discontinuous Galerkin discretizations applied to nonhydrostatic atmospheric simulations.” In: International Journal for Numerical Methods in Fluids 81.9 (2016), pp. 558–585. DOI: 10.1002/fld.4197.DOI
  10. [10]J. R. Booker and F. P. Bretherton. “The critical layer for internal gravity waves in a shear flow.” In: Journal of Fluid Mechanics 27.3 (1967), pp. 513–539. DOI: 10.1017/S0022112067000515.DOI
  11. [11]S. Candelaresi, B. Geihe, M. Artiano, L. Christmann, V. Churavy, A. Rueda-Ramírez, H. Ranocha, G. J. Gassner, and M. Schlotte-Kehl. “Massively parallel numerical simulations with Julia.” 2026. DOI: 10.48550/arXiv.2607.25866. arXiv: 2607.25866 [math.NA].DOI
  12. [12]M. H. Carpenter, T. C. Fisher, E. J. Nielsen, and S. H. Frankel. “Entropy Stable Spectral Collocation Schemes for the Navier–Stokes Equations: Discontinuous Interfaces.” In: SIAM Journal on Scientific Computing 36.5 (2014), B835–B867. DOI: 10.1137/130932193.DOI
  13. [13]M. H. Carpenter, M. Parsani, E. J. Nielsen, and T. C. Fisher. “Towards an Entropy Stable Spectral Element Framework for Computational Fluid Dynamics.” In: 54th AIAA Aerospace Sciences Meeting. American Institute of Aeronautics and Astronautics, 2016. DOI: 10.2514/6.2016-1058.DOI
  14. [14]M. J. Castro, U. S. Fjordholm, S. Mishra, and C. Parés. “Entropy Conservative and Entropy Stable Schemes for Nonconservative Hyperbolic Systems.” In: SIAM Journal on Numerical Analysis 51.3 (May 2013), pp. 1371–1391. DOI: 10.1137/110845379.DOI
  15. [15]J. Chan. “On discretely entropy conservative and entropy stable discontinuous Galerkin methods.” In: Journal of Computational Physics 362 (2018), pp. 346–374. doi: 10.1016/j.jcp.2018.02.033.DOI
  16. [16]J. Chan. “Skew-symmetric entropy stable modal discontinuous Galerkin formulations.” In: Journal of Scientific Computing 81.1 (2019), pp. 459–485. doi: 10.1007/s10915-019-01026-w.DOI
  17. [17]J. Chan and C. G. Taylor. “Efficient computation of Jacobian matrices for entropy stable summation-by-parts schemes.” In: Journal of Computational Physics 448 (2022), p. 110701. doi: 10.1016/j.jcp.2021.110701.DOI
  18. [18]P. Chandrashekar. “Kinetic Energy Preserving and Entropy Stable Finite Volume Schemes for Compressible Euler and Navier-Stokes Equations.” In: Communications in Computational Physics 14.5 (2013), pp. 1252–1286. doi: 10.4208/cicp.170712.010313a.DOI
  19. [19]P. Chandrashekar and C. Klingenberg. “A Second Order Well-Balanced Finite Volume Scheme for Euler Equations with Gravity.” In: SIAM Journal on Scientific Computing 37.3 (2015), B382–B402. doi: 10.1137/140984373.DOI
  20. [20]P. Chandrashekar and M. Zenk. “Well-Balanced Nodal Discontinuous Galerkin Method for Euler Equations with Gravity.” In: Journal of Scientific Computing 71.3 (2017), pp. 1062–1093. DOI: 10.1007/s10915-016-0339-x.DOI
  21. [21]H. Chen. “Means Generated by an Integral.” In: Mathematics Magazine 78.5 (2005), pp. 397–399. DOI: 10.2307/30044201.DOI
  22. [22]X. Chen, N. Andronova, B. Van Leer, J. E. Penner, J. P. Boyd, C. Jabłonowski, and S.-J. Lin. “A Control-Volume Model of the Compressible Euler Equations with a Vertical Lagrangian Coordinate.” In: Monthly Weather Review 141.7 (2013), pp. 2526–2544. DOI: 10.1175/MWR-D-12-00129.1.DOI
  23. [23]X.-K. Chen, Y. Liu, and C.-W. Shu. The error estimate of entropy-stable discontinuous Galerkin methods for hyperbolic conservation laws. Aug. 2026. DOI: 10.48550/arXiv.2608.06642. arXiv: 2608.06642 [math.NA].DOI
  24. [24]S.-J. Choi and S.-Y. Hong. “A global non-hydrostatic dynamical core using the spectral element method on a cubed-sphere grid.” In: Asia-Pacific Journal of Atmospheric Sciences 52.3 (2016), pp. 291–307. doi: 10.1007/s13143-016-0005-0.DOI
  25. [25]S. Conde, I. Fekete, and J. N. Shadid. “Embedded pairs for optimal explicit strong stability preserving Runge-Kutta methods.” In: Journal of Computational and Applied Mathematics 412 (2022), p. 114325. DOI: 10.1016/j.cam.2022.114325. arXiv: 1806.08693 [math.NA].DOI
  26. [26]J. Crean, J. E. Hicken, D. C. Del Rey Fernández, D. W. Zingg, and M. H. Carpenter. “Entropy-stable summation-by-parts discretization of the Euler equations on general curved elements.” In: Journal of Computational Physics 356 (2018), pp. 410–438. doi: 10.1016/j.jcp.2017.12.015.DOI
  27. [27]S. Danisch and J. Krumbiegel. “Makie.jl: Flexible high-performance data visualization for Julia.” In: Journal of Open Source Software 6.65 (2021), p. 3349. doi: 10.21105/joss.03349.DOI
  28. [28]D. Derigs, A. R. Winters, G. J. Gassner, and S. Walch. “A novel averaging technique for discrete entropy-stable dissipation operators for ideal MHD.” In: Journal of Computational Physics 330 (2017), pp. 624–632. DOI: 10.1016/j.jcp.2016.10.055.DOI
  29. [29]D. R. Durran and J. B. Klemp. “A Compressible Model for the Simulation of Moist Mountain Waves.” In: Monthly Weather Review 111.12 (1983), pp. 2341–2361. DOI: 10.1175/1520-0493(1983)111<2341:ACMFTS>2.0.CO;2.doi.org/10.1175/1520-0493(1983)111<2341:acmfts>2.0.co;2
  30. [30]T. C. Fisher and M. H. Carpenter. “High-order entropy stable finite difference schemes for nonlinear conservation laws: Finite domains.” In: Journal of Computational Physics 252 (2013), pp. 518–557. doi: 10.1016/j.jcp.2013.06.014.DOI
  31. [31]U. S. Fjordholm, S. Mishra, and E. Tadmor. “Arbitrarily High-Order Accurate Entropy Stable Essentially Nonoscillatory Schemes for Systems of Conservation Laws.” In: SIAM Journal on Numerical Analysis 50.2 (2012), pp. 544–573. DOI: 10.1137/110836961.DOI
  32. [32]A. Gassmann. “A global hexagonal C-grid non-hydrostatic dynamical core (ICON-IAP) designed for energetic consistency.” In: Quarterly Journal of the Royal Meteorological Society 139.670 (2013), pp. 152–175. DOI: 10.1002/qj.1960.DOI
  33. [33]G. J. Gassner, A. R. Winters, F. J. Hindelang, and D. A. Kopriva. “The BR1 Scheme is Stable for the Compressible Navier-Stokes Equations.” In: Journal of Scientific Computing 77.1 (2018), pp. 154–200. DOI: 10.1007/s10915-018-0702-1.DOI
  34. [34]G. J. Gassner. “A Skew-Symmetric Discontinuous Galerkin Spectral Element Discretization and Its Relation to SBP-SAT Finite Difference Methods.” In: SIAM Journal on Scientific Computing 35.3 (2013), A1233–A1253. DOI: 10.1137/120890144.DOI
  35. [35]G. J. Gassner, A. R. Winters, and D. A. Kopriva. “Split Form Nodal Discontinuous Galerkin Schemes with Summation-By-Parts Property for the Compressible Euler Equations.” In: Journal of Computational Physics 327 (2016), pp. 39–66. DOI: 10.1016/j.jcp.2016.09.013.DOI
  36. [36]F. X. Giraldo, J. F. Kelly, and E. M. Constantinescu. “Implicit-Explicit Formulations of a Three-Dimensional Nonhydrostatic Unified Model of the Atmosphere (NUMA).” In: SIAM Journal on Scientific Computing 35.5 (2013), B1162–B1194. DOI: 10.1137/120876034.DOI
  37. [37]F. X. Giraldo and M. Restelli. “A study of spectral element and discontinuous Galerkin methods for the Navier–Stokes equations in nonhydrostatic mesoscale atmospheric modeling: Equation sets and test cases.” In: Journal of Computational Physics 227.8 (2008), pp. 3849–3877. DOI: 10.1016/j.jcp.2007.12.009.DOI
  38. [38]F. X. Giraldo, F. A. V. de Bragança Alves, J. F. Kelly, S. Kang, and P. A. Reinecke. “A performance study of horizontally explicit vertically implicit (HEVI) time-integrators for non-hydrostatic atmospheric models.” In: Journal of Computational Physics 515 (2024), p. 113275. DOI: 10.1016/j.jcp.2024.113275.DOI
  39. [39]M. Girfoglio, A. Quaini, and G. Rozza. “A comparative computational study of different formulations of the compressible Euler equations for mesoscale atmospheric flows in a finite volume framework.” In: Computers & Fluids 288 (2025), p. 106510. DOI: 10.1016/j.compfluid.2024.106510.DOI
  40. [40]S. Gottlieb, D. I. Ketcheson, and C.-W. Shu. Strong stability preserving Runge-Kutta and multistep time discretizations. Singapore: World Scientific, 2011. DOI: 10.1142/7498.DOI
  41. [41]V. Grubišić and P. K. Smolarkiewicz. “The Effect of Critical Levels on 3D Orographic Flows: Linear Regime.” In: Journal of the Atmospheric Sciences 54.15 (1997), pp. 1943–1960. DOI: 10.1175/1520-0469(1997)054<1943:TEOCLO>2.0.CO;2.doi.org/10.1175/1520-0469(1997)054<1943:teoclo>2.0.co;2
  42. [42]J. E. Hicken, D. C. Del Rey Fernández, and D. W. Zingg. “Multidimensional Summation-by-Parts Operators: General Theory and Application to Simplex Elements.” In: SIAM Journal on Scientific Computing 38.4 (2016), A1935–A1958. DOI: 10.1137/15M1038360.DOI
  43. [43]F. J. Hindelang, G. J. Gassner, and D. A. Kopriva. “Stability of Wall Boundary Condition Procedures for Discontinuous Galerkin Spectral Element Approximations of the Compressible Euler Equations.” In: Spectral and High Order Methods for Partial Differential Equations ICOSAHOM 2018. Ed. by S. J. Sherwin, D. Moxey, J. Peiró, P. E. Vincent, and C. Schwab. Vol. 134. Lecture Notes in Computational Science and Engineering. Springer, 2020, pp. 3–19. DOI: 10.1007/978-3-030-39647-3_1.
  44. [45]Y. Kawai and H. Tomita. “Development of a high-order global dynamical core using the discontinuous Galerkin method for an atmospheric large-eddy simulation (LES) and proposal of test cases: SCALE-DG v0.8.0.” In: Geoscientific Model Development 18.3 (2025), pp. 725–762. DOI: 10.5194/gmd-18-725-2025.DOI
  45. [46]R. Klein. “Asymptotics, structure, and integration of sound-proof atmospheric flow equations.” In: Theoretical and Computational Fluid Dynamics 23.3 (2009), pp. 161–195. DOI: 10.1007/s00162-009-0104-y.DOI
  46. [47]J. B. Klemp and D. R. Durran. “An Upper Boundary Condition Permitting Internal Gravity Wave Radiation in Numerical Mesoscale Models.” In: Monthly Weather Review 111.3 (1983), pp. 430–444. DOI: 10.1175/1520-0493(1983)111<0430:AUBCPI>2.0.CO;2.doi.org/10.1175/1520-0493(1983)111<0430:aubcpi>2.0.co;2
  47. [48]B. F. Klose, G. B. Jacobs, and D. A. Kopriva. “Assessing standard and kinetic energy conserving volume fluxes in discontinuous Galerkin formulations for marginally resolved Navier-Stokes flows.” In: Computers & Fluids 205 (2020), p. 104557. DOI: 10.1016/j.compfluid.2020.104557.DOI
  48. [49]D. A. Kopriva. “Metric Identities and the Discontinuous Spectral Element Method on Curvilinear Meshes.” In: Journal of Scientific Computing 26.3 (2006), pp. 301–327. DOI: 10.1007/s10915-005-9070-8.DOI
  49. [50]D. A. Kopriva. “Spectral Element Methods.” In: Implementing Spectral Methods for Partial Differential Equations: Algorithms for Scientists and Engineers. Dordrecht: Springer Netherlands, 2009, pp. 293–354. DOI: 10.1007/978-90-481-2261-5_8.DOI
  50. [51]J. F. B. M. Kraaijevanger. “Contractivity of Runge-Kutta methods.” In: BIT Numerical Mathematics 31.3 (1991), pp. 482–528. DOI: 10.1007/BF01933264.DOI
  51. [52]R. Käppeli and S. Mishra. “Well-balanced schemes for the Euler equations with gravitation.” In: Journal of Computational Physics 259 (2014), pp. 199–219. DOI: 10.1016/j.jcp.2013.11.028.DOI
  52. [53]P. H. Lauritzen, R. D. Nair, A. R. Herrington, P. Callaghan, S. Goldhaber, J. M. Dennis, J. T. Bacmeister, B. E. Eaton, C. M. Zarzycki, M. A. Taylor, P. A. Ullrich, T. Dubos, A. Gettelman, R. B. Neale, B. Dobbins, K. A. Reed, C. Hannay, B. Medeiros, J. J. Benedict, and J. J. Tribbia. “NCAR Release of CAM-SE in CESM2.0: A Reformulation of the Spectral Element Dynamical Core in Dry-Mass Vertical Coordinates With Comprehensive Treatment of Condensates and Energy.” In: Journal of Advances in Modeling Earth Systems 10.7 (2018), pp. 1537–1570. DOI: 10.1029/2017MS001257.DOI
  53. [54]Y. Liu, W. Guo, Y. Jiang, and M. Zhang. “Structure-preserving nodal DG method for the Euler equations with gravity: well-balanced, entropy stable, and positivity preserving.” In: Journal of Computational Physics 537 (2025), p. 114095. DOI: 10.1016/j.jcp.2025.114095.DOI
  54. [55]Lukácová-Medvidová and P. Öffner. “Convergence of Discontinuous Galerkin Schemes for the Euler Equations via Dissipative Weak Solutions.” In: Applied Mathematics and Computation 436 (2023), p. 127508. DOI: 10.1016/j.amc.2022.127508. arXiv: 2202.10043 [math.NA].
  55. [56]S. Marras, J. F. Kelly, M. Moragues, A. Müller, M. A. Kopera, M. Vázquez, F. X. Giraldo, G. Houzeaux, and O. Jorba. “A Review of Element-Based Galerkin Methods for Numerical Weather Prediction: Finite Elements, Spectral Elements, and Discontinuous Galerkin.” In: Archives of Computational Methods in Engineering 23.4 (2016), pp. 673–722. DOI: 10.1007/s11831-015-9152-1.DOI
  56. [57]G. Mengaldo, D. De Grazia, D. Moxey, P. E. Vincent, and S. J. Sherwin. “Dealiasing techniques for high-order spectral element methods on regular and irregular grids.” In: Journal of Computational Physics 299 (2015), pp. 56–81. DOI: 10.1016/j.jcp.2015.06.032.DOI
  57. [58]V. Michel-Dansac and A. Thomann. “Towards a fully well-balanced and entropy-stable scheme for the Euler equations with gravity: General equations of state.” In: Computers & Fluids 303 (2025), p. 106853. DOI: 10.1016/j.compfluid.2025.106853.
  58. [59]A. Müller, M. A. Kopera, S. Marras, L. C. Wilcox, T. Isaac, and F. X. Giraldo. “Strong scaling for numerical weather prediction at petascale with the atmospheric model NUMA.” In: The International Journal of High Performance Computing Applications 33.2 (2019), pp. 411–426. DOI: 10.1177/1094342018763966.
  59. [60]I. R. Nolasco, L. Dalcin, D. C. Del Rey Fernández, S. Zampini, and M. Parsani. “Optimized geometrical metrics satisfying free-stream preservation.” In: Computers & Fluids 207 (2020), p. 104555. DOI: 10.1016/j.compfluid.2020.104555.DOI
  60. [61]G. Orlando, T. Benacchio, and L. Bonaventura. “An IMEX-DG solver for atmospheric dynamics simulations with adaptive mesh refinement.” In: Journal of Computational and Applied Mathematics 427 (2023), p. 115124. DOI: 10.1016/j.cam.2023.115124.DOI
  61. [62]J.-P. Pinty, R. Benoit, E. Richard, and R. Laprise. “Simple Tests of a Semi-Implicit Semi-Lagrangian Model on 2D Mountain Wave Problems.” In: Monthly Weather Review 123.10 (1995), pp. 3042–3058. DOI: 10.1175/1520-0493(1995)123<3042:STOAS1>2.0.CO;2.doi.org/10.1175/1520-0493(1995)123<3042:stoasi>2.0.co;2
  62. [63]C. Rackauckas and Q. Nie. “DifferentialEquations.jl – A Performant and Feature-Rich Ecosystem for Solving Differential Equations in Julia.” In: Journal of Open Research Software 5.1 (2017), p. 15. DOI: 10.5334/jors.151.DOI
  63. [64]H. Ranocha. Convergence of entropy-conservative summation-by-parts discretizations to smooth solutions of hyperbolic conservation laws. July 2026. DOI: 10.48550/arXiv.2607.27049. arXiv: 2607.27049 [math.NA].DOI
  64. [65]H. Ranocha. “Generalised Summation-by-Parts Operators and Variable Coefficients.” In: Journal of Computational Physics 362 (June 2018), pp. 20–48. DOI: 10.1016/j.jcp.2018.02.021.DOI
  65. [66]H. Ranocha, L. Dalcin, M. Parsani, and D. I. Ketcheson. “Optimized Runge-Kutta Methods with Automatic Step Size Control for Compressible Computational Fluid Dynamics.” In: Communications on Applied Mathematics and Computation 4.4 (2022), pp. 1191–1228. DOI: 10.1007/s42967-021-00159-w.DOI
  66. [67]H. Ranocha, M. Schlottke-Lakemper, J. Chan, A. M. Rueda-Ramírez, A. R. Winters, F. Hindenlang, and G. J. Gassner. “Efficient implementation of modern entropy stable and kinetic energy preserving discontinuous Galerkin methods for conservation laws.” In: ACM Transactions on Mathematical Software 49.4 (Dec. 2023), pp. 1–30. DOI: 10.1145/3625559.DOI
  67. [68]H. Ranocha, M. Schlottke-Lakemper, A. R. Winters, E. Faulhaber, J. Chan, and G. J. Gassner. “Adaptive numerical simulations with Trixi.jl: A case study of Julia for scientific computing.” In: Proceedings of the JuliaCon Conferences 1.1 (Jan. 2022), p. 77. DOI: 10.21105/jcon.00077.DOI
  68. [69]F. Renac. “Entropy stable DGSEM for nonlinear hyperbolic systems in nonconservative form with application to two-phase flows.” In: Journal of Computational Physics 382 (2019), pp. 1–26. DOI: 10.1016/j.jcp.2018.12.035.DOI
  69. [70]K. Ricardo, D. Lee, and K. Duru. “Thermodynamic Consistency and Structure-Preservation in Summation by Parts Methods for the Moist Compressible Euler Equations.” In: SIAM Journal on Scientific Computing 48.3 (2026), B517–B543. DOI: 10.1137/25M174718X.DOI
  70. [71]D. Rojas, R. Boukharfane, L. Dalcin, D. C. Del Rey Fernández, H. Ranocha, D. E. Keyes, and M. Parsani. “On the robustness and performance of entropy stable collocated discontinuous Galerkin methods.” In: Journal of Computational Physics 426 (Feb. 2021), p. 108991. DOI: 10.1016/j.jcp.2020.109891.DOI
  71. [72]M. Schlottke-Lakemper, A. R. Winters, H. Ranocha, and G. J. Gassner. “A purely hyperbolic discontinuous Galerkin approach for self-gravitating gas dynamics.” In: Journal of Computational Physics 442 (Oct. 2021), p. 110467. doi: 10.1016/j.jcp.2021.110467.
  72. [73]B. Sjögreen and H. C. Yee. “High order entropy conservative central schemes for wide ranges of compressible gas dynamics and MHD flows.” In: Journal of Computational Physics 364 (2018), pp. 153–185. doi: 10.1016/j.jcp.2018.02.003.DOI
  73. [74]W. C. Skamarock, H. Ong, and J. B. Klemp. “A Fully Compressible Nonhydrostatic Deep-Atmosphere Equations Solver for MPAS.” In: Monthly Weather Review 149.2 (2021), pp. 571–583. doi: 10.1175/MWR-D-20-0286.1.DOI
  74. [75]R. B. Smith. “The Influence of Mountains on the Atmosphere.” In: Advances in Geophysics 21 (1979), pp. 87–230. doi: 10.1016/S0065-2687(08)60262-9.DOI
  75. [76]P. K. Smolarkiewicz and L. G. Margolin. “On Forward-in-Time Differencing for Fluids: an Eulerian/Semi-Lagrangian Non-Hydrostatic Model for Stratified Flows.” In: Atmosphere-Ocean 35.sup1 (1997), pp. 127–152. doi: 10.1080/07055900.1997.9687345.DOI
  76. [77]A. N. Souza, J. He, T. Bischoff, M. Waruszewski, L. Novak, V. Barra, T. Gibson, A. Sridhar, S. Kandala, S. Byrne, L. C. Wilcox, J. Kozdon, F. X. Giraldo, O. Knoth, J. Marshall, R. Ferrari, and T. Schneider. “The Flux-Differencing Discontinuous Galerkin Method Applied to an Idealized Fully Compressible Nonhydrostatic Dry Atmosphere.” In: Journal of Advances in Modeling Earth Systems 15.4 (2023), e2022MS003527. doi: 10.1029/2022MS003527.DOI
  77. [78]P. Spichtinger and P. K. Smolarkiewicz. “Turbulence in cirrus clouds – impact of critical layers.” In: Proceedings of the 15th International Conference on Clouds and Precipitation. 15th International Conference on Clouds and Precipitation (ICCP) (Cancún, Mexico, July 7–11, 2008). Extended abstract. 2008.
  78. [79]M. Svärd. “Entropy stable boundary conditions for the Euler equations.” In: Journal of Computational Physics 426 (2021), p. 109947. doi: 10.1016/j.jcp.2020.109947.
  79. [80]E. Tadmor. “Entropy stability theory for difference approximations of nonlinear conservation laws and related time-dependent problems.” In: Acta Numerica 12 (2003), pp. 451–512. doi: 10.1017/S0962492900000156.
  80. [81]E. Tadmor. “The numerical viscosity of entropy stable schemes for systems of conservation laws.” In: Mathematics of Computation 49.179 (1987), pp. 91–103. doi: 10.1090/S0025-5718-1987-0890255-3.DOI
  81. [82]M. A. Taylor, O. Guba, A. Steyer, P. A. Ullrich, D. M. Hall, and C. Eldred. “An Energy Consistent Discretization of the Nonhydrostatic Equations in Primitive Variables.” In: Journal of Advances in Modeling Earth Systems 12.1 (2020), e2019MS001783. doi: 10.1029/2019MS001783.DOI
  82. [83]P. D. Thomas and C. K. Lombard. “Geometric Conservation Law and Its Application to Flow Computations on Moving Grids.” In: AIAA Journal 17.10 (1979), pp. 1030–1037. doi: 10.2514/3.61273.DOI
  83. [84]P. A. Ullrich, C. Jablonowski, K. A. Reed, C. Zarzycki, P. H. Lauritzen, R. D. Nair, J. Kent, and A. Verlet-Banide. Dynamical Core Model Intercomparison Project (DCMIP2016) Test Case Document. Technical report. https://github.com/ClimateGlobalChange/DCMIP2016. DCMIP Summer School, June 2016. 2016.
  84. [85]P. A. Ullrich, T. Melvin, C. Jablonowski, and A. Staniforth. “A proposed baroclinic wave test case for deep- and shallow-atmosphere dynamical cores.” In: Quarterly Journal of the Royal Meteorological Society 140.682 (2014), pp. 1590–1602. doi: 10.1002/qj.2241.DOI
  85. [86]P. A. Ullrich, D. R. Reynolds, J. E. Guerra, and M. A. Taylor. “Impact and importance of hyperdiffusion on the spectral element method: A linear dispersion analysis.” In: Journal of Computational Physics 375 (2018), pp. 427–446. doi: 10.1016/j.jcp.2018.06.035.DOI
  86. [87]M. R. Visbal and D. V. Gaitonde. “High-Order-Accurate Methods for Complex Unsteady Subsonic Flows.” In: AIAA Journal 37.10 (1999), pp. 1231–1239. DOI: 10.2514/2.591.DOI
  87. [88]Z. J. Wang, K. Fidkowski, R. Abgrall, F. Bassi, D. Caraeni, A. Cary, H. Deconinck, R. Hartmann, K. Hillewaert, H. T. Huynh, N. Kroll, G. May, P.-O. Persson, B. van Leer, and M. Visbal. “High-order CFD methods: current status and perspective.” In: International Journal for Numerical Methods in Fluids 72.8 (2013), pp. 811–845. DOI: 10.1002/fld.3767.DOI
  88. [89]M. Waruszewski, J. E. Kozdon, L. C. Wilcox, T. H. Gibson, and F. X. Giraldo. “Entropy stable discontinuous Galerkin methods for balance laws in non-conservative form: Applications to the Euler equations with gravity.” In: Journal of Computational Physics 468 (2022), p. 111507. DOI: 10.1016/j.jcp.2022.111507.DOI
  89. [90]H. Waterhouse, M. Waruszewski, L. C. Wilcox, and F. X. Giraldo. GPU Performance of an Entropy-Stable Discontinuous Galerkin Euler Solver with Non-Conservative Terms. 2026. DOI: 10.48550/arXiv.2605.16684. arXiv: 2605.16684 [math.NA].arxiv.org/abs/2605.16684
  90. [92]A. R. Winters, D. Derigs, G. J. Gassner, and S. Walch. “A uniquely defined entropy stable matrix dissipation operator for high Mach number ideal MHD and compressible Euler simulations.” In: Journal of Computational Physics 332 (2017), pp. 274–289. DOI: 10.1016/j.jcp.2016.12.006.DOI
  91. [93]A. R. Winters, R. C. Moura, G. Mengaldo, G. J. Gassner, S. Walch, J. Peiro, and S. J. Sherwin. “A comparative study on polynomial dealiasing and split form discontinuous Galerkin schemes for under-resolved turbulence computations.” In: Journal of Computational Physics 372 (2018), pp. 1–21. DOI: 10.1016/j.jcp.2018.06.016.DOI
  92. [94]D. Yatunin, S. Byrne, C. Kawczynski, S. Kandala, G. Bozzola, A. Sridhar, Z. Shen, A. Jaruga, J. Sloan, J. He, D. Z. Huang, V. Barra, R. Chew, A. Boral, Y.-f. Chen, O. Knoth, P. Ullrich, C. Mbengue, and T. Schneider. “The Climate Modeling Alliance Atmosphere Dynamical Core: Concepts, Numerics, and Scaling.” In: Journal of Advances in Modeling Earth Systems 18.3 (2026), e2025MS005014. DOI: 10.1029/2025MS005014.DOI
  93. [95]J. Yu and J. S. Hesthaven. “A Study of Several Artificial Viscosity Models within the Discontinuous Galerkin Framework.” In: Communications in Computational Physics 27.5 (2020), pp. 1309–1343. DOI: 10.4208/cicp.OA–2019–0118.
  94. [96]D. K. Zhang and A. Aiken. “High-Performance Branch-Free Algorithms for Extended-Precision Floating-Point Arithmetic.” In: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis. SC ’25. St. Louis, MO, USA: Association for Computing Machinery, 2025, 695–710. DOI: 10.1145/3712285.3759876.DOI
  95. [97]X. Zhang and C.-W. Shu. “Maximum-principle-satisfying and positivity-preserving high-order schemes for conservation laws: survey and new developments.” In: Proceedings of the Royal Society of London A: Mathematical, Physical and Engineering Sciences 467.2134 (2011), pp. 2752–2776. DOI: 10.1098/rspa.2011.0153.DOI
  96. [98]X. Zhang and C.-W. Shu. “On positivity-preserving high order discontinuous Galerkin schemes for compressible Euler equations on rectangular meshes.” In: Journal of Computational Physics 229.23 (2010), pp. 8918–8934. DOI: 10.1016/j.jcp.2010.08.016.DOI

Paper details

vlnc:W_tag6e23e
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents