Journal of Shanghai Jiao Tong University ›› 2023, Vol. 57 ›› Issue (8): 981-987.doi: 10.16183/j.cnki.jsjtu.2022.209

Special Issue: 《上海交通大学学报》2023年“船舶海洋与建筑工程”专题

• Naval Architecture, Ocean and Civil Engineering • Previous Articles     Next Articles

Application of an Improved GPU Acceleration Strategy for the Smoothed Particle Hydrodynamics Method

GUAN Yanmin1, YANG Caihong1(), KANG Zhuang2, ZHOU Li1   

  1. 1. School of Naval Architecture and Ocean Engineering, Jiangsu University of Science and Technology, Zhenjiang 212003, Jiangsu, China
    2. College of Shipbuilding Engineering, Harbin Engineering University, Harbin 150001, China
  • Received:2022-06-13 Revised:2022-08-09 Accepted:2022-08-26 Online:2023-08-28 Published:2023-08-31

Abstract:

In order to solve the problem of graphics processing unit (GPU) memory access conflicts possibly caused by the disorder of particles and enhance the computation efficiency, an improved GPU acceleration strategy is proposed by establishing particle reorder technology. The acceleration strategy is applied to the smoothed particle hydrodynamics (SPH) method to simulate the dam breaking with obstacles in three dimensions, and the algorithm is verified by comparing with the experimental results, which obtained a high calculation accuracy. Based on this benchmark example of the SPH, the studies on the effect of particle renumbering and the solution efficiency of the algorithm are conducted by comparing the simulations of different hardware facilities. The results indicate that the particle reorder technology can ensure a stable single-step running time, and can effectively solve the problem of graphic card memory access conflicts that commonly exist in the GPU-SPH algorithm. Furthermore, the GPU parallel algorithm can greatly improve the solution efficiency of the SPH method, and with the increase of particle number, the advantage of drastically reducing the computation time becomes more obvious. The method proposed in this paper provides the possibility to expand the application of the SPH method to solve 3D numerical simulations.

Key words: smoothed particle hydrodynamics (SPH), parallel computing, dam breaking, computational efficiency

CLC Number: