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 条
  • [1] Size, density, and structure of Comet Shoemaker-Levy 9 inferred from the physics of tidal breakup
    Asphaug, E
    Benz, W
    [J]. ICARUS, 1996, 121 (02) : 225 - 248
  • [2] Gravitational softening as a smoothing operation
    Barnes, Joshua E.
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2012, 425 (02) : 1104 - 1120
  • [3] Collision-based understanding of the force law in granular impact dynamics
    Cheng, Bin
    Yu, Yang
    Baoyin, Hexi
    [J]. PHYSICAL REVIEW E, 2018, 98 (01)
  • [4] Asteroid surface impact sampling: dependence of the cavity morphology and collected mass on projectile shape
    Cheng, Bin
    Yu, Yang
    Baoyin, Hexi
    [J]. SCIENTIFIC REPORTS, 2017, 7
  • [5] COUPLED SPIN AND SHAPE EVOLUTION OF SMALL RUBBLE-PILE ASTEROIDS: SELF-LIMITATION OF THE YORP EFFECT
    Cotto-Figueroa, Desiree
    Statler, Thomas S.
    Richardson, Derek C.
    Tanga, Paolo
    [J]. ASTROPHYSICAL JOURNAL, 2015, 803 (01)
  • [6] A parallel-GPU code for asteroid aggregation problems with angular particles
    Ferrari, Fabio
    Lavagna, Michele
    Blazquez, Emmanuel
    [J]. MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2020, 492 (01) : 749 - 761
  • [7] N-body gravitational and contact dynamics for asteroid aggregation
    Ferrari, Fabio
    Tasora, Alessandro
    Masarati, Pierangelo
    Lavagna, Michele
    [J]. MULTIBODY SYSTEM DYNAMICS, 2017, 39 (1-2) : 3 - 20
  • [8] Granular convection and the Brazil nut effect in reduced gravity
    Guettler, Carsten
    von Borstel, Ingo
    Schraepler, Rainer
    Blum, Juergen
    [J]. PHYSICAL REVIEW E, 2013, 87 (04):
  • [9] Hertz BH., 1882, J Reine Angew Math, V1882, P156, DOI DOI 10.1515/CRLL.1882.92.156
  • [10] An algorithm for compliant contact between complexly shaped bodies
    Hippmann, G
    [J]. MULTIBODY SYSTEM DYNAMICS, 2004, 12 (04) : 345 - 362