Variational integrator for the rotating shallow‐water equations on the sphere

Rüdiger Brecht, Werner Bauer, Alexander Bihlo, François Gay–Balmaz, Scott MacLachlan

Abstract

We develop a variational integrator for the shallow‐water equations on a rotating sphere. The variational integrator is built around a discretization of the continuous Euler–Poincaré reduction framework for Eulerian hydrodynamics. We describe the discretization of the continuous Euler–Poincaré equations on arbitrary simplicial meshes. Standard numerical tests are carried out to verify the accuracy and excellent conservational properties of the discrete variational integrator.

Introduction

Simulating atmospheric and oceanic dynamics is a cornerstone of climate and weather modeling. However, traditional numerical methods for the rotating shallow-water (RSW) equations often suffer from long-term "drift" in conserved quantities like energy and mass. Such unphysical artifacts can compromise the reliability of long-term climate projections.

To address this, researchers have turned to "geometric numerical integration," which focuses on preserving the underlying geometric structures of physics—such as symmetries and conservation laws—directly in the discrete domain. While variational integrators have been successfully applied to RSW equations on flat planes, extending these methods to the curved geometry of a rotating sphere using flexible, unstructured meshes has remained a significant challenge.

Methods: The Euler–Poincaré Framework

The core of this new approach is the Euler–Poincaré reduction framework. Rather than discretizing the final partial differential equations (PDEs), the authors begin with the Hamilton principle of least action. By discretizing the variational principle itself, the resulting equations of motion inherit the conservation properties of the continuous system via a discrete version of Noether’s theorem.

Discrete Diffeomorphisms and Constraints

The infinite-dimensional space of fluid configurations is approximated by a finite-dimensional matrix Lie group $D(\mathbb{M})$ acting on a mesh. Since not every matrix in this group represents a physically valid velocity field, the authors employ the Euler–Poincaré–d’Alembert principle. This allows for the enforcement of nonholonomic constraints—such as limiting fluxes to neighboring cells—directly within the variational derivation.

Comparison of continuous and discrete variational frameworks

Spherical Discretization

The model is implemented on an icosahedral grid, which represents the sphere as a collection of triangles. This choice avoids the "pole problem" inherent in standard latitude-longitude grids and provides a more uniform resolution across the globe.

Icosahedral grids used for spherical discretization

Evaluation and Results

The integrator was rigorously tested using the Williamson et al. (1992) benchmark suite, the industry standard for global shallow-water models. Tests included "lake at rest" scenarios to verify well-balancedness over topography, global steady-state zonal flows, and complex Rossby–Haurwitz waves.

Key Findings

  • Conservation by Design: The scheme achieves near-perfect conservation of mass and energy. In 50-day and one-year simulations, the energy error remained between $10^{-8}$ and $10^{-9}$ without any significant trend, outperforming non-variational methods that typically exhibit energy loss.
  • Well-Balancedness: In the "lake-at-rest" test, the model preserved the steady state to machine precision, confirming its ability to handle complex terrain without generating spurious flows.
  • Intrinsic Geometry: The approach is coordinate-independent, making it robust for arbitrary simplicial meshes.

Conclusion and Future Directions

This work demonstrates that variational integrators can be effectively extended to spherical geometries, providing a stable and conservative foundation for geophysical fluid dynamics. While the current scheme does not exactly conserve potential enstrophy, it preserves it well enough for most practical applications.

Future research will focus on extending this framework to handle "wet-dry" interfaces for tsunami propagation modeling and developing "fully" variational time integrators to further minimize energy drift on highly non-uniform meshes.

Summary updated

Abstract

We develop a variational integrator for the shallow‐water equations on a rotating sphere. The variational integrator is built around a discretization of the continuous Euler–Poincaré reduction framework for Eulerian hydrodynamics. We describe the discretization of the continuous Euler–Poincaré equations on arbitrary simplicial meshes. Standard numerical tests are carried out to verify the accuracy and excellent conservational properties of the discrete variational integrator.
BibTeX
@inproceedings{brecht2019variational,
  author = {Rüdiger Brecht and Werner Bauer and Alexander Bihlo and François Gay–Balmaz and Scott MacLachlan},
  title = {{Variational integrator for the rotating shallow‐water equations on the sphere}},
  booktitle = {Quarterly},
  year = {2019},
  doi = {10.1002/qj.3477},
}
Figure