Abstract

On the basis of similar structure of solution for a second-order linear differential equation's boundary value problem, and our analysis of the relationship between this similar structure and its kernel function, the differential equation, and the boundary conditions, we propose a new simple solution—similar constructive method of solution (SCMS)—and sum up its detailed steps. We set up a porous media model under three kinds of outer boundary conditions (infinite, constant pressure, and closed), in which the influences of fractal dimension, spherical flow, skin effect, and storage are taken into consideration. And then we use SCMS to solve it. The SCMS is a straightforward method for differential equation's boundary value problems with complex boundary conditions, especially for solving the reservoir models in petroleum engineering.

1. Introduction

In the early 21st century, Jia and Li [1] put forward an important hypothesis that the solutions of differential equations under different boundary conditions have similarities—similar structure of solutions, just as a real number can be expressed in continued fraction and geometric graphic have certain similarity. After that, many studies have been carried out on the similar structure of solutions for some boundary value problems of second-order linear homogeneous differential equations [28].

In the past two decades, many researchers have studied the fractal nature of reservoir rocks and other porous media. Fractal theory can be applied to effectively describe the complexities of a real reservoir, especially of the naturally fractured reservoir or heterogeneous media. Chang and Yortsos [9] were the first to apply the fractal theory to reservoir model, and then set up the mathematical model of fractal reservoir. Beier [10] afterwards extended the fractal model to the study of hydraulically fractured well, and discovered a power-law behavior during the linear and radial flow period. Camacho-Velázquez et al. [11] successfully applied the fractal model to explore the naturally fractured reservoir and obtained a series of decline curves. Using the same model, Cossio [12] proposed a semianalytic solution for finite-conductive flow in vertical fractures, and from the expression of the solution, people can easily perceive the relationship between the fractal parameters and the pressure waves or streamlines. Li et al. [1316] built mathematical models for fluid flow in porous media, such as homogeneous reservoir mathematical model, double porosity reservoir mathematical model, multilayer reservoir mathematical model, and composite reservoir mathematical model. They found that under three kinds of outer boundary conditions (infinite, constant pressure, and closed), their pressure can also be expressed in similar structures in the Laplace space.

When a reservoir is mined with a small opening in the upper reservoir, or the thickness of reservoir stratum is larger than the radius of well bore, there still exists the vertical flow in the flow region, so it cannot be considered as cylindrical flow. Ershaghi et al. [17] analyzed pressure transient data in reservoirs with natural fractures and spherical flow. He found out that the cylindrical flow could not be applied to these reservoirs, or there would be large errors. Proett and Chin [18] provided a new exact spherical flow solution with storage and skin taken into consideration in early-time interpretation with applications to wire line formation and early-evaluation drill stem testing. In recent years, we [1923] have built some mathematical models for reservoir with spherical flow, and through a complicated process of solution, we obtained their expressions of pressure in the Laplace space.

Cheng et al. [24, 25] put forward the idea of SCMS, but they did not specify its detailed procedures. Based on their research, the SCMS is extended in our paper in detail. In this paper, the first two sections focus on solving the boundary value problem of a second-order linear differential equation. Its solution can be expressed in a continued fraction. On the basis of the relationship among similar structure of solution, its kernel function, differential equation, and boundary conditions, we sum up the detailed construction steps of SCMS. In this paper, we also built a new fractal mathematical model for the reservoirs with spherical flow. To apply SCMS to solve this reservoir model, in Section 3 we first study a boundary value problem of the modified Bessel equation, which frequently occurred in reservoir engineering. So we could conveniently construct formation pressure and wellbore pressure. Through the expressions of formation pressure and wellbore pressure and their kernel functions, we could analyze the influences of the variable flow rate, the wellbore storage, the skin effect, the fractal dimension, and the fractal index on them. In a word, SCMS is a straightforward method for boundary value problems of differential equations with complex boundary conditions, especially for solving the reservoir models in petroleum engineering.

2. Similar Structure of Solution for the Boundary Value Problem of a Second-Order Linear Differential Equation

The boundary value problem of a second-order linear differential equation: where , and are continuous function within . are real numbers. When and is not constantly zero, and , , , , , this boundary value problem has a unique solution [26]; this solution can be expressed in the following continued fraction: where is a similar kernel function and defined as

We assume that and are the linearly independent solutions of the differential equation (1); then we define a binary function and calculate its partial derivative for , respectively, listed as follows:

3. Similar Construction Method of Solution (SCMS)

On the basis of the relationship among the similar structure of solution (4), its similar kernel function (5), and boundary conditions (2)-(3), the SCMS steps are presented as below.

Step 1. Solve the linearly independent solutions and of the differential equation (1).

Step 2. Construct a binary function with and (e.g., (6)) and calculate its partial derivative for , , respectively (e.g., (7)–(10)).

Step 3. Construct a similar kernel function , (e.g., (5)) with the coefficients of the right boundary condition (3) and the binary function and its partial derivative for , .

Step 4. Construct similar structure of solution (4) with the similar kernel function and the coefficients of the left boundary condition (2).

4. SCMS for Solving the Boundary Value Problem of the Modified Bessel Equation

To apply SCMS to solve the reservoir model, we first introduce the boundary value problem of the modified Bessel equation, which frequently occurred in reservoir engineering: where , and are real numbers. And they meet the conditions

According to SCMS in Section 3, we can construct the similar structure and its similar kernel functions of the solutions of the boundary value problem (11)–(13).

Step 1. The linearly independent solutions of the modified Bessel equation (11) are as follows (with details in Appendix A): where denotes the first type of the modified Bessel function with order , denotes the second type of the modified Bessel function with order , and .

Step 2. Construct a binary function: where where and are real numbers.
Then, calculate the binary function’s partial derivatives for :

Step 3. Construct similar kernel functions with the coefficients of the right boundary condition (13), the binary function (16), and its partial derivatives (18):

Step 4. Construct the similar structure of solution with the similar kernel function (19) and coefficients of the left boundary condition (12):

Consequently, (20) is the solution of the boundary value problem of the modified Bessel equation (11)–(13), which is similar to the real numbers and can be expressed as continued fraction.

5. SCMS for Solving the Mathematical Model of Fractal Reservoir with Spherical Flow

In Appendix B, the dimensionless mathematical model of fractal reservoir with spherical flow is presented. It takes dimensionless pressure as variable, and accords with Darcy flow. The details are as follows.

Fundamental differential equation:

where:

Initial condition:

Inner boundary condition:

Three kinds of outer boundary conditions:

They denote that the outer boundaries of circular reservoir are infinite pressure, constant pressure, and closed, respectively.

All the notations are explained in the nomenclature section.

Taking the Laplace transform of with respect to and using the initial condition (23), we get the boundary value problem of the ordinary differential equation with parameter (where is Laplace space variable); that is,

With reference to SCMS in Section 3 and its comparison with the boundary value problem of the modified Bessel equation, we can infer and setting , , or , , or , , represent the three kinds of outer boundary conditions, respectively. So we can construct the similar structure of solution of the dimensionless mathematical model of fractal reservoir with spherical flow (26): where is also a similar kernel function. Its expression is the following.

For ,

In (29), we use the properties of and to obtain the result above.

For ,

For ,

Thus, (28) is the similar structure of formation pressure of the fractal reservoir with spherical flow in the Laplace space.

Then, setting , we can obtain the similar structure of wellbore pressure of the fractal reservoir with spherical flow in the Laplace space:

Substituting (29), (30), and (31) into (28) and (32), respectively, we can get the expressions of formation pressures and the wellbore pressures of thefractal reservoir with spherical flow under three kinds of boundary conditions in the Laplace space. Then, they can be inverted numerically from the Laplace space by using the Stehfest algorithm [27].

Note that the solution described above is a general spherical flow model. Its special case are constant production rate , no skin effect , no wellbore storage , and homogeneous reservoir .

6. Conclusions

Based on the reasoning mentioned above, the following conclusions can be drawn.(1)When dealing with the boundary value problem of a general second-order linear differential equation, we find that the kernel function is related to right (outer) boundary condition and similar structure of solution is related to left (inner) boundary condition. So the SCMS is proposed to solve such complicated problems in reality. (2)Many reservoir models can be adapted to the boundary value problem of the modified Bessel equation. So SCMS is a convenient, effective, and creative method to solve the problem of fluid flow in porous media since it can avoid complex procedures. SCMS optimizes the programming process of well test analysis software and also simplifies the arithmetic process. (3)The mathematical model of fractal reservoir with spherical flow is a new model. It is particularly useful when the thick reservoir is mined in an imperfect model. On the basis of the continued fractions (see (28) and (32)), we can directly analyze the wellbore storage’s influence on the formation pressure and wellbore pressure. Based on (29)–(31), it is convenient to see how the fractal dimension, fractal exponent, skin effect, and the three outer boundary conditions influence the kernel functions. Then, substituting (29), (30), and (31) into (28) and (32), respectively, we can see the influence of these parameters on the formation pressure and wellbore pressure.(4)After the pressure data is processed with the Laplace transformation, well test analysis can be conducted directly in the Laplace space, which can reflect the advantage of the similar structure of solutions. Finally, we can use the Stehfest algorithm to obtain the solution in real space, which meets the demand of well test analysis.

Appendices

A. Derivation of Two Linearly Independent Solutions of the Modified Bessel Equation

In this section, details are shown to solve the generalized solution of the modified Bessel equation (11).

Making the substitution into (11), we obtain where

According to [28], the general solutions of (A.2) can be obtained to be where

By substituting (A.1) into (A.4), the general solution of (11) is

We know that are two linearly independent solutions for the modified Bessel equation (11).

B. Mathematical Model of Fractal Reservoir with Spherical Flow

Here we demonstrate the derivation of the mathematical model for fractal reservoir with spherical flow. The main assumptions of the model include(i)flow obeys Darcy’s law and isothermal curve;(ii)spherical flow which has one production or injection well;(iii)formation pressure is initial reservoir pressure before producing. But the well produces or injects at a variable rate .

We consider skin effects by , where is wellbore radius, is effective wellbore radius, and is skin factor (, damaged; , improved). Here, a simplified formula introduced by Chang and Yortsos [9], later refined by Acuña et al. [29], is used to describe the reservoir porosity and permeability as functions of distance: where , , , and are Euclid dimension, fractal dimension, conductivity index, and radial distance in spherical coordinate, respectively.

Darcy’s law says where is spherical flow velocity and is viscosity of fluid.

Due to the conservation law, the continuity equation is given by

Substituting (B.1)-(B.2) into (B.3), we obtain the fundamental differential equation accounting for the fractal reservoir with spherical flow: where

Initial condition is

Inner boundary conditions are

The three kinds of outer boundary conditions are the following.

Case 1. Infinite pressure outer boundary condition:

Case 2. Constant pressure outer boundary condition:

Case 3. Closed outer boundary condition:

The following dimensionless parameters can be defined in order to simplify the formulations:

By substituting the above dimensionless parameters into (B.4)–(B.10), the dimensionless mathematical model for fractal reservoir with spherical flow is given by

Nomenclature

Formation volumefactor,
:Wellbore storage coefficient,
:Formation compressibility,
:Fluid compressibility,
:Total compressibility,
: Euclid dimension
:Fractal dimension
:Permeability,
:Reservoir pressure,
:Production rate or injection rate,
:Radial distance of the outer boundary,
:Radial distance in spherical coordinate,
Skin factor
:Time,
:Spherical flow velocity,
:Laplace transform variable.
Greek Symbols
:Fractal exponent
:Viscosity,
:Porosity.
Subscripts
:Dimensionless
:Initial
:Wellbore parameter
:Wellbore effective.

Acknowledgments

The authors would like to thank the anonymous referee for his/her helpful suggestions and comments. The research is supported by Sichuan Provincial Youth Science and Technology Fund (no. 2012JQ00 10), Program for New Century Excellent Talents in University (no. NCET-11-1062), and PetroChina Innovation Foundation (no. 2011D-5006-0201).