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 条
  • [31] Accelerating GOR Algorithm Using CUDA
    Gan, Xinbiao
    Liu, Cong
    Wang, Zhiying
    Shen, Li
    Zhu, Qi
    Liu, Jie
    Chi, Lihua
    Yan, Yihui
    Yu, Bin
    [J]. APPLIED MATHEMATICS & INFORMATION SCIENCES, 2013, 7 (02): : 563 - 567
  • [32] Accelerating the Training of HTK on GPU with CUDA
    Du, Zhihui
    Li, Xiangyu
    Wu, Ji
    [J]. 2012 IEEE 26TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS & PHD FORUM (IPDPSW), 2012, : 1907 - 1914
  • [33] Accelerating Hydrocodes with OpenACC, OpenCL and CUDA
    Herdman, J. A.
    Gaudin, W. P.
    McIntosh-Smith, S.
    Boulton, M.
    Beckingsale, D. A.
    Mallinson, A. C.
    Jarvis, S. A.
    [J]. 2012 SC COMPANION: HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS (SCC), 2012, : 465 - 471
  • [34] Accelerating PET Image Reconstruction with CUDA
    Fontaine, Kathryn
    Luo, Ping
    Carson, Richard
    [J]. PRACTICE AND EXPERIENCE IN ADVANCED RESEARCH COMPUTING 2022, 2022,
  • [35] Accelerating Physical Rainbow Model with CUDA
    Zhang, Jinsen
    Zheng, Changwen
    [J]. NINTH INTERNATIONAL CONFERENCE ON DIGITAL IMAGE PROCESSING (ICDIP 2017), 2017, 10420
  • [36] Accelerating Fortran codes: A method for integrating Coarray Fortran with CUDA Fortran and OpenMP
    McKevitt, James
    Vorobyov, Eduard I.
    Kulikov, Igor
    [J]. Journal of Parallel and Distributed Computing, 2025, 195
  • [37] Comparison of contact treatment methods for rigid polyhedral discrete element models
    Orosz, Akos
    Bagi, Katalin
    [J]. INTERNATIONAL JOURNAL OF ROCK MECHANICS AND MINING SCIENCES, 2023, 170
  • [38] Polyhedral smoothed finite element method for thermoelastic analysis
    Kim, Hobeom
    Im, Seyoung
    [J]. JOURNAL OF MECHANICAL SCIENCE AND TECHNOLOGY, 2017, 31 (12) : 5937 - 5949
  • [39] The soft discrete element method
    Guilhem Mollon
    [J]. Granular Matter, 2022, 24
  • [40] Calibration of the discrete element method
    Coetzee, C. J.
    [J]. POWDER TECHNOLOGY, 2017, 310 : 104 - 142