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

Abstract 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, that is, the Manning's roughness coefficient , 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 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, 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 . Furthermore, we used a NN to learn a universal relationship between , 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.

Authors

Institutions

Publication Details

Journal
Water Resources Research
Published
2025-09-01
DOI
https://doi.org/10.1029/2025wr040265
Citations
2
Primary Topic
Model Reduction and Neural Networks
Type
article
Field-Weighted Citation Impact
2.65

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Yalan Song, Xiaofeng Liu
2 citations
Water Resources Research
Model Reduction and Neural Networks
2.65
article

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

Yalan Song, Xiaofeng Liu
article en
2 citations

Abstract

Abstract 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, that is, the Manning's roughness coefficient , 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 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, 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 . Furthermore, we used a NN to learn a universal relationship between , 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.

Water Resources ResearchVol. 61(9)
Pennsylvania State University (US)
Pennsylvania State University
Openalex Percentile: Top 9%
Model Reduction and Neural Networks
2.65
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Scientific Machine Learning of Flow Resistance Using Universal Shallow Water Equations With Differentiable Programming — Yalan Song, Xiaofeng Liu · Water Resources Research (2025) | TGRS Research Map | TGRS