A Parallel Thermal Reservoir Simulator on Distributed-Memory Supercomputers

Author(s):  
He Zhong ◽  
Hui Liu ◽  
Tao Cui ◽  
Kun Wang ◽  
Bo Yang ◽  
...  
Fluids ◽  
2021 ◽  
Vol 6 (11) ◽  
pp. 395
Author(s):  
Hui Liu ◽  
Zhangxin Chen ◽  
Xiaohu Guo ◽  
Lihua Shen

Reservoir simulation is to solve a set of fluid flow equations through porous media, which are partial differential equations from the petroleum engineering industry and described by Darcy’s law. This paper introduces the model, numerical methods, algorithms and parallel implementation of a thermal reservoir simulator that is designed for numerical simulations of a thermal reservoir with multiple components in three-dimensional domain using distributed-memory parallel computers. Its full mathematical model is introduced with correlations for important properties and well modeling. Efficient numerical methods (discretization scheme, matrix decoupling methods, and preconditioners), parallel computing technologies, and implementation details are presented. The numerical methods applied in this paper are suitable for large-scale thermal reservoir simulations with dozens of thousands of CPU cores (MPI processes), which are efficient and scalable. The simulator is designed for giant models with billions or even trillions of grid blocks using hundreds of thousands of CPUs, which is our main focus. The validation part is compared with CMG STARS, which is one of the most popular and mature commercial thermal simulators. Numerical experiments show that our results match commercial simulators, which confirms the correctness of our methods and implementations. SAGD simulation with 7406 well pairs is also presented to study the effectiveness of our numerical methods. Scalability testings demonstrate that our simulator can handle giant models with billions of grid blocks using 100,800 CPU cores and the simulator has good scalability.


2002 ◽  
Vol 5 (01) ◽  
pp. 11-23 ◽  
Author(s):  
A.H. Dogru ◽  
H.A. Sunaidi ◽  
L.S. Fung ◽  
W.A. Habiballah ◽  
N. Al-Zamel ◽  
...  

Summary A new parallel, black-oil-production reservoir simulator (Powers**) has been developed and fully integrated into the pre- and post-processing graphical environment. Its primary use is to simulate the giant oil and gas reservoirs of the Middle East using millions of cells. The new simulator has been created for parallelism and scalability, with the aim of making megacell simulation a day-to-day reservoir-management tool. Upon its completion, the parallel simulator was validated against published benchmark problems and other industrial simulators. Several giant oil-reservoir studies have been conducted with million-cell descriptions. This paper presents the model formulation, parallel linear solver, parallel locally refined grids, and parallel well management. The benefits of using megacell simulation models are illustrated by a real field example used to confirm bypassed oil zones and obtain a history match in a short time period. With the new technology, preprocessing, construction, running, and post-processing of megacell models is finally practical. A typical history- match run for a field with 30 to 50 years of production takes only a few hours. Introduction With the development of early parallel computers, the attractive speed of these computers got the attention of oil industry researchers. Initial questions were concentrated along these lines:Can one develop a truly parallel reservoir-simulator code?What type of hardware and programming languages should be chosen? Contrary to seismic, it is well known that reservoir simulator algorithms are not naturally parallel; they are more recursive, and variables display a strong dependency on each other (strong coupling and nonlinearity). This poses a big challenge for the parallelization. On the other hand, if one could develop a parallel code, the speed of computations would increase by at least an order of magnitude; as a result, many large problems could be handled. This capability would also aid our understanding of the fluid flow in a complex reservoir. Additionally, the proper handling of the reservoir heterogeneities should result in more realistic predictions. The other benefit of megacell description is the minimization of upscaling effects and numerical dispersion. The megacell simulation has a natural application in simulating the world's giant oil and gas reservoirs. For example, a grid size of 50 m or less is used widely for the small and medium-size reservoirs in the world. In contrast, many giant reservoirs in the Middle East use a gridblock size of 250 m or larger; this easily yields a model with more than 1 million cells. Therefore, it is of specific interest to have megacell description and still be able to run fast. Such capability is important for the day-to-day reservoir management of these fields. This paper is organized as follows: the relevant work in the petroleum-reservoir-simulation literature has been reviewed. This will be followed by the description of the new parallel simulator and the presentation of the numerical solution and parallelism strategies. (The details of the data structures, well handling, and parallel input/output operations are placed in the appendices). The main text also contains a brief description of the parallel linear solver, locally refined grids, and well management. A brief description of megacell pre- and post-processing is presented. Next, we address performance and parallel scalability; this is a key section that demonstrates the degree of parallelization of the simulator. The last section presents four real field simulation examples. These example cases cover all stages of the simulator and provide actual central processing unit (CPU) execution time for each case. As a byproduct, the benefits of megacell simulation are demonstrated by two examples: locating bypassed oil zones, and obtaining a quicker history match. Details of each section can be found in the appendices. Previous Work In the 1980s, research on parallel-reservoir simulation had been intensified by the further development of shared-memory and distributed- memory machines. In 1987, Scott et al.1 presented a Multiple Instruction Multiple Data (MIMD) approach to reservoir simulation. Chien2 investigated parallel processing on sharedmemory computers. In early 1990, Li3 presented a parallelized version of a commercial simulator on a shared-memory Cray computer. For the distributed-memory machines, Wheeler4 developed a black-oil simulator on a hypercube in 1989. In the early 1990s, Killough and Bhogeswara5 presented a compositional simulator on an Intel iPSC/860, and Rutledge et al.6 developed an Implicit Pressure Explicit Saturation (IMPES) black-oil reservoir simulator for the CM-2 machine. They showed that reservoir models over 2 million cells could be run on this type of machine with 65,536 processors. This paper stated that computational speeds in the order of 1 gigaflop in the matrix construction and solution were achievable. In mid-1995, more investigators published reservoir-simulation papers that focused on distributed-memory machines. Kaarstad7 presented a 2D oil/water research simulator running on a 16384 processor MasPar MP-2 machine. He showed that a model problem using 1 million gridpoints could be solved in a few minutes of computer time. Rame and Delshad8 parallelized a chemical flooding code (UTCHEM) and tested it on a variety of systems for scalability. This paper also included test results on Intel iPSC/960, CM-5, Kendall Square, and Cray T3D.


1997 ◽  
Author(s):  
Gautam S. Shiralkar ◽  
R.E. Stephenson ◽  
Wayne Joubert ◽  
Olaf Lubeck ◽  
Bart van Bloemen Waanders

2000 ◽  
Vol 3 (06) ◽  
pp. 559-566 ◽  
Author(s):  
Wim J.A.M. Swinkels ◽  
Rik J.J. Drenth

Summary Reservoir behavior of a hydrate-capped gas reservoir is modeled using a three-dimensional thermal reservoir simulator. The model incorporates a description of the phase behavior of the hydrates, heat flow and compaction in the reservoir and the hydrate cap. The model allows the calculation of well productivity, evaluation of well configurations and matching of experimental data. It shows the potentially self-sealing nature of the hydrate cap. Production scenarios were also investigated for production from the solid hydrate cap using horizontal wells and various ways of dissociating the gas hydrates. These investigations show the role of excessive water production and the requirement for water handling facilities. A data acquisition program is needed to obtain reservoir parameters for gas hydrate accumulations. Such parameters include relative phase permeability, heat capacity and thermal conductivity of the hydrate-filled formations, compaction parameters and rate of hydrate formation and decomposition in the reservoir. Introduction Interest in natural gas hydrates is increasing with foreseen requirements in the next century for large volumes of natural gas as a relatively clean hydrocarbon fuel and with increasing exploration and production operation experience in deepwater and Arctic drilling. While progress is being made in identifying and drilling natural gas hydrates, there is also the need to look ahead and develop production concepts for the potentially large deposits of natural gas hydrates and hydrate-capped gas reservoirs. We are now reaching the stage in which some of the simplifying assumptions of analytical models are not sufficient any longer for developing production concepts for natural gas hydrate accumulations. For this reason we have investigated the option of applying a conventional industrial thermal reservoir simulator to model production from natural gas hydrates. Reservoir behavior of free gas trapped under a hydrate seal is to a great extent similar to the behavior of a conventional gas field with the following major differences:thermal effects on the overlying hydrate cap have to be taken into account;potentially large water saturations can build up in the reservoir;relatively low pressures;high formation compressibility can be expected. Use of a thermal compositional reservoir simulator to model the behavior of hydrates and hydrate-capped gas has not been attempted before. We have shown before1 that existing knowledge of phase behavior and thermal reservoir modeling can be fruitfully combined to better understand the behavior of natural gas hydrates in the subsurface. In this paper we will expand on this work and provide further results. After an overview of the model setup, we will first show some results for modeling the depletion of the gas accumulations underlying the hydrate layer. This will be followed by the results for production from the hydrate layer itself, applying heat injection in the formation. Modeling Natural Hydrate Associated Production Attempts to model the behavior of hydrate-capped gas and hydrate reservoirs have been documented by various authors in the literature. Simple energy balance approaches are used by Kuuskraa and Hammershaimb et al.2 Masuda et al.,3 Yousif et al.,4 and Xu and Ruppel5 have presented numerical solutions to analytical models. The first two of these papers do not include thermal effects in their calculations. Reference 5 is specifically aimed at the formation phase of hydrates in the reservoir over geological times, and is less relevant to the production phase. An attempt at explaining the production behavior of a possibly hydrate-capped gas accumulation is described by Collett and Ginsburg.6 The depth and thickness of the hydrate layer under various conditions were described by Holder et al.7 and by Hyndman et al.8 All these approaches apply analytical methods to explain the subsurface occurrence and behavior of natural gas hydrates using various simplifying assumptions. In earlier work1 we have shown that modeling the reservoir behavior of hydrate-capped gas reservoirs with a three-dimensional (3D) thermal hydrocarbon reservoir simulator allows us to account for reservoir aspects, which are disregarded in most analytical models. Such aspects includewell inflow pressure drop and the effects of horizontal and vertical wells in the reservoir;heat transfer between the reservoir fluids and the formation;the geothermal gradient;phase behavior and pressure/volume/temperature (PVT) properties of the reservoir fluids as a fluction of pressure decline;internal architecture and geometry of the reservoir; andreservoir compaction effects. Objective The current study was undertaken to show the feasibility of modeling production behavior of a hydrate-capped gas reservoir in a conventional 3D thermal reservoir simulation model. Objectives of the modeling work include the following.Understand reservoir behavior of natural gas hydrates and hydrate-capped reservoirs. Important aspects of the reservoir thermodynamics are the potential self-preservation capacity of the hydrate cap, the limitation on hydrate decomposition imposed by the thermal conductivity of the rock and the influence of compaction.Confirm material and energy balance analytical calculations.Investigate production options, such as the application of horizontal wells.Calculate well productivity and evaluate well configurations. This study was performed as part of an ongoing project involving other geological and petroleum engineering disciplines. Accounting for Thermal Effects In this study the thermal version of an in-house hydrocarbon reservoir simulator is used.9 We represent the reservoir fluids by a gaseous, a hydrate and an aqueous phase, which are made up of three components, two hydrocarbons and a water component.


Sign in / Sign up

Export Citation Format

Share Document