FLU-DYNCELGFeb 18, 2025

Scientific Machine Learning of Flow Resistance Using Universal Shallow Water Equations with Differentiable Programming

arXiv:2502.12396v16 citationsh-index: 6Water Resources Research
Originality Highly original
AI Analysis

This work addresses the challenge of accurately estimating spatially and temporally variable flow resistance for flood prediction and river engineering applications, representing a novel hybrid approach rather than an incremental improvement.

The authors tackled the problem of estimating flow resistance (Manning's roughness coefficient) in shallow water equations for hydrodynamics applications by developing Hydrograd, a universal SWEs solver that combines physics-based equations with neural networks using differentiable programming. They demonstrated that this approach enables accurate forward simulations, gradient-based sensitivity analysis, and inverse modeling of Manning's n in a real-world river channel case, eliminating the need for data-intensive pretraining and improving generalization.

Shallow water equations (SWEs) are the backbone of most hydrodynamics models for flood prediction, river engineering, and many other water resources applications. The estimation of flow resistance, i.e., the Manning's roughness coefficient $n$, is crucial for ensuring model accuracy, and has been previously determined using empirical formulas or tables. To better account for temporal and spatial variability in channel roughness, inverse modeling of $n$ using observed flow data is more reliable and adaptable; however, it is challenging when using traditional SWE solvers. Based on the concept of universal differential equation (UDE), which combines physics-based differential equations with neural networks (NNs), we developed a universal SWEs (USWEs) solver, Hydrograd, for hybrid hydrodynamics modeling. It can do accurate forward simulations, support automatic differentiation (AD) for gradient-based sensitivity analysis and parameter inversion, and perform scientific machine learning for physics discovery. In this work, we first validated the accuracy of its forward modeling, then applied a real-world case to demonstrate the ability of USWEs to capture model sensitivity (gradients) and perform inverse modeling of Manning's $n$. Furthermore, we used a NN to learn a universal relationship between $n$, hydraulic parameters, and flow in a real river channel. Unlike inverse modeling using surrogate models, Hydrograd uses a two-dimensional SWEs solver as its physics backbone, which eliminates the need for data-intensive pretraining and resolves the generalization problem when applied to out-of-sample scenarios. This differentiable modeling approach, with seamless integration with NNs, provides a new pathway for solving complex inverse problems and discovering new physics in hydrodynamics.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes