Issue |
EPJ Web Conf.
Volume 249, 2021
Powders & Grains 2021 – 9th International Conference on Micromechanics on Granular Media
|
|
---|---|---|
Article Number | 14009 | |
Number of page(s) | 4 | |
Section | Particle Simulations and Particle-Based Methods | |
DOI | https://doi.org/10.1051/epjconf/202124914009 | |
Published online | 07 June 2021 |
https://doi.org/10.1051/epjconf/202124914009
PyBONDEM-GPU: A discrete element bonded particle Python research framework – Development and examples
Mechanical Engineering Department, University of Pretoria, 0083 Hatfield, South Africa
* Corresponding author: dressler.sven@gmail.com
Published online: 7 June 2021
Discrete element modelling (DEM) is widely used to simulate granular systems, nowadays routinely on graphical processing units. Graphics processing units (GPUs) are inherently designed for parallel computation, and recent advances in the architecture, compiler design and language development are allowing general-purpose computation to be computed on multiple GPUs. Application of DEM to bonded particle systems are much less common, with a number of open research questions remaining. This study outlines a Bonded-Particle Research DEM Framework, PyBONDEM-GPU, written in Python. This framework leverages the parallel nature of GPUs for computational speed-up and the rapid prototype flexibility of Python. Python is faster and easier to learn than classical compiled languages, making computational simulation development accessible to undergraduate and graduate engineers. PyBONDEMGPU leverages the Numba-CUDA module to compile Python syntax for execution on GPUs. The framework enables research of fibre pull-out from fibre-matrix embeddings. Bonds are simulated between all interacting particles. The performance of PyBONDEM-GPU is compared against Python CPU implementations of PyBONDEM using the Numpy and Numba-CPU Python modules. PyBONDEM-GPU was found to be 1000 times faster than the Numpy implementation and 4 times faster than the Numba-CPU implementation to resolve forces and to integrate the equations of motion.
A video is available at https://doi.org/10.48448/x5qe-nb17
© The Authors, published by EDP Sciences, 2021
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.