Skip to main content
Log in

A GPU-Accelerated Full 2D Shallow Water Model Using an Edge Loop Method on Unstructured Meshes: Implementation and Performance Analysis

  • Published:
Water Resources Management Aims and scope Submit manuscript

Abstract

Flood-induced disasters can cause significant harm and economic losses. Using numerical simulations to provide real-time predictions of flood events is an effective method to address this issue. To develop a high-efficiency and adaptable tool for fast flood prediction in complex terrains, this work utilizes Graphic Processing Units (GPUs) to accelerate a full 2D shallow water model on unstructured meshes. Furthermore, a novel Edge Loop Method (ELM) based on the winged-edge data structure is applied to the model to improve the computational efficiency of solving fluxes. A benchmark test and a real-world dam-break case were simulated to verify the accuracy and performance of the current model. The results demonstrate that the ELM accelerates the model by 2.51 and 4.08 times compared to the eight-core CPU-based model, and 14.97 and 19.84 times compared to the single-core CPU-based model in two cases. Notably, when compared to the GPU-based model using the Cell Loop Method (CLM), the computational efficiency of the ELM is improved by 18.34% and 24.29%, respectively. In particular, a quantitative analysis of the performance explains the advantage of the ELM from the perspective of its implementation mechanism, further demonstrating that the ELM exhibits higher computational efficiency as the total number of cells increases. Based on the advantages of high efficiency in the GPU-based model using the ELM, the proposed model can effectively forecast real-world flood events in regions characterized by complex terrains.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

Availability of Data and Materials

The data and code that support the study are available from the corresponding author upon reasonable request.

References

Download references

Funding

National Natural Science Foundation of China, No. U21A20164,Jijian Lian,No. U20A20316, Jijian Lian, IWHR Research & Development Support Program, WH0145B022021, Dawei Zhang.

Author information

Authors and Affiliations

Authors

Contributions

Conceptualization and Methodology: J. Hou, X. Wang, L. Ma; Writing-original draft preparation: L. Ma; Material preparation, collection and analysis: L. Ma, J. Lian, D. Zhang; Supervision: J. Lian; Funding acquisition: J. Lian, X. Wang. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Xiaoqun Wang.

Ethics declarations

Ethics Approval

Informed consent.

Consent to Participate

Not applicable.

Consent to Publish

The authors are indeed informed and agree to publish.

Competing Interests

None.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ma, L., Lian, J., Hou, J. et al. A GPU-Accelerated Full 2D Shallow Water Model Using an Edge Loop Method on Unstructured Meshes: Implementation and Performance Analysis. Water Resour Manage 38, 733–752 (2024). https://doi.org/10.1007/s11269-023-03696-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11269-023-03696-6

Keywords

Navigation