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
来源
ASTRONOMICAL JOURNAL | 2023年 / 166卷 / 05期
基金
中国国家自然科学基金;
关键词
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
相关论文
共 50 条
  • [1] A DISCRETE ELEMENT METHOD FOR POLYHEDRAL PARTICLES
    Nassauer, Benjamin
    Kuna, Meinhard
    [J]. PARTICLE-BASED METHODS III: FUNDAMENTALS AND APPLICATIONS, 2013, : 681 - 690
  • [2] Contact forces of polyhedral particles in discrete element method
    Benjamin Nassauer
    Meinhard Kuna
    [J]. Granular Matter, 2013, 15 : 349 - 355
  • [3] Contact forces of polyhedral particles in discrete element method
    Nassauer, Benjamin
    Kuna, Meinhard
    [J]. GRANULAR MATTER, 2013, 15 (03) : 349 - 355
  • [4] Accelerating the finite element method for calculating the full 2-body problem with CUDA
    Gao, Yunfeng
    Yu, Yang
    Cheng, Bin
    Baoyin, Hexi
    [J]. ADVANCES IN SPACE RESEARCH, 2022, 69 (05) : 2305 - 2318
  • [5] Accelerating the Finite-Element Method for Reaction-Diffusion Simulations on GPUs with CUDA
    Sellami, Hedi
    Cazenille, Leo
    Fujii, Teruo
    Hagiya, Masami
    Aubert-Kato, Nathanael
    Genot, Anthony J.
    [J]. MICROMACHINES, 2020, 11 (09)
  • [6] Simulating breakage tests using the discrete element method with polyhedral particles
    de Arruda Tino, Alan A.
    Tavares, Luis Marcelo
    [J]. COMPUTATIONAL PARTICLE MECHANICS, 2022, 9 (04) : 811 - 823
  • [7] A cohesive fracture model for discrete element method based on polyhedral blocks
    Liu, Guang-Yu
    Xu, Wen-Jie
    Govender, Nicolin
    Wilke, Daniel N.
    [J]. Powder Technology, 2020, 359 : 190 - 204
  • [8] Simulating breakage tests using the discrete element method with polyhedral particles
    Alan A. de Arruda Tino
    Luís Marcelo Tavares
    [J]. Computational Particle Mechanics, 2022, 9 : 811 - 823
  • [9] Polyhedral Particles Hopper Flowrate Predictions using Discrete Element Method
    Fraige, Feras Y.
    Langston, Paul A.
    Al-Khatib, Laila A.
    [J]. CHEMICAL PRODUCT AND PROCESS MODELING, 2011, 6 (01):
  • [10] Random packing of tetrahedral particles using the polyhedral discrete element method
    Zhao, Shiwei
    Zhou, Xiaowen
    Liu, Wenhui
    Lai, Chengguang
    [J]. PARTICUOLOGY, 2015, 23 : 109 - 117