Articles | Volume 19, issue 9
https://doi.org/10.5194/gmd-19-3953-2026
https://doi.org/10.5194/gmd-19-3953-2026
Model description paper
 | 
13 May 2026
Model description paper |  | 13 May 2026

SWEpy: an open-source GPU-accelerated solver for near-field inundation and far-field tsunami modeling

Juan Fuenzalida, Danilo Kusanovic, Joaquín Meza, Rodrigo Meneses, and Patricio A. Catalán

Related authors

Ensemble modeling of the two-dimensional stochastic confined groundwater flow through the evolution of the hydraulic head's probability density function
Joaquin Meza and M. Levent Kavvas
EGUsphere, https://doi.org/10.31223/X5ND5B,https://doi.org/10.31223/X5ND5B, 2024
Preprint archived
Short summary

Cited articles

Ansel, J., Yang, E., He, H., Gimelshein, N., Jain, A., Voznesensky, M., Bao, B., Bell, P., Berard, D., Burovski, E., Chauhan, G., Chourdia, A., Constable, W., Desmaison, A., DeVito, Z., Ellison, E., Feng, W., Gong, J., Gschwind, M., Hirsh, B., Huang, S., Kalambarkar, K., Kirsch, L., Lazos, M., Lezcano, M., Liang, Y., Liang, J., Lu, Y., Luk, C. K., Maher, B., Pan, Y., Puhrsch, C., Reso, M., Saroufim, M., Siraichi, M. Y., Suk, H., Zhang, S., Suo, M., Tillet, P., Zhao, X., Wang, E., Zhou, K., Zou, R., Wang, X., Mathews, A., Wen, W., Chanan, G., Wu, P., and Chintala, S.: PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode Transformation and Graph Compilation, in: Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Vol. 2, ASPLOS ’24, 929–947, ACM, https://doi.org/10.1145/3620665.3640366, 2024. a
ANSYS Inc.: ANSYS Fluent Theory Guide, ANSYS, Inc., 275 Technology Drive, Canonsburg, PA 15317, https://ansyshelp.ansys.com/public//Views/Secured/corp/v242/en/flu_th/flu_th.html (last access: 15 April 2026), 2013. a
Arminjon, P. and St-Cyr, A.: Nessyahu–Tadmor-type central finite volume methods without predictor for 3D Cartesian and unstructured tetrahedral grids, Appl. Numer. Math., 46, 135–155, 2003. a
Ayachit, U.: The paraview guide (full color version), Kitware, ISBN 978-1930934306, 2015. a
Download
Short summary
This study presents an open-source Python solver that uses graphics processing units to simulate shallow water flows in floods and tsunamis without costly hardware or complex code. We refined numerical methods to reduce wave-spread errors and validated them on standard cases and real events, including a French dam break and a Chilean earthquake tsunami. The solver effectively reproduces wave heights and speeds, potentially enhancing early warnings in flood-prone areas.
Share