光滑粒子流体动力学的一种并行数值计算方案

A scheme of parallelization of a smoothed particle hydrodynamics algorithm

  • 摘要: 在三维超高速碰撞数值计算方面,针对三维光滑粒子动力学(SPH)方法计算量大和耗时长的缺点,文章提出了一种简单直接、易于编程实现的SPH并行计算方案,并简述了该方案的基本思想、任务划分、变量存储、信息传递以及主要计算步骤。最后利用自编并行程序计算了两个超高速碰撞实例,结果表明:针对几百万个粒子,在运算速度为每秒5万亿次的“银河”计算机上申请23个核并行计算,每步约需要8 s,加速比约为10,并行效率约为50%,计算时间显著减少。

     

    Abstract: This paper presents a straightforward and easy parallel smoothed particle hydrodynamics(SPH) algorithm to reduce the calculation time in the traditional 3D SPH program. The basic idea, the task partition, the variable storage, the message passing, and the main stages of the parallel program are discussed. Two high-velocity impacts are numerically simulated as examples. It is shown that with about several million particles in twenty three nuclear parallel operations at the Galaxy computer of 5000 billion times of operations per second, each step needs about 8 seconds. The acceleration ratio is about 10, and the parallel efficiency is about 50 percent with a remarkable reduction of computation time.

     

/

返回文章
返回