JFTS+H: A Julia-Based Parallel Simulator for the Description of the Coupled flow, Thermal and Geochemical Processes in Hydrate-Bearing Geologic Media

Kotaro Anno, G. Moridis, T. Blasingame
{"title":"JFTS+H: A Julia-Based Parallel Simulator for the Description of the Coupled flow, Thermal and Geochemical Processes in Hydrate-Bearing Geologic Media","authors":"Kotaro Anno, G. Moridis, T. Blasingame","doi":"10.2118/203953-ms","DOIUrl":null,"url":null,"abstract":"\n The objectives of this study are to develop (a) the Julia Flow and Transport Simulator (JFTS), a serial and parallel, high performance non-isothermal, multi-phase, multi-component general simulator of flow and transport through porous/fractured media, and (b) an associated module that describes quantitatively the Equation-of-State (EOS) of the complete H2O+CH4 system by covering all combinations of phase coexistence that are possible in geologic media and including all the regions of the phase diagram that involve CH4-hydrates. The resulting simulator (hereafter referred to as the JFTS+H code) can describe all possible scenarios of hydrate occurrence, dissociation and formation/evolution and is to be used for the investigation of problems of (a) gas production from natural CH4-hydrate accumulations in geologic media, as well as for (b) the analysis of any laboratory experiments involving CH4-hydrates. As indicated by the JFTS name, this simulator is written in the Julia programming language and its parallelization is based on the Message Passing Interface (MPI) approach.\n The JFTS+H simulator is a fully-implicit, Jacobian-based compositional simulator that describes the accumulation, flow and transport of heat, and up to four mass components (H2O, CH4, CH4-hydrate and a water-soluble inhibitor) distributed among four possible phases (aqueous, gas, hydrate, and ice) in complex 3D geologic systems. The dissociation and formation of CH4-hydrates can be described using either an equilibrium or a kinetic model. The automatic derivate capability of Julia greatly simplifies and enhances the Jacobian computations. The MPI Interface (Blaise, 2019) is implemented in all components of the code, and the METIS library (Karypis, 2013) is used for the domain decomposition needed for the effective parallelization of the solution of the Jacobian matrix equation that is accomplished using the LIS library (Nishida, 2010) of parallel Conjugate Gradient solvers for large systems of simultaneous linear equations.\n The JFTS+H code can model the fluid flow, thermal and geochemical processes associated with the formation and dissociation of CH4-hydrates in geological media, either in laboratory or in natural hydrate accumulations. This code can simulate any combination of the three possible gas hydrate dissociation methods (depressurization, thermal stimulation, and inhibitor effects), and computes all associated parameters describing the system behavior. The JFTS+H results show very good agreement with solutions of standard reference problems, and of large 2D and 3D problems obtained from another well-established and widely used numerical simulator.\n The code exploits the speed, computational efficiency and low memory requirements of the Julia programming language. The parallel architecture of JFTS+H addresses the persistent problem of very large computational demands in serial hydrate simulations by using multiple processors to reduce the overall execution time and achieve scalable speedups. The code minimizes communications between processors and maximizes computations within the same computational node, which has important consequences (especially when coupled with the automatic derivative capabilities of Julia) on performance in the development of the Jacobian matrix. An optimal LIS solver is recommended for this type of problem after evaluating different options. This approach provides both speedup and computational efficiency results when different numbers of processors are called in the solution process.\n This work is believed to be the first application of Julia (a new, highly efficient language designed for demanding scientific computations) to create a simulator for flow and transport in porous media. JFTS+H is a fast, robust parallel simulator that uses the most recent scientific advances to account for all known processes in a dynamic hydrate system and works seamlessly on any computational platform (from laptop computers to workstations, to clusters and supercomputers with thousands of processors).","PeriodicalId":11146,"journal":{"name":"Day 1 Tue, October 26, 2021","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2021-10-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Day 1 Tue, October 26, 2021","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2118/203953-ms","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The objectives of this study are to develop (a) the Julia Flow and Transport Simulator (JFTS), a serial and parallel, high performance non-isothermal, multi-phase, multi-component general simulator of flow and transport through porous/fractured media, and (b) an associated module that describes quantitatively the Equation-of-State (EOS) of the complete H2O+CH4 system by covering all combinations of phase coexistence that are possible in geologic media and including all the regions of the phase diagram that involve CH4-hydrates. The resulting simulator (hereafter referred to as the JFTS+H code) can describe all possible scenarios of hydrate occurrence, dissociation and formation/evolution and is to be used for the investigation of problems of (a) gas production from natural CH4-hydrate accumulations in geologic media, as well as for (b) the analysis of any laboratory experiments involving CH4-hydrates. As indicated by the JFTS name, this simulator is written in the Julia programming language and its parallelization is based on the Message Passing Interface (MPI) approach. The JFTS+H simulator is a fully-implicit, Jacobian-based compositional simulator that describes the accumulation, flow and transport of heat, and up to four mass components (H2O, CH4, CH4-hydrate and a water-soluble inhibitor) distributed among four possible phases (aqueous, gas, hydrate, and ice) in complex 3D geologic systems. The dissociation and formation of CH4-hydrates can be described using either an equilibrium or a kinetic model. The automatic derivate capability of Julia greatly simplifies and enhances the Jacobian computations. The MPI Interface (Blaise, 2019) is implemented in all components of the code, and the METIS library (Karypis, 2013) is used for the domain decomposition needed for the effective parallelization of the solution of the Jacobian matrix equation that is accomplished using the LIS library (Nishida, 2010) of parallel Conjugate Gradient solvers for large systems of simultaneous linear equations. The JFTS+H code can model the fluid flow, thermal and geochemical processes associated with the formation and dissociation of CH4-hydrates in geological media, either in laboratory or in natural hydrate accumulations. This code can simulate any combination of the three possible gas hydrate dissociation methods (depressurization, thermal stimulation, and inhibitor effects), and computes all associated parameters describing the system behavior. The JFTS+H results show very good agreement with solutions of standard reference problems, and of large 2D and 3D problems obtained from another well-established and widely used numerical simulator. The code exploits the speed, computational efficiency and low memory requirements of the Julia programming language. The parallel architecture of JFTS+H addresses the persistent problem of very large computational demands in serial hydrate simulations by using multiple processors to reduce the overall execution time and achieve scalable speedups. The code minimizes communications between processors and maximizes computations within the same computational node, which has important consequences (especially when coupled with the automatic derivative capabilities of Julia) on performance in the development of the Jacobian matrix. An optimal LIS solver is recommended for this type of problem after evaluating different options. This approach provides both speedup and computational efficiency results when different numbers of processors are called in the solution process. This work is believed to be the first application of Julia (a new, highly efficient language designed for demanding scientific computations) to create a simulator for flow and transport in porous media. JFTS+H is a fast, robust parallel simulator that uses the most recent scientific advances to account for all known processes in a dynamic hydrate system and works seamlessly on any computational platform (from laptop computers to workstations, to clusters and supercomputers with thousands of processors).
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
JFTS+H:基于julia的含水地质介质流、热、地球化学耦合过程描述并行模拟器
本研究的目标是开发(a) Julia流动和输运模拟器(JFTS),这是一个串行和并行、高性能非等温、多相、多组分的多孔/裂缝介质流动和输运通用模拟器;(b)一个相关的模块,通过涵盖地质介质中可能存在的所有相共存组合,包括相图中涉及CH4水合物的所有区域,定量描述完整H2O+CH4体系的状态方程(EOS)。由此产生的模拟器(以下称为JFTS+H代码)可以描述水合物发生、解离和形成/演化的所有可能场景,并将用于调查(a)地质介质中天然ch4水合物聚集的产气问题,以及(b)分析任何涉及ch4水合物的实验室实验。正如JFTS名称所示,该模拟器是用Julia编程语言编写的,其并行化基于消息传递接口(Message Passing Interface, MPI)方法。JFTS+H模拟器是一个完全隐式的、基于雅可比矩阵的成分模拟器,它描述了在复杂的三维地质系统中,热量的积累、流动和输送,以及多达四种质量成分(H2O、CH4、CH4水合物和一种水溶性抑制剂)分布在四种可能的相(水、气、水合物和冰)中。甲烷水合物的解离和形成可以用平衡模型或动力学模型来描述。Julia的自动导数功能大大简化和增强了雅可比矩阵的计算。MPI接口(Blaise, 2019)在代码的所有组件中实现,METIS库(Karypis, 2013)用于有效并行化雅可比矩阵方程解所需的域分解,该解是使用大型联立线性方程组的并行共轭梯度求解器的LIS库(Nishida, 2010)完成的。JFTS+H代码可以模拟与地质介质中ch4水合物形成和解离相关的流体流动、热和地球化学过程,无论是在实验室还是在天然水合物聚集中。该代码可以模拟三种可能的天然气水合物解离方法(减压、热刺激和抑制剂效应)的任何组合,并计算描述系统行为的所有相关参数。JFTS+H的结果与标准参考问题的解,以及从另一个成熟且广泛使用的数值模拟器得到的大型二维和三维问题的解非常吻合。该代码利用了Julia编程语言的速度、计算效率和低内存要求。JFTS+H的并行架构通过使用多个处理器来减少总体执行时间并实现可扩展的加速,解决了串行水合物模拟中非常大的计算需求的持久问题。代码将处理器之间的通信最小化,并将同一计算节点内的计算量最大化,这对雅可比矩阵开发中的性能有重要影响(特别是与Julia的自动求导功能相结合时)。在评估了不同的选项后,建议使用最优LIS求解器来解决此类问题。当在求解过程中调用不同数量的处理器时,这种方法提供了加速和计算效率结果。这项工作被认为是Julia(一种新的、高效的语言,专为要求苛刻的科学计算而设计)在多孔介质中创建流动和传输模拟器的第一次应用。JFTS+H是一个快速,强大的并行模拟器,使用最新的科学进展来解释动态水合物系统中的所有已知过程,并在任何计算平台(从笔记本电脑到工作站,到集群和具有数千个处理器的超级计算机)上无缝工作。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Urban landscape and technical systems in the river valleys of the Right Bank of Ukraine Assessment of general and professional competences formation level by bachelors studying of specialty 101 Ecology Relief and geological structure of Vyzhnytskyi and Cheremoskyi national natural parks (Ukrainian Carpathians) Simulation of large-scale forest fire parameters Comparative characteristics of the land use structure for different types of territorial communities
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1