Challenges, models, and algorithms for flow and transport simulations in deep reservoirs


Abstract

The development of deep reservoirs is an emerging topic in the energy industry. This paper analyzes the challenges in simulations of flow and transport in deep reservoirs and introduces models and algorithms aimed at resolving these challenges. A fast, accurate, and robust phase equilibrium model is developed with the aid of deep learning algorithms to accelerate the thermodynamic analysis of deep reservoir fluids. A pixel-free search algorithm is developed to generate a pore-network model that describes pore connectivity and porous media fluidity. A fully conservative Implicit Pressure Explicit Saturation algorithm is developed to simulate the Darcy-scale two-phase flow while achieving a reliable result for production evaluation. Numerical examples are presented to validate the performance of the developed models and algorithms. This paper also presents suggestions for future studies on deep reservoirs to achieve both scientific and engineering progress.

Highlights


  • A thorough and comprehensive review on the challenges on the flow and transport simulations in deep reservoirs is presented.

  • A number of models and algorithms are proposed to overcome the challenges.

  • Deep-learning accelerated algorithms are proposed to improve the simulation performance in deep reservoirs.


1 INTRODUCTION

Deep and ultra-deep reservoirs have higher temperatures and pressures than shallow layers (Ren et al., 2020; Zhang, Liu, et al., 2024). In recent years, considerable progress has been made in the global exploration and development of deep oil and gas resources, with deep reservoirs becoming one of the main driving forces in the growth of proven energy reserves in the past decade (Zeng et al., 2023). For example, deep and ultra-deep layers have become the main battlefields of oil and gas exploration in China; in this regard, the Tarim Basin has large onshore oil and gas storage and production potential (Zheng et al., 2018). The relatively thick geological strata in China indicate that oil and gas extraction is more expensive and requires more in-depth geological research. However, from a geological perspective, China's sedimentary rock strata are relatively thick, indicating that China's strata have a greater amount of information and potential data for stratigraphic research. Therefore, it also provides sufficient data preparation for the optimization and exploitation of deep oil and gas reservoirs. Currently, exploration and development of oil and gas resources have begun in the ultra-deep layer of the Tarim Basin, and a representative ultra-deep oil and gas production base has been built in China (Gu et al., 2019). Although deep and ultra-deep oil and gas resources are abundant and have enormous development potential, their safe and economic development is extremely challenging owing to factors such as high temperature, high pressure, and complex geological environment conditions (Purvis et al., 2002).

Reservoir development is undertaken after completion of various stages of oil and gas exploration, such as geophysical exploration, drilling, logging, and testing (Xue et al., 2023). It is not only the final step in the upstream development stage but also a crucial step in transforming deep and ultra-deep oil and gas into well-known and commonly used fossil fuels. In this stage, developers must conduct in-depth research to safely and efficiently extract oil and gas. Extraction of oil and gas reservoirs requires a consideration of the following aspects: drilling location, number of wells to be drilled, oil and gas production quantity, extraction duration (in years), and economic benefits (Sahu et al., 2020). Formulating scientific and efficient development technology strategies to prolong the stable production period of oil and gas is the core problem, and maximizing the oil and gas recovery rate is the goal of the petroleum industry. Typically, the development process goes through three stages: preliminary evaluation, development design, and development adjustment. Deep oil and gas reservoirs are extremely complex, which makes it difficult to clearly describe the fluid characteristics, reservoir characteristics, and flow patterns of the formation using conventional reservoir models (Cao & Wu, 2017). Developers summarize objective development laws based on existing development practices and use these laws to guide future development practices, thereby achieving progress in the development of such oil and gas reservoirs. Preliminary evaluation is a process through which developers use the available data at the initial stage to preliminarily perceive, depict, and calculate the shape and other characteristics of underground oil and gas reservoirs. This is similar to the medical practice of “observing, hearing, and asking questions” (Nowrouzi et al., 2022). Preliminary evaluation is a necessary means of understanding the basic characteristics of deep oil and gas reservoirs to clarify the appropriate development technology strategies and to reduce the risks and uncertainty associated with development. For deep and complex reservoirs, it is imperative to adhere to the following key steps: obtaining dynamic data, accurately understanding the development characteristics of gas reservoirs, and determining the scale of development at the early stage of evaluation. Subsequently, it is important to evaluate the main process technology for the development, to demonstrate the feasibility of the technology and the associated economics, and to guide the design of the development plan and the key stages of large-scale field processing (Dogru et al., 2002). With the acquisition and analysis of long-term and large-scale dynamic data combined with the dynamic and static implementation of structural characteristics, fracture and pore connectivity patterns, the scale of used reserves, the stable production capacity of oil and gas wells, and the activity level of water bodies, we deepen our understanding of geology and development laws; moreover, we improve the degree of conformity between actual development indicators and scheme design indicators. The geological conditions of deep gas reservoirs are complex, and even two adjacent blocks within the same zone can show considerable differences in geological reservoir characteristics (Odling et al., 1999). Therefore, careful analysis of the porous structure and fluidity during actual development is imperative. After obtaining a relatively accurate understanding of the underground porous structure, it is essential to diagnose and treat, i.e., to design reasonable technical measures based on the specific geological characteristics of the reservoir. Reasonable development technology measures can support the economic and efficient development of gas reservoirs, thereby achieving maximum economic benefits and resource utilization. Unreasonable development technology policies may exert considerable short-term positive effects, but in the long run, they can result in a substantial waste of funds and resources and provide marginal economic or social benefits (Jurelevicius et al., 2021).

Deep oil and gas reservoirs mainly include fractured low-permeability sandstone reservoirs and fault-controlled/fractured carbonate reservoirs (Kang & Zhang, 2023). Some common difficulties include the depth of reservoir burial, poor seismic imaging accuracy, difficulty in reservoir understanding, complex gas–water relationships, and considerable changes in geo-stress. Owing to the long propagation distance of seismic waves, high loss of signal energy, and fast attenuation of high-frequency components, coupled with the characteristic of multiple structural layers overlapping in most basins, middle and deep layers undergo substantial structural fluctuations (Hou et al., 2018). In some areas, high and steep strata develop and the vertical and horizontal velocities of the strata vary considerably. The imaging error of seismic data migration is large and the imaging accuracy is low, which makes it difficult to accurately predict the reservoir and determine its structure (Pan et al., 2020). The complex law of reservoir seepage flow also poses a difficulty. The matrix of deep reservoirs is generally relatively dense, but cracks and pores develop and form complex reservoir and seepage systems with strong heterogeneity (Luo et al., 2016). The strong heterogeneity of deep gas reservoirs results in a complex distribution of gas and water, often with one well and one reservoir, and the development patterns of adjacent wells in the same plane can vary considerably. Complex reservoir types such as crack pore type and pore type make the gas–water seepage law of deep reservoirs very complex. Conventional indoor experiments have difficulty simulating the seepage state of such complex reservoirs, and geological models and numerical simulations have difficulty in accurately reflecting the complex distribution and transport laws of oil and gas (Aguilar-Madera et al., 2019).

In this study, focusing on the challenges of recognizing porous structures and simulating seepage flow, models and algorithms are developed in Section 2 to improve the development of deep reservoirs. A fast, accurate, and robust multicomponent phase equilibrium model is generated with the aid of deep learning techniques, which can be used to test the phase stability of deep reservoir fluids and provide a thermodynamic basis for multicomponent multiphase flow. A flashlight search medial axis (FDMA) algorithm is proposed to generate a pore network model that can be used to obtain basic information about pore connectivity and fluidity for further seepage flow simulation in deep porous media. A fully conservative two-phase flow algorithm is developed to simulate Darcy-scale seepage flow in porous media, with better conservation properties than the classical algorithms commonly used in the petroleum industry. Numerical examples are presented in Section 3 to demonstrate the performance of the developed model and algorithms, with subsequent analysis to demonstrate their applicability in deep reservoirs. Concluding remarks and suggestions for future research are presented in Section 4.

2 MODELS AND ALGORITHMS

2.1 Fast, accurate, and robust phase equilibrium model

In the study of multicomponent and multiphase flow, especially when the complex porous structure and thermodynamic conditions (temperature, pressure) of deep reservoirs are considered, one key step is determining the phase composition and distribution of the fluid mixture that flows, that is, determining whether it is a single gas phase, a single liquid phase, a gas–liquid mixed phase, or a supercritical phase and whether phase transition is underway (Zhang et al., 2024; Zhang, Zhang, et al., 2022). Based on this, other physical and chemical properties of the fluid can be calculated, such as its density, the composition of each component phase, and its surface tension. This process is also known as flash calculation (Zhang et al., 2021). Flash calculation can usually be divided into two categories: NPT (given pressure and temperature) flash and NVT (given molar volume and temperature) flash algorithms. The NPT flash algorithm has a long history of development and simple steps and is now widely used in the energy industry (Babayemi & Eluno, 2021). However, it has been noted that the NPT flash method has two significant drawbacks. First, the results of NPT flash may not provide a unique solution to a cubic equation, which requires human intervention to select physically meaningful results and poses obstacles to large-scale flash calculations (Michelsen, 1982). There may be extreme cases where there are virtual roots or where the roots have no physical meaning, which also hinders the application of this method in engineering research. In addition, another key drawback of the NPT flash algorithm is that in actual multicomponent reservoir fluid flow processes, pressure often cannot be given as a prerequisite, but is a thermodynamic variable that needs to be calculated (Zhang et al., 2023). This also significantly limits the practical application of the NPT flash algorithm in engineering practice. Thus, NVT flash is developed in this section with energy stability properties and adheres to the second law of thermodynamics.

As the name indicates, the NVT flash calculation method is generated based on the constant chemical composition, molar volume, and temperature of each component under given conditions, thus preventing the need for a predetermined pressure value. In NVT calculations, the most time-consuming step is solving the Helmholtz free-energy minimization problem, and efficiency optimization algorithms to solve this problem have become a research hotspot. According to the requirements of the second law of thermodynamics, as the total entropy of a system increases, its total energy decreases. To meet such basic laws, the following semi-implicit iterative scheme can be designed to update the number of moles ( ) and volume ( ) of substances ( ):
(1)
(2)
where CV denotes the volume-related coefficient, denotes the gas phase, is the liquid phase, is the time step, is the volume, is the pressure, and is the coefficient of component . The positive-definite coefficient matrix is defined as
(3)
(4)
to meet the requirement of an entropy increase and energy decrease that satisfy the second law of thermodynamics. Using the above iterative scheme, the algorithm demonstrates thermodynamic conservation by the following energy decay law:
(5)

The traditional energy industry is expanding production capacity and upgrading technology with the rapid development of artificial intelligence and big data, and the capacity for computing reservoir simulation often reaches the level of billions of grids (Al-Saadoon et al., 2013). For the common multiphase flow problems in reservoir simulations, phase equilibrium analysis must be carried out simultaneously in these billions of grids to clarify the existence of multiphase flow and provide a physically meaningful initial field. The iterative flash calculation algorithm cannot fulfill the needs of such large-scale and high-precision calculations, and thus more advanced modeling and simulation methods are needed to achieve an acceptable computational cost in engineering.

A thermodynamics-informed neural network (TINN) (Zhang, Sun, et al., 2022) and corresponding deep learning algorithms can be used to accelerate the phase equilibrium calculations of deep reservoirs. Using the iterative NVT flash evaporation algorithm generated above, a certain amount of phase equilibrium data can be obtained by selecting an appropriate range of environmental conditions, and the data can be used as a benchmark database for deep learning. The environmental temperature and total molar concentration are extracted as environmental parameters using thermodynamic analysis, and the critical temperature, critical pressure, acentric factor, and molar fraction of each component are selected as the thermodynamic characteristics of the components to jointly form the input parameters. The output layer produces the results of phase stability testing, namely, the total number of phases in the fluid at equilibrium, and the results of the phase separation calculation, namely, the molar composition of the gas–liquid phases at equilibrium. These outputs can be used for the rapid prediction of multicomponent phase equilibrium. A highly adaptive deep learning algorithm and a corresponding deep neural network structure were designed, and the network hyperparameters and basic architecture were carefully optimized to improve the training efficiency and prediction accuracy of the neural network. Using a three-layer neural network as an example, the general form of the machine learning accelerated phase equilibrium prediction model can be written as
(6)
where denotes the neural network output; denotes the input features; , and denote the coefficient vector in each layer; , and denote the bias in each layer; and , , and denote the activation function in each layer. Bias is used here to increase the complexity of neural networks in model training, control the threshold of each neuron, control the activation state of neurons, and improve training efficiency. The thermodynamic laws for various thermodynamic features are usually described by state equations. For deep learning models, this strong nonlinear correlation is characterized by activation functions (Kiliçarslan & Celik, 2021).
Another major contribution of TINN is that it addresses the challenges of variable composition and variable properties in actual energy development, thereby enhancing the adaptability of network architecture and models, assuming that the NVT flash calculation method proposed above yields flash calculation results for deep reservoir fluids with components and the target fluid mixture contains components. Because of the complex geophysical and geochemical processes involved in the formation and development of deep reservoirs, it is a common occurrence that , which places high demands on the adaptability and robustness of neural network architectures and poses a huge challenge to conventional deep learning-assisted flash calculation algorithms. To address this challenge with as an example, virtual components with the minimum key thermodynamic characteristics were defined during data preparation. Thus, after the data preparation and network preprocessing, the input data for the first layer in the flash prediction network were as follows:
(7)
which includes the temperature , the total mole concentration , the critical temperature , the critical pressure , the acentric factor , and the mole fraction of each real component , as well as the same features of the ghost components . In addition to the advanced network architecture containing thermodynamic information, the algorithm was further “thermodynamically informed” by modifying the loss function using basic thermodynamic rules. In detail, the loss function was generated as
(8)
where denotes the loss function, is the number of training data observations, is the ground truth data, is the regularization coefficient of the L2 weight decay term, is the weight parameter, and is the number of components. and denote the mole concentration of each component in the liquid and gas phases, respectively. The conservation rules and were incorporated to improve the thermodynamic consistency during the loss function decay process during the training of the deep learning model.

2.2 FSMA algorithm

To address the pore network extraction problem, we proposed a faster and more accurate FSMA method (Liu et al., 2023). The minimum distance from a void space to a solid space can be calculated using the function in Figure 1. We use this function to assign each point in the void space a dist value, which is used to identify the pore center or critical point. Initially, one point in the void space is randomly selected, and the steepest descent method is used to identify the first pore center. The search space around this pore center (the red point) can be discretized, as in the search region in Figure 1, and the dist value of each discretized point is then determined. Then, along the green circle (the search region), the sequence of discretized points forms a distal curve.

Details are in the caption following the image
Workflow of the FSMA method, where the gray region represents the solid phase and the white region represents the void phase.

As we introduced in our previous study (Liu et al., 2023), the discontinuous point of the distal curve is the medial axis point, which is named the critical point. Thus, the critical points are determined in the search region, which is shown as three blue points in Figure 1. These three critical points from the pore center represent three different branches of the pore network. By following the different branches, the entire pore network can be determined. As a consequence, the problem becomes critical point identification from one pore center to the next pore center. Inspired by the flashlight, we try to search for the critical point using a fan-shaped search region in front of the previous point.

On the curve of the fan-shaped search region, we use a similar idea. The curve is discretized and the dist distribution is obtained. Accordingly, the critical point is found within the search region. When we repeat the same processes, the identified critical point sequence can represent the medial axis of the void space. After the sequence of critical points is obtained, the dist value sequence is shown. On the dist distribution, we can observe the local maximum and local minimum dist values, which correspond to the pore center and the throat center, respectively.

2.3 Fully conservative implicit pressure explicit saturation (IMPES) algorithm

Darcy-scale modeling and simulation of reservoir porous media have undergone considerable development, and conventional methods have been proposed to describe the flow and diffusion phenomena of gases and fluids in solid porous media. These mathematical models tend to have strong nonlinearity. There are usually three solution schemes for nonlinear mathematical models: fully implicit, semi-implicit, and fully explicit. The fully implicit processing of all items and the simultaneous resolution of all unknown items are therefore often considered an unconditionally stable algorithm. However, implicit methods require significant computational resources for each time step. The IMplicit–EXplicit (IMEX) format implicitly processes linear terms and explicitly calculates other terms (Gardner et al., 2018), and it has better stability than the fully explicit format and can eliminate the nonlinearity of the original equation. Compared with fully implicit algorithms, it has better computational efficiency. Therefore, the IMEX format has been used in the design of numerical simulation algorithms for diffusion layer systems. Operator decoupling is an effective method that simplifies complex time-dependent problems into several simpler ones. Using operator decoupling, iterative operator splitting schemes can be further constructed and developed into iterative methods for solving nonlinear systems. The IMPES scheme has been widely used to solve coupled nonlinear systems of a two-phase flow in porous media (Chen et al., 2004). It is a typical IMEX format that uses a physics-based decoupling method. In the standard IMPES format proposed in the 1960s, the pressure equation was obtained by substituting saturation constraints and Darcy's law in the sum of the two conservation laws of mass for each phase at a continuous level in time and space and by explicitly processing all other variables in the pressure equation to eliminate nonlinearity. Then, the pressure equation was implicitly solved, and as long as the pressure was obtained, the Darcy velocity and two-phase saturation were explicitly updated. Compared with the fully implicit scheme, this method is simpler to set up and more efficient to implement, and it requires less computer memory at each time step.

In the classical IMPES algorithm, the two main equations (the pressure equation and the saturation equation) related to the two main unknowns (non-wetting phase pressure and wetting phase saturation ) can be written as follows:
(9)
(10)
where
(11)
(12)
For the given from time step , the standard IMPES scheme implicitly solves and explicitly updates the saturation as follows:
(13)
(14)

Because the IMPES scheme has been used for over half a century, its advantages have been recognized and widely accepted by researchers around the world. The IMPES formula is more convenient to implement than the fully implicit scheme. Because of the weak dependence of pressure on saturation and the slow change in pressure over time, the IMPES formula successfully decouples pressure from saturation. Meanwhile, we note some drawbacks of the classical IMPES format: it requires a relatively small time step for numerical stability (as well as to ensure the positive definiteness of saturation). For non-wetting phases, this scheme is not (locally or globally) conserved. Therefore, for the whole fluid mixture, this algorithm is not conservative, locally or globally. In addition, the algorithm may generate a wetting phase saturation greater than 1, which renders its results physically meaningless. In the presence of discontinuous capillary pressure, it cannot reproduce the correct saturation distribution with discontinuity. According to the literature and a theoretical analysis, capillary pressure should play a crucial role in the transport flow of the gas–liquid two-phase flow in deep oil and gas reservoirs; therefore, accurate modeling and description are needed. To address the shortcomings of the classic IMPES algorithm, Hoteit and Firoozabadi proposed an improved IMPES algorithm (Hoteit and Firoozabadi, 2008). With the H–F version of the IMPES algorithm, they hope to accurately manage the differences in capillary pressure in heterogeneous permeable media, which would have a significant impact on the flow development trend of two-phase immiscible flows. The advantages of the H–F IMPES algorithm have been recognized, mainly its ability to reproduce saturation distributions with the expected discontinuities for different capillary pressure functions. However, similar to the standard IMPES, this algorithm is not (locally or globally) conserved for non-wetting phases. Therefore, for the entire two-phase flow fluid, this scheme is not (locally or globally) conserved. More importantly, similar to the standard IMPES, this algorithm may generate a wetting phase saturation greater than 1.

To solve the above problems, a phase-wise conservative numerical method, which is also known as the Sun Algorithm, is proposed to solve a multicomponent multiphase flow in porous media. The auxiliary velocity is defined as
(15)
with the cell-centered finite difference scheme as
(16)
The upwind scheme of can be defined as
(17)
and the Darcy velocity can be calculated as
(18)
The discrete formulation of the entire system can be written as
(19)
(20)
(21)
To decouple the above system, the following operator is denoted as:
(22)
By summing the discrete conservation law for each phase and noting the constraint for the saturation of phases, we solve the following linear system to determine such that:
(23)

Based on this, the Sun Algorithm can be described as given at time step , we seek the solutions at time step as follows:

Step 1. Seek as a function of ,

Step 2. Seek by
(24)
then update by ,
Step 3. Update the wetting and non-wetting phase saturation using
(25)
(26)
The above algorithm can be mathematically proven to be conservative by taking the summation of Equations ( 25) and ( 26) and considering Equation ( 23),
(27)
With the assumption , it yields that
(28)

3 RESULTS AND DISCUSSION

3.1 Phase equilibrium analysis

Usually, as the burial depth increases, the percentage of gas reservoirs also increases. Considering that most of the gas components discovered thus far include representative components such as hydrogen, carbon dioxide, and methane, we first designed a natural gas mixture, as shown in Table 1, for phase equilibrium analysis. The proportion of methane, carbon dioxide, and hydrogen is 0.90:0.01:0.09 for Case 1 and that for Case 2 is 0.09:0.90:0.01. Case 1 represents a natural hydrogen reservoir that is typically generated in deep layers (Zgonnik, 2020) and Case 2 represents the carbon dioxide sequestration scenario in deep reservoirs.

Table 1. Composition and thermodynamic properties of the three cases.
Components (K) (MPa) in Case 1 in Case 2

190.56 4.5988 0.0110 0.09 0.09

304.22 7.3864 0.2250 0.01 0.90

33.14 1.2960 −0.2190 0.90 0.01

The effect of temperature on phase equilibrium conditions was further analyzed by investigating the temperature change process. The number of phases was calculated at different temperatures with different overall mole concentrations, and the results are plotted in Figure 2. In general, the fluid mixture for Case 1 changes from the vapor–liquid two-phase region to the single-vapor-phase region with a temperature change from 150 to 300 K at all sampled mole concentrations. If the overall mole concentration is larger, which indicates that there are more gas molecules at a specific volume with a higher pressure, a higher temperature is required to enter the single-phase region. For example, 150 K is needed to enter the single-phase region at an overall mole fraction of 200 mol/m3, but this number increases to 156 K if a higher mole fraction of 1000 mol/m3 is fed to the domain. The critical temperature reaches 172 K for a very high mole concentration of 2000 mol/m3, which suggests that a relatively larger temperature is needed for the deep reservoir to maintain the gas phase storage reserve for a long time. Similarly, if we want to improve the production rate and transportation flux of natural hydrogen reservoirs, a phase stability test should also be carried out to check whether the temperature needs to be increased to avoid liquefaction during the process.

Details are in the caption following the image
Number of phases changing with temperature at different overall mole concentrations for Case 1.

The number of phases at equilibrium that change with the temperature at different overall mole concentrations for Case 2 is plotted in Figure 3. Compared with Figure 2, a similar change from the vapor–liquid two-phase region to the single-vapor-phase region with temperature can be observed, and a larger critical temperature is always required for a higher overall concentration. In addition, the critical temperature for Case 2 is higher than that for Case 1 at the same overall mole fraction, which is reasonable and can be explained by the higher critical temperature of the dominant carbon dioxide composition. For example, at an overall mole concentration of 200 mol/m3, the operational temperature should reach 208 K to ensure a single vapor phase in the fluid mixture for Case 2, whereas the entering temperature is only 144 K for Case 1. Moreover, the difference in the critical temperature at different overall mole concentrations for Case 2 is larger than that for Case 1. For example, the entering temperature increases from 208 to 240 K with concentrations ranging from 200 to 1000 mol/m3 for Case 2, while it increases from 144 to 156 K for Case 1. In other words, a higher temperature increase should be introduced for Case 2 to ensure the single vapor phase if the storage density and transportation flux are improved.

Details are in the caption following the image
Number of phases changing with temperature at different overall mole concentrations for Case 2.

The prediction performance of the deep learning model is shown in Figure 4. The reliability of the deep learning algorithm is validated because its prediction, which is plotted using symbols, matches the ground-truth data, that is, the iterative flash calculation plotted by lines. The trained deep learning model can accurately capture the phase-splitting phenomena by predicting the compositional mole fraction of the components in the vapor phase for Case 2. In particular, when the pressure increases from 50 to 350 MPa, more carbon dioxide is liquefied, which continuously decreases the mole fraction of carbon dioxide in the vapor phase. Meanwhile, the liquefaction rate of methane decreases; thus, the mole fraction of methane in the vapor phase increases slightly to become even higher than that of carbon dioxide. Furthermore, the fraction of hydrogen increases more considerably, which is also reasonable because hydrogen has the lowest critical temperature and pressure and thus is the most difficult to liquefy among the three components. Using deep learning predictions, the energy industry can rapidly obtain basic knowledge about the thermodynamic conditions of production fluids in deep reservoirs, which could help facilitate the process of decision-making for reservoir monitoring, purification, storage, and transportation. For example, if unwanted liquefaction occurs under certain conditions as predicted by the deep learning model, the engineer may reduce the pressure or improve the temperature condition to keep the reservoir production mixture in the single-vapor-phase region. The validity of the proposed deep learning algorithm has been proven to be reliable in extreme conditions, including under very high pressures such as 350 MPa, which describes the specific scenarios of deep reservoirs. Furthermore, as thermodynamic properties are involved in the network architecture, the components in the mixture may vary with different scenarios and may be represented well using thermodynamic features, which reduces the cost of repeated retraining.

Details are in the caption following the image
Deep learning prediction of the compositional mole fraction in the vapor phase for Case 2. (DL, Deep learning prediction).

3.2 Porous structure generation

The porous medium model was constructed randomly, as shown in Figure 5. The porous model was sealed by using a solid box, which provided the enclosed pore space. The size of the porous medium was 1000 × 1000, where the numbers of solid phase points and void phase points were 580 734 and 419 266, respectively. Thus, the porous medium matrix is sparse, and it enables the acceleration of the computational process, as the FSMA process only needs the neighbor information from the solid phase to calculate the dist.

Details are in the caption following the image
Pore network extraction results using the FSMA method. The porous medium is placed in an enclosed domain. (a) 1000 × 1000, (b)2000 × 2000, and (c) 3000 × 3000.

In the porous medium, the void space is composed of bulk voids and narrow channels, which are called pore throats. With the pore network modeling (PNM) method, the bulk void is considered to be the pore body, which plays a role in storing reservoir fluid. The pore bodies are connected via the throat channel. As shown in Figure 5, the pore centers were captured accurately by the FSMA method and the pore throats were identified accordingly. In this case, we ignored the blind branches in the dead-end corner to simplify the pore network, which could then accelerate the following PNM calculation. However, apart from the dead-end corner, some pore bodies that are disconnected could also be regarded as blind branches, but this depends on the specific problem, such as the mobility of residual oil in the reservoir (Liu et al., 2022).

To validate the resolution independence of the FSMA method, three cases with different resolutions were examined, as shown in Figure 5. The higher resolution model was constructed using the Kronecker product of the original matrix (1000 × 1000) and a matrix of ones. In different resolution scenarios, the medial axis can always be accurately extracted, and the pore and throat centers are in good agreement with each other. Higher resolution models induce more solid phase points and require greater computational resources. Using the appropriate neighbor-searching method helps to accelerate the extraction process, and we adopt matrix-based neighbor-searching to determine the neighbor solid phase within the search range.

Different cases of porous media were constructed to validate the feasibility of the FSMA method in different situations. In deep underground reservoirs, the rock is highly compressed due to the overburden pressure (Luboń & Tarkowski, 2023; Molíková et al., 2022). As a result, the rock porosity is lower than that in a regular reservoir. Tiny throat channels are usually ignored because they present high resistance to fluid flow, but spontaneous imbibition is also important in relation to small pores or throats. As depicted in Figure 6, small throats and pores can be reached; otherwise, these pores would be considered isolated pores that have no contribution to fluid flow. In all the results, the pore network structure in different porous media can also be accurately described.

Details are in the caption following the image
Validation of pore network extraction for different porous media. (a) Extraction in case 1 and (b) extraction in case 2.

3.3 Darcy-scale two-phase flow in porous media

To validate the conservation property of the proposed Sun Algorithm, a test case is designed to investigate the Darcy-scale two-phase flow in porous media. A constant rate of wetting phase injection is posed in the left center of one REV (representative element volume [Zhu et al., 2013]) to replace the non-wetting phase in the oil/gas production domain. The saturation distribution of the wetting phase in the replacement process was calculated using the developed Sun Algorithm, and the results are plotted in Figure 7. As can be seen from the saturation profile, the wetting phase is transported from the left inlet to the right outlet, and the non-wetting phase is replaced and produced from the right outlet. The mass conservation property is shown in Figure 8. The total wetting phase in the domain constantly increases at the beginning, as constant injection is ensured and no wetting phase is output outside the domain. After 0.62 years, the front of the wetting phase reaches the right outlet and is ejected from the domain. Thus, the increase in the total wetting phase curve slows down and the wetting phase output curve begins to increase. The conservation property is proven by the equivalence between the total injection of the wetting phase and the sum total of the wetting phase that remains in and that is output from the domain.

Details are in the caption following the image
Saturation profile of the wetting phase in the domain over time. (a) t = 0 year, (b) t = 0.25 year, (c) t = 0.50 year, and (d) t = 0.75 year. The x-axis and y-axis denotes the location, for example, 0.5 here denotes the 1/4 of the total size of the domain in x-direction.
Details are in the caption following the image
Conservation test of the wetting phase during the process.

The robustness of the Sun Algorithm can be further validated by a numerical test in extreme cases. In practical deep reservoir development scenarios, the density ratio between the wetting and non-wetting phases may be high, especially when the process of carbon dioxide sequestration in deep saline layers is considered (Rosenbauer and Thomas, 2010). To show that the Sun Algorithm can be widely adapted in complex engineering scenarios, a case with a density ratio of 1:1000 is designed and the inlet position is modified. As shown in Figure 9, the wetting phase still flows from the left inlet to the right outlet, but the flow routine and saturation distribution are significantly different. However, the displacement process in the domain can still be stably simulated using the Sun Algorithm, and the changing saturation profile is physically reasonable and reliable in providing production information for the petroleum industry.

Details are in the caption following the image
Saturation profile of the wetting phase in the domain over time for a high density ratio between the two phases. (a) t = 0 year, (b) t = 0.25 year, (c) t = 0.50 year, and (d) t = 0.75 year. The x-axis and y-axis denotes the location, for example, 0.25 here denotes the 1/4 of the total size of the domain in x-direction.

4 FUTURE PERSPECTIVE

With the increasing focus on deep reservoirs, more engineering practices may provide a deeper understanding of reservoir characteristics, and thus models and algorithms may need further modification. In particular, the specific species in the deep reservoir fluids, including natural hydrogen, and the detailed environmental conditions may necessitate incorporation of more complex mechanisms into the model, such as hydrogen bonding and capillarity. In addition, the models and algorithms should be further connected as one platform to serve the practical industry from the imaging of the reservoir to the production adjustment. The phase equilibrium result has already been used in a two-phase flow simulation, and it serves as a preparation step to check whether a two-phase model is needed or a single-phase model is sufficient for the simulation in certain blocks and stages. In the future, the phase equilibrium analysis is expected to be incorporated into the digital twin of the reservoirs generated based on the pore network model, and thus all three numerical tools could be combined more closely. The process of fracturing and recovering of deep reservoirs may result in the change of pore size and pore connection of the media, and thus the pore network construction method can also be optimized to be dynamic and self-adaptive, so as to intelligently fit the practical development scenario. In other words, the geomechanics study should also be incorporated in future studies to consider the changing porous structure.

5 CONCLUSION

Deep reservoirs are considered a promising resource for future energy supply, but current reservoir simulation technologies may face certain challenges if they are directly used in specific scenarios in deep reservoir development. Such challenges were first analyzed in this study by considering the practical engineering stages. Models and algorithms were developed to resolve these challenges, including a better phase equilibrium model, a better porous structure generation algorithm, and a better two-phase flow algorithm. In fact, the fast, accurate, and robust deep learning algorithm can determine a physically meaningful initial phase distribution for the simulation of multiphase flow in porous media. Effects of low permeability and strong capillarity can be considered well in the advanced flash calculation algorithm, and thus more suitable for the development of deep reservoirs. The pixel-free pore network construction method can efficiently help generate a more reliable pore structure, in order to provide the pore-connection information for the flow simulation. The fully conservative IMPES algorithm can yield a more reliable and physically meaningful result for production evaluation within extreme environmental conditions, which also resolves the challenges of low permeability and low fluidity that can often be encountered in deep reservoirs. The validation of the models and algorithms was presented using custom-designed numerical tests that considered the special fluid and environmental conditions of deep reservoirs. It was proven that the improved models and algorithms could process the specific requirements of deep reservoir development, including more complex fluid components, higher pressure conditions, and more complex porous structures in the reservoir. The reservoir simulation results obtained using these models and algorithms are stable and reliable, thereby providing information to optimize the development of safe and economic reservoir production.

ACKNOWLEDGMENTS

We are grateful to the National Natural Scientific Foundation of China (Grants No. 51936001) and King Abdullah University of Science and Technology (KAUST) through the grants BAS/1/1351-01 and URF/1/5028-01 for financial support. For computer time used in pore-network reconstruction, this research used the resources of the Supercomputing Laboratory at King Abdullah University of Science & Technology (KAUST) in Thuwal, Saudi Arabia.

    CONFLICT OF INTEREST STATEMENT

    The authors declare no conflict of interest.

    Biography

    • image

      Prof. Shuyu Sun is the founding faculty at King Abdullah University of Science and Technology and affiliated with three programs: Earth Science and Engineering, Applied Mathematics and Computational Science, and Energy Research and Petroleum Engineering. He is a leading scientist in the modeling and simulation of flow, transport, and geomechanics in porous media. His extensive research output includes more than 380 SCI-indexed papers, nine books or book chapters, and five patents, with total citations exceeding 12 000. He is one of the scholars who proposed for the first time the application of deep learning algorithm in petroleum industry. His research has been widely recognized and accepted by both the academia and industry, receiving more than 15 million in funding support from a number of worldwide agencies. As the founding president of InterPore Saudi Chapter, he has been actively participating in InterPore, SIAM, SPE, and other international academic organizations and has served as the Associate Editor/Leading Guest Editor of the Journal of Computational Physics, Gas Science and Engineering, Applied Energy, Fuel, Computer Methods in Applied Mechanics and Engineering, and other top journals in applied mathematics and engineering.




    附件【Deep Underground Science and Engineering - 2025 - Zhang - Challenges models and algorithms for flow and transport.pdf