Published: 31 August 2016

Building surrogate models for two-phase flow of fluids in porous media based on spatial radial basis approximation

K. A. Sidelnikov1
A. M. Gubanov2
V. E. Lyalin3
1JSC “Izhevsk Petroleum Research Center”, Izhevsk, Russia
2Institute of Oil and Gas, Udmurt State University, Izhevsk, Russia
3Kalashnikov Izhevsk State Technical University, Izhevsk, Russia
Corresponding Author:
V. E. Lyalin
Views 14
Reads 6
Downloads 1051

Abstract

The paper proposes a method for constructing the surrogate models for two-phase flow based on a combination of finite-difference solutions and fine-grid spatial approximation. The method provides the approximate models for solving optimal control the operating parameters of field development.

1. Introduction and motivation

Consider the simultaneous flow of two distinct phases: wetting and nonwetting fluids. In this case there are four unknown variables and consequently four equations: two differential and two algebraic equations [1]:

1
hrλfrPf-γfZr=hrφSf/Bft-hrQft,r,
Po-Pw=Pc, Sw+So=1,

where f=w,o – subscripts for wetting and nonwetting phases; Sf – saturation, i.e. fraction of the pore volume occupied by phase f; Pc – capillary pressure. It is assumed that there is functional relationship between Sf and Pc.

The two-phase flow in porous media is nonstationary process even for incompressible flow of fluids in incompressible medium. The simultaneous flow of two fluids causes the phase saturations and relative permeabilities to change over time. Hence, even if flow rates of sources are constant, the reservoir pressure will change over time. To construct approximate solution, we propose a method based on surrogate models. The computational domain is divided into relatively large blocks (coarse grid) that allow us to perform quick calculation using finite-difference method. Spatial refinement (original fine grid) is carried out by radial basis approximation based on calculated parameters of the coarse-grid blocks.

2. The computational model

Let us denote a coarse-grid block by H=1,NB¯, and a fine-grid block of the original grid by m=1,MH¯. The parameters U=(Pf,S) of the corresponding blocks are denoted as Um, UH, m=1,MH¯; H=1,NB¯. The subscript ki,j, i=1,nx¯; j=1,ny¯ corresponds to all blocks of the domain. We will omit the subscript f for the water saturation S, because So=1-Sw. The initial information is numerical solution to Eq. (1) by SS method (simultaneous solution). As was mentioned above it is assumed that there is function S=F(Pc) and the corresponding inverse function Pc=F-1(S). Now Eq. (1) can be written in the following form, like in the work [1]:

2
hrλwr,SPw-γwZr+hrQwt,r=d11Pwt+d12Pot,
hrλor,SPo-γoZr+hrQot,r=d21Pwt+d22Pot.

The coefficients of matrix D=d11d12d21d22 are obtained as a result of linearization of the dependencies Bf(Pf), φ(P), S(Pc). The coefficients λfr,S=k 0 rkf(S)/μf are calculated from relative permeabilities kf(S). The empirical formulas of Chang Zhung-Tsang [2] for water and oil phases are used:

kw(S)=0, 0S0.2,S-0.20.83.5, 0.2<S1,
ko(S)=0.85-S0.852.81+2.4S, 0S0.85,0, 0.85<S1.

The spatial approximation is constructed by using radial functions for steady-state flow of fluids [3, 4]:

Gfkl=12π-lnΔxΔyλflrl,S, l=k,ln1rm-ρl1λfk(rk,S), lk,
δlk=1, l=k,0, lk.

To construct radial basis network approximation and to find coefficients αl, βl, l=1,L¯ the following steady-state equation is solved:

hrλsr,SPs-γsZr+hrQw(t,r)+Qo(t,r)=0,

whereλs=λw+λo, γs=λwγw+λoγo/λw+λo when S=0.5.

Fig. 1 demonstrates the example of calculation of steady-state pressure field Ps.

For each fine-grid blocks contained in the coarse-grid block spatial refinement is achieved through the following approximation:

Pfam=l=1LfαflδllGll+βfl1-δlmGflmrm-ρlqflΔxΔy
+i=14l=1Lβfl1-δlmGflmrm-ρliqflΔxΔy,

but this refinement doesn’t involve time and water saturation changes. To account for nonstationary effects Eq. (2) and (1) are solved on coarse grid with blocks H to find PfH(tn+1), SH(tn+1) on each time step. To preserve material, balance the following condition should be satisfied:

3
SφBwΔxΔyhH=m=1MHSφBwΔxΔyhm.

Let us discretize Eq. (2) for fine grid:

4
hrλwr,SPw-γwZr+hrQw(t,r)mn+1=d11ΔPwΔt+d12ΔPoΔtm,

and for coarse grid:

5
hrλwr,SPw-γwZr+hrQw(t,r)Hn+1=d11ΔPwΔt+d12ΔPoΔtH,

where we denote ΔPf=Pfn+1-Pfn, ΔSφBw=SφBwn+1-SφBwn.

Fig. 1Distribution of the steady-state pressure field Ps

Distribution of the steady-state pressure field Ps

By summing Eq. (4) for each coarse-grid block and according to Eq. (3) we obtain equations to solve for conversion factors that connect pressure for coarse-grid block and pressure for fine-grid blocks at the given time step:

ωwΔPwHmd11ΔxΔyhm+ωoΔPoHmd12ΔxΔyhm=d11ΔxΔyhHΔPwH
+d12ΔxΔyhHΔPoHωwΔPwHmd21ΔxΔyhm+ωoΔPoHmd22ΔxΔyhm
=d21ΔxΔyhHΔPwH+d22ΔxΔyhHΔPoH,

where ωf=ΔPfm/ΔPfH.

The solution to this system of equations is:

ωw=ΔPoHmd12ΔxΔyhmd11ΔxΔyhHΔPwH+d12ΔxΔyhHΔPoHΔPoHmd22ΔxΔyhmd21ΔxΔyhHΔPwH+d22ΔxΔyhHΔPoHΔPwHmd11ΔxΔyhmΔPoHmd12ΔxΔyhmΔPwHmd21ΔxΔyhmΔPoHmd22ΔxΔyhm,
ωo=ΔPwHmd11ΔxΔyhmd11ΔxΔyhHΔPwH+d12ΔxΔyhHΔPoHΔPwHmd21ΔxΔyhmd21ΔxΔyhHΔPwH+d22ΔxΔyhHΔPoHΔPwHmd11ΔxΔyhmΔPoHmd12ΔxΔyhmΔPwHmd21ΔxΔyhmΔPoHmd22ΔxΔyhm.

After calculation of the conversion factors for each coarse-grid block, pressure values are updated for the next time steps according to:

ΔPfam=Pfam(tn+1)-Pfam(tn)=ωfΔPfH=ωfPfH(tn+1)-PfH(tn),
Pfamtn+1=Pfamtn+ωfPfHtn+1-PfHtn.

Water saturation is calculated from approximate pressure values:

ΔSφBwm=d11ΔPwa+d12ΔPoam,
Smtn+1=SφBwmtn+d11ΔPwa+d12ΔPoamφBwmtn+1.

3. Results and discussions

The approximation results are presented with the following example. The domain contains five producers and eight injectors. The injectors are located around the group of the producers.

As it was mentioned, steady-state pressure field Ps is used for training radial basis network and is depicted in Fig. 1. Distribution of the water saturation at time step t-=1 is presented in Fig. 2.

This distribution was obtained by finite-difference method on grid with 256×256 blocks. One can see significant waterflooding of the reservoir compared with initial operating period. The distribution of the approximate water saturation at t-=1 is presented in Fig. 3.

Fig. 2Distribution of the numerical water saturation at time step t-=1

Distribution of the numerical  water saturation at time step t-=1

Fig. 3Distribution of the approximate water saturation at time step t-=1

Distribution of the approximate  water saturation at time step t-=1

Comparing Fig. 2 and Fig. 3, we see that approximation of the water saturation successfully recognizes spatial features. This is also illustrated in Fig. 4 that shows water saturation changes in midsection of the domain.

The curve 1 corresponds to numerical values obtained by finite-difference method. The curve 2 is approximate values. The curve 3 is obtained by finite-difference method on coarse grid with 16×16 blocks.

Fig. 4Comparison of the water saturation in midsection of the computational domain

Comparison of the water saturation in midsection of the computational domain

4. Conclusions

Suggested method for building the surrogate models of the two-phase flow is based on combination of the finite-difference solution and spatial radial basis approximation. The method allows the use of the approximate models for optimal control the good operation conditions.

References

  • Aziz K., Settari A. Petroleum Reservoir Simulation. Applied Science Publishers, London, p. 1979.
  • Basniev K. S., Kochina I. N., Maksimov V. M. Underground Hydrodynamics. Nedra, Moscow, 1993, p. 416, (in Russian).
  • Chanson H. Applied Hydrodynamics: An Introduction to Ideal and Real Fluid Flows. CRC Press, Taylor & Francis Group, Leiden, The Netherlands, 2009, p. 478.
  • Economides Michael J., Nolte Kenneth G. Reservoir Stimulation. Wiley, USA, 2000, p. 856.

About this article

Received
05 August 2016
Accepted
08 August 2016
Published
31 August 2016
SUBJECTS
Flow induced structural vibrations
Keywords
surrogate model
optimal control
two-phase flow
reservoir simulation