A massively parallel GPU-accelerated model for analysis of fully nonlinear free surface waves

被引:44
作者
Engsig-Karup, A. P. [1 ]
Madsen, Morten G. [1 ]
Glimberg, Stefan L. [1 ]
机构
[1] Tech Univ Denmark, Dept Informat & Math Modeling, DK-2800 Lyngby, Denmark
关键词
nonlinear water waves; coastal and offshore engineering; finite difference method; potential flow; time domain; scientific GPU computations; high-performance computing; WATER-WAVES;
D O I
10.1002/fld.2675
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We implement and evaluate a massively parallel and scalable algorithm based on a multigrid preconditioned Defect Correction method for the simulation of fully nonlinear free surface flows. The simulations are based on a potential model that describes wave propagation over uneven bottoms in three space dimensions and is useful for fast analysis and prediction purposes in coastal and offshore engineering. A dedicated numerical model based on the proposed algorithm is executed in parallel by utilizing affordable modern special purpose graphics processing unit (GPU). The model is based on a low-storage flexible-order accurate finite difference method that is known to be efficient and scalable on a CPU core (single thread). To achieve parallel performance of the relatively complex numerical model, we investigate a new trend in high-performance computing where many-core GPUs are utilized as high-throughput co-processors to the CPU. We describe and demonstrate how this approach makes it possible to do fast desktop computations for large nonlinear wave problems in numerical wave tanks (NWTs) with close to 50/100 million total grid points in double/single precision with 4?GB global device memory available. A new code base has been developed in C++ and compute unified device architecture C and is found to improve the runtime more than an order in magnitude in double precision arithmetic for the same accuracy over an existing CPU (single thread) Fortran 90 code when executed on a single modern GPU. These significant improvements are achieved by carefully implementing the algorithm to minimize data-transfer and take advantage of the massive multi-threading capability of the GPU device. Copyright (c) 2011 John Wiley & Sons, Ltd.
引用
收藏
页码:20 / 36
页数:17
相关论文
共 32 条
[1]  
Ahern S, 2007, 20041068 USGS
[2]  
[Anonymous], 2006, Tech. rep.
[3]  
[Anonymous], 2010, CUDA C Best Practices Guide
[4]  
Axelsson O., 1996, CWI Q, V9, P9
[5]  
Bingham HB, 2007, J ENG MATH, V58, P211, DOI 10.1007/S10665-006-9108-4
[6]   State-of-the-art in heterogeneous computing [J].
Brodtkorb, Andre R. ;
Dyken, Christopher ;
Hagen, Trond R. ;
Hjelmervik, Jon M. ;
Storaasli, Olaf O. .
SCIENTIFIC PROGRAMMING, 2010, 18 (01) :1-33
[7]   A parallel multi-subdomain strategy for solving Boussinesq water wave equations [J].
Cai, X ;
Pedersen, GK ;
Langtangen, HP .
ADVANCES IN WATER RESOURCES, 2005, 28 (03) :215-233
[8]  
Demmel J.W., 1997, SOC IND APPL MATH
[9]  
Engsig-Karup A, 2011, J SCI COMPUTIN UNPUB
[10]   An efficient flexible-order model for 3D nonlinear water waves [J].
Engsig-Karup, A. P. ;
Bingham, H. B. ;
Lindberg, O. .
JOURNAL OF COMPUTATIONAL PHYSICS, 2009, 228 (06) :2100-2118