Published: 31 August 2016

# Radial basis approximation of single-phase flow in porous media based on the Green’s functions

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 30

#### Abstract

The article discusses the problem of approximating solutions of differential equations describing the process of a two-dimensional fluid flow in porous media. The approximation is presented as a combination of radial basis functions on the basis of the Green’s function is used to solve the Poisson equation with variable coefficients in the case of steady state filtration and parabolic equations in the transient regime. To illustrate the effectiveness of the proposed approximation obtained by the field pressure distribution in the reservoir with a network of injection and production wells. Compare approximated pressure and design points to a satisfactory accuracy of the results.

## 1. Approximation of the steady-state fluid flow in porous media

Let us consider the problem of approximating solutions of differential equations describing two-dimensional fluid flow through a porous medium. To describe steady-state two-dimensional fluid flow we study the following boundary value problem:

1
$\nabla \left(h\left(\mathbf{r}\right)\lambda \left(\mathbf{r}\right)\left(\nabla P-\gamma \nabla Z\left(\mathbf{r}\right)\right)\right)=-h\left(\mathbf{r}\right){\sum }_{l=1}^{L}{q}_{l}\left(t\right)\delta \left(\mathbf{r}-{\mathbf{r}}_{l}\right),$

with Neumann boundary condition ${\partial P\left(\mathbf{r}\right)/\partial \mathbf{n}|}_{\mathrm{\Gamma }}=0\text{,}$ where $\mathrm{\lambda }\left(\mathbf{r}\right)=\mathbf{k}\left(\mathbf{r}\right)/\mu \text{,}$$\gamma =\rho g\text{,}$$\mathbf{r}\in \mathrm{\Omega }\subset {\stackrel{-}{\mathrm{\Omega }}}^{2}$; $P\left(\mathbf{r}\right)$ – pressure at point $\mathbf{r}=\left(x,y\right)\in \mathrm{\Omega }$; $\stackrel{-}{\mathrm{\Omega }}$ – computational domain with boundary $\mathrm{\Gamma }$; $\mathbf{n}$ – outer-pointing normal; $\mathbf{k}=\mathrm{d}\mathrm{i}\mathrm{a}\mathrm{g}\left({k}_{1},{k}_{2}\right)$ – diagonal tensor of absolute permeability; $h$ – reservoir thickness; $Z$ – reservoir depth; $\mu$ – fluid viscosity; $\rho$ – fluid density; $g$ – gravity acceleration; ${\mathbf{x}}_{l}$ – coordinates of $l$th well locations with flow rate ${q}_{l}$, $l=\overline{1,L}$; $L$ – number of wells; $\delta \left(\cdot \right)$ – generalized two-dimensional Dirac delta function.

Eq. (1) is Poisson’s equation with variable coefficients. For ordinary Poisson’s equation:

2
${\nabla }^{2}\mathrm{\Phi }=\frac{{\partial }^{2}\mathrm{\Phi }}{\partial {x}^{2}}+\frac{{\partial }^{2}\mathrm{\Phi }}{\partial {y}^{2}}=-Q.$

$\mathbf{r}=\left(x,y\right)\in D$, where $D$ denotes the entire plane, we can obtain the solution with Green’s function $G\left(\mathbf{r},\rho \right)$:

3
$\mathrm{\Phi }\left(\mathbf{r}\right)={\int }_{D}G\left(\mathbf{r},\rho \right)Q\left(\rho \right)d\sigma \left(\rho \right),$

where:

4
$G\left(\mathbf{r},\rho \right)=\frac{1}{2\pi }\mathrm{l}\mathrm{n}\frac{1}{\left|\mathbf{r}-\rho \right|}.$

Such representation of solution to Eq. (2) in the presence of point sources and sinks is examined in , and it is known as well interference problem. Under constant coefficients and isotropy in Eq. (1) the solution Eq. (3) is given by:

5
$\mathrm{\Phi }\left(\mathbf{r}\right)=\frac{kP}{\mu }=\frac{1}{2\pi }{\sum }_{l=1}^{L}{q}_{l}\mathrm{l}\mathrm{n}\left|\mathbit{r}-{\rho }_{l}\right|,$

where ${q}_{l}$ – well flow rate.

In case of variable coefficients Eq. (5) leads to significant errors in solution. We therefore propose the use of Green’s function Eq. (4) as radial basis functions $G\left(\left|\mathbf{r}-\rho \right|\right)$ to approximate Eq. (1) based on their linear combination. Coefficients of linear combination can be calculated through the numerical solution obtained by finite difference method. Let us consider rectangular domain $D=\left[a,b;c,d\right]$ which is divided into finite blocks $\mathrm{\Delta }x=b-a/{n}_{x}$, $\mathrm{\Delta }y=d-c/{n}_{y}$, where ${n}_{x}×{n}_{y}$ – grid size.

Let us denote the numerical solution to Eq. (1) obtained by finite difference method as ${P}_{ij}$, $i=\overline{1,{n}_{x}}$; $j=\overline{1,{n}_{y}}$, and its approximation as ${P}_{ij}^{a}$, $i=\overline{1,{n}_{x}}$; $j=\overline{1,{n}_{y}}$. The approximation is constructed using linear combination of radial functions $G\left(\left|\mathbf{r}-\rho \right|\right)$. The radial function is undefined at a block contained source when $\mathbf{r}=\rho$. Therefore, its value at this point is set equal to a constant determined by the size of the block , e.g. ${G}_{ll}=-\mathrm{l}\mathrm{n}\left(\sqrt{\mathrm{\Delta }x\mathrm{\Delta }y}\right)/2\pi$.

Then the approximate expression can be written as:

6
${P}_{ij}^{a}={P}_{k}^{a}={\sum }_{l=1}^{L}\left[{\alpha }_{l}{\delta }_{ll}\frac{{G}_{ll}}{{\lambda }_{l}}+{\beta }_{l}\left(1-{\delta }_{lk}\right)\frac{{G}_{kl}}{{\lambda }_{k}}\right]{q}_{l}\mathrm{\Delta }x\mathrm{\Delta }y,$

where:

7
${G}_{kl}=\frac{1}{2\pi }\left\{\begin{array}{l}-\mathrm{l}\mathrm{n}\left(\sqrt{\mathrm{\Delta }x\mathrm{\Delta }y},\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}l=k,\\ \mathrm{l}\mathrm{n}\frac{1}{\left|{\mathbf{r}}_{k}-{\mathrm{\rho }}_{l}\right|},\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}l\ne k,\end{array}\right\{\delta }_{lk}=\left\{\begin{array}{l}1,\mathrm{}\mathrm{}\mathrm{}\mathrm{}l=k,\\ 0,\mathrm{}\mathrm{}\mathrm{}\mathrm{}l\ne k.\end{array}\right\$

The sources can be with different signs. Here it is assumed that injection well is a source with positive sign and production well is a source with negative sign. We introduce also index $k$ which corresponds to the point ${r}_{ij}$, $i=\overline{1,{n}_{x}}$; $j=\overline{1,{n}_{y}}$; ${\alpha }_{l}$, ${\beta }_{l}$ – unknown coefficients that is determined through the condition $\sum _{k=1}^{N}{\left({P}_{k}-{P}_{k}^{a}\right)}^{2}\to \underset{\alpha ,\beta }{\mathrm{m}\mathrm{i}\mathrm{n}}$, where $N={n}_{x}{n}_{y}$.

To take into account Neumann boundary conditions Eq. (6) should be completed with additional image sources located outside of the computational domain. Each source ${q}_{l}$ is associated with four image sources ${q}_{l}^{m}$, $l=\overline{1,L}$; $m=\overline{1,4}$. Their coordinates are given by:

${\rho }_{l}^{1}=\left(a-{x}_{l},{y}_{l}\right),{\rho }_{l}^{2}=\left({x}_{l},2d-{y}_{l}\right),{\rho }_{l}^{3}=\left(2b-{x}_{l},{y}_{l}\right),{\rho }_{l}^{4}=\left({x}_{l},c-{y}_{l}\right),$

thus we can rewrite Eq. (6) as:

${P}_{k}^{a}={\sum }_{l=1}^{L}\left[{\alpha }_{l}{\delta }_{ll}\frac{{G}_{ll}}{{\lambda }_{l}}+{\beta }_{l}\left(1-{\delta }_{lk}\right)\frac{{G}_{kl}\left(\left|{\mathbf{r}}_{k}-{\rho }_{l}\right|\right)}{{\lambda }_{k}}\right]{q}_{l}\mathrm{\Delta }x\mathrm{\Delta }y$
$\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}+{\sum }_{m=1}^{4}{\sum }_{l=1}^{L}{\beta }_{l}\left(1-{\delta }_{lk}\right)\frac{{G}_{kl}\left(\left|{\mathbf{r}}_{k}-{\rho }_{l}^{m}\right|\right)}{{\lambda }_{k}}{q}_{l}\mathrm{\Delta }x\mathrm{\Delta }y.$

We use the following notation:

$\mathbf{A}=\left[\frac{{\delta }_{ll}{G}_{ll}}{{\lambda }_{ll}}\right],\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathbf{B}=\left[\left(1-{\delta }_{lk}\right)\frac{{G}_{kl}\left(\left|{\mathbf{r}}_{k}-{\rho }_{l}\right|\right)}{{\lambda }_{k}}\right],\mathrm{}\mathrm{}\mathrm{}\mathrm{}l=\overline{1,L;}k=\overline{1,L},\mathbf{d}=\left[\begin{array}{c}{P}_{1}\\ ⋮\\ {P}_{N}\end{array}\right],\mathbf{X}=\left[\begin{array}{c}{\alpha }_{1}\\ ⋮\\ {\alpha }_{L}\\ {\beta }_{1}\\ ⋮\\ {\beta }_{L}\end{array}\right],$
$\mathbf{C}=\left[\left(1-{\delta }_{lk}\right)\frac{{G}_{kl}\left(\left|{\mathbf{r}}_{k}-{\rho }_{l}\right|\right)}{{\lambda }_{k}}+{\sum }_{m=1}^{4}\left(1-{\delta }_{lk}\right)\frac{{G}_{kl}\left(\left|{\mathbf{r}}_{k}-{\rho }_{l}^{m}\right|\right)}{{\lambda }_{k}}\right],\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}l=\overline{L,2L},k=\overline{L,N},$

where $\mathbf{d}$ – vector of known values; $\mathbf{X}$ – vector of unknown coefficients; $\mathbf{C}$ – calculated matrices. From $\mathbf{A}$, $\mathbf{B}$, $\mathbf{C}$ we construct block matrix:

$\mathbf{G}=\left[\begin{array}{ll}\mathbf{A}& \mathbf{B}\\ 0& \mathbf{C}\end{array}\right]=\left[{g}_{kl}\right],\mathrm{}\mathrm{}\mathrm{}\mathrm{}k=\overline{1,N},l=\overline{1,2L}.$

Here $\mathbf{A}$, $\mathbf{B}$ are square matrices, $\mathbf{C}$, $\mathbf{G}$ are rectangular matrices ($N>2L$).

According to the minimum condition of standard deviation we obtain matrix equation:

8
$\mathbf{G}\mathbf{X}=\mathbf{d}.$

We multiply Eq. (8) from left by the transposed matrix ${\mathbf{G}}^{T}$: ${\mathbf{G}}^{T}\mathbf{G}\mathbf{X}={\mathbf{G}}^{T}\mathbf{d}$.

Then we calculate inverse of the matrix ${\mathbf{G}}^{T}\mathbf{G}$ and obtain expression to find unknown coefficients:

9
$\mathbf{X}={\left({\mathbf{G}}^{T}\mathbf{G}\right)}^{-1}{\mathbf{G}}^{T}\mathbf{d}.$

The operation ${\left({\mathbf{G}}^{T}\mathbf{G}\right)}^{-1}{\mathbf{G}}^{T}={\mathbf{G}}^{+}$ is called pseudoinversion , and the approximation based on radial basis function is known as radial basis neural network.

Then radial approximation appears as follows:

10
${\mathbf{P}}^{a}=\mathbf{G}\mathbf{X}.$

Coefficients $\mathbf{X}$ are calculated for some preselected source locations and their flow rates. Then the approximation Eq. (10) is used for arbitrary source locations and their flow rates. The number of sources should be less than or equal to $L$. For a smaller number of sources, the flow rates of extra sources are set to zero. According to the Neumann boundary condition the material balance that accounts for source terms should be zero [5, 6].

For illustration, let us consider the following case study. The domain $D=\left[a,b;c,d\right]$, $a=$0; $b=$1000 m; $c=$0; $d=$1000 m was divided into 256×256 blocks of finite difference grid. Reservoir thickness was changed according to $h\left(\mathbf{r}\right)=10\left(1+0.1\mathrm{s}\mathrm{i}\mathrm{n}\left(4\pi \left(x+y\right)\right)\right)\text{,}$ fluid mobility was changed according to $\lambda \left(\mathbf{r}\right)=1{0}^{-9}\left(1+0.2\mathrm{s}\mathrm{i}\mathrm{n}\left(2\pi x\right)+0.15\mathrm{c}\mathrm{o}\mathrm{s}\left(2\pi y\right)\right)$. There were 10 wells (5 production wells and 5 injection wells) in the domain. The absolute values of flow rates of all sources were the same and equal to $Q=\mathrm{}$50 m3/s. The sources were randomly located in the domain. To calculate pressure in blocks multigrid method with 7 nested grids was used.

Fig. 1 demonstrates distribution of the normalized pressure $p=\left(P-{P}^{\mathrm{m}\mathrm{i}\mathrm{n}}\right)/\left({P}^{\mathrm{m}\mathrm{a}\mathrm{x}}-{P}^{\mathrm{m}\mathrm{i}\mathrm{n}}\right)$ in the domain, where ${P}^{\mathrm{m}\mathrm{a}\mathrm{x}}$, ${P}^{\mathrm{m}\mathrm{i}\mathrm{n}}$ – maximum and minimum pressure values. The distribution of the approximate pressure is shown in Fig. 2.

As shown in Fig. 3, comparison of the pressure values in midsection of the domain demonstrates relatively sufficient approximation.

Then we changed locations of the sources and their flow rates in random manner. Comparison of the numerical pressure values with their approximate values in midsection of the domain for different source distribution is shown in Fig. 4.

As can be seen, the radial network is well trained and provides sufficient approximation of the data that is independent of the training set. Fig. 5 demonstrates comparison of the numerical pressure values with their approximate values for all blocks of the domain.

The standard deviation of the approximate pressure values from their numerical values is 0.95 %. The plus signs in Fig. 5 depict pressure values in blocks contained sources. The maximum deviations are observed in these particular blocks where pressure changes more rapidly. The results show that the Neumann boundary conditions are satisfied. It should be noted that Neumann boundary conditions are the most difficult case study especially when they are applied for the entire boundary.

Fig. 1Pressure distribution obtained by finite difference method Fig. 2Approximate pressure distribution Fig. 3Comparison of the numerical pressure values with their approximate values in midsection of the domain Fig. 4Comparison of the numerical pressure values with their approximate values in midsection of the domain in case of different source locations Fig. 5Comparison of the numerical pressure values with their approximate values for all blocks of the domain ## 2. Approximation of the nonstationary fluid flow in porous media

For the case of compressible fluid flow and rock porosity depending on the pressure Eq. (1) becomes parabolic differential equation:

11
$\nabla \left(h\left(\mathbf{r}\right)\lambda \left(\mathbf{r}\right)\left(\nabla P-\gamma \nabla Z\left(\mathbf{r}\right)\right)\right)=h\left(\mathbf{r}\right)\beta \left(\mathbf{r}\right)\frac{\partial P}{\partial t}-h\left(\mathbf{r}\right){\sum }_{l=1}^{L}{q}_{l}\left(t\right)\delta \left(\mathbf{r}-{\mathbf{r}}_{l}\right),$

where $\lambda \left(\mathbf{r}\right)=\mathbf{k}\left(\mathbf{r}\right)/\mu B\text{;}$$\beta \left(\mathbf{x}\right)=\phi \left(\mathbf{r}\right){c}_{\mathcal{l}}/B°+\phi °\left(\mathbf{r}\right){c}_{\phi }/B\text{;}$$\rho =\rho °\left(1+{c}_{\mathcal{l}}\left(P-P°\right)\right)\text{,}$$B=B°/1+{c}_{\mathcal{l}}\left(P-P°\right)\text{,}$$\mu =\mu °/1-{c}_{\mu }\left(P-P°\right)\text{,}$$\phi \left(\mathbf{r}\right)=\phi °\left(\mathbf{r}\right)\left(1+{c}_{\phi }\left(P-P°\right)\right)$, $\phi \left(\mathbf{r}\right)$ – rock porosity; $B$ – fluid formation volume factor; $P°$ – reference pressure. Eq. (11) is complemented by the initial condition:

12
$P\left(0,\mathbf{r}\right)={P}_{0}\left(\mathbf{r}\right).$

For parabolic model equation:

13
${\nabla }^{2}\mathrm{\Phi }={\alpha }^{2}\frac{\partial P}{\partial t}+f\left(t,\mathbf{r}\right),\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{\Phi }\left(0,\mathbf{r}\right)={\mathrm{\Phi }}_{0}\left(\mathbf{r}\right),$

there is Green’s function solution as well :

14
$\mathrm{\Phi }\left(t,\mathbf{r}\right)={\int }_{0}^{t}{\int }_{V}G\left(t,\mathbf{r};\tau ,\xi \right)f\left(\tau ,\xi \right)d\tau dV\left(\xi \right)-{\alpha }^{2}{\int }_{V}G\left(t,\mathbf{r};0,\xi \right){\mathrm{\Phi }}_{0}\left(\xi \right)dV\left(\xi \right),$

where $G\left(t,\mathbf{r};\tau ,\xi \right)$ – Green’s function, which can be constructed from eigenfunctions ${\psi }_{k}$ and eigenvalues ${\lambda }_{k}$ of Helmholtz equation:

15
${\nabla }^{2}\psi \left(\mathbf{r}\right)+\lambda \psi \left(\mathbf{r}\right)=0,\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathbf{r}\in V,G\left(t,\mathbf{r};\tau ,\mathrm{\xi }\right)=-\frac{1}{{\alpha }^{2}}{\sum }_{k}{e}^{-\frac{{\lambda }_{k}}{{\alpha }^{2}}\left(t-\tau \right)}{\stackrel{-}{\psi }}_{k}\left(\xi \right){\psi }_{k}\left(\mathbf{r}\right).$

Eq. (14) and Eq. (15) can be used as a basis for approximate solution to Eq. (11). It is important to note that Green’s function (15) can be represented as product of two functions (separation of variables): the first one depends exponentially only on time variable, the second one depends only on spatial variables.

Assume first that flow rate of sources is time-independent. Let us restrict ourselves to the one summand in Eq. (15). Then Eq. (15) can be rewritten as:

$G\left(t,\mathbf{r};\tau ,\xi \right)=-\frac{1}{{a}^{2}}{e}^{-\frac{\lambda }{{\alpha }^{2}}\left(t-\tau \right)}\mathrm{\Psi }\left(\xi ,\mathbf{r}\right),$

where $\mathrm{\Psi }\left(\xi ,\mathbf{r}\right)$ – some function sought for approximation.

Time integration of Eq. (14) gives:

16
$\mathrm{\Phi }\left(t,\mathbf{r}\right)=\frac{\left(1-{e}^{-\frac{\lambda }{{\alpha }^{2}}t}\right)}{\lambda }{\int }_{V}\mathrm{\Psi }\left(\xi ,\mathbf{r}\right)f\left(\xi \right)dV\left(\xi \right)+{e}^{-\frac{\lambda }{{\alpha }^{2}}t}{\int }_{V}\mathrm{\Psi }\left(\xi ,\mathbf{r}\right){\mathrm{\Phi }}_{0}\left(\xi \right)dV\left(\xi \right).$

It follows from Eq. (16) that solution to nonstationary equation Eq. (13) contains steady-state component:

${\mathrm{\Phi }}_{S}\left(\mathbf{r}\right)={\int }_{V}\mathrm{\Psi }\left(\xi ,\mathbf{r}\right)f\left(\xi \right)dV\left(\xi \right).$

To which solution Eq. (16) converges asymptotically as $t\to \mathrm{\infty }$. The second term ${e}^{-\lambda t/{\alpha }^{2}}\underset{V}{\int }\mathrm{\Psi }\left(\xi ,\mathbf{r}\right){\mathrm{\Phi }}_{0}\left(\xi \right)dV\left(\xi \right)$ corresponds to the initial condition as $t\to 0$. Therefore, approximation problem is solved in two steps. At first we seek an approximant to a steady-state solution as $t\to \mathrm{\infty }$. For this purpose the radial function Eq. (7) denoted as ${G}_{S}\left(\xi ,\mathbf{r}\right)$ is used. For the second term in Eq. (16) we take unit integral transform to satisfy the given initial condition. Then the parameter nonstationarity $\lambda$ is adjusted. For best approximation on time several terms of series can be used in Eq. (15), so Green’s function can be presented as:

$G\left(t,\mathbf{r};\tau ,\xi \right)=-\frac{1}{{a}^{2}}{\sum }_{k}{e}^{-\frac{{\lambda }_{k}}{{\alpha }^{2}}\left(t-\tau \right)}\mathrm{\Psi }\left(\xi ,\mathbf{r}\right),$

and solution Eq. (16) can be written as:

17
$\mathrm{\Phi }\left(t,\mathbf{r}\right)={\sum }_{k}\frac{\left(1-{e}^{-\frac{{\lambda }_{k}}{{\alpha }^{2}}t}\right)}{{\lambda }_{k}}{\int }_{V}{G}_{s}\left(\xi ,\mathbf{r}\right)f\left(\xi \right)dV\left(\xi \right)+{\sum }_{k}{e}^{-\frac{{\lambda }_{k}}{{\alpha }^{2}}t}{\mathrm{\Phi }}_{0}\left(\mathbf{r}\right).$

It should be noted that the underlying considerations are not strictly mathematically sound and needed only to choose basis functions when constructing the approximant.

Let us consider the case where $\sum _{l=1}^{L}h\left({\mathbf{r}}_{l}\right){q}_{l}=\delta q\ne 0$. The steady-state solution to Eq. (11) as $\partial P/\partial t\to 0$ doesn’t exist subject to the Neumann boundary condition. To construct function ${G}_{S}\left(\xi ,\mathbf{r}\right)$ we introduce background sources:

$\mathrm{\Delta }{q}_{ij}=-\frac{\sum _{l=1}^{L}h\left({\mathbf{r}}_{l}\right){q}_{l}}{\left(b-a\right)\left(d-c\right)}\mathrm{\Delta }{x}_{i}\mathrm{\Delta }{y}_{j},\mathrm{}\mathrm{}\mathrm{}\mathrm{}i=\overline{1,{n}_{x}},\mathrm{}\mathrm{}\mathrm{}\mathrm{}j=\overline{1,{n}_{y}},$

for each grid blocks of the computational domain. Now we can define the corresponding steady state and fit the function ${G}_{S}\left(\xi ,\mathbf{r}\right)$ which describes this state. Eq. (17) is now as follows:

$\mathrm{\Phi }\left(t,\mathbf{r}\right)={\sum }_{k}\frac{\left(1-{e}^{-\frac{{\lambda }_{k}}{{\alpha }^{2}}t}\right)}{{\lambda }_{k}}{\int }_{V}{G}_{s}\left(\xi ,\mathbf{r}\right)f\left(\xi \right)dV\left(\xi \right)+{\sum }_{k}{e}^{-\frac{{\lambda }_{k}}{{\alpha }^{2}}t}{\mathrm{\Phi }}_{0}\left(\mathbf{r}\right)+\frac{\delta q}{{\alpha }^{2}}t.$

If the flow rate of a source is a function of time $f\left(t,\mathbf{r}\right)$ then the nonstationary process is divided into time steps of length $\mathrm{\Delta }{t}^{n}$ by analogy with finite-difference representation, so the approximate expression for pressure is written as:

18
${P}^{a}\left({t}^{n+1},\mathbf{r}\right)$
$\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}\mathrm{}={\sum }_{k}\frac{{\left(1-{e}^{-\frac{{\lambda }_{k}}{{\alpha }^{2}}t}\right)}^{n+1}}{{\lambda }_{k}}{\int }_{V}{G}_{s}\left(\xi ,\mathbf{r}\right)f\left({t}^{n+1}\xi \right)dV\left(\xi \right)+{\sum }_{k}{\left({e}^{-\frac{{\lambda }_{k}}{{\alpha }^{2}}t}\right)}^{n+1}{P}^{a}\left({t}^{n},\mathbf{r}\right)+{\left(\frac{\delta q}{{\alpha }^{2}}t\right)}^{n+1},$

where ${\alpha }^{2}=h\left(\mathbf{r}\right)\beta \left(\mathbf{r}\right)$; $f\left(t,{\mathbf{r}}_{l}\right)=h\left(\mathbf{r}\right)\sum _{l=1}^{L}{q}_{l}\left(t\right)\delta \left(\mathbf{r}-{\mathbf{r}}_{l}\right)$.

For one summand in sum Eq. (18) can be written in the form:

${P}^{a}\left({t}^{n},{r}_{ij}\right)={\theta }_{0}\left({t}^{n},{r}_{ij}\right)+{\theta }_{1}\left({t}^{n},{r}_{ij}\right){e}^{-\frac{\lambda }{{\alpha }_{ij}^{2}}{t}^{n}}.$

According to the condition $\sum _{i,j,n}{\left({P}^{a}\left({t}^{n},{r}_{ij}\right)-P\left({t}^{n},{r}_{ij}\right)\right)}^{2}\to \underset{\lambda }{\mathrm{m}\mathrm{i}\mathrm{n}}$ we obtain the expression for coefficient $\lambda$ based on the calculation of ${P}_{ij}^{n}$ by finite-difference method:

$\lambda =-\frac{1}{N{n}_{x}{n}_{y}}{\sum }_{ijn}\frac{{a}_{ij}^{2}}{{t}^{n}}\mathrm{l}\mathrm{n}\frac{{P}_{ij}^{n}-{\theta }_{0ij}^{n}}{{\theta }_{1ij}^{n}}$

where ${P}_{ij}^{n}$ – calculated pressure values; $N$ – number of time steps. The results showed that in most practical cases $\lambda \approx \text{0.25}$.

Let us consider the case study under the same conditions as in the steady-state case. In addition, we assumed that porosity $\phi °=0.15$, and coefficients ${c}_{\phi }=\mathrm{}$10-4; ${c}_{l}=$2∙10-4; ${c}_{\mu }=\mathrm{}$0. The stationary function ${G}_{S}\left(\mathrm{\rho },\mathbf{r}\right)$ was taken as a result of previous training. The material unbalance was $Q=\mathrm{}$39 m3/s. The calculated value of $\lambda$ was $\lambda =\text{0.27}$. Fig. 6 compares numerical and approximate pressures for different time steps in midsection of the domain.

The solid lines correspond to pressure obtained numerically by finite-difference method, and the circles correspond to approximate pressure. The comparison of the normalized numerical and approximate pressure values for all the grid blocks is shown in Fig. 7.

The standard deviation of the approximate pressure values from their numerical values is 1.84 %, that is approximately twice as high as for steady-state flow.

Fig. 6The comparison of the numerical and approximate pressures in midsection of the domain in case of nonstationary flow 1 – t-=0.2; 2 – t-=0.4; 3 – t-=0.6; 4 – t-=0.8 Fig. 7Comparison of the normalized numerical and approximate pressures ## 3. Conclusions

1) The developed model of radial approximation of the steady-state equation of the fluid flow in porous media based on basis Green’s functions provides that standard deviation of the approximate pressure from its numerical values will be within the range 0.95-1.05 %. Such basis functions are used to approximate solution of the nonstationary multiphase flow in porous media as well.

2) To approximate solution of the nonstationary fluid flow in porous media Green’s function is used. It is represented as a product of two terms (separation of variables): the first one exponentially depends only on time; the second one depends only on spatial coordinates. The use of background sources allows the construction of approximants which are applicable for time-varying flow rates of the sources and unbalanced flow rates.