High Performance Computing and Speedup Techniques in Geochemical Modeling of Matrix Acidizing

Wan Wei, A. Sanaei, Fabio Bordeaux Rego, K. Sepehrnoori
{"title":"High Performance Computing and Speedup Techniques in Geochemical Modeling of Matrix Acidizing","authors":"Wan Wei, A. Sanaei, Fabio Bordeaux Rego, K. Sepehrnoori","doi":"10.2118/212165-ms","DOIUrl":null,"url":null,"abstract":"\n Matrix acidizing is a stimulation treatment during which acid is injected below formation fracture pressure. The purpose of acidizing is to enlarge pore space or create channels through dissolution of plugging particles and formation minerals near the wellbore. Simulation of acidizing process is computationally expensive, especially for geochemical simulation which considers full-species transport and complex reactions. In this paper, geochemical modeling of acidizing process is implemented through coupling two simulation models. One is UTCOMP (a 3D reservoir simulator) which is responsible for calculations of fluid flow and solute transport. The other is IPhreeqc (a geochemical package) which is responsible for calculations of kinetic and equilibrium reactions among minerals and aqueous species. Acidizing simulation through the coupled model UTCOMP-IPhreeqc is computationally expensive, and geochemical calculations through IPhreeqc are the computational bottleneck. To improve the computational efficiency, geochemical calculations which take up the majority of the computational time are parallelized. And speedup techniques are implemented to reduce the number of IPhreeqc calls through monitoring the amount change of geochemical components. We have validated the coupled model UTCOMP-IPhreeqc through comparison with the analytical solution in previous work. Parallel performance is measured by comparing total CPU time, CPU time spent on geochemical calculations, and speedup ratios among simulation runs using different processor numbers. For heterogeneous matrix, different dissolution patterns are generated under different injection rates, and the computational time varies depending on the total injection time and the average time step size. For different dissolution patterns, the overall speedup ratio is up to 6.69 when using 16 processors, reducing 85% of CPU time compared with the case using a single processor. The speedup ratio for geochemical calculations is up to 14.21 when using 16 processors, saving 93% of CPU time compared with the case using a single processor. Besides parallel computing, the speedup techniques also improve the computational efficiency, and obtain optimal performance for wormhole dissolution patterns in which most of the geochemical reactions occur in a localized volume. The computational time is reduced to 49% maintaining 96% accuracy compared with the case without using speedup techniques. The coupled model UTCOMP-IPhreeqc has the modeling ability of full-species transport and complex reactions. On this basis, the presented model significantly improves the computational efficiency of UTCOMP-IPhreeqc through parallel computing and speedup techniques reducing the computational time of geochemical calculations.","PeriodicalId":225811,"journal":{"name":"Day 1 Tue, March 28, 2023","volume":"47 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Day 1 Tue, March 28, 2023","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2118/212165-ms","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Matrix acidizing is a stimulation treatment during which acid is injected below formation fracture pressure. The purpose of acidizing is to enlarge pore space or create channels through dissolution of plugging particles and formation minerals near the wellbore. Simulation of acidizing process is computationally expensive, especially for geochemical simulation which considers full-species transport and complex reactions. In this paper, geochemical modeling of acidizing process is implemented through coupling two simulation models. One is UTCOMP (a 3D reservoir simulator) which is responsible for calculations of fluid flow and solute transport. The other is IPhreeqc (a geochemical package) which is responsible for calculations of kinetic and equilibrium reactions among minerals and aqueous species. Acidizing simulation through the coupled model UTCOMP-IPhreeqc is computationally expensive, and geochemical calculations through IPhreeqc are the computational bottleneck. To improve the computational efficiency, geochemical calculations which take up the majority of the computational time are parallelized. And speedup techniques are implemented to reduce the number of IPhreeqc calls through monitoring the amount change of geochemical components. We have validated the coupled model UTCOMP-IPhreeqc through comparison with the analytical solution in previous work. Parallel performance is measured by comparing total CPU time, CPU time spent on geochemical calculations, and speedup ratios among simulation runs using different processor numbers. For heterogeneous matrix, different dissolution patterns are generated under different injection rates, and the computational time varies depending on the total injection time and the average time step size. For different dissolution patterns, the overall speedup ratio is up to 6.69 when using 16 processors, reducing 85% of CPU time compared with the case using a single processor. The speedup ratio for geochemical calculations is up to 14.21 when using 16 processors, saving 93% of CPU time compared with the case using a single processor. Besides parallel computing, the speedup techniques also improve the computational efficiency, and obtain optimal performance for wormhole dissolution patterns in which most of the geochemical reactions occur in a localized volume. The computational time is reduced to 49% maintaining 96% accuracy compared with the case without using speedup techniques. The coupled model UTCOMP-IPhreeqc has the modeling ability of full-species transport and complex reactions. On this basis, the presented model significantly improves the computational efficiency of UTCOMP-IPhreeqc through parallel computing and speedup techniques reducing the computational time of geochemical calculations.
基质酸化地球化学模拟中的高性能计算与加速技术
基质酸化是一种增产措施,在此过程中,在地层破裂压力以下注入酸。酸化的目的是通过溶解井筒附近的堵塞颗粒和地层矿物来扩大孔隙空间或形成通道。酸化过程的模拟计算成本很高,特别是考虑全种输运和复杂反应的地球化学模拟。本文通过两个模拟模型的耦合,实现了酸化过程的地球化学建模。一个是UTCOMP(一个三维油藏模拟器),它负责计算流体流动和溶质运移。另一个是IPhreeqc(一个地球化学软件包),它负责计算矿物和含水物种之间的动力学和平衡反应。通过耦合模型UTCOMP-IPhreeqc进行酸化模拟计算成本高,而通过IPhreeqc进行地球化学计算是计算瓶颈。为了提高计算效率,将占用大部分计算时间的地球化学计算并行化。采用加速技术,通过监测地球化学组分的变化,减少IPhreeqc的调用次数。我们通过与前人的解析解对比,验证了耦合模型UTCOMP-IPhreeqc。并行性能是通过比较总CPU时间、用于地球化学计算的CPU时间以及使用不同处理器数量的模拟运行之间的加速比来衡量的。对于非均相基质,在不同的注入速度下会产生不同的溶解模式,计算时间随总注入时间和平均时间步长而变化。对于不同的分解模式,当使用16个处理器时,总体加速比高达6.69,与使用单个处理器的情况相比,减少了85%的CPU时间。在使用16个处理器的情况下,地球化学计算的加速比高达14.21,与使用单个处理器的情况相比,节省了93%的CPU时间。除了并行计算外,加速技术还提高了计算效率,并在大多数地球化学反应发生在局部体积内的虫孔溶解模式下获得了最佳性能。与不使用加速技术的情况相比,计算时间减少到49%,准确率保持在96%。耦合模型UTCOMP-IPhreeqc具有全种输运和复杂反应的模拟能力。在此基础上,该模型通过并行计算和加速技术显著提高了UTCOMP-IPhreeqc的计算效率,减少了地球化学计算的计算时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信