摘要
粒子方法是过程工程领域的重要研究手段。粒子模拟是粒子方法在计算机上的实现。粒子方法具有计算强度大的特点,随着粒子模拟系统规模的扩大,如何在现有计算机硬件设备基础上提高粒子模拟程序的性能,缩短模拟时间,成为目前相关研究中所关注的问题之一。本文在分析粒子模拟程序代码特点的基础上考察循环优化技术,并通过编译优化,代码改造等手段对一个典型粒子模拟程序——三维宏观拟颗粒模拟程序进行了计算代码的优化,进而总结出具有普适意义的计算代码优化建议。
Panicle method is an important approach in the research of process engineering and panicle simulation is its implementation on computer. Because of its computational intensiveness, how to enhance the performance of panicle simulation program on existing computer hardware becomes more and more important as the simulated scale of particle system increases. Based on code analysis of particle simulation programs and loop optimization techniques, the computing code of a typical particle simulation program, 3D macroscale pseudo-particle simulation program is optimized on by optimized compiling and code rebuilding in this paper. General optimization suggestions on computing code optimization of panicle simulation programs are put forward as well.
出处
《计算机与应用化学》
CAS
CSCD
北大核心
2009年第12期1523-1528,共6页
Computers and Applied Chemistry
基金
国家自然科学基金(20336040
20221603)
中国科学院创新课题基金资助(0822121119)
关键词
粒子模拟
拟颗粒模型
循环优化
particle simulation, pseudo-particle modeling, loop optimization