Optimizing Discrete Element Method Simulations with Tree Code-Based Neighborhood Algorithm

Sunday 02 February 2025


Scientists have been working on a new way to optimize the performance of a type of computer simulation called the Discrete Element Method (DEM). DEM is used to model complex systems, such as powders and granular materials, by breaking them down into small particles that interact with each other. The method is widely used in fields like engineering, physics, and biology.


The problem with traditional methods for simulating these interactions is that they can be very time-consuming and computationally expensive. This is because the algorithm has to check every particle against every other particle to see if they are interacting, a process that scales quadratically with the number of particles. For large systems, this can take a long time.


Researchers have been exploring alternative methods to speed up these simulations. One approach is to use a data structure called a tree code, which divides the simulation space into smaller regions and keeps track of which particles are in each region. This allows the algorithm to quickly identify which particles are interacting with each other, reducing the number of calculations needed.


In this study, scientists implemented a tree code-based neighborhood algorithm for DEM simulations in two dimensions. They tested their method on a system of particles moving in a rotating drum and compared its performance to traditional methods like sort and sweep.


The results show that the tree code-based algorithm performs slightly better than sort and sweep for systems with a few thousand particles, but is more complicated to implement. The algorithm is also more parallelizable, which could be beneficial for large-scale simulations on distributed computing systems.


One of the challenges in implementing this method is dealing with elongated particles, which require a wider search range to identify potential interactions. The researchers used a flow diagram to illustrate how their algorithm handles these cases.


The study shows that the tree code-based neighborhood algorithm can improve the performance of DEM simulations, especially for large systems. However, more work is needed to fully optimize this method and make it widely applicable.


This research has implications for fields like materials science, geology, and biology, where DEM simulations are used to model complex systems. By improving the efficiency of these simulations, scientists can gain insights into the behavior of these systems and develop new materials or technologies.


Cite this article: “Optimizing Discrete Element Method Simulations with Tree Code-Based Neighborhood Algorithm”, The Science Archive, 2025.


Discrete Element Method, Computer Simulation, Tree Code, Neighborhood Algorithm, Parallel Computing, Distributed Systems, Particle Interactions, Materials Science, Geology, Biology


Reference: Yuki Watanabe, Dominik Krengel, Hans-Georg Matuttis, “Tree Code Based Neighborhood Algorithms for Discrete Element Methods” (2024).


Leave a Reply