Accelerating Polyhedral Discrete Element Method with CUDA

被引:3
作者
Wen, Tongge [1 ]
Zeng, Xiangyuan [1 ]
机构
[1] Beijing Inst Technol, Sch Automat, Beijing 100081, Peoples R China
基金
中国国家自然科学基金;
关键词
GRAVITATIONAL REACCUMULATION; CONTACT DYNAMICS; EVOLUTION; IMPLEMENTATION; SIMULATIONS; CODE;
D O I
10.3847/1538-3881/acfc46
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
This paper presents an efficient CUDA-based implementation of a nonspherical discrete element method where irregular particles are described by using polyhedrons. Two strategies are employed to exploit the parallelism of the numerical method. One is to perform contact detection based on the contact pair level instead of the traditional particle level. The second is to reduce the computational burden of each kernel function by allocating thread blocks reasonably. Contact detection between potential contact pairs is the most complicated, time-consuming, and essential process for the polyhedral discrete element method. The linear bounding volume hierarchies are introduced to fix this issue. The hierarchies of the bounding volume tree are organized in a spatially coherent way. Such a structure can minimize branch divergence and is very suitable for parallel implementation with GPU. Two numerical examples are presented to show the performance of the code. It is found from the scenario of two sphere collision that improving the mesh resolution of polyhedral particles can reduce the computational error while slowing down the computational speed correspondingly. A trade-off must be made between accuracy and efficiency. The other example of self-gravitating aggregation demonstrates the code is convergent, stable, and highly efficient. Particularly, with a mainstream GPU, the proposed method easily performs hundreds of times faster than the serial CPU code that does the same function.
引用
收藏
页数:15
相关论文
共 32 条
  • [31] Shapes, structures, and evolution of small bodies
    Zhang, Yun
    Michel, Patrick
    [J]. ASTRODYNAMICS, 2021, 5 (04) : 293 - 329
  • [32] Tidal distortion and disruption of rubble-pile bodies revisited Soft-sphere discrete element analyses
    Zhang, Yun
    Michel, Patrick
    [J]. ASTRONOMY & ASTROPHYSICS, 2020, 640