Technical Papers
Oct 14, 2024

Physics-Informed Neural Networks for Steady-State Weir Flows Using the Serre–Green–Naghdi Equations

Publication: Journal of Hydraulic Engineering
Volume 151, Issue 1

Abstract

This paper presents physics-informed neural networks (PINNs) to approximate the Serre–Green–Naghdi equations (SGNEs) that model steady-state weir flows. Four PINNs are proposed to solve the forward problem and three types of inverse problem. For the forward problem in which continuous and smooth beds are available, we constructed PINN 1 to predict the water depth profile over a weir. Good agreements between the PINN 1 solutions and experimental data demonstrated the capability of PINN 1 to resolve the steady-state weir flows. For the inverse problems with input discretized beds, PINN 2 was designed to output both the water depth profile and the bed profile. The free-surface profiles based on the PINN 2 solutions were in good agreement with the experimental data, and the reconstructed bed profiles of PINN 2 agreed well with the input discretized beds, demonstrating that PINN 2 can reproduce weir flows accurately when only discretized beds are available. For the inverse problems with input measured free surface, PINN 3 and PINN 4 were built to output both the free-surface profile and the bed profile. The output free-surface profiles of PINN 3 and PINN 4 showed good agreement with the experimental data. The inferred bed profiles of PINN 3 agreed generally well with the analytical weir profile or the control points of the weir profile, and the inferred bed profiles of PINN 4 were in good agreement with the analytical weir profile for the investigated test case. These indicate that the proposed PINN 3 and PINN 4 can satisfactorily infer weir profiles. Overall, PINNs are comparable to the traditional numerical models for forward problems, but they can resolve the inverse problems which cannot be solved directly using traditional numerical models.

Practical Applications

There has been tremendous progress in solving governing equations using traditional numerical methods. However, when solving inverse problems, traditional numerical methods usually are time consuming and require new algorithms. Most importantly, traditional numerical methods are unable to resolve problems with missing or noisy initial and boundary conditions. Compared with traditional numerical methods, physics-informed neural networks implement a mesh-free algorithm and are effective and efficient for inverse and even ill-posed problems. Physics-informed neural networks integrate physical governing equations and relevant data, e.g., initial and boundary conditions or measured data, to infer unknown variables for forward and inverse problems, and have been applied to solve various types of governing equations. To the best of our knowledge, no PINNs have been presented to solve weir flows. This paper proposes physics-informed neural networks to solve forward and inverse weir flows. Research findings indicate that physics-informed neural networks are comparable to traditional numerical methods for the forward problem and are capable of resolving the inverse problems in which the discretized bed elevations or the measured free surface are available.

Get full access to this article

View all available purchase options and get full access to this article.

Data Availability Statement

Some or all data, models, or code that support the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (Grant No. 52171248) and the Fundamental Research Funds for the Central Universities (Grant Nos. DUT22QN221 and DUT22LK06).

References

Abadi, M., et al. 2016. “TensorFlow: A system for large-scale machine learning.” In Proc., 12th USENIX Conf. on Operating Systems Design and Implementation, 265–283. Savannah, GA: USENIX.
Bagheri, S., and A. Kabiri-Samani. 2020. “Overflow characteristics of streamlined weirs based on model experimentation.” Flow Meas. Instrum. 73 (Sep): 101720. https://doi.org/10.1016/j.flowmeasinst.2020.101720.
Bai, R., M. Zhou, Z. Yan, J. Zhang, and H. Wang. 2023. “Flow measurement by vegetated weirs: An investigation on discharge coefficient reduction by crest vegetation.” J. Hydrol. 620 (Jun): 129552. https://doi.org/10.1016/j.jhydrol.2023.129552.
Biswas, T. R., P. Singh, and D. Sen. 2021. “Submerged flow over barrage weirs: A computational fluid dynamics model study.” J. Irrig. Drain. Eng. 147 (12): 04021058. https://doi.org/10.1061/(ASCE)IR.1943-4774.0001634.
Cantero-Chinchilla, F. N., O. Castro-Orgaz, and A. A. Khan. 2018. “Depth-integrated nonhydrostatic free-surface flow modeling using weighted-averaged equations.” Int. J. Numer. Methods Fluids 87 (1): 27–50. https://doi.org/10.1002/fld.4481.
Castro-Orgaz, O., and F. N. Cantero-Chinchilla. 2020. “Non-linear shallow water flow modelling over topography with depth-averaged potential equations.” Environ. Fluid Mech. 20 (2): 261–291. https://doi.org/10.1007/s10652-019-09691-z.
Castro-Orgaz, O., and H. Chanson. 2020. “Undular and broken surges in dam-break flows: A review of wave breaking strategies in a Boussinesq-type framework.” Environ. Fluid Mech. 20 (6): 1383–1416. https://doi.org/10.1007/s10652-020-09749-3.
Castro-Orgaz, O., P. P. Gamero-Ojeda, F. N. Cantero-Chinchilla, T. M. de Luna, and H. Chanson. 2024. “Application of high-level Green–Naghdi theory to sill-controlled flows.” Environ. Fluid Mech. 24 (1): 19–56. https://doi.org/10.1007/s10652-023-09962-w.
Castro-Orgaz, O., and W. H. Hager. 2009. “Curved streamline transitional flow from mild to steep slopes.” J. Hydraul. Res. 47 (5): 574–584. https://doi.org/10.3826/jhr.2009.3656.
Castro-Orgaz, O., W. H. Hager, and F. N. Cantero-Chinchilla. 2022. “Shallow flows over curved beds: Application of the Serre–Green–Naghdi theory to weir flow.” J. Hydraul. Eng. 148 (1): 04021053. https://doi.org/10.1061/(ASCE)HY.1943-7900.0001954.
Castro-Orgaz, O., W. H. Hager, and N. D. Katopodes. 2023. “Variational models for nonhydrostatic free-surface flow: A unified outlook to maritime and open-channel hydraulics developments.” J. Hydraul. Eng. 149 (7): 04023014. https://doi.org/10.1061/JHEND8.HYENG-13338.
Chiu, P., J. C. Wong, C. Ooi, M. H. Dao, and Y. Ong. 2022. “CAN-PINN: A fast physics-informed neural network based on coupled-automatic–numerical differentiation method.” Comput. Methods Appl. Mech. Eng. 395 (Jun): 114909. https://doi.org/10.1016/j.cma.2022.114909.
Cienfuegos, R. 2023. “Surfing waves from the ocean to the river with the Serre-Green-Naghdi equations.” J. Hydraul. Eng. 149 (9): 04023032. https://doi.org/10.1061/JHEND8.HYENG-13487.
Darvishi, E., J. D. Fenton, and S. Kouchakzadeh. 2017. “Boussinesq equations for flows over steep slopes and structures.” J. Hydraul. Res. 55 (3): 324–337. https://doi.org/10.1080/00221686.2016.1246484.
Gamero, P., F. N. Cantero-Chinchilla, R. J. Bergillos, O. Castro-Orgaz, and S. Dey. 2022. “Shallow-water lee-side waves at obstacles: Experimental characterization and turbulent non-hydrostatic modeling using weighted-averaged residual equations.” Environ. Modell. Software 155 (Aug): 105422. https://doi.org/10.1016/j.envsoft.2022.105422.
García-Alén, G., O. García-Fonte, L. Cea, L. Pena, and J. Puertas. 2021. “Modelling weirs in two-dimensional shallow water models.” Water 13 (16): 2152. https://doi.org/10.3390/w13162152.
Glorot, X., and Y. Bengio. 2010. “Understanding the difficulty of training deep feedforward neural networks.” In Vol. 9 of Proc., 13th Int. Conf. on Artificial Intelligence and Statistics, edited by Y. W. Teh and M. Titterington, 249–256. Seattle: Curran Associates.
Hanna, J. M., J. V. Aguado, S. Comas-Cardona, R. Askri, and D. Borzacchiello. 2022. “Residual-based adaptivity for two-phase flow simulation in porous media using physics-informed neural networks.” Comput. Methods Appl. Mech. Eng. 396 (Aug): 115100. https://doi.org/10.1016/j.cma.2022.115100.
Hirt, C. W., and B. D. Nichols. 1980. “Volume of fluid (VOF) method for the dynamics of free boundaries.” J. Comput. Phys. 39 (1): 201–225. https://doi.org/10.1016/0021-9991(81)90145-5.
Huang, Y. H., Z. Xu, C. Qian, and L. Liu. 2023. “Solving free-surface problems for non-shallow water using boundary and initial conditions-free physics-informed neural network (bif-PINN).” J. Comput. Phys. 479 (Mar): 112003. https://doi.org/10.1016/j.jcp.2023.112003.
Jin, X., S. Cai, H. Li, and G. E. Karniadakis. 2021. “NSFnets (Navier-Stokes flow nets): Physics-informed neural networks for the incompressible Navier-Stokes equations.” J. Comput. Phys. 426 (Sep): 109951. https://doi.org/10.1016/j.jcp.2020.109951.
Ketkar, N., and J. Moolayil. 2021. Deep learning with python: Learn best practices of deep learning models with PyTorch. New York: Springer.
Kingma, D. P., and J. L. Ba. 2017. “ADAM: A method for stochastic optimization.” Preprint, submitted December 22, 2014. http://arxiv.org/abs/1412.6980v9.
Li, S., G. Li, and D. Jiang. 2020. “Physical and numerical modeling of the hydraulic characteristics of Type-A piano key weirs.” J. Hydraul. Eng. 146 (5): 06020004. https://doi.org/10.1061/(ASCE)HY.1943-7900.0001716.
Mao, Z., A. D. Jagtap, and G. E. Karniadakis. 2020. “Physics-informed neural networks for high-speed flows.” Comput. Methods Appl. Mech. Eng. 360 (Apr): 112789. https://doi.org/10.1016/j.cma.2019.112789.
Paszke, A., et al. 2019. “PyTorch: An imperative style, high-performance deep learning library.” In Proc., 33rd Int. Conf. on Neural Information Processing Systems, 8026–8037. Red Hook, NY: Curran Associates.
Pugh, J. E., S. K. Venayagamoorthy, T. K. Gates, C. Berni, and M. Rastello. 2024. “A novel and enhanced calibration of the tilting weir as a flow measurement structure.” J. Hydraul. Eng. 150 (2): 04023064. https://doi.org/10.1061/JHEND8.HYENG-13796.
Raissi, M., P. Perdikaris, and G. E. Karniadakis. 2019. “Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations.” J. Comput. Phys. 378 (Sep): 686–707. https://doi.org/10.1016/j.jcp.2018.10.045.
Roushangar, K., M. M. Asl, and S. Shahnazi. 2021. “Hydraulic performance of PK weirs based on experimental study and kernel-based modeling.” Water Resour. Manage. 35 (11): 3571–3592. https://doi.org/10.1007/s11269-021-02905-4.
Shimozono, T. 2024. “Boussinesq modeling of transcritical flows over steep topography.” J. Hydraul. Eng. 150 (1): 04023053. https://doi.org/10.1061/JHEND8.HYENG-13614.
Sivakumaran, N. S., T. Tingsanchali, and R. J. Hosking. 1983. “Steady shallow flow over curved beds.” J. Fluid Mech. 128 (-1): 469–487. https://doi.org/10.1017/S0022112083000567.
Song, Y., C. Shen, and X. Liu. 2023. “A surrogate model for shallow water equations solvers with deep learning.” J. Hydraul. Eng. 149 (11): 04023045. https://doi.org/10.1061/JHEND8.HYENG-13190.
Torres, C., D. Borman, J. Matos, and D. Neeve. 2022. “CFD modelling of scale effects on free-surface flow over a labyrinth weir and spillway.” J. Hydraul. Eng. 148 (7): 04022011. https://doi.org/10.1061/(ASCE)HY.1943-7900.0001989.
Zerihun, Y. T., and J. D. Fenton. 2007. “A Boussinesq-type model for flow over trapezoidal profile weirs.” J. Hydraul. Res. 45 (4): 519–528. https://doi.org/10.1080/00221686.2007.9521787.
Zhu, C., R. H. Byrd, and J. Nocedal. 1997. “Algorithm 778: L-BFGS-B: Fortran routines for large-scale bound-constrained optimization.” ACM Trans. Math. Software 23 (4): 550–560. https://doi.org/10.1145/279232.279236.

Information & Authors

Information

Published In

Go to Journal of Hydraulic Engineering
Journal of Hydraulic Engineering
Volume 151Issue 1January 2025

History

Received: Jan 11, 2024
Accepted: Aug 16, 2024
Published online: Oct 14, 2024
Published in print: Jan 1, 2025
Discussion open until: Mar 14, 2025

Permissions

Request permissions for this article.

Authors

Affiliations

Congfang Ai
Associate Professor, State Key Laboratory of Coastal and Offshore Engineering, Dalian Univ. of Technology, Dalian 116024, China.
Professor, State Key Laboratory of Coastal and Offshore Engineering, Dalian Univ. of Technology, Dalian 116024, China (corresponding author). Email: [email protected]
Zhihan Li
Graduate Student, State Key Laboratory of Coastal and Offshore Engineering, Dalian Univ. of Technology, Dalian 116024, China.
Guohai Dong
Professor, State Key Laboratory of Coastal and Offshore Engineering, Dalian Univ. of Technology, Dalian 116024, China.

Metrics & Citations

Metrics

Citations

Download citation

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

View Options

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share