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 条
[1]   OpenMP parallelism for fluid and fluid-particulate systems [J].
Amritkar, Amit ;
Tafti, Danesh ;
Liu, Rui ;
Kufrin, Rick ;
Chapman, Barbara .
PARALLEL COMPUTING, 2012, 38 (09) :501-517
[2]   Efficient shallow water simulations on GPUs: Implementation, visualization, verification, and validation [J].
Brodtkorb, Andre R. ;
Saetra, Martin L. ;
Altinakar, Mustafa .
COMPUTERS & FLUIDS, 2012, 55 :1-12
[3]   Zero mass error using unsteady wetting-drying conditions in shallow flows over dry irregular topography [J].
Brufau, P ;
García-Navarro, P ;
Vázquez-Cendón, ME .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 2004, 45 (10) :1047-1082
[4]   The 1786 earthquake-triggered landslide dam and subsequent dam-break flood on the Dadu River, southwestern China [J].
Dai, FC ;
Lee, CF ;
Deng, JH ;
Tham, LG .
GEOMORPHOLOGY, 2005, 65 (3-4) :205-221
[5]   An MPI-CUDA implementation of an improved Roe method for two-layer shallow water systems [J].
de la Asuncion, Marc ;
Mantas, Jose M. ;
Castro, Manuel J. ;
Fernandez-Nieto, E. D. .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2012, 72 (09) :1065-1072
[6]   Simulation of one-layer shallow water systems on multicore and CUDA architectures [J].
de la Asuncion, Marc ;
Mantas, Jose M. ;
Castro, Manuel J. .
JOURNAL OF SUPERCOMPUTING, 2011, 58 (02) :206-214
[7]   Flux difference splitting and the balancing of source terms and flux gradients [J].
Hubbard, ME ;
Garcia-Navarro, P .
JOURNAL OF COMPUTATIONAL PHYSICS, 2000, 165 (01) :89-125
[8]  
Hydrology Bureau of Ministry of Water Resources (HBMWR) and Hydrology Bureau of Songliao Water Resources Commission (HBSWRC), 2002, 1998 SONGH RIV FLOOD
[9]   High performance computing using MPI and OpenMP on multi-core parallel systems [J].
Jin, Haoqiang ;
Jespersen, Dennis ;
Mehrotra, Piyush ;
Biswas, Rupak ;
Huang, Lei ;
Chapman, Barbara .
PARALLEL COMPUTING, 2011, 37 (09) :562-575
[10]   Assessment of GPU computational enhancement to a 2D flood model [J].
Kalyanapu, Alfred J. ;
Shankar, Siddharth ;
Pardyjak, Eric R. ;
Judi, David R. ;
Burian, Steven J. .
ENVIRONMENTAL MODELLING & SOFTWARE, 2011, 26 (08) :1009-1016