Skip to main content
QUICK REVIEW

[Paper Review] FullSWOF: A free software package for the simulation of shallow water flows

Olivier Delestre, Frédéric Darboux|arXiv (Cornell University)|Jan 16, 2014
Meteorological Phenomena and SimulationsEarth and Planetary Sciences22 references13 citations
TL;DR

FullSWOF is an open-source C++ software package for simulating shallow water flows using well-balanced finite volume methods, specifically designed to handle small water depths, wet-dry transitions, rainfall, infiltration, and digital elevation models (DEMs). It demonstrates robust performance across 1D and 2D benchmarks, including dam breaks and real-world field data, with validated accuracy and reproducibility through open code and version control.

ABSTRACT

Numerical simulations of flows are required for numerous applications, and are usually carried out using shallow water equations. We describe the FullSWOF software which is based on up-to-date finite volume methods and well-balanced schemes to solve this kind of equations. It consists of a set of open source C++ codes, freely available to the community, easy to use, and open for further development. Several features make FullSWOF particularly suitable for applications in hydrology: small water heights and wet-dry transitions are robustly handled, rainfall and infiltration are incorporated, and data from grid-based digital topographies can be used directly. A detailed mathematical description is given here, and the capabilities of FullSWOF are illustrated based on analytic solutions and datasets of real cases. The codes, available in 1D and 2D versions, have been validated on a large set of benchmark cases, which are available together with the download information and documentation at http://www.univ-orleans.fr/mapmo/soft/FullSWOF/.

Motivation & Objective

  • Address the lack of reproducible, open-source tools for shallow water flow simulation in hydrology and geophysical modeling.
  • Develop a robust, well-balanced finite volume solver that preserves steady states and maintains positivity of water depth at wet-dry fronts.
  • Enable accurate simulation of complex hydrological processes such as rainfall, infiltration, and variable bottom topography using digital elevation models (DEMs).
  • Ensure scientific reproducibility by releasing the full source code under an open license with version control and regression testing.
  • Provide a user-friendly, extensible framework for researchers and practitioners in hydrology, flood modeling, and environmental engineering.

Proposed method

  • Implement a finite volume method based on the shallow water equations in conservative form, using Godunov-type schemes with Riemann solvers.
  • Integrate well-balanced reconstruction techniques to preserve steady states and ensure positivity of water depth at wet-dry interfaces.
  • Incorporate source terms for rainfall, infiltration, and bottom friction (e.g., Manning’s law) directly into the numerical fluxes.
  • Support 1D and 2D simulations with structured Cartesian grids and adaptive time stepping based on the CFL condition.
  • Utilize open-source software engineering practices, including version control (Git), bug tracking, and continuous integration to ensure code quality and extensibility.
  • Develop a parallelized 2D version using MPI to accelerate large-scale simulations, such as the Malpasset dam break case.

Experimental results

Research questions

  • RQ1Can a well-balanced, open-source finite volume scheme accurately simulate shallow water flows with wet-dry transitions and small water depths?
  • RQ2How does FullSWOF perform in simulating real-world hydrological events such as overland flow on a field plot in Thiès, Senegal?
  • RQ3To what extent can FullSWOF reproduce complex flow dynamics in large-scale dam-break scenarios, such as the Malpasset event?
  • RQ4Can the software maintain numerical stability and accuracy without data filtering, even in the presence of sharp gradients and dry states?
  • RQ5How effective is the open-source model in enabling reproducibility and community-driven development in hydrological modeling?

Key findings

  • FullSWOF_2D successfully simulates overland flow on a 400 m² sandy plot in Thiès, Senegal, with a 70 mm/h rainfall intensity, producing qualitatively consistent results with previous studies without data filtering.
  • The software accurately captures the maximum water elevations at nine gauges in the Malpasset dam break benchmark, matching experimental data from a scaled physical model.
  • The parallelized FullSWOF_2D version reduces simulation time to a few hours for a large domain (17.3 km × 8.4 km) with 486,000 cells, enabling efficient large-scale simulations.
  • FullSWOF_1D and FullSWOF_2D are stable and robust across diverse test cases, including analytical solutions, field data, and complex topographies.
  • The software correctly handles infiltration (with θs−θi=0.12) and surface friction (n=0.033 m⁻¹/³s) without calibration, demonstrating physical consistency.
  • The open-source release with version control and regression testing ensures reproducibility and enables community contributions, enhancing long-term maintainability and scientific transparency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.