Parametrization of subgrid scales in long-term simulations of the shallow-water equations using machine learning and convex limiting
Md Amran Hossan Mojamder, Zhihang Xu, Min Wang, Ilya Timofeyev
TL;DR
The paper tackles the challenge of representing subgrid processes in the Shallow Water Equations for long-term simulations by learning nonlinear subgrid fluxes on a coarse grid using a feedforward neural network with a four-point stencil. It couples this NN parametrization with Monolithic Convex Limiting to preserve physical admissibility, including positivity of the water height, and demonstrates improved energy transfer across scales and accurate reproduction of DNS-like solutions. The approach generalizes beyond training regimes, remaining robust to larger forcing and to changes in geometry such as topography and Manning friction, while maintaining the energy spectra and reducing spurious oscillations near shocks. Overall, the work provides a local, parallelizable, physics-informed ML surrogate for subgrid dynamics in conservation-law-based geophysical models, with clear potential for extension to multi-layer SWE and primitive equations.
Abstract
We present a method for parametrizing sub-grid processes in the Shallow Water equations. We define coarse variables and local spatial averages and use a feed-forward neural network to learn sub-grid fluxes. Our method results in a local parametrization that uses a four-point computational stencil, which has several advantages over globally coupled parametrizations. We demonstrate numerically that our method improves energy balance in long-term turbulent simulations and also accurately reproduces individual solutions. The neural network parametrization can be easily combined with flux limiting to reduce oscillations near shocks. More importantly, our method provides reliable parametrizations, even in dynamical regimes that are not included in the training data.
