SWEpy: an open-source GPU-accelerated solver for near-field inundation and far-field tsunami modeling
Abstract
Abstract. We present SWEpy, a new Python GPU-accelerated open-source finite volume (FV) software designed to solve the Saint-Venant system of shallow water equations (SWE) on unstructured triangular grids. SWEpy is designed for flexibility and performance, considering a well-balanced, positivity-preserving, and higher-order central-upwind FV scheme, intended to solve tsunami wave propagation, flooding, and dam-break scenarios, among others. In this regard, we enhance the minimization of numerical diffusion, a phenomenon frequently found in this sort of FV schemes, by using a second-order WENO reconstruction operator as well as a third-order strong stability-preserving Runge-Kutta time integrator. With this in mind, a modular software architecture is presented that can support a range of initial and boundary conditions and source terms. SWEpy's performance, stability, and accuracy are verified using canonical benchmarks, including Synolakis' conical island and Bryson's flow over a Gaussian bump, and further demonstrated in large-scale simulations of the 1959 Malpasset Dam failure and the Mw8.8 2010 Maule tsunami. SWEpy delivers high-resolution results on consumer-grade hardware, offering a user-friendly platform for both research and operational forecasting.
Fields of Study & Subjects
Earthquake and Tsunami Effects
Tropical and Extratropical Cyclones Research
Power System Optimization and Stability
Publication details
- Journal / source
- Geoscientific model development
- Publisher
- Copernicus GmbH
- Volume
- 19
- Issue
- 9
- Pages
- 3953–3987
- Publication date
- 13 May 2026
- Language
- EN