[Paper Review] SWASHES: A library for benchmarking in hydraulics / SWASHES : une bibliothèque de bancs d'essai en hydraulique
This paper introduces SWASHES, a comprehensive benchmark library for shallow water equation solvers, compiling 50+ analytic solutions in a unified formalism. It enables researchers to validate numerical methods across diverse flow regimes—subcritical, supercritical, shocks, with/without rain and friction—through freely available source codes, significantly improving reproducibility and reliability in hydraulic modeling.
Numerous codes are being developed to solve Shallow Water equations. Because they are used in hydraulics and environmental studies, their capability to simulate properly flow dynamics is essential to guarantee infrastructure and human safety. Hence, validating these codes and the associated numerical methods is an important issue. Analytic solutions would be excellent benchmarks for these issues. However, analytic solutions to Shallow Water equations are rare. Moreover, they have been published on an individual basis over a period of more than five decades, making them scattered through the literature. In this paper, a significant number of analytic solutions to the Shallow Water equations is described in a unified formalism. They encompass a wide variety of flow conditions (supercritical, subcritical, shock ...), in 1 or 2 space dimensions, with or without rain and soil friction, for transitory flow or steady state. An original feature is that the corresponding source codes are made freely available to the community (http://www.univ-orleans.fr/mapmo/soft/SWASHES), so that users of Shallow Water based models can easily find an adaptable benchmark library to validate their numerical methods.
Motivation & Objective
- Address the lack of centralized, standardized benchmarks for validating shallow water equation solvers in hydraulics and environmental modeling.
- Consolidate scattered analytic solutions—previously published over five decades and in disparate sources—into a unified, accessible format.
- Provide freely available source codes to enable researchers to easily integrate and test numerical methods against diverse, physically realistic flow conditions.
- Support validation across a broad spectrum of flow dynamics, including transient and steady-state flows, with or without external forcings like rain and bottom friction.
- Enhance reproducibility and reliability in numerical modeling by offering a standardized, community-accessible testbed for code verification.
Proposed method
- Systematically collect and formalize 50+ analytic solutions to the shallow water equations from the literature, spanning over 50 years of research.
- Categorize solutions by flow regime (subcritical, supercritical, shock), dimensionality (1D and 2D), and forcing conditions (rain, bottom friction, steady-state, transient).
- Express all solutions in a consistent mathematical and computational framework to ensure compatibility with numerical solvers.
- Implement and release the analytic solutions as open-source code, hosted at a public URL, enabling direct integration into simulation workflows.
- Structure the library to support easy adaptation and extension by researchers, with clear documentation and modular code organization.
- Ensure the library supports both verification (code validation) and benchmarking (performance and accuracy assessment) of finite-volume or finite-element methods.
Experimental results
Research questions
- RQ1How can a comprehensive, unified library of analytic solutions for the shallow water equations be constructed from scattered, decades-old literature?
- RQ2What range of physically relevant flow conditions—such as shocks, supercritical flows, and friction effects—can be systematically represented in a single benchmarking framework?
- RQ3To what extent can open-access source code of analytic solutions improve the validation and verification of numerical models in hydraulics?
- RQ4How can a standardized, community-maintained benchmark library reduce redundancy and increase reliability in the validation of shallow water solvers?
- RQ5What are the key challenges in ensuring the accuracy and usability of analytic solutions across diverse numerical schemes and boundary conditions?
Key findings
- The SWASHES library compiles and formalizes over 50 analytic solutions to the shallow water equations, covering a wide range of flow regimes and physical conditions.
- The solutions are available in a unified computational format, enabling direct use in numerical model validation across 1D and 2D configurations.
- The library includes cases with rain, bottom friction, and both transient and steady-state flows, enhancing its applicability to real-world hydraulic modeling.
- All source codes are freely available and open-access, significantly lowering the barrier to entry for researchers validating their numerical methods.
- The library supports reproducibility and standardization in numerical testing, reducing reliance on ad hoc or isolated benchmark cases.
- By consolidating solutions from disparate sources, SWASHES enables systematic comparison and verification of numerical schemes across diverse physical scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.