Parallel computation of a dam-break flow model using OpenMP on a multi-core computer

被引:38
作者
Zhang, Shanghong [1 ]
Xia, Zhongxi [1 ]
Yuan, Rui [1 ]
Jiang, Xiaoming [2 ]
机构
[1] North China Elect Power Univ, Renewable Energy Sch, Beijing 102206, Peoples R China
[2] China Inst Water Resources & Hydropower Res, Dept Water Hazard Res, Beijing 100038, Peoples R China
基金
中国国家自然科学基金;
关键词
Dam-break flow; Parallel computing; OpenMP; Finite volume method; SIMULATION; RIVER;
D O I
10.1016/j.jhydrol.2014.02.035
中图分类号
TU [建筑科学];
学科分类号
0813 ;
摘要
High-performance calculations are of great importance to the simulation of dam-break events, as discontinuous solutions and accelerated speed are key factors in the process of dam-break flow modeling. In this study, Roe's approximate Riemann solution of the finite volume method is adopted to solve the interface flux of grid cells and accurately simulate the discontinuous flow, and shared memory technology (OpenMP) is used to realize parallel computing. Because an explicit discrete technique is used to solve the governing equations, and there is no correlation between grid calculations in a single time step, the parallel dam-break model can be easily realized by adding OpenMP instructions to the loop structure of the grid calculations. The performance of the model is analyzed using six computing cores and four different grid division schemes for the Pangtoupao flood storage area in China. The results show that the parallel computing improves precision and increases the simulation speed of the dam-break flow, the simulation of 320 h flood process can be completed within 1.6 h on a 16-kernel computer; a speedup factor of 8.64x is achieved. Further analysis reveals that the models involving a larger number of calculations exhibit greater efficiency and a higher rate of acceleration. At the same time, the model has good extendibility, as the speedup increases with the number of processor cores. The parallel model based on OpenMP can make full use of multi-core processors, making it possible to simulate dam-break flows in large-scale watersheds on a single computer. (c) 2014 Published by Elsevier B.V.
引用
收藏
页码:126 / 133
页数:8
相关论文
共 26 条
[21]   Case study: Malpasset dam-break simulation using a two-dimensional finite volume method [J].
Valiani, A ;
Caleffi, V ;
Zanni, A .
JOURNAL OF HYDRAULIC ENGINEERING-ASCE, 2002, 128 (05) :460-472
[22]   Real-world hydrologic assessment of a fully-distributed hydrological model in a parallel computing environment [J].
Vivoni, Enrique R. ;
Mascaro, Giuseppe ;
Mniszewski, Susan ;
Fasel, Patricia ;
Springer, Everett P. ;
Ivanov, Valeriy Y. ;
Bras, Rafael L. .
JOURNAL OF HYDROLOGY, 2011, 409 (1-2) :483-496
[23]  
[于守兵 Yu Shoubing], 2012, [水利水电科技进展, Advances in Science and Technology of Water Resources], V32, P11
[24]  
[张大伟 ZHANG Dawei], 2008, [水力发电学报, Journal of Hydroelectric Engineering], V27, P98
[25]   A real-time interactive simulation framework for watershed decision making using numerical models and virtual environment [J].
Zhang, ShangHong ;
Xia, ZhongXi ;
Wang, TaiWei .
JOURNAL OF HYDROLOGY, 2013, 493 :95-104
[26]   Explicit schemes for dam-break simulations [J].
Zoppou, C ;
Roberts, S .
JOURNAL OF HYDRAULIC ENGINEERING, 2003, 129 (01) :11-34