Scientific Machine Learning of Flow Resistance Using Universal Shallow Water Equations with Differentiable Programming
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 11 of its 80 references that are in the map. First posted on arXiv 18 Feb 2025.
Builds on
11 of 80 references.
References · 11
- 2018Neural Ordinary Differential Equationscited by 3,733
- 2020Universal Differential Equations for Scientific Machine Learningcited by 345
- 2022JAX-FEM: A differentiable GPU-accelerated 3D finite element solver for automatic inverse design and mechanistic data sciencecited by 40
- 2020Discretize-Optimize vs. Optimize-Discretize for Time-Series Regression and Continuous Normalizing Flowscited by 36
- 2022JAX-FLUIDS: A fully-differentiable high-order computational fluid dynamics solver for compressible two-phase flowscited by 36
- 2021Physics-informed neural networks for the shallow-water equations on the spherecited by 32
- 2024Differentiable Programming for Differential Equations: A Reviewcited by 21
- 2022torchode: A Parallel ODE Solver for PyTorchcited by 10
- 2024JAX-Fluids 2.0: Towards HPC for Differentiable CFD of Compressible Two-phase Flowscited by 7
- 2022Bathymetry Inversion using a Deep-Learning-Based Surrogate for Shallow Water Equations Solverscited by 6
- 2021Surrogate Model for Shallow Water Equations Solvers with Deep Learningcited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Learning functional components of PDEs from data using neural networkscited by 0
- 2026Approximation of the Basset force in the Maxey-Riley-Gatignol equations via universal differential equationscited by 0
- 2026Finite Volume-Informed Neural Network Framework for 2D Shallow Water Equations: Rugged Loss Landscapes and the Importance of Data Guidancecited by 0
- 2026Finite Volume-Informed Neural Network Framework for 2D Shallow Water Equations: Rugged Loss Landscapes and the Importance of Data Guidance9 May 2026
- 2026Approximation of the Basset force in the Maxey-Riley-Gatignol equations via universal differential equations9 Apr 2026
- 2026Learning functional components of PDEs from data using neural networks13 Feb 2026