This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Conservation and stability in a discontinuous Galerkin method for the vector invariant spherical shallow water equations

Kieran Ricardo Mathematical Sciences Institute, Australian National University, Canberra, Australia David Lee Bureau of Meteorology, Melbourne, Australia Kenneth Duru Mathematical Sciences Institute, Australian National University, Canberra, Australia
Abstract

We develop a novel and efficient discontinuous Galerkin spectral element method (DG-SEM) for the spherical rotating shallow water equations in vector invariant form. We prove that the DG-SEM is energy stable, and discretely conserves mass, vorticity, and linear geostrophic balance on general curvlinear meshes. These theoretical results are possible due to our novel entropy stable numerical DG fluxes for the shallow water equations in vector invariant form. We experimentally verify these results on a cubed sphere mesh. Additionally, we show that our method is robust, that is can be run stably without any dissipation. The entropy stable fluxes are sufficient to control the grid scale noise generated by geostrophic turbulence without the need for artificial stabilisation.

1 Introduction

Variational methods such as mixed finite element methods, and continuous Galerkin and discontinuous Galerkin spectral element methods (CG-SEM and DG-SEM respectively), have become an increasingly appealing choice for atmospheric modelling, owing to their scalable performance on modern supercomputers and ability to discretely preserve conservation properties (McRae and Cotter, 2014; Lee et al., 2018; Taylor and Fournier, 2010; Gassner et al., 2016; Waruszewski et al., 2022). In this paper we present an entropy stable DG-SEM method for the rotating shallow water equations (RSWE) in vector invariant form that combines many of the strengths of these three approaches.

Ideally numerical methods should mimic the properties of the continuous system they approximate, but continuous systems have infinite invariants of which only a finite number can be preserved by any discretisation (Thuburn, 2008). This necessitates choosing a subset of the invariants, based on the particular modelling application, for the discrete model to conserve. For the RSWE in the context of atmospheric modelling we target the following:

  • Local conservation of mass. Arguably the most important of these properties, it helps to limit the bias of long climate simulations (Thuburn, 2008).

  • Local conservation of absolute vorticity. Mid-latitude weather is dominated by vorticity dynamics and its conservation assists in accurately modelling these dynamics (Lee et al., 2018). Additionally this prevents the gravitational potential, by far the largest component of atmospheric energy, from spuriously forcing the absolute vorticity which may destroy the meteorological signal (Staniforth and Thuburn, 2012).

  • Local energy conservation and stability. The vast majority of energy dissipation within the atmosphere is due to three-dimensional effects not included in the RSWE. However there is evidence of a small amount of energy dissipation from two-dimensional layer wise effects on the order or 0.1Wm20.1Wm^{-2} (Thuburn, 2008). Additionally the RSWE conserves energy and so desirable discretisations of the RSWE should have minimal or no energy dissipation. Energy is also the entropy of the RSWE, and we follow the approach of using entropy stable fluxes to ensure non-linear stability (Gassner et al., 2016; Waruszewski et al., 2022; Carpenter et al., 2014).

  • Exact steady discrete geostrophic balance. The atmosphere is often characterised by slow moving variations around a linear state, consisting of a collection of slowly evolving geostrophic modes. To accurately represent this process a discretisation of the RSWE applied to the linear RSWE should contain exactly steady discrete geostrophic modes. (Cotter and Shipton, 2012; Lee et al., 2018).

The mixed finite element approach is able to locally conserve mass, has steady discrete geostrophic modes, and globally conserves absolute vorticity and energy (Cotter and Shipton, 2012; McRae and Cotter, 2014; Lee et al., 2018). Mixed finite element methods can also conserve potential enstrophy on affine geometries subject to exact integration of the chain rule, but this has not yet been extended to spherical geometry (Lee et al., 2018; McRae and Cotter, 2014). Impressively, these schemes can be run stably without any dissipation (Lee et al., 2022). To simultaneously achieve all these properties mixed finite element methods use a non-diagonal mass matrix making them more computationally expensive than alternative spectral element methods (Lee et al., 2018).

In parallel to this, a highly scalable collocated CG-SEM (Taylor and Fournier, 2010) was developed for the RSWE. CG-SEM applied to the vector invariant form of the RSWE has been shown to locally conserve mass, absolute vorticity, and energy. Due to dispersion errors CG-SEM requires filtering or artificial viscosity which may introduce undesirable numerical artefacts, excessively dissipate energy, and adversely effect the accuracy of the solution (Melvin et al., 2012; Dennis et al., 2012; Ullrich et al., 2018).

The DG method has become a popular choice for modelling shallow water equations with many variants appearing in the literature (Giraldo et al., 2002; Nair et al., 2005; Gassner et al., 2016; Wintermeyer et al., 2017; Dumbser and Casulli, 2013). A DG method for the RSWE was introduced in (Giraldo et al., 2002), this approach used an icosahedral grid and Cartesian coordinates. Following this (Nair et al., 2005) developed the first DG method for the RSWE using a cubed sphere grid. In an alternate approach (Dumbser and Casulli, 2013) presents a DG method with staggered cells for the non-rotating shallow water equations. In (Gassner et al., 2016) and (Wintermeyer et al., 2017) the authors develop the first energy conserving DG method for the non-rotating shallow water equations using a split-form DG-SEM. In contrast to the split-form approach of (Gassner et al., 2016) and (Wintermeyer et al., 2017), (Gaburro et al., 2023) presents an entropy conserving DG method for general systems of conservation laws by adding correction terms to cancel spurious numerical entropy generation, this builds upon the work of (Abgrall, 2018; Abgrall et al., 2022) which develops a general framework for developing entropy conserving methods using entropy correcting terms. To the best of the authors knowledge, all DG methods for the RSWE presented in the literature discretise the conservative form of the equations and therefore do not conserve absolute vorticity or preserve linear geostrophic balance. This is a direct result of solving the RSWE in conservative form as opposed to the vector invariant form. Similar to CG-SEM, DG-SEM possess dispersion errors and therefore requires that high frequency waves be damped. However, DG-SEM can achieve this damping through entropy stable numerical fluxes which do not affect the high order accuracy of the scheme.

In an alternate branch of research, (Castro et al., 2008) and (Castro et al., 2017) develop well-balanced finite volume methods for the spherical shallow water equations without rotation. By design these methods accurately maintain steady state solutions of the shallow water equations but are more applicable to tsunami simulations where the Coriolis force is negligible.

In this work we present a DG-SEM for the RSWE in vector invariant form that is arbitrarily high order accurate. We prove that the DG-SEM locally conserves mass and absolute vorticity, locally semi-discretely conserves energy, and preserves linear geostrophic balance. We then show how to consistently modify this scheme to dissipate energy/entropy through the use of dissipative fluxes. Numerical experiments are presented to verify the theoretical results and show that geostrophic turbulence can be well simulated with our entropy stable fluxes with no additional stabilisation strategy.

The rest of the article is as follows. Section 2 presents the continuous equations and derives the conservation and stability properties of the continuous model that should be preserved by our numerical method. Section 3 introduces our spatial discretisation and derives several identities for the function spaces and their discrete operators. In section 4 we present theoretical results for discrete conservation and stability properties of the method. Section 5 presents the results of numerical experiments that verify our theoretical analysis. In section 6, we draw conclusions and suggests directions for future work.

2 Continuous shallow water equations

In this section we introduce the RSWE on the surface of a spherical geometry and derive the continuous properties that our numerical scheme should discretely mimic.

2.1 Vector invariant equations

We use the vector invariant form of the RSWE on a 2D manifold Ω\Omega embedded in R3R^{3} with periodic boundary conditions. We choose periodic boundary conditions as they simplify the analysis and the domain of most practical interest is the sphere. The RSWE are

𝐮t+ω𝐤×𝐮+G=0,\mathbf{u}_{t}+\omega\mathbf{k}\crossproduct\mathbf{u}+\nabla G=0\text{,} (1)
Dt+𝐅=0,D_{t}+\nabla\cdot\mathbf{F}=0\text{,} (2)

with

ω=𝐤×𝐮+f,𝐅=D𝐮,G=12𝐮𝐮+gD,\omega=\mathbf{k}\cdot\nabla\crossproduct\mathbf{u}+f\text{,}\quad\mathbf{F}=D\mathbf{u}\text{,}\quad G=\tfrac{1}{2}\mathbf{u}\cdot\mathbf{u}+gD\text{,} (3)

where t0t\geq 0 denotes the time variable, the unknowns are the flow velocity vector 𝐮=[u,v,w]T\mathbf{u}=[u,v,w]^{T} and the fluid depth DD. Note that here and in the rest of the paper all differential operators are taken to be constrained to the manifold. Furthermore, ω\omega is the absolute vorticity, ff is the Coriolis frequency, 𝐅\mathbf{F} is the mass flux, GG is the potential, and 𝐤\mathbf{k} is normal of the manifold. At t=0t=0, we augment the RSWE (1)–(2) with the initial conditions

𝐮=𝐮0(𝐱),D=D0(𝐱),𝐱Ω,\displaystyle\mathbf{u}=\mathbf{u}_{0}(\mathbf{x}),\quad{D}={D}_{0}(\mathbf{x}),\quad\mathbf{x}\in\Omega, (4)

such that the flow is constrained to the manifold by ensuring that 𝐮0𝐤=0\mathbf{u}_{0}\cdot\mathbf{k}=0. The constraint of the differential operators and the initial constraint 𝐮0𝐤=0\mathbf{u}_{0}\cdot\mathbf{k}=0 is sufficient to ensure that the 𝐮(𝐱,t)𝐤=0\mathbf{u}(\mathbf{x},t)\cdot\mathbf{k}=0 holds 𝐱Ω,t0\forall\mathbf{x}\in\Omega,\;t\geq 0.

2.2 Conservation of mass, absolute vorticity, and energy

We will show that the total mass, absolute vorticity and energy are conserved. Integrating the continuity equation (2) over a periodic domain yields conservation of total mass, that is

ddtΩD𝑑Ω=0.\displaystyle\frac{d}{dt}\int_{\Omega}Dd\Omega=0. (5)

We can derive a continuity equation for absolute vorticity ω\omega by applying 𝐤×\mathbf{k}\cdot\nabla\crossproduct to the momentum equation (1) giving

ωt+(ω𝐮)=0.\omega_{t}+\nabla\cdot(\omega\mathbf{u})=0\text{.} (6)

Similarly, integrating equation (6) over a periodic domain yields conservation of total absolute vorticity,

ddtΩω𝑑Ω=0.\displaystyle\frac{d}{dt}\int_{\Omega}\omega d\Omega=0. (7)

Additionally, all quantities of the form Db(ωD)Db\left(\frac{\omega}{D}\right), for arbitrary function bb of ωD\frac{\omega}{D}, are also locally conserved by the RSWE (Vallis, 2017). The potential vorticity ωD\frac{\omega}{D} is transported by the flow, therefore b(ωD)b\left(\frac{\omega}{D}\right) is also transported by the flow, and hence Db(ωD)Db\left(\frac{\omega}{D}\right) is locally conserved. The potential enstrophy is one such quantity, and while we do not target its conservation here several other numerical schemes have (McRae and Cotter, 2014; Lee et al., 2018).

Let the elemental energy EE be denoted by

E=12D𝐮𝐮+12gD2.E=\tfrac{1}{2}D\mathbf{u}\cdot\mathbf{u}+\tfrac{1}{2}gD^{2}. (8)

The elemental energy EE also satisfies a continuity equation. To show this we take the time derivative of the elemental energy EE giving

Et=𝐅𝐮t+(12𝐮𝐮+gD)Dt=𝐅ω𝐤×𝐮𝐅GG𝐅.E_{t}=\mathbf{F}\cdot\mathbf{u}_{t}+(\tfrac{1}{2}\mathbf{u}\cdot\mathbf{u}+gD)D_{t}=-\mathbf{F}\cdot\omega\mathbf{k}\crossproduct\mathbf{u}-\mathbf{F}\cdot\nabla G-G\nabla\cdot\mathbf{F}. (9)

We have the continuity equation for the energy EE

Et+(G𝐅)=0,E_{t}+\nabla\cdot\big{(}G\mathbf{F}\big{)}=0, (10)

where we have used 𝐅ω𝐤×𝐮=ωD𝐮𝐤×𝐮=0\mathbf{F}\cdot\omega\mathbf{k}\crossproduct\mathbf{u}=\omega D\mathbf{u}\cdot\mathbf{k}\crossproduct\mathbf{u}=0 and the product rule for derivatives. As before, integrating equation (10) over a periodic domain yields conservation of total energy,

ddtΩE𝑑Ω=0.\displaystyle\frac{d}{dt}\int_{\Omega}Ed\Omega=0. (11)

2.3 Linear geostrophic balance

On domains with constant Coriolis parameter ff, in addition to a set of inertio-gravity wave solutions, the linear rotating shallow water equations also exhibit steady geostrophic modes (Cotter and Shipton, 2012; Vallis, 2017). The RSWE (1)–(2) linearised around a state of constant mean height HH and zero mean flow are

𝐮t+f𝐤×𝐮+gD=0,\mathbf{u}_{t}+f{\mathbf{k}\crossproduct}\mathbf{u}+g\nabla D=0\text{,} (12)
Dt+H𝐮=0.D_{t}+H\nabla\cdot\mathbf{u}=0\text{.} (13)

The steady solutions to these equations can be found by choosing an arbitrary stream function ψ\psi and setting D=fgψ,𝐮=×ψ𝐤D=-\tfrac{f}{g}\psi,\quad\mathbf{u}=\nabla{\crossproduct\psi\mathbf{k}}. Then we have

Dt=H𝐮=H×ψ𝐤=0,D_{t}=-{H}\nabla\cdot\mathbf{u}=-{H\nabla\cdot\nabla\crossproduct\psi\mathbf{k}}=0, (14)
𝐮t=(f𝐤×𝐮+gD)=(fψfψ)=0.\mathbf{u}_{t}=-(f{\mathbf{k}\crossproduct}\mathbf{u}+g\nabla D)=-(f\nabla\psi-f\nabla\psi{)=0}. (15)

2.4 Entropy

An entropy function is any convex combination of prognostic variables that also satisfies a conservation law (LeVeque, 1992). The importance of entropy functions is that they are conserved in smooth regions and are dissipated across discontinuities in physically relevant weak solutions. DG methods are continuous within each element but can be discontinuous across element boundaries, this motivates that the volume terms of DG methods should conserve entropy while numerical fluxes should dissipate entropy. We call this local entropy stability and in practice many numerical methods have found that this is sufficient for numerical stability (Giraldo, 2020).

It is well known that energy is an entropy function of the RSWE in conservative form (Gassner et al., 2016), here we show that energy is also an entropy for the RSWE in vector invariant form for subcritical flow |𝐮|<gD|\mathbf{u}|<\sqrt{gD}. Atmospheric flows are subcritical and so this restriction does not cause any difficulty in practice, for the target applications. The analysis in section 2.3 shows that energy is conserved, all that remains is to show that energy is also a convex combination of uu, vv, ww, and DD. In the following analysis we non-dimensionalise all quantities by their mean values to avoid issues with conflicting units. The Hessian of the energy with respect to the prognostic variables is

HE=(D00u0D0v00Dwuvwg),H_{E}=\begin{pmatrix}D&0&0&u\\ 0&D&0&v\\ 0&0&D&w\\ u&v&w&g\\ \end{pmatrix}\text{,} (16)

and its characteristic equation is

(Dλ)2(λ2(D+g)λ+Dg|𝐮|2).(D-\lambda)^{2}\big{(}\lambda^{2}-(D+g)\lambda+Dg-|\mathbf{u}|^{2}\big{)}\text{.} (17)

As D,g>0D,g>0 the eigenvalues corresponding to the left bracket are always positive, and as long as Dg|𝐮|2>0Dg-|\mathbf{u}|^{2}>0, which implies |𝐮|<gD|\mathbf{u}|<\sqrt{gD}, the eigenvalues corresponding to the quadratic in the second bracket are also positive. Therefore for subcritical flow the energy is an entropy function of the vector invariant RSWE.

An effective numerical method should as far as possible conserve mass, absolute vorticity, energy, entropy and linear geostrophic balance.

3 Spatial discretisation

In this section we describe the spatial discretisation of our method and prove several discrete identities that are necessary for numerical stability and discrete conservation properties. Our method decomposes the domain into quadrilateral elements Ωq\Omega^{q} and approximates the solution in each quadrilateral by Lagrange polynomials. The solutions are connected across the elements through energy-stable numerical fluxes.

3.1 Function spaces

For each element Ωq\Omega^{q} we define an invertible map r(𝐱;q)r(\mathbf{x};q) to the reference square [1,1]2[-1,1]^{2}, and approximate solutions by polynomials of order mm in this reference square. We use a computationally efficient tensor product Lagrange polynomial basis with interpolation points collocated with Gauss-Lobatto-Legendre (GLL) quadrature points. Using this basis the polynomials of order mm on the reference square can be defined as

Pm:=spani,j=1m+1li(ξ)lj(η),P_{m}:=\text{span}_{i,j=1}^{m+1}l_{i}(\xi)l_{j}(\eta)\text{,} (18)

where (ξ,η)[1,1]2(\xi,\eta)\in[-1,1]^{2} and lil_{i} is the 1D Lagrange polynomial which interpolates the ithi^{th} GLL node. We define a discontinuous scalar space SS which contains the depth DhD^{h} as

S={ϕL2(Ω):r(ϕ;q)Pm,q}.S=\{\phi\in L^{2}(\Omega):r(\phi;q)\in P_{m},\forall q\}\text{.} (19)

Note that within each element functions ϕS\phi\in S can be expressed as

ϕ(𝐱)=i,j=1m+1ϕijqli(ξ)lj(η),𝐱Ωq,\phi(\mathbf{x})=\sum_{i,j=1}^{m+1}{\phi_{ijq}l_{i}(\xi)l_{j}(\eta)},\forall\mathbf{x}\in\Omega^{q}\text{,} (20)

where ξ,η=r(𝐱;q)\xi,\eta=r(\mathbf{x};q), ϕijq=ϕ(r1(ξi,ηj;q))\phi_{ijq}=\phi(r^{-1}(\xi_{i},\eta_{j};q)).

We define a discontinuous vector space which contains the velocity 𝐮\mathbf{u}. Let 𝐯1(x,y,z)\mathbf{v}_{1}(x,y,z) and 𝐯2(x,y,z)\mathbf{v}_{2}(x,y,z) be any independent set of vectors which span the tangent space of the manifold at each point (x,y,z)(x,y,z), then the discontinuous vector space VV containing the velocity 𝐮\mathbf{u} can be defined as

V={𝐰:𝐰𝐯iS,i=1,2}.V=\{\mathbf{w}:\mathbf{w}\cdot\mathbf{v}_{i}\in S,i=1,2\}\text{.} (21)

We note that VV is independent of the particular choice of 𝐯i\mathbf{v}_{i} however two convenient choices are the contravariant and covariant basis vectors.

3.2 Covariant and contravariant base vectors

Here we provide a brief summary of the differential geometry tools we use in our discrete method. This summary closely follows (Taylor and Fournier, 2010) and these results can also be found in standard textbooks (Giraldo, 2020; Heinbockel, 2001). The covariant base vectors 𝐠1\mathbf{g}_{1} and 𝐠2\mathbf{g}_{2} are defined as

𝐠1=𝐱ξ,𝐠2=𝐱η,\mathbf{g}_{1}=\dfrac{\partial\mathbf{x}}{\partial\xi},\quad\mathbf{g}_{2}=\dfrac{\partial\mathbf{x}}{\partial\eta}\text{,} (22)

with these the determinant of the Jacobian of r(𝐱;n)r(\mathbf{x};n) can be expressed as

J=|𝐠1×𝐠2|.J=|\mathbf{g}_{1}\times\mathbf{g}_{2}|\text{.} (23)

Further, we assume that the map r(𝐱;q)r(\mathbf{x};q) is invertible and the Jacobian is strictly positive J>0J>0.

The contravariant base vectors are defined as

𝐠1=ξ,𝐠2=η\mathbf{g}^{1}=\nabla\xi,\quad{\mathbf{g}^{2}}=\nabla\eta\text{} (24)

to fulfill the property

𝐠α𝐠β=δ,βα\mathbf{g}^{\alpha}\cdot\mathbf{g}_{\beta}=\delta{{}^{\alpha}_{\beta}}\text{,} (25)

enabling vectors to be expressed as

𝐰=α=1,2wα𝐠α=α=1,2wα𝐠α,\mathbf{w}=\sum_{\alpha=1,2}{w^{\alpha}\mathbf{g}_{\alpha}}=\sum_{\alpha=1,2}{w_{\alpha}\mathbf{g}^{\alpha}}\text{,} (26)

where wα=𝐰𝐠αw^{\alpha}=\mathbf{w}\cdot\mathbf{g}^{\alpha}, wβ=𝐰𝐠βw_{\beta}=\mathbf{w}\cdot\mathbf{g}_{\beta}.

For flows such that 𝐰𝐤=0\mathbf{w}\cdot\mathbf{k}=0 this enables the divergence, gradient, and curl to be expressed as

𝐰=1J(Jw1ξ+Jw2η),\nabla\cdot\mathbf{w}=\dfrac{1}{J}\bigg{(}\dfrac{\partial Jw^{1}}{\partial\xi}+\dfrac{\partial Jw^{2}}{\partial\eta}\bigg{)}\text{,} (27)
ϕ=ϕξ𝐠1+ϕη𝐠2,\nabla\phi=\dfrac{\partial\phi}{\partial\xi}\mathbf{g}^{1}+\dfrac{\partial\phi}{\partial\eta}\mathbf{g}^{2}\text{,} (28)
×𝐰=1J(w2ηw1ξ)𝐤,\nabla\crossproduct\mathbf{w}=\dfrac{1}{J}\bigg{(}\dfrac{\partial w_{2}}{\partial\eta}-\dfrac{\partial w_{1}}{\partial\xi}\bigg{)}\mathbf{k}\text{,} (29)
×ϕ𝐤=1Jϕη𝐠11Jϕξ𝐠2,\nabla\crossproduct\phi\mathbf{k}=\dfrac{1}{J}\dfrac{\partial\phi}{\partial\eta}\mathbf{g}_{1}-\dfrac{1}{J}\dfrac{\partial\phi}{\partial\xi}\mathbf{g}_{2}\text{,} (30)

where we have only used ×\nabla\crossproduct on quantities either parallel or orthogonal to 𝐤\mathbf{k} to simplify the exposition.

3.3 Discrete inner product and boundary integrals

We approximate integrals over the elements by using GLL quadrature. This defines a discrete element inner product

f,gΩq:=i,j=1m+1wiwjJijfijgij,\langle f,g\rangle_{\Omega^{q}}:=\sum_{i,j=1}^{m+1}{w_{i}w_{j}J_{ij}f_{ij}g_{ij}}\text{,} (31)

which approximates the integral

Ωqfg𝑑Ωqf,gΩq.\int_{\Omega^{q}}{fgd\Omega^{q}}\approx\langle f,g\rangle_{\Omega^{q}}\text{.} (32)

The discrete global inner product is defined simply as f,gΩ=qf,gΩq\langle f,g\rangle_{\Omega}=\sum_{q}{\langle f,g\rangle_{\Omega^{q}}}. Similarly for vectors

𝐟,𝐠Ωq:=i,j=1m+1wiwjJij𝐟ij𝐠ij.\langle\mathbf{f},\mathbf{g}\rangle_{\Omega^{q}}:=\sum_{i,j=1}^{m+1}{w_{i}w_{j}J_{ij}\mathbf{f}_{ij}\cdot\mathbf{g}_{ij}}\text{.} (33)

We also approximate element boundary integrals using GLL quadrature

Ωq𝐟𝐧𝑑l𝐟,𝐧Ωq,\int_{\partial\Omega^{q}}{\mathbf{f}\cdot\mathbf{n}dl}\approx\langle\mathbf{f},\mathbf{n}\rangle_{\partial\Omega^{q}}\text{,} (34)

where

𝐟,𝐧Ωq:=jwj(|g1|1j𝐟1j𝐧1j+|g1|(m+1)j𝐟(m+1)j𝐧(m+1)j+|g2|j1𝐟j1𝐧j1+|g2|j(m+1)𝐟j(m+1)𝐧j(m+1)),\begin{split}\langle\mathbf{f},\mathbf{n}\rangle_{\Omega^{q}}:=\sum_{j}{w_{j}\big{(}|g_{1}|_{1j}\mathbf{f}_{1j}\cdot\mathbf{n}_{1j}+|g_{1}|_{(m+1)j}\mathbf{f}_{(m+1)j}\cdot\mathbf{n}_{(m+1)j}}\\ {+|g_{2}|_{j1}\mathbf{f}_{j1}\cdot\mathbf{n}_{j1}+|g_{2}|_{j(m+1)}\mathbf{f}_{j(m+1)}\cdot\mathbf{n}_{j(m+1)}\big{)}}\text{,}\end{split} (35)

and 𝐧\mathbf{n} is the outward facing unit normal of the element boundary Ωq\partial\Omega^{q} given by

𝐧={ξ𝐠1|𝐠1|,forξ=1,1η𝐠2|𝐠2|,forη=1,1.\mathbf{n}=\begin{cases}\xi\dfrac{\mathbf{g}^{1}}{|\mathbf{g}^{1}|},\;\text{for}\;\xi=-1,1\\ \eta\dfrac{\mathbf{g}^{2}}{|\mathbf{g}^{2}|},\;\text{for}\;\eta=-1,1\text{.}\end{cases} (36)

The unit tangent vector 𝐭\mathbf{t} is similarly defined as

𝐭={ξ𝐠2|𝐠2|,forξ=1,1η𝐠1|𝐠1|,forη=1,1.\mathbf{t}=\begin{cases}\xi\dfrac{\mathbf{g}_{2}}{|\mathbf{g}_{2}|},\;\text{for}\;\xi=-1,1\\ -\eta\dfrac{\mathbf{g}_{1}}{|\mathbf{g}_{1}|},\;\text{for}\;\eta=-1,1\end{cases}\text{.} (37)

With the discrete inner products defined we now construct discrete L2L^{2} projection operators ΠS()\Pi_{S}(\cdot) and ΠV()\Pi_{V}(\cdot) which preserve discrete L2L^{2} inner products in SS and VV respectively. For example ΠS()\Pi_{S}(\cdot) is defined as the unique projection that satisfies

γ,bΩ=γ,ΠS(b)Ω,γS,\langle\gamma,b\rangle_{\Omega}=\langle\gamma,\Pi_{S}(b)\rangle_{\Omega}\text{,}\;\forall\gamma\in S\text{,} (38)

for all functions bb. Π()V\Pi(\cdot)_{V} is defined similarly. In practice the discontinuous projection operators ΠS\Pi_{S} and ΠV\Pi_{V} simply interpolate functions within each element

ΠS(f)(𝐱)=ijfijqli(ξ)lj(η),𝐱Ωq,\Pi_{S}(f)(\mathbf{x})=\sum_{ij}{f_{ijq}l_{i}(\xi)l_{j}(\eta)},\forall\mathbf{x}\in\Omega^{q}\text{,} (39)
ΠV(𝐟)(𝐱)=ij𝐟ijqli(ξ)lj(η),𝐱Ωq,\Pi_{V}(\mathbf{f})(\mathbf{x})=\sum_{ij}{\mathbf{f}_{ijq}l_{i}(\xi)l_{j}(\eta)},\forall\mathbf{x}\in\Omega^{q}\text{,} (40)

where (ξ,η)=r(𝐱;q)(\xi,\eta)=r(\mathbf{x};q).

3.4 Discrete operators

Following (Taylor and Fournier, 2010) we construct discrete operators by discretising equations (27)–(30)

d𝐰=ΠS(1J(ξΠS(Jw1)+ηΠS(Jw2))).\nabla_{d}\cdot\mathbf{w}=\Pi_{S}\Bigg{(}\dfrac{1}{J}\bigg{(}\dfrac{\partial}{\partial\xi}\Pi_{S}(Jw^{1})+\dfrac{\partial}{\partial\eta}\Pi_{S}(Jw^{2})\bigg{)}\Bigg{)}\text{.} (41)
dϕ=ϕξ𝐠1+ϕη𝐠2,\nabla_{d}\phi=\dfrac{\partial\phi}{\partial\xi}\mathbf{g}^{1}+\dfrac{\partial\phi}{\partial\eta}\mathbf{g}^{2}\text{,} (42)
d×𝐰=ΠS(1J(w2ξw1η))𝐤,\nabla_{d}\crossproduct\mathbf{w}=\Pi_{S}\Bigg{(}\dfrac{1}{J}\bigg{(}\dfrac{\partial w_{2}}{\partial\xi}-\dfrac{\partial w_{1}}{\partial\eta}\bigg{)}\Bigg{)}\mathbf{k}\text{,} (43)
d×ϕ𝐤=ΠV(1J(ϕη𝐠1ϕξ𝐠2)),\nabla_{d}\crossproduct\phi\mathbf{k}=\Pi_{V}\Bigg{(}\dfrac{1}{J}\bigg{(}\dfrac{\partial\phi}{\partial\eta}\mathbf{g}_{1}-\dfrac{\partial\phi}{\partial\xi}\mathbf{g}_{2}\bigg{)}\Bigg{)}\text{,} (44)

3.5 Properties of function spaces

Here we present the properties of the function spaces and discrete operators necessary for the numerical stability and discrete conservation proofs performed later in this paper.

3.5.1 Element local summation by parts

The discrete gradient and divergence operators satisfy an element local summation by parts (SBP) property (Taylor and Fournier, 2010)

dϕ,𝐰Ωq+ϕ,d𝐰Ωq=ϕ𝐰,𝐧Ωq,ϕS,𝐰V.\langle\nabla_{d}\phi,\mathbf{w}\rangle_{\Omega^{q}}+\langle\phi,\nabla_{d}\cdot\mathbf{w}\rangle_{\Omega^{q}}=\langle\phi\mathbf{w},\mathbf{n}\rangle_{\partial\Omega^{q}}\text{,}\;\forall\phi\in S\text{,}\;\mathbf{w}\in V\text{.} (45)

This allows us to transform between the weak and strong form of our DG prognostic equations which we use in several proofs.

3.5.2 Divergence curl cancellation

The discrete curl operator satisfies a discrete gradcurlgrad-curl cancellation

dd×ϕ𝐤=0,ϕS,\nabla_{d}\cdot\nabla_{d}\crossproduct\phi\mathbf{k}=0,\forall\phi\in S\text{,} (46)

which we use for absolute vorticity conservation.

3.5.3 Continuity of interpolants

For tensor product bases with boundary interpolation points, the element local interpolation of continuous functions ψh=ΠS(ψ)\psi^{h}=\Pi_{S}(\psi) are continuous across element boundaries. To see this consider two elements q1q_{1} and q2q_{2} that share a boundary at ξ=1\xi=1 and ξ=1\xi=-1 respectively. The value of the interpolant ψh\psi^{h} in element q1q_{1} at the shared boundary is

ψh(1,η;q1)=i,j=1m+1ψijq1li(1)lj(η)=j=1m+1ψ(m+1)jq1lj(η),\psi^{h}(1,\eta;q_{1})=\sum_{i,j=1}^{m+1}{\psi_{ijq_{1}}l_{i}(1)l_{j}(\eta)}=\sum_{j=1}^{m+1}{\psi_{(m+1)jq_{1}}l_{j}(\eta)}\text{,} (47)

and in element q2q_{2} at that same boundary

ψh(1,η;q2)=i,j=1m+1ψijq2li(1)lj(η)=j=1m+1ψ1jq2lj(η).\psi^{h}(-1,\eta;q_{2})=\sum_{i,j=1}^{m+1}{\psi_{ijq_{2}}l_{i}(-1)l_{j}(\eta)}=\sum_{j=1}^{m+1}{\psi_{1jq_{2}}l_{j}(\eta)}\text{.} (48)

The mappings r(;q)r(\cdot;q) agree along element boundaries, therefore r1(1,η;q1)=r1(1,η;q2)r^{-1}(1,\eta;q_{1})=r^{-1}(-1,\eta;q_{2}) and

ψ(m+1)jk1=ψ(r1(1,ηj;q1))=ψ(r1(1,ηj;q2))=ψ1jk2,\psi_{(m+1)jk_{1}}=\psi\big{(}r^{-1}(1,\eta_{j};q_{1})\big{)}=\psi\big{(}r^{-1}(-1,\eta_{j};q_{2})\big{)}=\psi_{1jk_{2}}\text{,} (49)

implying that ψh\psi^{h} is continuous across element boundaries.

3.5.4 Curl gradient identity

We also note that

d×ϕ𝐤=ΠV(𝐤×dϕ),ϕS,\nabla_{d}\crossproduct\phi\mathbf{k}=-{\Pi_{V}\big{(}}\mathbf{k}\crossproduct\nabla_{d}\phi{\big{)}},\;\forall\phi\in S\text{,} (50)

which we use in our discrete linear geostrophic balance proof.

3.5.5 Element boundary summation by parts

The final property we use is an element boundary SBP

ϕdγ+γdϕ,𝐭Ωq=0,γ,ϕS.\langle\phi\nabla_{d}\gamma+\gamma\nabla_{d}\phi,\mathbf{t}\rangle_{\partial\Omega^{q}}=0\text{,}\;\forall\gamma,\phi\in S\text{.} (51)

This arises from a 1D SBP property for integrals along each side of the quadrilateral. Consider the ξ=1\xi=1 boundary, |𝐠𝟐|dϕ𝐭=ϕη|\mathbf{g_{2}}|\nabla_{d}\phi\cdot\mathbf{t}=\dfrac{\partial\phi}{\partial\eta} and therefore by the exact integration of 2m12m-1 polynomials with GLL quadrature

ϕdγ+γdϕ,𝐭Ωq=ξ=1,1η=1η=1ϕγη+γϕηdη+η=1,1ξ=1ξ=1ϕγη+γϕηdξ=0.\begin{split}\langle\phi\nabla_{d}\gamma+\gamma\nabla_{d}\phi,\mathbf{t}\rangle_{\partial\Omega^{q}}=\sum_{\xi=-1,1}\int_{\eta=-1}^{\eta=1}{\phi\dfrac{\partial\gamma}{\partial\eta}+\gamma\dfrac{\partial\phi}{\partial\eta}d\eta}\\ +\sum_{\eta=-1,1}\int_{\xi=-1}^{\xi=1}{\phi\dfrac{\partial\gamma}{\partial\eta}+\gamma\dfrac{\partial\phi}{\partial\eta}d\xi}=0\text{.}\end{split} (52)

3.6 The semi-discrete formulation

First we introduce notation for jumps [[]][[\cdot]] and averages {{}}\{\{\cdot\}\} across element boundaries as

{{a}}=12(a++a),\{\{a\}\}=\tfrac{1}{2}\big{(}a^{+}+a^{-}\big{)}\text{,} (53)
[[a]]=a+a,[[a]]=a^{+}-a^{-}\text{,} (54)

where +\cdot^{+} and \cdot^{-} denote points on opposites sides of the boundary element boundary, and aa can be either a scalar or vector. We now define our spatial discretisation as

𝐰h,𝐮thΩq+𝐰h,ωh𝐤×𝐮hΩq+𝐰h,dGhΩq+𝐰h,(G^G)𝐧Ωq=0,𝐰hV,\begin{split}\langle\mathbf{w}^{h},\mathbf{u}_{t}^{h}\rangle_{\Omega^{q}}+\langle\mathbf{w}^{h},\omega^{h}\mathbf{k}\crossproduct\mathbf{u}^{h}\rangle_{\Omega^{q}}+\langle\mathbf{w}^{h},\nabla_{d}G^{h}\rangle_{\Omega^{q}}\\ +\langle\mathbf{w}^{h},(\hat{G}-G)\mathbf{n}\rangle_{\partial\Omega^{q}}=0\text{,}\;\forall\mathbf{w}^{h}\in V\text{,}\end{split} (55)
ϕh,DthΩq+ϕh,d𝐅hΩq+ϕh,(𝐅^𝐅h)𝐧Ωq=0,ϕhS,\langle\phi^{h},D_{t}^{h}\rangle_{\Omega^{q}}+\langle\phi^{h},\nabla_{d}\cdot\mathbf{F}^{h}\rangle_{\Omega^{q}}+\langle\phi^{h},\big{(}\hat{\mathbf{F}}-\mathbf{F}^{h}\big{)}\cdot\mathbf{n}\rangle_{\partial\Omega^{q}}=0\text{,}\;\forall\phi^{h}\in S\text{,} (56)

where the numerical fluxes are defined for the scalars α,β0\alpha,\beta\geq 0 as

G^={{G}}+α[[𝐅h]]𝐧+.\hat{G}=\{\{G\}\}+\alpha[[\mathbf{F}^{h}]]\cdot{\mathbf{n}^{+}}\text{.} (57)
𝐅^𝐧+={{𝐅h}}𝐧++β[[Gh]],\hat{\mathbf{F}}\cdot\mathbf{n}^{+}=\{\{\mathbf{F}^{h}\}\}\cdot\mathbf{n}^{+}+\beta[[G^{h}]]\text{,} (58)

and the discrete absolute vorticity is

ϕh,ωhΩq=d×ϕh𝐤,𝐮hΩq+ϕh,fΩq+ϕh,{{𝐮h}}𝐭ΩqϕhS,\langle\phi^{h},\omega^{h}\rangle_{\Omega^{q}}=\langle-\nabla_{d}\crossproduct\phi^{h}\mathbf{k},\mathbf{u}^{h}\rangle_{\Omega^{q}}+\langle\phi^{h},f\rangle_{\Omega^{q}}+\langle\phi^{h},\{\{\mathbf{u}^{h}\}\}\cdot\mathbf{t}\rangle_{\partial\Omega^{q}}\;\forall\phi^{h}\in S\text{,} (59)

where 𝐭\mathbf{t} is the unit tangent vector along element boundaries.

As will be shown below, our scheme is discretely entropy stable so long as α,β0\alpha,\beta\geq 0, and is locally semi-discretely energy/entropy conserving for α=β=0\alpha=\beta=0 and locally discretely energy/entropy dissipating for α,β>0\alpha,\beta>0. We use a centred mass flux β=0\beta=0 to ensure that potential energy is not dissipated, and either use centred fluxes α=0\alpha=0 or

α=12max(c+D+,cD),\alpha=\frac{1}{2}\max\left(\frac{c^{+}}{D^{+}},\frac{c^{-}}{D^{-}}\right)\text{,} (60)

where c±=|𝐮±|+gD±c^{\pm}=|\mathbf{u}^{\pm}|+\sqrt{gD^{\pm}} is the fastest wave speed on either side of the boundary. This ensures that G^\hat{G} has the correct units and reduces to a Rusanov flux (Rusanov, 1970) in the case of the linearised RSWE in section 2.5. We refer to the parameter choices α=β=0\alpha=\beta=0 and α=12max(c+D+,cD),β=0\alpha=\frac{1}{2}\max\left(\frac{c^{+}}{D^{+}},\frac{c^{-}}{D^{-}}\right),\;\beta=0 as the energy conserving and energy dissipating methods.

4 Semi-discrete conservation and numerical stability

In this section we prove some discrete conservation properties and establish the numerical stability of the numerical method (55)–(59). The main results of this paper are presented in this section, including conservation of mass, absolute vorticity, entropy and linear geostrophic balance at the discrete level, and numerical energy stability.

4.1 Conservation of mass

Element local conservation of total mass can be shown using the element local SBP property to transform the mass equation (2) into weak form

ϕh,DthΩqdϕh,𝐅hΩq+ϕ,𝐅^𝐧Ωq=0,ϕhS,\langle\phi^{h},D_{t}^{h}\rangle_{\Omega^{q}}-\langle\nabla_{d}\phi^{h},\mathbf{F}^{h}\rangle_{\Omega^{q}}+\langle\phi,\hat{\mathbf{F}}\cdot\mathbf{n}\rangle_{\partial\Omega^{q}}=0\text{,}\;\forall\phi^{h}\in S\text{,} (61)

and then choosing the test function ϕh=1\phi^{h}=1 to yield the rate of change of the total mass of element kk

1,DthΩq+1,𝐅^𝐧Ωq=0.\langle 1,D_{t}^{h}\rangle_{\Omega^{q}}+\langle 1,\hat{\mathbf{F}}\cdot\mathbf{n}\rangle_{\partial\Omega^{q}}=0\text{.} (62)

By construction the numerical fluxes are continuous across element boundaries and so the mass flowing through each point along the element boundary is equal and opposite to that of the adjacent element, therefore mass is locally conserved. Global conservation can be trivially obtained from local conservation in a periodic domain by noting that mass flux cancels for adjacent element and so q1,DthΩq=q1,𝐅^𝐧Ωq=0\sum_{q}{\langle 1,D_{t}^{h}\rangle_{\Omega^{q}}}=-\sum_{q}{\langle 1,\hat{\mathbf{F}}\cdot\mathbf{n}\rangle_{\partial\Omega^{q}}}=0.

4.2 Conservation of absolute vorticity

We show that the potential flux GG does not spuriously force the absolute vorticity, and that the absolute vorticity is also locally conserved. This is a direct consequence of our choice of the numerical flux G^\hat{G} defined in (57), numerical approximation of the absolute vorticity ωh\omega^{h} giving in (59), and the element boundary SBP property discussed in subsection 3.5.5.

The evolution of discrete absolute vorticity follows from taking the time derivative of ωh\omega^{h} in (59), giving

ϕh,ωthΩq=d×ϕh𝐤,𝐮thΩq+ϕh,{{𝐮th}}𝐭Ωq,ϕhS.\langle\phi^{h},\omega^{h}_{t}\rangle_{\Omega^{q}}=-\langle\nabla_{d}\crossproduct\phi^{h}\mathbf{k},\mathbf{u}^{h}_{t}\rangle_{\Omega^{q}}+\langle\phi^{h},\{\{\mathbf{u}^{h}_{t}\}\}\cdot\mathbf{t}\rangle_{\partial\Omega^{q}}\text{,}\;\forall\phi^{h}\in S\text{.} (63)

First we expand the volume term by using the weak form of the velocity equation (55) and the curl gradient identity (50), that is 𝐧d×ϕh𝐤=dϕh𝐭\mathbf{n}\cdot\nabla_{d}\crossproduct\phi^{h}\mathbf{k}=\nabla_{d}\phi^{h}\cdot\mathbf{t}, and dd×ϕh𝐤=0\nabla_{d}\cdot\nabla_{d}\crossproduct\phi^{h}\mathbf{k}=0 yielding

d×ϕh𝐤,𝐮thΩq=dϕh,ωh𝐮hΩqG^ϕh,𝐭Ωq,ϕhS.\langle\nabla_{d}\crossproduct\phi^{h}\mathbf{k},\mathbf{u}^{h}_{t}\rangle_{\Omega^{q}}=\langle\nabla_{d}\phi^{h},\omega^{h}\mathbf{u}^{h}\rangle_{\Omega^{q}}-\langle\hat{G}\nabla\phi^{h},\mathbf{t}\rangle_{\partial\Omega^{q}}\text{,}\;\forall\phi^{h}\in S\text{.} (64)

Next we evaluate the boundary term, as this is a GLL collocated method

li(ξ)lj(η)𝐭ij,𝐮thΩq=wiwj(𝐮ijh)t𝐭ij,\langle l_{i}(\xi)l_{j}(\eta)\mathbf{t}_{ij},\mathbf{u}^{h}_{t}\rangle_{\Omega^{q}}=w_{i}w_{j}(\mathbf{u}^{h}_{ij})_{t}\cdot\mathbf{t}_{ij}\text{,} (65)

substituting the test function li(ξ)lj(η)𝐭ijl_{i}(\xi)l_{j}(\eta)\mathbf{t}_{ij} into (55) yields

li(ξ)lj(η)𝐭ij,𝐮thΩq=wiwjωh𝐤×𝐮h𝐭wiwjdG𝐭\langle l_{i}(\xi)l_{j}(\eta)\mathbf{t}_{ij},\mathbf{u}^{h}_{t}\rangle_{\Omega^{q}}=-w_{i}w_{j}\omega^{h}\mathbf{k}\crossproduct\mathbf{u}^{h}\cdot\mathbf{t}-w_{i}w_{j}\nabla_{d}G\cdot\mathbf{t}\text{} (66)
=wiwjωh𝐮h𝐧wiwjdG𝐭,=-w_{i}w_{j}\omega^{h}\mathbf{u}^{h}\cdot\mathbf{n}-w_{i}w_{j}\nabla_{d}G\cdot\mathbf{t}\text{,} (67)

and therefore

{{𝐮t}}𝐭={{ωh𝐮h}}𝐧d{{G}}𝐭.\{\{\mathbf{u}_{t}\}\}\cdot\mathbf{t}=-\{\{\omega^{h}\mathbf{u}^{h}\}\}\cdot\mathbf{n}-\nabla_{d}\{\{G\}\}\cdot\mathbf{t}\text{.} (68)

With these the absolute vorticity evolution becomes

ϕh,ωthΩq=dϕh,ωh𝐮hΩqG^ϕh+ϕh{{dG}},𝐭Ωqϕh{{ωh𝐮h}},𝐧Ωq=dϕh,ωh𝐮hΩq{{G}}ϕh+ϕh{{dG}},𝐭Ωqϕh{{ωh𝐮h}},𝐧Ωqϕh𝐭,α[[𝐅]]𝐧+Ωq,\begin{split}\langle\phi^{h},\omega^{h}_{t}\rangle_{\Omega^{q}}&=\langle\nabla_{d}\phi^{h},\omega^{h}\mathbf{u}^{h}\rangle_{\Omega^{q}}-\langle\hat{G}\nabla\phi^{h}+\phi^{h}\{\{\nabla_{d}G\}\},\mathbf{t}\rangle_{\partial\Omega^{q}}\\ &-\langle\phi^{h}\{\{\omega^{h}\mathbf{u}^{h}\}\},\mathbf{n}\rangle_{\partial\Omega^{q}}\\ &=\langle\nabla_{d}\phi^{h},\omega^{h}\mathbf{u}^{h}\rangle_{\Omega^{q}}-\langle\{\{G\}\}\nabla\phi^{h}+\phi^{h}\{\{\nabla_{d}G\}\},\mathbf{t}\rangle_{\partial\Omega^{q}}\\ &-\langle\phi^{h}\{\{\omega^{h}\mathbf{u}^{h}\}\},\mathbf{n}\rangle_{\partial\Omega^{q}}-\langle\nabla\phi^{h}\cdot\mathbf{t},\alpha[[\mathbf{F}]]\cdot\mathbf{n}^{+}\rangle_{\partial\Omega^{q}}\text{,}\end{split} (69)

where we have used the definition of G^\hat{G}. Using the tangent boundary SBP property in section 3.5.5 this becomes

ϕh,ωthΩqdϕh,ωh𝐮hΩq+ϕh{{ωh𝐮h}},𝐧Ωq+ϕh𝐭,α[[𝐅]]𝐧+Ωq=0,ϕhS,\begin{split}\langle\phi^{h},\omega^{h}_{t}\rangle_{\Omega^{q}}-\langle\nabla_{d}\phi^{h},\omega^{h}\mathbf{u}^{h}\rangle_{\Omega^{q}}+\langle\phi^{h}\{\{\omega^{h}\mathbf{u}^{h}\}\},\mathbf{n}\rangle_{\partial\Omega^{q}}\\ +\langle\nabla\phi^{h}\cdot\mathbf{t},\alpha[[\mathbf{F}]]\cdot\mathbf{n}^{+}\rangle_{\partial\Omega^{q}}=0\text{,}\forall\phi^{h}\in S\text{,}\end{split} (70)

demonstrating that the potential GG does not spuriously force the discrete absolute vorticity.

To show local absolute vorticity conservation we choose ϕ=1\phi=1 to yield

1,ωthΩq={{ωh𝐮h}},𝐧Ωq.\langle 1,\omega^{h}_{t}\rangle_{\Omega^{q}}={-}\langle\{\{\omega^{h}\mathbf{u}^{h}\}\},\mathbf{n}\rangle_{\partial\Omega^{q}}\text{.} (71)

By construction {{ωh𝐮h}}\{\{\omega^{h}\mathbf{u}^{h}\}\} is continuous across element boundaries and therefore absolute vorticity is locally conserved. Global conservation in a periodic domain follows from cancellation of {{ωh𝐮h}}𝐧\{\{\omega^{h}\mathbf{u}^{h}\}\}\cdot\mathbf{n} across element boundaries.

4.3 Energy conservation and stability

Here we show that, for centred flux with α=β=0\alpha=\beta=0, the semi-discrete energy is conserved and for α,β>0\alpha,\beta>0 the semi-discrete energy is dissipated. We will obtain fully discrete energy stability by using a strong stability preserving time integrator (Shu and Osher, 1988).

Consider the element Ωq{\Omega^{q}}, we define the discrete energy q\mathcal{E}^{q} within the element as

q=12Dh𝐮h,𝐮hΩq+12gDh,DhΩq,\mathcal{E}^{q}=\tfrac{1}{2}\langle D^{h}\mathbf{u}^{h},\mathbf{u}^{h}\rangle_{\Omega^{q}}+\tfrac{1}{2}\langle gD^{h},D^{h}\rangle_{\Omega^{q}}\text{,} (72)

with the total energy given by the sum over all elements =qq\mathcal{E}=\sum_{q}\mathcal{E}^{q}. Following the continuous form of the energy conservation analysis in section 2.2 the semi-discrete time evolution of q\mathcal{E}^{q} is given by

tq=Dh𝐮h,𝐮thΩq+12𝐮h𝐮h,DthΩq+gDh,DthΩq=𝐅h,𝐮thΩq+Gh,DthΩq.\begin{split}\mathcal{E}^{q}_{t}&=\langle D^{h}\mathbf{u}^{h},\mathbf{u}^{h}_{t}\rangle_{\Omega^{q}}+\langle\tfrac{1}{2}\mathbf{u}^{h}\cdot\mathbf{u}^{h},D^{h}_{t}\rangle_{\Omega^{q}}+\langle gD^{h},D^{h}_{t}\rangle_{\Omega^{q}}\\ &=\langle\mathbf{F}^{h},\mathbf{u}^{h}_{t}\rangle_{\Omega^{q}}+\langle G^{h},D^{h}_{t}\rangle_{\Omega^{q}}.\end{split} (73)

Using the weak forms of the mass and velocity equations (55)–(56) gives

tq=𝐅h,dGhΩq+dGh,𝐅hΩqG^,𝐅h𝐧ΩqGh,(𝐅^h𝐅h)𝐧Ωq=G^,𝐅h𝐧ΩqGh,(𝐅^h𝐅h)𝐧Ωq\begin{split}\mathcal{E}^{q}_{t}&=-\langle\mathbf{F}^{h},\nabla_{d}G^{h}\rangle_{\Omega^{q}}+\langle\nabla_{d}G^{h},\mathbf{F}^{h}\rangle_{\Omega^{q}}-\langle\hat{G},\mathbf{F}^{h}\cdot\mathbf{n}\rangle_{\partial\Omega^{q}}\\ &-\langle G^{h},(\hat{\mathbf{F}}^{h}-\mathbf{F}^{h})\cdot\mathbf{n}\rangle_{\partial\Omega^{q}}\\ &=-\langle\hat{G},\mathbf{F}^{h}\cdot\mathbf{n}\rangle_{\partial\Omega^{q}}-\langle G^{h},(\hat{\mathbf{F}}^{h}-\mathbf{F}^{h})\cdot\mathbf{n}\rangle_{\partial\Omega^{q}}\end{split} (74)

where we have used the fact that 𝐅h𝐤×𝐮h=0\mathbf{F}^{h}\cdot\mathbf{k}\crossproduct\mathbf{u}^{h}=0. Note that 𝐅h𝐤×𝐮h=Dh𝐮h𝐤×𝐮h=0\mathbf{F}^{h}\cdot\mathbf{k}\crossproduct\mathbf{u}^{h}=D^{h}\mathbf{u}^{h}\cdot\mathbf{k}\crossproduct\mathbf{u}^{h}=0 only holds for the special case of diagonal mass matrices (Giraldo, 2020).

To prove energy stability, that is t=qtq0\mathcal{E}_{t}=\sum_{q}\mathcal{E}^{q}_{t}\leq 0, it suffices to show that the jump of the numerical energy flux across element boundaries is negative semi-definite, that is

[[𝐅hG^+Gh(𝐅^h𝐅h)]]𝐧+0,-\Big{[}\Big{[}\mathbf{F}^{h}\hat{G}+G^{h}\big{(}\hat{\mathbf{F}}^{h}-\mathbf{F}^{h}\big{)}\Big{]}\Big{]}\cdot\mathbf{n}^{+}\leq 0, (75)

for all points on the element interface. Using the expansion [[ab]]={{a}}[[b]]+[[a]]{{b}}[[ab]]=\{\{a\}\}[[b]]+[[a]]\{\{b\}\} the energy jump condition becomes

[[𝐅hG^+Gh(𝐅^h𝐅h)]]𝐧+=({{Gh}}G^)[[𝐅h]]𝐧++[[Gh]]({{𝐅h}}𝐅^)𝐧+0.\begin{split}-\Big{[}\Big{[}\mathbf{F}^{h}\hat{G}&+G^{h}\big{(}\hat{\mathbf{F}}^{h}-\mathbf{F}^{h}\big{)}\Big{]}\Big{]}\cdot\mathbf{n}^{+}=\\ &\big{(}\{\{G^{h}\}\}-\hat{G}\big{)}[[\mathbf{F}^{h}]]\cdot\mathbf{n}^{+}+[[G^{h}]]\big{(}\{\{\mathbf{F}^{h}\}\}-\hat{\mathbf{F}}\big{)}\cdot\mathbf{n}^{+}\leq 0\text{.}\end{split} (76)

For centred fluxes with α=0\alpha=0, β=0\beta=0, we have G^={{Gh}}\hat{G}=\{\{G^{h}\}\} and 𝐅^={{𝐅}}\hat{\mathbf{F}}=\{\{\mathbf{F}\}\} the jump is 0 and therefore the energy is conserved,

[[𝐅hG^+Gh(𝐅^h𝐅h)]]𝐧+=0t=0.-\Big{[}\Big{[}\mathbf{F}^{h}\hat{G}+G^{h}\big{(}\hat{\mathbf{F}}^{h}-\mathbf{F}^{h}\big{)}\Big{]}\Big{]}\cdot\mathbf{n}^{+}=0\implies\mathcal{E}_{t}=0.

When α0\alpha\geq 0, β0\beta\geq 0, we have G^={{Gh}}+α[[𝐅h]]𝐧+\hat{G}=\{\{G^{h}\}\}+\alpha[[\mathbf{F}^{h}]]\cdot\mathbf{n}^{+}, 𝐅^𝐧+={{𝐅h}}𝐧++β[[Gh]]\hat{\mathbf{F}}\cdot\mathbf{n}^{+}=\{\{\mathbf{F}^{h}\}\}\cdot\mathbf{n}^{+}+\beta[[G^{h}]] with

[[𝐅hG^+Gh(𝐅^h𝐅h)]]𝐧+=α([[𝐅h]]𝐧+)2β[[Gh]]20.-\Big{[}\Big{[}\mathbf{F}^{h}\hat{G}+G^{h}\big{(}\hat{\mathbf{F}}^{h}-\mathbf{F}^{h}\big{)}\Big{]}\Big{]}\cdot\mathbf{n}^{+}=-\alpha\big{(}[[\mathbf{F}^{h}]]\cdot\mathbf{n}^{+}\big{)}^{2}-\beta[[G^{h}]]^{2}\leq 0\text{.} (77)

The energy/entropy is dissipated t0\mathcal{E}_{t}\leq 0.

4.4 Discrete steady linear modes

For the linearised RSWE with constant ff detailed in section 2.3 we can preserve geostrophic balance by ensuring that the projection of any continuous stream function ψ\psi into the discrete space SS is in SH1(Ω)S\cap H^{1}(\Omega), and that the resulting initial conditions satisfy DhSH1(Ω)D^{h}\in S\cap H^{1}(\Omega) and 𝐮hVH(div)(Ω)\mathbf{u}^{h}\in V\cap H(div)(\Omega) and remain in these subspsaces for the discrete linear system. For the linearised RSWE our method becomes

𝐰h,𝐮thΩq+𝐰h,f𝐤×𝐮h+gDh+g(D^Dh)𝐰,𝐧Ωq=0,\langle\mathbf{w}^{h},\mathbf{u}^{h}_{t}\rangle_{\Omega^{q}}+\langle\mathbf{w}^{h},f\mathbf{k}\times\mathbf{u}^{h}+g\nabla D^{h}\rangle+\langle g(\hat{D}-D^{h})\mathbf{w},\mathbf{n}\rangle_{\partial\Omega^{q}}=0\text{,} (78)
ϕh,DthΩq+ϕh,H𝐮hΩq+H(𝐮^𝐮h),𝐧Ωq=0.\langle\phi^{h},D^{h}_{t}\rangle_{\Omega^{q}}+\langle\phi^{h},H\nabla\cdot\mathbf{u}^{h}\rangle_{\Omega^{q}}+\langle H(\hat{\mathbf{u}}-\mathbf{u}^{h}),\mathbf{n}\rangle_{\partial\Omega^{q}}=0\text{.} (79)

Analogous to the continuous case for any continuous stream function ψ\psi the discrete initial condition Dh=fgψhD^{h}=-\tfrac{f}{g}\psi^{h}, 𝐮h=d×ψh𝐤\mathbf{u}^{h}=\nabla_{d}\crossproduct\psi^{h}\mathbf{k} where ψh=ΠS(ψ)\psi^{h}=\Pi_{S}(\psi) is an exact discrete steady state. To prove this we show that for these particular initial conditions both the interior and boundary terms vanish.

To see that the interior terms vanish we apply the div-curl cancellation property yielding

d𝐮h=dd×ψh𝐤=0,\nabla_{d}\cdot\mathbf{u}^{h}=\nabla_{d}\cdot\nabla_{d}\crossproduct\psi^{h}\mathbf{k}=0\text{,} (80)

and by construction

𝐰h,f𝐤×𝐮h+gdDhΩq=𝐰h,f𝐤×d×ψh𝐤fdψhΩq=𝐰h,fdψhfdψhΩq=0.\begin{split}\langle\mathbf{w}^{h},f\mathbf{k}\crossproduct\mathbf{u}^{h}+g\nabla_{d}D^{h}\rangle_{\Omega^{q}}&=\langle\mathbf{w}^{h},f\mathbf{k}\crossproduct\nabla_{d}\crossproduct\psi^{h}\mathbf{k}-f\nabla_{d}\psi^{h}\rangle_{\Omega^{q}}\\ &=\langle\mathbf{w}^{h},f\nabla_{d}\psi^{h}-f\nabla_{d}\psi^{h}\rangle_{\Omega^{q}}=0\text{.}\end{split} (81)

To show that the boundary terms are 0 we use the continuity property described in section 3.5.3 to show that DhD^{h} and the normal components of 𝐮h\mathbf{u}^{h} are continuous across element boundaries, and therefore D^Dh=0\hat{D}-D^{h}=0 and (𝐮^𝐮h)𝐧=0(\hat{\mathbf{u}}-\mathbf{u}^{h})\cdot\mathbf{n}=0. To see that DhD^{h} is continuous across element boundaries note that continuity of ψ\psi implies continuity of ψh=ΠS(ψ)\psi^{h}=\Pi_{S}(\psi), and therefore

D=fgψh=fgΠS(ψ)SH1(Ω).D=-\dfrac{f}{g}\psi^{h}=-\dfrac{f}{g}\Pi_{S}(\psi)\in S\cap H^{1}(\Omega)\text{.} (82)

is continuous as well. Next we show that 𝐮\mathbf{u} is continuous in the normal direction. As ψh\psi^{h} is continuous it’s derivative in the tangent direction (dψh)𝐭\big{(}\nabla^{d}\psi^{h}\big{)}\cdot\mathbf{t} is also continuous across element boundaries. The initial flow is given by

𝐮=d×ψh𝐤=𝐤×dψh,\mathbf{u}=\nabla_{d}\crossproduct\psi^{h}\mathbf{k}=\mathbf{k}\crossproduct\nabla_{d}\psi^{h}\text{,} (83)

the flow in the normal direction is then

𝐮𝐧=𝐤×dψh𝐧=dψh(𝐧×𝐤)=dψh𝐭,\mathbf{u}\cdot\mathbf{n}=\mathbf{k}\crossproduct\nabla_{d}\psi^{h}\cdot\mathbf{n}=\nabla_{d}\psi^{h}\cdot(\mathbf{n}\crossproduct\mathbf{k})=-\nabla_{d}\psi^{h}\cdot\mathbf{t}\text{,} (84)

and is therefore continuous across element boundaries. Therefore both the interior and element boundary terms are zero, and hence for any geostrophic mode there is a corresponding discrete solution which is exactly steady and will be preserved up to machine precision. We note that this result is dependent on the use of a collocated tensor product basis.

5 Numerical results

In this section we present the results of numerical experiments which verify our theoretical analysis. For all experiments we use an equi-angular cubed sphere mesh (Rančić et al., 1996), a strong stability preserving RK3 time integrator (Shu and Osher, 1988), and polynomials of degree 3. Except where otherwise specified, we use an adaptive time step with a fixed CFL of 0.8, with the CFL defined as CFL:=c(2p+1)ΔtΔx\text{CFL}:=\frac{c(2p+1)\Delta t}{\Delta x} where pp is the polynomial order, cc is the fastest wave speed, Δx\Delta x is the element spacing, and Δt\Delta t is the time step size.

5.1 Discrete steady states

To verify that our scheme supports discrete steady modes we use the stream function ψ=0.1cos(λ)cos(θ)\psi=0.1\cos(\lambda)\cos(\theta), where λ\lambda and θ\theta are latitude and longitude respectively, with 6×5×56\times 5\times 5 elements, a spatially constant Coriolis parameter f=8f=8, H=0.2H=0.2, and g=8g=8. Following the analysis in section 3.10 we use the initial condition 𝐮h=×ΠS(ψ)𝐤\mathbf{u}^{h}=\nabla\crossproduct\Pi_{S}(\psi)\mathbf{k} and Dh=fgΠS(ψ)D^{h}=-\tfrac{f}{g}\Pi_{S}(\psi) and integrate forward in time. Figure 5 shows the time L2L^{2} difference from the initial conditions, demonstrating that the initial state is preserved up to machine precision.

Refer to caption
Figure 1: L2 difference from discrete initial conditions for the linear geostrophic balance test case.

5.2 Williamson test case 2

We apply both the energy conserving and energy dissipating methods to the steady state Williamson test case 2 with angle α=0\alpha=0 (Williamson et al., 1992). These initial conditions are

u=u0cos(θ),u=u_{0}\cos(\theta)\text{,} (85)
D=D01g(afu0+12u02)sin2(θ),D=D_{0}-\dfrac{1}{g}\big{(}afu_{0}+\tfrac{1}{2}u_{0}^{2}\big{)}\sin^{2}(\theta)\text{,} (86)

where θ\theta is latitude, uu is the zonal velocity, a=6.37122×106a=6.37122\times 10^{6} m is the planetary radius, g=9.80616 ms2g=9.80616\text{ ms}^{-2}, u0=38.61068 ms1u_{0}=38.61068\text{ ms}^{-1} is the maximum velocity, D0=1g2.94×104D_{0}=\tfrac{1}{g}2.94\times 10^{4} m is the maximum depth, and f=2×7.292×105sinθ s1f=2\times 7.292\times 10^{-5}\sin\theta\text{ s}^{-1}.

We use a resolution of 6×n26\times n^{2} elements for increasing n=[3,5,10,15,30]n=[3,5,10,15,30] and calculate the error at day 5. Figure 1 shows that both methods are converging monotonically at greater than 3rd order validating the consistency of our scheme. The energy conservative method is converging at approximately 3.4 order, while the dissipative method is converging at 3.8 order. This difference in convergence is most likely due to the energy dissipating method damping spurious high frequency waves. We note that our methods do not attain the optimal 4th order convergence rate reported for the CG-SEM method in (Taylor and Fournier, 2010), however we conjecture that this optimal 4th order convergence could be obtained by using similar entropy dissipative upwind fluxes to those in (Wintermeyer et al., 2017; Waruszewski et al., 2022; Winters et al., 2017).

Refer to caption
Figure 2: L2L^{2} error for the energy dissipating and energy conserving methods applied to Williamson test case 2 at day 5.

5.3 Williamson test case 5 - flow over an isolated mountain

Test case 5 (Williamson et al., 1992) adds a single isolated mountain to test case 2 and uses D0=5960 mD_{0}=5960\text{ m}, u0=20 ms1u_{0}=20\text{ ms}^{-1}, with all other parameters identical to test case 2. The bottom topography bb is given by

b={b0(1rR),for rR0,otherwiseb=\begin{cases}b_{0}(1-\frac{r}{R}),&\text{for }r\leq R\\ 0,&\text{o}therwise\end{cases} (87)

where r2=(θθc)2+λ2r^{2}=(\theta-\theta_{c})^{2}+\lambda^{2}, R=π9R=\frac{\pi}{9}, b0=2000 mb_{0}=2000\text{ m}, λ\lambda is longitude, and θc=π6\theta_{c}=\frac{\pi}{6}. We include the bottom topography in our scheme by adding the forcing term gdb-g\nabla_{d}b to the right hand side of (55). Figure 3 displays the depth field at day 15 which closely agrees with the reference solution (Jakob-Chien et al., 1995).

Refer to caption
Figure 3: Test case 5 depth field at day 15 for the dissipative method at a resolution of 6×32×326\times 32\times 32 elements. The contour interval is 50m.

5.4 Williamson test case 6 (Rossby–Haurwitz wave)

Test case 6 (Williamson et al., 1992) is a wavenumber 4 Rossby-Hauwitz wave which propogates west to east, without changing shape, with a group speed of cg=7.7697×107 ms1c_{g}=7.7697\times 10^{7}\text{ ms}^{-1} in the barotropic vorticity equations. This propogation is only approximate in the RSWE. We simulate this test case with the dissipative method at a resolution of 6×16×166\times 16\times 16 elements for 14 days and find that the numerical group velocity magnitude is 94% of cgc_{g}, in agreement with a previous numerical study (Lee and Palha, 2018). Figure 4 shows the depth field at day 14 which is consistent with other numerical results (Jakob-Chien et al., 1995; Taylor and Fournier, 2010; Lee and Palha, 2018).

Refer to caption
Figure 4: Test case 6 depth field at day 14 for the dissipative method at a resolution of 6×16×166\times 16\times 16 elements. The contour interval is 200m.

5.5 Galewsky test case

In order to validate the model in a more physically challenging turbulent regime we also simulate the Galewsky test case of a steady state zonal jet perturbed by a Gaussian hill in the depth field (Galewsky et al., 2004). The Gaussian hill induces gravity waves which excite a shear instability, causing the vorticity field to roll up into distinctive Kelvin-Helmholtz billows and the flow to become turbulent. The initial conditions are

u={u0enexp((θθ0)1(θθ1)1missing), for θ0<θ<θ10, otherwiseu=\begin{cases}\dfrac{u_{0}}{e_{n}}\exp\big((\theta-\theta_{0})^{-1}(\theta-\theta_{1})^{-1}\big{missing})\text{, for }\theta_{0}<\theta<\theta_{1}\\ 0\text{, otherwise}\end{cases} (88)
D=D0agπ2θu(θ)[f+tan(θ)au(θ)]𝑑θ,D=D_{0}-\dfrac{a}{g}\int_{-\tfrac{\pi}{2}}^{\theta}{u(\theta^{\prime})\bigg{[}f+\dfrac{\tan(\theta^{\prime})}{a}u(\theta^{\prime})\bigg{]}d\theta^{\prime}}\text{,} (89)

where uu is the zonal velocity, θ\theta is latitude, a=6.37122×106a=6.37122\times 10^{6} m is the sphere’s radius, D0=104D_{0}=10^{4} m is the maximum depth, u0=80 ms1u_{0}=80\text{ ms}^{-1} is the maximum velocity, en=exp(4(θ1θ0)2)e_{n}=\exp(-4(\theta_{1}-\theta_{0})^{-2}) is a normalisation constant, θ0=π7\theta_{0}=\tfrac{\pi}{7} and θ1=π2θ0\theta_{1}=\tfrac{\pi}{2}-\theta_{0}, f=2×7.292×105sinθ s1f=2\times 7.292\times 10^{-5}\sin\theta\text{ s}^{-1}, and g=9.80616 ms2g=9.80616\text{ ms}^{-2}.

5.5.1 Discrete energy conservation

To test the semi-discrete energy conservation of our energy conserving scheme we ran the Galewsky test case for 10 days at a low resolution of 6×5×56\times 5\times 5 elements for decreasing time steps Δt=[50s,40s,30s,20s,10s]\Delta t=[50s,40s,30s,20s,10s]. By day 10 the flow is turbulent, providing a challenging energy conservation test for our numerical scheme. Consistent with other energy conserving schemes (Taylor and Fournier, 2010; Lee and Palha, 2018; McRae and Cotter, 2014) and as expected for a 3rd order time integrator, figure 2 shows that the energy conservation error decreases monotonically at 3rd order, verifying that the energy conserving scheme is semi-discretely energy conserving.

Refer to caption
Figure 5: Energy conservation error for the centred flux scheme at low resolution for the Galewsky test case

5.5.2 High resolution simulation

To verify the accuracy and robustness of our method we ran the Galewsky test case for 20 days at a resolution of 6×64×646\times 64\times 64 elements. Figure 3 shows that both the energy conserving and dissipating methods are energy stable, conserve mass and absolute vorticity with conservation errors consistent with other conservative schemes (Taylor and Fournier, 2010; Lee et al., 2022; McRae and Cotter, 2014), and appear to reasonably control potential enstrophy. It is noteworthy that our energy conserving method, which contains no dissipation of any kind, runs stably for the 20 day period. However, potential enstrophy is steadily increasing and the simulation may eventually become unstable.

Figure 4 shows the relative vorticity at day 7 where the characteristic Kelvin-Helmholtz billows can be observed, and their position, size, and shape closely match those of a previous study (Lee et al., 2022). At day 7 some noise can be seen in the energy conserving solution, most likely due to spurious high frequency waves. This noise is typical for numerical methods without dissipation (Galewsky et al., 2004; Lee et al., 2022) but our entropy stable fluxes are able to damp these spurious numerical modes. To gain an indication as to whether the energy dissipating method is over damping we scale the final relative energy loss by the total energy in the Earth’s atmosphere to obtain an adjusted average energy dissipation rate of 0.01Wm20.01Wm^{-2}, an order of magnitude lower than the energy loss of the real atmosphere at the modelled length scales (Thuburn, 2008).

Refer to caption
Figure 6: Conservation errors for the Galewsky test case at high resolution.
Refer to caption
Refer to caption
Figure 7: Relative vorticity for the Galewsky test case at day 7 for the energy conserving (left), and energy dissipating methods (right).

6 Conclusion

In this paper we presented a DG-SEM for the rotating shallow water equations in vector invariant form that possess many of the conservation properties and exact discrete linear geostrophic balance of recent mixed finite element methods. This enables our method to have the computational efficiency of SEM (Patera, 1984) while having many of the mimetic properties of mixed finite element methods (McRae and Cotter, 2014).

We proved that on a general curvilinear grid our method locally conserves mass, absolute vorticity, and energy, does not spuriously project the potential onto absolute vorticity, and satisfies a discrete linear geostrophic balance. We then experimentally verified these properties and show that geostrophic turbulence can be well simulated with our entropy stable fluxes and no additional stabilisation.

While the issue of computational modes was not addressed, for the linear RSWE our method reduces to a DG method with Rusanov fluxes which is well known to have good dispersion properties (Rusanov, 1970). Future work will focus on analysing the numerical modes of our method, investigating alternative numerical fluxes, and extending this method to the thermal shallow water equations.

References

  • McRae and Cotter [2014] A.T.T. McRae and C.J. Cotter. Energy-and enstrophy-conserving schemes for the shallow-water equations, based on mimetic finite elements. Quarterly Journal of the Royal Meteorological Society, 140(684):2223–2234, 2014.
  • Lee et al. [2018] D. Lee, A. Palha, and M. Gerritsma. Discrete conservation properties for shallow water flows using mixed mimetic spectral elements. Journal of Computational Physics, 357:282–304, 2018.
  • Taylor and Fournier [2010] M.A. Taylor and A. Fournier. A compatible and conservative spectral element method on unstructured grids. Journal of Computational Physics, 229(17):5879–5895, 2010.
  • Gassner et al. [2016] G.J. Gassner, A.R. Winters, and D.A. Kopriva. A well balanced and entropy conservative discontinuous galerkin spectral element method for the shallow water equations. Applied Mathematics and Computation, 272:291–308, 2016.
  • Waruszewski et al. [2022] 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. Journal of Computational Physics, 468:111507, 2022.
  • Thuburn [2008] J. Thuburn. Some conservation issues for the dynamical cores of nwp and climate models. Journal of Computational Physics, 227(7):3715–3730, 2008.
  • Staniforth and Thuburn [2012] A. Staniforth and J. Thuburn. Horizontal grids for global weather and climate prediction models: a review. Quarterly Journal of the Royal Meteorological Society, 138(662):1–26, 2012.
  • Carpenter et al. [2014] 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. SIAM Journal on Scientific Computing, 36(5):B835–B867, 2014.
  • Cotter and Shipton [2012] C.J. Cotter and J. Shipton. Mixed finite elements for numerical weather prediction. Journal of Computational Physics, 231(21):7076–7091, 2012.
  • Lee et al. [2022] D. Lee, A.F. Martín, C. Bladwell, and S. Badia. A comparison of variational upwinding schemes for geophysical fluids, and their application to potential enstrophy conserving discretisations in space and time. arXiv preprint arXiv:2203.04629, 2022.
  • Melvin et al. [2012] T. Melvin, A. Staniforth, and J. Thuburn. Dispersion analysis of the spectral element method. Quarterly Journal of the Royal Meteorological Society, 138(668):1934–1947, 2012.
  • Dennis et al. [2012] J.M. Dennis, J. Edwards, K.J. Evans, Katherine, O. Guba, P.H. Lauritzen, A.A. Mirin, A. St-Cyr, M.A. Taylor, and P.H. Worley. Cam-se: A scalable spectral element dynamical core for the community atmosphere model. The International Journal of High Performance Computing Applications, 26(1):74–89, 2012.
  • Ullrich et al. [2018] Paul A Ullrich, Daniel R Reynolds, Jorge E Guerra, and Mark A Taylor. Impact and importance of hyperdiffusion on the spectral element method: A linear dispersion analysis. Journal of Computational Physics, 375:427–446, 2018.
  • Giraldo et al. [2002] F.X. Giraldo, J.S. Hesthaven, and T. Warburton. Nodal high-order discontinuous galerkin methods for the spherical shallow water equations. Journal of Computational Physics, 181(2):499–525, 2002.
  • Nair et al. [2005] Ramachandran D Nair, Stephen J Thomas, and Richard D Loft. A discontinuous galerkin global shallow water model. Monthly weather review, 133(4):876–888, 2005.
  • Wintermeyer et al. [2017] Niklas Wintermeyer, Andrew R Winters, Gregor J Gassner, and David A Kopriva. An entropy stable nodal discontinuous galerkin method for the two dimensional shallow water equations on unstructured curvilinear meshes with discontinuous bathymetry. Journal of Computational Physics, 340:200–242, 2017.
  • Dumbser and Casulli [2013] Michael Dumbser and Vincenzo Casulli. A staggered semi-implicit spectral discontinuous galerkin scheme for the shallow water equations. Applied Mathematics and Computation, 219(15):8057–8077, 2013.
  • Gaburro et al. [2023] Elena Gaburro, Philipp Öffner, Mario Ricchiuto, and Davide Torlo. High order entropy preserving ader-dg schemes. Applied Mathematics and Computation, 440:127644, 2023.
  • Abgrall [2018] Remi Abgrall. A general framework to construct schemes satisfying additional conservation relations. application to entropy conservative and entropy dissipative schemes. Journal of Computational Physics, 372:640–666, 2018.
  • Abgrall et al. [2022] Rémi Abgrall, Philipp Öffner, and Hendrik Ranocha. Reinterpretation and extension of entropy correction terms for residual distribution and discontinuous galerkin schemes: application to structure preserving discretization. Journal of Computational Physics, 453:110955, 2022.
  • Castro et al. [2008] Manuel J Castro, Juan Antonio López, and Carlos Parés. Finite volume simulation of the geostrophic adjustment in a rotating shallow-water system. SIAM Journal on Scientific Computing, 31(1):444–477, 2008.
  • Castro et al. [2017] Manuel J Castro, Sergio Ortega, and Carlos Parés. Well-balanced methods for the shallow water equations in spherical coordinates. Computers & Fluids, 157:196–207, 2017.
  • Vallis [2017] G.K. Vallis. Atmospheric and oceanic fluid dynamics. Cambridge University Press, 2017.
  • LeVeque [1992] R.J. LeVeque. Numerical methods for conservation laws, volume 214. Springer, 1992.
  • Giraldo [2020] F.X. Giraldo. An Introduction to Element-Based Galerkin Methods on Tensor-Product Bases: Analysis, Algorithms, and Applications, volume 24. Springer Nature, 2020.
  • Heinbockel [2001] J. H. Heinbockel. Introduction to tensor calculus and continuum mechanics, volume 52. Trafford Bloomington, IN, 2001.
  • Rusanov [1970] V.V. Rusanov. On difference schemes of third order accuracy for nonlinear hyperbolic systems. Journal of Computational Physics, 5(3):507–516, 1970.
  • Shu and Osher [1988] C.W. Shu and S. Osher. Efficient implementation of essentially non-oscillatory shock-capturing schemes. Journal of computational physics, 77(2):439–471, 1988.
  • Rančić et al. [1996] M. Rančić, R.J. Purser, and F. Mesinger. A global shallow-water model using an expanded spherical cube: Gnomonic versus conformal coordinates. Quarterly Journal of the Royal Meteorological Society, 122(532):959–982, 1996.
  • Williamson et al. [1992] D.L. Williamson, J.B. Drake, J.J Hack, R. Jakob, and P.N. Swarztrauber. A standard test set for numerical approximations to the shallow water equations in spherical geometry. Journal of computational physics, 102(1):211–224, 1992.
  • Winters et al. [2017] Andrew R Winters, Dominik Derigs, Gregor J Gassner, and Stefanie Walch. A uniquely defined entropy stable matrix dissipation operator for high mach number ideal mhd and compressible euler simulations. Journal of Computational Physics, 332:274–289, 2017.
  • Jakob-Chien et al. [1995] Ruediger Jakob-Chien, James J Hack, and David L Williamson. Spectral transform solutions to the shallow water test set. Journal of Computational Physics, 119(1):164–187, 1995.
  • Lee and Palha [2018] David Lee and Artur Palha. A mixed mimetic spectral element model of the rotating shallow water equations on the cubed sphere. Journal of Computational Physics, 375:240–262, 2018.
  • Galewsky et al. [2004] J. Galewsky, R.K. Scott, and L.M. Polvani. An initial-value problem for testing numerical models of the global shallow-water equations. Tellus A: Dynamic Meteorology and Oceanography, 56(5):429–440, 2004.
  • Patera [1984] Anthony T Patera. A spectral element method for fluid dynamics: laminar flow in a channel expansion. Journal of computational Physics, 54(3):468–488, 1984.
  • Thuburn et al. [2009] J. Thuburn, T.D. Ringler, W.C. Skamarock, and J.B. Klemp. Numerical representation of geostrophic modes on arbitrarily structured c-grids. Journal of Computational Physics, 228(22):8321–8335, 2009.
  • Kang et al. [2020] S. Kang, F.X. Giraldo, and T. Bui-Thanh. Imex hdg-dg: A coupled implicit hybridized discontinuous galerkin and explicit discontinuous galerkin approach for shallow water systems. Journal of Computational Physics, 401:109010, 2020.
  • Bauer and Cotter [2018] W. Bauer and C.J. Cotter. Energy–enstrophy conserving compatible finite element schemes for the rotating shallow water equations with slip boundary conditions. Journal of Computational Physics, 373:171–187, 2018.
  • Arakawa and Lamb [1981] A. Arakawa and V.R. Lamb. A potential enstrophy and energy conserving scheme for the shallow water equations. Monthly Weather Review, 109(1):18–36, 1981.
  • Akio [1966] A. Akio. Computational design for long-term numerical integration of the equations of fluid motion: two-dimensional incompressible flow. part i. Journal of Computational Physics, 1(1):119–143, 1966.
  • Staniforth et al. [2013] A. Staniforth, T. Melvin, and N. Wood. Gungho! a new dynamical core for the unified model. In Proceeding of the ECMWF workshop on recent developments in numerical methods for atmosphere and ocean modelling, pages 15–29, 2013.
  • Melvin et al. [2019] T. Melvin, T. Benacchio, B. Shipway, N. Wood, J. Thuburn, and C.J. Cotter. A mixed finite-element, finite-volume, semi-implicit discretization for atmospheric dynamics: Cartesian geometry. Quarterly Journal of the Royal Meteorological Society, 145(724):2835–2853, 2019.
  • Melvin et al. [2014] T. Melvin, A. Staniforth, and C.J. Cotter. A two-dimensional mixed finite-element pair on rectangles. Quarterly Journal of the Royal Meteorological Society, 140(680):930–942, 2014.
  • Sadourny and Basdevant [1985] R. Sadourny and C. Basdevant. Parameterization of subgrid scale barotropic and baroclinic eddies in quasi-geostrophic models: Anticipated potential vorticity method. Journal of Atmospheric Sciences, 42(13):1353–1363, 1985.
  • Renac [2019] F. Renac. Entropy stable dgsem for nonlinear hyperbolic systems in nonconservative form with application to two-phase flows. Journal of Computational Physics, 382:1–26, 2019.
  • Gottlieb and Shu [1998] S. Gottlieb and C.W. Shu. Total variation diminishing runge-kutta schemes. Mathematics of computation, 67(221):73–85, 1998.
  • Canestrelli et al. [2009] Alberto Canestrelli, Annunziato Siviglia, Michael Dumbser, and Eleuterio F Toro. Well-balanced high-order centred schemes for non-conservative hyperbolic systems. applications to shallow water equations with fixed and mobile bed. Advances in Water Resources, 32(6):834–844, 2009.