Implementing a Hardware Agnostic Commercial Black-Oil Reservoir Simulator
-
Published:2023-03-21
Issue:
Volume:
Page:
-
ISSN:
-
Container-title:Day 1 Tue, March 28, 2023
-
language:
-
Short-container-title:
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.
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篇论文的施引文献,订阅后可以查看论文全部施引文献
|
|