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

OpenMP在CO2地质储存数值模拟并行计算中的应用
引用本文:杨艳林,许天福,靖晶. OpenMP在CO2地质储存数值模拟并行计算中的应用[J]. 水文地质工程地质, 2018, 0(5): 129-129. DOI: 10.16030/j.cnki.issn.1000-3665.2018.05.18
作者姓名:杨艳林  许天福  靖晶
作者单位:1.武汉地质调查中心,湖北 武汉430205;2.吉林大学环境与资源学院,吉林 长春130021;3.中国地质大学(武汉)环境学院, 湖北 武汉430074
基金项目:中国地质调查局公益项目(DD20160248)
摘    要:为减少CO2地质储存数值模拟计算时间和增强计算规模,文章提出基于OpenMP和动态内存分配的方式,重构TOUGH2-ECO2N数值模拟器。通过耗时评估可知,模拟器的主要耗时部分为状态方程计算、组建矩阵方程和方程求解。基于此,在遵循OpenMP并行化原则下,采用动态内存分配、处理跳转语句和算法内部的相关性,以及函数内部参数优化等措施,完成了多相流模拟器的并行化。计算试验结果表明,并行化模拟器算法正确、执行效率高,且具有加速效果良好的特点。针对中小规模的模型对比试验,4核的加速比可以达到2.28倍。

关 键 词:并行   CO2地质储存   OpenMP   CO2减排   多相流   TOUGH2
收稿时间:2018-02-01
修稿时间:2018-06-12

Application of parallel computing with OpenMP in numerical simulation of CO2 geological storage
YANG Yanlin,XU Tianfu,JING Jing. Application of parallel computing with OpenMP in numerical simulation of CO2 geological storage[J]. Hydrogeology and Engineering Geology, 2018, 0(5): 129-129. DOI: 10.16030/j.cnki.issn.1000-3665.2018.05.18
Authors:YANG Yanlin  XU Tianfu  JING Jing
Affiliation:1.Wuhan Geological Survey Center of China Geological Survey, Wuhan, Hubei430223,China; 2.School of Environment and Resources, Jilin University, Changchun, Jilin130021, China;3.School of environmental studies, China University of Geosciences, Wuhan, Hubei430074, China
Abstract:In order to decrease the simulating time and getting more scale of simulation model, this article implements a parallel TOUGH2-ECO2N on OpenMP. Through the time-consuming assessment, the main time-consuming part of this simulator is the thermophysical properties and phase diagnostics calculation, mass and energy balance equation setup and linear equations solving. Based on it, following the principle of OpenMP parallelism, the parallelization of multiphase flow simulator was accomplished by using dynamic memory allocation, handling jump statements and correlation within algorithm, internal parameters of function, and so on. The experimental results show that the parallelization simulator has the characteristics of correctness, high efficiency and improve the process of solving the multi-phase simulation model.For small and medium scale of simulation model comparison test, the speed was increased by 2.28 times.
Keywords:
本文献已被 CNKI 等数据库收录!
点击此处可从《水文地质工程地质》浏览原始摘要信息
点击此处可从《水文地质工程地质》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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