Implementing a Hardware Agnostic Commercial Black-Oil Reservoir Simulator

Author:

Szyndel Matthew1,Lemon Christopher1,de Brito Dias Daniel1,Dodds Eamon1,Khramchenkov Eduard1,Rinco Simone1,Sheth Soham1,Tene Matei1,Han Choongyong2,Shi Xundan2,Wolfsteiner Christian2,Cao Hui3,Liao Terrence3,Sekachev Michael3,Zaydullin Rustem3

Affiliation:

1. SLB

2. Chevron

3. TotalEnergies

Abstract

AbstractCommercial reservoir simulators have traditionally been optimized for parallel computations on central processing units (CPUs). The recent advances in general-purpose graphics processing units (GPUs) have provided a powerful alternative to CPU, presenting an opportunity to significantly reduce run times for simulations. Realizing peak performance on GPU requires that GPU-specific code be written, and also requires that data are laid out sympathetically to the hardware. The cost of copying data between the CPU memory and GPU memory at the time of this writing is egregious. Peak performance will only be realized if this is minimized.In paper Cao et al., 2021, the authors establish approaches to enable a simulator to give excellent performance on a CPU or GPU, with the same simulation result using either hardware. We discuss how their prototype was generalized into high-quality, maintainable code with applicability across a wide range of models.Different parts of a reservoir simulator benefit from different approaches. A modern, object-oriented simulator requires components to handle initialization, property calculation, linearization, linear solver, well and aquifer calculations, field management, and reporting. Each of these areas will present architectural challenges when broadening the scope of the simulator from CPU only to supporting CPU or GPU. We outline these challenges and present the approaches taken to address them. In particular, we discuss the importance of abstracting compute scheduling, testing methods, data storage classes, and associated memory management to a generic framework layer.We have created a high-quality reservoir simulator with the capacity to run on a CPU or GPU with results that match to within a very small tolerance. We present software engineering approaches that enable the team to achieve and maintain this in the future. In addition, we present test outcomes and discuss how to achieve excellent performance.To our knowledge, no simulator capable of both CPU simulation and full GPU simulation (meaning simulation with no copies of full grid-size data for purposes other than reporting) has been presented. We will present novel software approaches used to implement the first such commercial simulator.

Publisher

SPE

Reference27 articles.

1. Appleyard, J.R., Appleyard, J.D., Wakefield, M.A., 2011. "Accelerating Reservoir Simulators Using GPU Technology," Paper presented at the SPE Reservoir Simulation Symposium, The Woodlands, Texas, FebruarySPE-141402-MShttps://doi.org/10.2118/141402-MS

2. Special Techniques for Fully-Implicit Simulators;Appleyard,1981

3. FRONTLINE and FRONTSIM: Two Full Scale, Two-Phase, Black Oil Reservoir Simulators Based on Front Tracking;Bratvedt;Surveys on Mathematics for Industry,1993

4. Browning, D.J., and Morton, A. 2011. "Modeling Multi-Tubing Wells in Reservoir Simulation," Paper presented at the SPE Reservoir Simulation Symposium, The Woodlands, Texas, USA. February 21 SPE-140891-MShttps://doi.org/10.2118/140891-MS

5. Caresani, F., Dovera, L., Cominelli, A., , 2019. "Reservoir Simulator Extensibility as the Enabler for Solving Field Management Challenges," Paper presented at the SIS Global Forum 2019, Monaco City, Monaco. September 17https://www.software.slb.com/-/media/software-media-items/software/documents/external/technical-presentations/sis-global-forum-2019/re/reservoir-simulator-extensibility-as-the-enabler-for-solving-field-management-challenges.pdf

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3