Journal of ICT Research and Applications | |
Improvement of Fluid Simulation Runtime of Smoothed Particle Hydrodynamics by Using Graphics Processing Unit (GPU) | |
Wahyu Srigutomo1  Ruddy Kurnia1  Suprijadi Suprijadi2  | |
[1] Physics of Earth and Complex System, Faculty of Mathematics and Natural Sciences, Institut Teknologi Bandung, Jalan Ganesa No. 10, Bandung 40132;Theoretical Physics and Instrumentation, Faculty of Mathematics and Natural Sciences, Institut Teknologi Bandung, Jalan Ganesa No. 10, Bandung 40132 | |
关键词: Compute Unified Device Architecture (CUDA); fluid simulation runtime; graphic processing unit (GPU); Scott Russell’s wave generator; smoothed particle hydrodynamics (SPH).; | |
DOI : 10.5614/itbj.ict.res.appl.2017.11.3.2 | |
学科分类:电子、光学、磁材料 | |
来源: Institute for Research and Community Services ITB | |
【 摘 要 】
This study concerns an implementation of smoothed particle hydrodynamics (SPH) fluid simulation on a graphics processing unit (GPU) using the Compute Unified Device Architecture’s (CUDA) parallel programming. A bookkeeping method for the neighbor search algorithm was incorporated to accelerate calculations. Based on sequence code profiling of the SPH method, particle interaction computation – which comprises the calculation of the continuity equation and the momentum conservation equation – consumes 95.2% of the calculation time. In this paper, an improvement of the calculation is proposed by calculating the particle interaction part on the GPU and by using a bookkeeping algorithm to restrict the calculation only to contributed particles. Three aspects are addressed in this paper: firstly, speed-up of the CUDA parallel programming computation as a function of the number of particles used in the simulation; secondly, the influence of double precision and single precision schemes on the computational acceleration; and thirdly, calculation accuracy with respect to the number of particles. Scott Russell’s wave generator was implemented for a 2D case and a 3D dam-break. The results show that the proposed method was succesfull in accelerating the SPH simulation on the GPU.
【 授权许可】
CC BY
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
RO201902180322223ZK.pdf | 1062KB | download |