Well-Balanced WE-PINNs for the Shallow Water Equations over Smooth and Discontinuous Bathymetries
Physics-informed neural networks (PINNs) solve partial differential equations without a mesh, but they do not in general preserve the steady states that well-balanced schemes reproduce exactly. We present a well-balanced extension of the weak and entropy PINN (WE-PINN) framework to the shallow water equations over smooth and discontinuous bathymetry. The residual is a weak space--time control-volume identity enforced on randomly placed control volumes that may overlap, so no mesh is needed. In free-surface variables, the geometric source is integrated by parts onto the bed, so that the network is never differentiated, and a cell-local bed-slope correction makes the quadrature reproduce the exact bed increment. Bed discontinuities, located from the bathymetry alone, separate sub-domains carrying independent networks, coupled through conservation of discharge and total head. We prove that the fully discrete residual vanishes identically on the lake at rest for any control-volume family, quadrature order and nominal bed slope, so that the equilibrium is an exact global minimiser of the training objective; that the continuous residual characterises weak solutions; that the slope correction is consistent; and that no approximation with a continuous free surface can satisfy the head condition at a step with non-zero discharge, so that the decomposition is necessary. Numerically, the residual vanishes to round-off on four lake-at-rest configurations over smooth, discontinuous, compound and tabulated beds, and the trained network reaches the equilibrium to round-off under an extended training budget. On seven Riemann problems at a bottom step, covering sub-, super- and critical transitions, the network attains relative $L^1$ free-surface errors between $6.9\times10^{-4}$ and $3.5\times10^{-3}$, and reaches critical states without prescribing them.
Authors
- Mohamed Boubekeur (ORCID: https://orcid.org/0009-0008-0844-7225)
- Fayssal Benkhaldoun (ORCID: https://orcid.org/0000-0003-1186-5184)
- Imad Elmahi (ORCID: https://orcid.org/0000-0002-5747-419X)
- Imad Kissami (ORCID: https://orcid.org/0000-0001-6740-1085)
- Ismail Oubarka (ORCID: https://orcid.org/0009-0001-4518-6393)
Publication Details
- Journal
- arXiv (Cornell University)
- Published
- 2026-11-12
- DOI
- https://doi.org/10.48550/arxiv.2611.17289
- Primary Topic
- Model Reduction and Neural Networks
- Type
- preprint