首页 | 本学科首页   官方微博 | 高级检索  
     

OpenMP多核技术在颗粒流体力学方法GHM中的应用
引用本文:魏朝磊,闫民,赵方.OpenMP多核技术在颗粒流体力学方法GHM中的应用[J].计算机工程与科学,2017,39(7):1234-1240.
作者姓名:魏朝磊  闫民  赵方
作者单位:;1.北京林业大学信息学院;2.北京林业大学工学院
基金项目:国家自然科学基金(11272061)
摘    要:为了达到提高颗粒流体动力学方法 GHM计算效率的目标,分析了GHM模型的主要计算模块,抽取其中的可并行计算模块,基于多核计算机的硬件环境,应用OpenMP多线程并行计算模型,对采用数值积分方法求解颗粒运动方程的部分,实现求解过程的并行计算。最后通过多次实验验证程序的正确性及算法性能。实验结果表明,在Windows 7系统4核8线程处理器的计算机上,并行程序的并行加速比最高达到了2.5,说明OpenMP多核并行技术能较显著地提高GHM方法的计算性能。

关 键 词:OpenMP  流体力学  并行计算  多核处理器  效率
收稿时间:2015-12-16
修稿时间:2017-07-25

Application of OpenMP multicore technology in granule hydrodynamics method
WEI Chao-lei,YAN Min,ZHAO Fang.Application of OpenMP multicore technology in granule hydrodynamics method[J].Computer Engineering & Science,2017,39(7):1234-1240.
Authors:WEI Chao-lei  YAN Min  ZHAO Fang
Affiliation:(1.College of Information,Beijing Forest University,Beijing 100083; 2.College of Industry,Beijing Forest University,Beijing 100083,China)  
Abstract:In order to improve the computational efficiency of the granule hydrodynamics method (GHM) model, we propose a multi-thread parallel computing model based on OpenMP for multi-core computers. We analyze the primary computational modules and extract the ones that can be paralleled. We then use the OpenMP compiler directive statements and runtime library to realize the parallel computation of the solving process in the GHM model to solve the granules motion equations by using the numerical integration method. Experimental results on Windows platform with 4 cores and 8 threads CPU show that the parallel program's speedup can reach 2.5, which proves that the OpenMP technology can improve the computational efficiency of the GHM significantly, and that it has advantages of easy programming and good portability as well.
Keywords:
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号