IORSim: A Mathematical Workflow for Field-Scale Geochemistry Simulations in Porous Media

IF 2.7 3区 工程技术 Q3 ENGINEERING, CHEMICAL Transport in Porous Media Pub Date : 2024-06-22 DOI:10.1007/s11242-024-02094-9
Felix Feldmann, Oddbjørn Nødland, Jan Sagen, Børre Antonsen, Terje Sira, Jan Ludvig Vinningland, Robert Moe, Aksel Hiorth
{"title":"IORSim: A Mathematical Workflow for Field-Scale Geochemistry Simulations in Porous Media","authors":"Felix Feldmann, Oddbjørn Nødland, Jan Sagen, Børre Antonsen, Terje Sira, Jan Ludvig Vinningland, Robert Moe, Aksel Hiorth","doi":"10.1007/s11242-024-02094-9","DOIUrl":null,"url":null,"abstract":"<h3 data-test=\"abstract-sub-heading\">Abstract</h3><p>Reservoir modeling consists of two key components: the reproduction of the historical performance and the prediction of the future reservoir performance. Industry-standard reservoir simulators must run fast on enormous and possibly unstructured grids while yet guaranteeing a reasonable representation of physical and chemical processes. However, computational demands limit simulators in capturing involved physical and geochemical mechanisms, especially when chemical reactions interfere with reservoir flow. This paper presents a mathematical workflow, implemented in <i>IORSim</i>, that makes it possible to add geochemical calculations to porous media flow simulators without access to the source code of the original host simulator. An industry-standard reservoir simulator calculates velocity fields of the fluid phases (e.g., water, oil, and gas), while IORSim calculates the transport and reaction of geochemical components. Depending on the simulation mode, the geochemical solver estimates updated relative and/or capillary pressure curves to modify the global fluid flow. As one of the key innovations of the coupling mechanism, IORSim uses a sorting algorithm to permute the grid cells along flow directions. Instead of solving an over-dimensionalized global matrix calling a Newton–Raphson solver, the geochemical software tool treats the species balance as a set of local nonlinear problems. Moreover, IORSim applies basis swapping and splay tree techniques to accelerate geochemical computations in complex full-field reservoir models. The presented work introduces the mathematical IORSim concept, verifies the chemical species advection, and demonstrates the IORSim computation efficiency. After validating the geochemical solver against reference software, IORSim is used to investigate the impact of seawater injection on the NCS Ekofisk reservoir chemistry.</p><h3 data-test=\"abstract-sub-heading\">Article Highlights</h3><ul>\n<li>\n<p>The IORSim sorting algorithm decouples the nonlinear geochemical reaction calculations into recurring one-dimensional problems to assure numerical stability and computation efficiency. To the best of our knowledge, this work presents the mathematical concept, implementation, and application of topological sorting for the first time on (industry) field-scale problems.</p>\n</li>\n<li>\n<p>IORSim combines topological sorting with basis swapping and splay trees to significantly reduce computation times. Moreover, a high-speed forward simulation mode was developed to allow the post-advection of chemical components to visualize species distribution, water chemistry, and mineral interactions. If the geochemical reactions interfere with the fluid flow, the IORSim backward mode uses relative permeability curves to update the global fluid flow at each time step.</p>\n</li>\n<li>\n<p>We validate the implemented topological scheme on a reservoir grid, show the computation efficiency, and compare the impact of explicit, implicit, and grid refinement on numerical dispersion.</p>\n</li>\n<li>\n<p>The decoupled flow simulator and geochemical reaction calculations allow seamless integration of full-field reservoir models that contain complex geological structures, a large number of wells, and long production histories.</p>\n</li>\n<li>\n<p>The computation capabilities of IORSim are demonstrated by simulating and reproducing the impact of seawater injection in the southern segment of the giant Ekofisk field (more than 50 years of injection and production history). IORSim shows that seawater injection changed the Ekofisk mineralogy and impacted the produced water chemistry. In the investigated Ekofisk case, seawater promoted calcite dissolution and led to the precipitation of magnesite and anhydrite. Moreover, surface complexation modeling revealed that sulfate is adsorbed on the calcite surface.</p>\n</li>\n</ul>","PeriodicalId":804,"journal":{"name":"Transport in Porous Media","volume":null,"pages":null},"PeriodicalIF":2.7000,"publicationDate":"2024-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Transport in Porous Media","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1007/s11242-024-02094-9","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
引用次数: 0

Abstract

Reservoir modeling consists of two key components: the reproduction of the historical performance and the prediction of the future reservoir performance. Industry-standard reservoir simulators must run fast on enormous and possibly unstructured grids while yet guaranteeing a reasonable representation of physical and chemical processes. However, computational demands limit simulators in capturing involved physical and geochemical mechanisms, especially when chemical reactions interfere with reservoir flow. This paper presents a mathematical workflow, implemented in IORSim, that makes it possible to add geochemical calculations to porous media flow simulators without access to the source code of the original host simulator. An industry-standard reservoir simulator calculates velocity fields of the fluid phases (e.g., water, oil, and gas), while IORSim calculates the transport and reaction of geochemical components. Depending on the simulation mode, the geochemical solver estimates updated relative and/or capillary pressure curves to modify the global fluid flow. As one of the key innovations of the coupling mechanism, IORSim uses a sorting algorithm to permute the grid cells along flow directions. Instead of solving an over-dimensionalized global matrix calling a Newton–Raphson solver, the geochemical software tool treats the species balance as a set of local nonlinear problems. Moreover, IORSim applies basis swapping and splay tree techniques to accelerate geochemical computations in complex full-field reservoir models. The presented work introduces the mathematical IORSim concept, verifies the chemical species advection, and demonstrates the IORSim computation efficiency. After validating the geochemical solver against reference software, IORSim is used to investigate the impact of seawater injection on the NCS Ekofisk reservoir chemistry.

Article Highlights

  • The IORSim sorting algorithm decouples the nonlinear geochemical reaction calculations into recurring one-dimensional problems to assure numerical stability and computation efficiency. To the best of our knowledge, this work presents the mathematical concept, implementation, and application of topological sorting for the first time on (industry) field-scale problems.

  • IORSim combines topological sorting with basis swapping and splay trees to significantly reduce computation times. Moreover, a high-speed forward simulation mode was developed to allow the post-advection of chemical components to visualize species distribution, water chemistry, and mineral interactions. If the geochemical reactions interfere with the fluid flow, the IORSim backward mode uses relative permeability curves to update the global fluid flow at each time step.

  • We validate the implemented topological scheme on a reservoir grid, show the computation efficiency, and compare the impact of explicit, implicit, and grid refinement on numerical dispersion.

  • The decoupled flow simulator and geochemical reaction calculations allow seamless integration of full-field reservoir models that contain complex geological structures, a large number of wells, and long production histories.

  • The computation capabilities of IORSim are demonstrated by simulating and reproducing the impact of seawater injection in the southern segment of the giant Ekofisk field (more than 50 years of injection and production history). IORSim shows that seawater injection changed the Ekofisk mineralogy and impacted the produced water chemistry. In the investigated Ekofisk case, seawater promoted calcite dissolution and led to the precipitation of magnesite and anhydrite. Moreover, surface complexation modeling revealed that sulfate is adsorbed on the calcite surface.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
IORSim:多孔介质中野外尺度地球化学模拟的数学工作流程
摘要储层建模包括两个关键部分:再现历史性能和预测未来储层性能。工业标准的储层模拟器必须在巨大的、可能是非结构化的网格上快速运行,同时保证合理地反映物理和化学过程。然而,计算需求限制了模拟器捕捉所涉及的物理和地球化学机制,尤其是当化学反应干扰储层流动时。本文介绍了一种在 IORSim 中实现的数学工作流程,它可以在不访问原始主机模拟器源代码的情况下,将地球化学计算添加到多孔介质流动模拟器中。工业标准储层模拟器计算流体相(如水、油和气)的速度场,而 IORSim 则计算地球化学组分的运移和反应。根据模拟模式的不同,地球化学求解器估算更新的相对压力和/或毛细管压力曲线,以修改全球流体流动。作为耦合机制的主要创新之一,IORSim 使用排序算法沿流动方向排列网格单元。该地球化学软件工具将物种平衡作为一组局部非线性问题来处理,而不是调用牛顿-拉夫逊求解器来求解一个超维度的全局矩阵。此外,IORSim 还应用了基础交换和劈叉树技术,以加快复杂的全场储层模型的地球化学计算速度。本文介绍了 IORSim 的数学概念,验证了化学物种平流,并展示了 IORSim 的计算效率。在对照参考软件验证地球化学求解器之后,IORSim 被用于研究海水注入对 NCS Ekofisk 储层化学的影响。文章亮点IORSim 排序算法将非线性地球化学反应计算解耦为重复出现的一维问题,以确保数值稳定性和计算效率。据我们所知,这项工作首次提出了拓扑排序的数学概念、实现方法,并将其应用于(工业)现场规模的问题。IORSim 将拓扑排序与基础交换和劈叉树相结合,大大减少了计算时间。此外,还开发了一种高速正演模拟模式,允许化学成分的后平流,以直观地显示物种分布、水化学和矿物相互作用。如果地球化学反应干扰了流体流动,IORSim 的后向模式会使用相对渗透率曲线在每个时间步更新全局流体流动。我们在储层网格上验证了实施的拓扑方案,显示了计算效率,并比较了显式、隐式和网格细化对数值分散的影响。解耦流量模拟器和地球化学反应计算允许无缝集成包含复杂地质结构、大量油井和长期生产历史的全油气田储层模型。通过模拟和再现巨型 Ekofisk 油田南段(超过 50 年的注水和生产历史)海水注入的影响,IORSim 的计算能力得到了验证。IORSim 表明,海水注入改变了 Ekofisk 的矿物学结构,并影响了产出水的化学成分。在调查的 Ekofisk 案例中,海水促进了方解石的溶解,并导致了菱镁矿和无水石膏的沉淀。此外,表面复合模型显示,硫酸盐被吸附在方解石表面。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Transport in Porous Media
Transport in Porous Media 工程技术-工程:化工
CiteScore
5.30
自引率
7.40%
发文量
155
审稿时长
4.2 months
期刊介绍: -Publishes original research on physical, chemical, and biological aspects of transport in porous media- Papers on porous media research may originate in various areas of physics, chemistry, biology, natural or materials science, and engineering (chemical, civil, agricultural, petroleum, environmental, electrical, and mechanical engineering)- Emphasizes theory, (numerical) modelling, laboratory work, and non-routine applications- Publishes work of a fundamental nature, of interest to a wide readership, that provides novel insight into porous media processes- Expanded in 2007 from 12 to 15 issues per year. Transport in Porous Media publishes original research on physical and chemical aspects of transport phenomena in rigid and deformable porous media. These phenomena, occurring in single and multiphase flow in porous domains, can be governed by extensive quantities such as mass of a fluid phase, mass of component of a phase, momentum, or energy. Moreover, porous medium deformations can be induced by the transport phenomena, by chemical and electro-chemical activities such as swelling, or by external loading through forces and displacements. These porous media phenomena may be studied by researchers from various areas of physics, chemistry, biology, natural or materials science, and engineering (chemical, civil, agricultural, petroleum, environmental, electrical, and mechanical engineering).
期刊最新文献
Pore-to-Core Upscaling of Two-Phase Flow in Mixed-Wet Porous Media: Part I—Seamless Pore-Network Extraction Analysis of Comparative Thermo-Hydraulic Performance of sCO2 and H2O as Heat-Exchange Fluids in Enhanced Geothermal Systems MHD Mixed Convection Flow Over a Permeable Vertical Flat Plate Embedded in a Darcy–Forchheimer Porous Medium Large Scale Voxel-Based FEM Formulation for NMR Relaxation in Porous Media A Pore-Level Study of Dense-Phase CO2 Foam Stability in the Presence of Oil
×
引用
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