Computational & Technology Resources
an online resource for computational,
engineering & technology publications
Civil-Comp Proceedings
ISSN 1759-3433
CCP: 90
PROCEEDINGS OF THE FIRST INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED AND GRID COMPUTING FOR ENGINEERING
Edited by:
Paper 8

Parallel Implementation of a Domain Decomposition Algorithm for Molecular Dynamics

G. Berhe, B. Peters, S. Varrette and P. Bouvry

Faculty of Sciences, Technology and Communication, University of Luxembourg, Luxembourg

Full Bibliographic Reference for this paper
G. Berhe, B. Peters, S. Varrette, P. Bouvry, "Parallel Implementation of a Domain Decomposition Algorithm for Molecular Dynamics", in , (Editors), "Proceedings of the First International Conference on Parallel, Distributed and Grid Computing for Engineering", Civil-Comp Press, Stirlingshire, UK, Paper 8, 2009. doi:10.4203/ccp.90.8
Keywords: solid fuel particles, domain decomposition, parallel computing, load-balancing, discrete particle method, molecular dynamics.

Summary
The purpose of this paper is to present a parallel domain decomposition algorithm for a Lagrangian based discrete particle method (DPM). The DPM deals with thermal decomposition of solid e.g. biomass fuel particles and their interactions. The thermal conversion of solid-fuel particles in a combustion chamber involves a large number of particles with different shapes and complex three-dimensional geometry. The simulation requires large computational resources hence can not be performed on a single processor within a reasonable time. While the computation time can be shorten by parallelizing the DPM, the method used for partitioning or decomposing the DPM is very important for the efficiency of the parallelization [1]. The particle interaction in the combustion chamber are short-range interactions so the thermal conversion of a particle is affected by its nearest neighbor particles only. Therefore, a geometric based parallel domain decomposition algorithm for the DPM parallelization is proposed. The algorithm is based on an Orthogonal Recursive Bisection(ORB). Geometric based algorithms are very fast and suitable for repartitioning also called dynamic load balancing. Moreover, handling boundary particles is easy. For applying the algorithm the simulation space is divided into cubical cells. The size of the cell is defined so that the largest particle can fit into a cell. With the cell approach, the problem of finding all particles interacting with a given particle is reduced to checking the particle's own cell and its nearest-neighboring cells. This will significantly reduce the time for the neighboring particle search algorithm. For handling boundary particles, each subdomain is extended to include the so-called halo or ghost cell layer [2]. The ghost cells hold copies of the corresponding active cells in the neighboring processors. Therefore each processor has all the necessary data locally and proceeds with the computation independent of the other processors. The parametric studies conducted to evaluate the performance of the algorithm are presented. Here performance means both the effectiveness of the algorithm to achieve load balancing and its execution time. For measuring the performance different number of particles are considered. The results show that the algorithm is able to achieve less than 7% (2.5% - 6.3%) load imbalance for uniformly distributed particles. For 4096 particles non-uniformly distributed, the algorithm produces only 3.8% load imbalance. The parallel implementation of the algorithm shows that using 2 processors (to create 4 subdomains), there is a reduction of 20% compared to the sequential execution of the algorithm for a large number of particles such as 32768. Using more processors (e.g. 6 processors) does not actually give better performance compared to 2 processors. This is due to the fact that there are more inter-processor communications.

References
1
T. Poschel, T. Schwager, "Computational Granular Dynamics: Models and Algorithms", Springer-Verlag Berlin and Heidelberg GmbH & Co. KG, 2005.
2
C. Korner, T. Pohl, U. Rude, N. Thurey, T. Zeiser, "Parallel Lattice Boltzmann Methods for CFD Applications", in A.M. Bruaset, A. Tveito, (Editors), "Lecture Notes in Computational Science and Engineering, Numerical Solution of Partial Differential Equations on Parallel Computers", Springer, 439-465, 2006. doi:10.1007/3-540-31619-1_13

purchase the full-text of this paper (price £20)

go to the previous paper
go to the next paper
return to the table of contents
return to the book description
purchase this book (price £72 +P&P)