Generalized method for parallel computation of particle methods and its application
Particle methods have been widely used in many fields such as chemical engineering,material science and energy.Based on an introduction to the application background and characteristics in the programming and implementation of particle methods,some key problems in designing the main computational module of a general software platform for parallel computation with partical methods are discussed.The implementation of the main module of this platform and relevant template library are introduced in the paper.Object-oriented programming and template techniques are adopted in the software development,and the codes are of good generality and extensibility.The software was tested in simulation of 3D air flow in stove hearth using the PPM method and in MD simulation of phase separation of two immiscible components in membrane.The results manifest that the platform provides good facility for large scale particle simulation.