Shanghai Jiaotong Daxue xuebao (Aug 2023)

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

  • GUAN Yanmin, YANG Caihong, KANG Zhuang, ZHOU Li

DOI
https://doi.org/10.16183/j.cnki.jsjtu.2022.209
Journal volume & issue
Vol. 57, no. 8
pp. 981 – 987

Abstract

Read online

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.

Keywords