Académique Documents
Professionnel Documents
Culture Documents
Department of Chemical Engineering, School of Chemical and Petroleum Engineering, Shiraz University, Shiraz 71345, Iran
Gas Center of Excellence, Shiraz University, Shiraz 71345, Iran
art ic l e i nf o
a b s t r a c t
Article history:
Received 1 November 2012
Accepted 27 September 2014
Available online 7 October 2014
Diffusivity equation is the general partial differential equation used to describe the ow of any uid
owing in a radial direction in porous media. The main objective of this study is to present a new
numerical scheme based on orthogonal collocation (OC) method to solve the diffusivity equation for
heterogeneous and homogeneous gas reservoirs. OC is an approximate analytical technique which
categorizes in the weighted residuals methods. The advantage and priority of the OC method over exact
analytical solution (i.e., Laplace transform) is in the cases that the heterogeneity and variation of
reservoir properties such as porosity and permeability with position or pressure could not be neglected;
in these cases, the exact analytical solution is very tedious and may be impossible. The diffusivity
equation has been solved by both OC and exact analytical solutions. To demonstrate the reliability of the
proposed method, the results of OC method have been compared with those achieved using exact
analytical solution. Average absolute deviation percent (AAD%) has been used for determining the
suitable number of collocation points to give acceptable error and best matching between approximate
and analytical results. Sensitivity analysis indicates that increasing the numbers of collocation points
result in signicant improvement of OC method accuracy and its capability on dynamic pseudo pressure
prediction. The minimum AAD% of 0.113 from the exact analytical predictions has been obtained with 25
collocation points. The results indicate that the proposed approximate method with these numbers of
collocation points can predict the reservoir pseudo pressure trend with an acceptable accuracy in
heterogeneous and homogeneous gas reservoirs.
& 2014 Elsevier B.V. All rights reserved.
Keywords:
diffusivity equation
pseudo pressure
pseudo time
orthogonal collocation
gas reservoir
1. Introduction
Multiple researchers in recent times consider gas diffusivity
equation to solve a variety of gas reservoir problems. Pseudo
pressure has historically been used in analytical solutions of the
diffusivity equation for analysis of real gas ow in conventional gas
reservoirs (Khadivi and Soltanieh, 2014). The current study focuses
on rate transient analysis of tight and shale gas reservoirs during
transient linear ow period for a single fractured well producing
under constant well bottom-hole pressure. Wu and Li (2014)
generalized mathematical framework model and numerical
approach for unconventional-gas-reservoir simulation. The model
and numerical scheme are based on generalized ow models with
unstructured grids. Couto and Marsili (2013) present the application of the integral transform technique in the development of a
general analytical solution for the multidimensional hydraulic
diffusivity equation. The solution methodology deals directly with
time-dependent well rates and boundary conditions, sparing the
n
Corresponding author at: Department of Chemical Engineering, School of
Chemical and Petroleum Engineering, Shiraz University, Shiraz 71345, Iran.
Tel.: 98 711 2303071; fax: 98 711 6287294.
E-mail address: rahimpor@shirazu.ac.ir (M.R. Rahimpour).
http://dx.doi.org/10.1016/j.petrol.2014.09.028
0920-4105/& 2014 Elsevier B.V. All rights reserved.
294
A. Gandomkar et al. / Journal of Petroleum Science and Engineering 124 (2014) 293300
Nomenclature
K 1; K 0
I1 ; I0
S
kH
Kv
Pw
PpD
Pb
H
ht
k
Kr
K
Kz
N
n
q
r
m
Z
Psc
Tsc
T
qg
Bg
M
Bessel function
Bessel function
Laplace parameter, dimensionless
horizontal permeability
vertical permeability
well pressure (psia)
dimensionless pseudo pressure
low base pressure (psia)
reservoir thickness (ft)
total reservoir thickness (ft)
permeability (md)
permeability in r direction (md)
permeability in direction (md)
permeability in z direction (md)
number of collocation points
number of points in calculation of AAD%
volumetric ow rate at standard conditions (mscf/day)
radius (ft)
porosity (fraction)
gas viscosity (cp)
gas deviation factor, dimensionless
standard condition pressure (psia)
standard condition temperature (oR)
reservoir temperature (oR)
gas ow rate (scf/day)
gas formation volume factor (bbl/scf)
molecular weight
1
r r z r
0:0002637K z t
rw
P
y
t
tap
A
B
U
re
rD
Ct
Greek letters
porosity
parameter of Jacobi polynomial
parameter of Jacobi polynomial
uid viscosity
diffusivity constant
Abbreviations
ODE
PDE
OC
AAD%
t
0
dt
C t
4
r r
0:0002637K t ap
r
The initial and boundary conditions in terms of pseudo pressure and pseudo time can be expressed mathematically as follows:
The initial condition is
P p r; t 0 P pi
6
KhT sc
r r rw
Another boundary equation i.e., dened in the outer reservoir
boundary and states that the reservoir behaves as if it were innite
in size, i.e., re 1 (Slip Slider, 1983; Ahmed, 2010).
P p r e ; t ppi
A. Gandomkar et al. / Journal of Petroleum Science and Engineering 124 (2014) 293300
0:0002637kt ap
r e 2
And
rD
r
re
10
rD
11
r D r D
r D
t apD
And the initial condition is
P PD r D ; t aD 0 0
12
r
KhT sc
r r rw
13
or
rw
P PD rD 0 1 while r D
0
re
14
15
295
18
p
rD 1 u
Pa
1
2
g z
P
Pp
g z
P
t a g C t t ap g C t
Z
0
p
dp
g z
t
dt
g C t
16
ppD
u1
17
20
21
22
296
A. Gandomkar et al. / Journal of Petroleum Science and Engineering 124 (2014) 293300
W x x 1 x
J N; x 1N i N;i xi
K z P
2
r r
r
z
z
r
1
34
0:0002637 t
i0
dlj ui
du
Bij
d lj ui
du2
24
25
26
jai
Kr r
K
Kz
2
r r
z
0:0002637 t ap
r
z
r
36
28
When we substitute Eqs. (27) and (28) into Eq. (23), the
following equation can be obtained:
N1
yi
C ij yj
t aPD
j1
29
30
Next, by taking the last term of the series out of the summation
and make use of the boundary condition, y(u 1) yN 1:
yi
C y C i;N 1 yN 1
t aPD j 1 ij j
N
31
32
For a compressible uid and from the real gas law (Eq. (59))
and expanding right-hand side of Eq. (34) one obtains:
1
K r P P
1
K P P
K z P P
r
2
r r
z
z r
z
z z
r
C t
p P
35
0:0002637 z t
i 1; 2; ; N
33
where:
ZD
Z
rw
38
39
0 o zD o
h
rw
40
A. Gandomkar et al. / Journal of Petroleum Science and Engineering 124 (2014) 293300
P pD r
D-1
42
In addition of radial boundary conditions, there are two noow and innite acting reservoir boundary conditions at the
bottom and upper section of the reservoir. Those conditions in
dimensionless form are dened as:
P pD
0 t D 40
43
zD zD 0
P pD
zD
297
Table 2
Pseudo pressure as a function of pressure.
Pressure (psia)
mg (cp)
0
400
800
1200
1600
2000
2400
2800
3200
3600
4000
4400
0.01270
0.01286
0.01390
0.01530
0.01680
0.01840
0.02010
0.02170
0.02340
0.02500
0.02660
0.02831
1.000
0.937
0.882
0.832
0.794
0.770
0.763
0.775
0.797
0.827
0.860
0.896
0.000
13.2 106
52.0 106
113.1 106
198.0 106
304.0 106
422.0 106
542.4 106
678.0 106
816.0 106
950.0 106
1089.0 106
h
zD r wt
t D 40
44
Value
h
rw
re
ct
Pi
Tr
q
Pc C6 (psia)
S.G C6
65 md
0.15
15 ft
0.30 ft
1000 ft
3 10 4 psi 1
4400 psia
140 1F
2000 Mscf/day
263
0.8181
H2S
CO2
C1
C2
C3
IC4
NC4
IC5
NC5
C6
MW C6
0.01
0
0
0.43
0.89
0.9
1.34
1.21
4.77
90.45
199
0.005
9.621
26.459
2.628
10.083
0.467
0.695
0.627
2.475
46.937
t= 24 hr
Radius (ft)
Fig. 1. Comparison between the approximate and exact analytical solution after
24 h (N, number of collocation points).
Pseudo pressure
t= 15 hr
Radius (ft)
Fig. 2. Comparison between the approximate and exact analytical solution after
15 h.
298
A. Gandomkar et al. / Journal of Petroleum Science and Engineering 124 (2014) 293300
Table 3
Comparison between exact and orthogonal collocation solution.
Exact solution
%
AAD
Number of collocation
points
Average pseudo
pressure
Average pseudo
pressure
5
10
20
25
1018,572,775
1077,666,839
1083,036,279
1085,056,821
1085,250,570
1085,250,570
1085,250,570
1085,250,570
Pseudo pressure
Orthogonal collocation
7.675
1.023
0.551
0.113
r = 600 ft
r = 400
exact calc:
yi yi 1
AAD% N
n 100
i
yexact
i
n is the number of data points.
r = 200 ft
Time (hr)
N=5
% AAD
N = 10
N =20
N = 25
Pseuado pressure
The Laplace-domain solution for dimensionless pseudopressure can be obtained by taking Laplace transforms with
respect to dimensionless pseudo-time and nite Fourier cosine
transforms with respect to ZD coordinate from all boundary
condition equations.
The exact solution for a nite and an innite reservoir are
obtained as follows:
1
P pD r D ; zD ; S; n P pD P pD
0 o zD o
ht
rw
45
1
Time (hr)
approximate solution with 25 collocation points carried out satisfactory exact results, and a good agreement was observed between
exact and OC method.
Actual bottom-hole owing pseudo pressures over time have
been calculated using exact analytical as well as approximate
solution with 25 collocation points. For better comparison
between these analyses, the graphical scheme of bottom-hole
pseudo pressure has been shown in Fig. 4. This gure demonstrates a good agreement between approximate and exact solution
to the prediction of well owing bottom-hole pseudo pressure.
Fig. 5 illustrates the comparison between the exact and
approximate pseudo pressure trends as a function of production
time for the some given radial distances. Predicted reservoir
pseudo pressure using OC method with 25 collocation points have
been presented and compare with exact analytical ones. It was
observed that an acceptable coincides with the exact solutions
have been performed at 600, 400 and 200 feet radial distance from
the producing well.
P pD
46
2ht 1 sin nh=ht
z
K 0 r D cos n
ht
h n 1 n S K 1
47
48
1
p p
p p
K 1 r De S I 0 r D S I 1 r De S K 0 r D S
p
S SK 1 I 1 r De K 1 r De I 1
P pD
49
2ht 1 sin nh=ht K 1 r De I0 r D I 1 r De K 0 r D
z
cos n
nS K 1 I1 r De K 1 r De I1
h n 1
ht
50
Eqs. (50) and (47) are functions of z, to obtain a uniform
pressure distribution along a perforated portion of the well; these
A. Gandomkar et al. / Journal of Petroleum Science and Engineering 124 (2014) 293300
Table 4
The physical properties of heterogeneous gas reservoir (Slider, 1983).
Exact
1.211E+09
OC (N=25)
Properties
Value
Properties
Value
ct
Pi
Tr
q
re
kH
Kv
h
rw
3.2 10 4 psi 1
5100 psia
200 1F
4500 Mscf/day
1200 ft
1 md
0.1 md
0.18
25 ft
0.30 ft
ct
Pi
Tr
q
re
kH
Kv
h
rw
2.8 10 4 psi 1
4300 psia
180 1F
3200 Mscf/day
1300 ft
177 md
12 md
0.23
15 ft
0.30 ft
Pseudo Pressure
1.21E+09
Analytical
299
1.209E+09
1.208E+09
1.207E+09
r = 500 ft
1.206E+09
1.205E+09
1.204E+09
20
40
60
80
100
120
140
160
180
Time (hr)
Fig. 7. Pseudo pressure proles as a function of time at 500 ft distances from the
wellbore for heterogeneous gas reservoir (High Permeable Case).
OC (N=25)
1.22E+09
Pseudo pressure
1.22E+09
1.219E+09
1.219E+09
1.218E+09
r = 500 ft
1.218E+09
6. Conclusion
1.217E+09
1.217E+09
20
40
60
80
100
120
140
160
180
Time (hr)
Fig. 6. Pseudo pressure proles as a function of time at 500 ft distances from the
wellbore for heterogeneous gas reservoir (Low Permeable Case).
P pD r w ; S; n
2ht
K 1 r De I 0 I 1 r De K 0
h
sin 2 n
ht
K 1 I1 r De K 1 r De I1
2
2
h 2 n 1 n S
51
2
P pD r w ; S; n
K 0
h
2
sin
n
2
2
ht
h 2 n 1 n S K 1
2ht
52
Eqs. (49) and (46)) and the second term, P pD , is associated with the
effect of partial penetration. This series term act as a modier to
pressure drop, taking into account the effect of limited ow entry.
Now, with the aid of a numerical Laplace inverter one may obtain
the solution for dimensionless wellbore pressure (the inversion of
P pD r D 1; zD ; S; n ) in the dimensionless pseudo-time domain,
tD. In this section, the comparison between owing wellbore
pseudo-pressure predicted by the analytical model and that of
the numerical OC is examined. In the formulation developed for
this model, the reservoir is considered to be a heterogeneous gas
reservoir with the physical parameters which were described in
Table 4. As demonstrated (in Section 5.1) that the proposed
approximate solution with 25 collocation points carried out
satisfactory exact results, therefore, in Figs. 6 and 7 the wellbore
pseudo-pressure as a function of time is compared between the
two solution methods. The case of low permeability reveals that
this model may be appropriate for low permeability gas reservoir.
0:234
ru
r r
t
53
300
A. Gandomkar et al. / Journal of Petroleum Science and Engineering 124 (2014) 293300
p P 1 z p
z t P p P z
p P
p P
C C g C t
z t f
z t
61
Combining Eqs. (60) and (61) and using eld units, gives the
diffusivity equation for compressible uid (Craft and Hawkins,
1991; Ahmed, 2010).
1
p P
C t
p P
r
10
r r z r
0:0002637K z t
References
Fig. 8. Volume element used in the development of the radial diffusivity equation.
k P
r
54
0:001127 r
55
r r
r
t
To develop a solution to Eq. (55) for the compressible uid, or
gas, three additional equations are required: (1) an equation of
state, usually the real gas law, which is Eqs. (56), (2), (3), (57) and
(58), which describe how the gas isothermal compressibility and
formation compressibility vary with pressure, respectively:
PV ZnRT
56
1 1 dz z p
Cg
P Z dP p P z
57
Cf
1
P
58
MP
RT z
59
Mp
r
RT z r
0:0002637K t
RT z
1
r r
or
1
r r
r
p P
z r
1
1 p
0:0002637 K t
z
60
t z
z t
t z
z P t
P z t
Adomaitis, R.A., Lin, Y., 1998. A technique for accurate collocation residual calculations. Chem. Eng. J. 71, 127134.
Agarwal, R.G., 1979. Real Gas Pseudo Time, A New Function for Pressure Buildup
Analysis of MHF Gas Wells. Paper SPE 8279 presented at the SPE Annual
Technical Conference and Exhibition, Las Vegas, 2326 September.
Ahmed, T., 2010. Reservoir Engineering Handbook, fourth ed Gulf Professional
Publishing, Houston.
Al-Hussainy, R., Ramey, H.J., 1966. Application of real gas ow theory to well testing
and deliverability forecasting. JPT 18, 624636.
Barreto, A.B., Peres, A.M., 2012. A variable-rate solution to the nonlinear diffusivity
gas equation by use of greens-function method. SPE, 145468.
Couto, P., Marsili, M.D., 2013. A General Analytical Solution for the Multidimensional Hydraulic Diffusivity Equation by Integral Transform Technique. Rio de
Janeiro, Brazil, OTC p. 24319 (2931 October).
Craft, B.C., Hawkins, M.F., 1991. Applied Petroleum Reservoir Engineering, second
ed Prentice Hall, Englewood Cliffs.
Fan, L.T., Chen, G.K.C., Erickson, L.E., 1971. Efciency and utility of the collocation
methods in solving the performance equations ow chemical reactors with
axial dispersion. Chem. Eng. Sci 26, 379387.
Finlayson, B.A., 1980. Nonlinear Analysis in Chemical Engineering. McGraw-Hill Inc.
United States of America Chemical Engineering.
Finlayson, B.A., 1972. The Method of Weighted Residuals and Variational Principles.
Academic Press, New York, NY.
Ghanaei, E., Rahimpour, M.R., 2010. Evaluation of orthogonal collocation and orthogonal collocation on nite element method using genetic algorithm in the
pressure prole prediction in petroleum reservoirs. J. Pet. Sci. Eng. 74, 4150.
Huang, W.H., Russell, R.D., 1996. A moving collocation method for solving time
dependent partial differential equation. SIAM J. Appl. Numer. Math 20, 101116.
Khadivi, K., Soltanieh, M., 2014. Numerical solution of the nonlinear diffusivity
equation in heterogeneous reservoirs with wellbore phase redistribution. J. Pet.
Sci. Eng. 114, 8290.
Alhumaizi, Khalid, 2006. A moving collocation method for the solution of the transient
convectiondiffusionreaction problems. J. Comput. Appl. Math. 193, 484496.
Lefervre, L., Dochain, D., Feyo de Azevedo, S., Magnus, A., 2000. Optimal selection of
orthogonal polynomials applied to the integration of chemical reactors.
Comput. Chem. Eng 24, 25712588.
Matthews, C.S., Russell, D.G., 1967. Pressure buildup and ow tests in wells. Monograph vol. 1, Society of Petroleum Engineers of AIME. Dallas, TX: Millet the Printer.
Palacio, J.C., Blasingame, T.A., 1993, Decline Curve Analysis Using Type Curves
Analysis of Gas Well Production Data, Paper SPE 25909 Presented at the Joint
Rocky Mountain Regional and Low Permeability Reservoirs Symposium, Denver, 2628 April.
Qanbari, F., Clarkson, C.h.R., 2013. A new method for production data analysis of
tight and shale gas reservoirs during transient linear ow period. J. Nat. Gas Sci.
Eng. 14, 5565.
Rice, R.G., Do, D.D., 1995. Applied Mathematics and Modeling for Chemical
Engineers. John Wiley & Sons, USA.
Ruthven, D.M., 1984. Principles of Adsorption and Adsorption Process. Wiley-Inter
Science Publication, New York, NY.
Slip Slider, H.C., 1983. Worldwide Practical Petroleum Reservoir Engineering
Methods, rst ed. Penn Well Books, Tulsa.
Villadsen, J., Stewart, W.E., 1967. Solution of boundary value problems by orthogonal collocation. Chem. Eng. Sci. 22, 14831501.
Wu, Y.S., Li, J., 2014. A generalized framework model for the simulation of gas
production in unconventional gas reservoirs. SPE, 163609.
Zainal, S., Yee, H.V., 2010. Gas-diffusivity measurement in reservoir uid at elevated
pressures systems for transient shut-in modeling. In: SPE Latin American and
Caribbean Petroleum Engineering Conference, 13 December, Lima, Peru, SPE
139004.
Zolotukhin, A.B., Ursin, J.R., 2000. Introduction to Petroleum Reservoir Engineering,
rst ed Hyskoleforl, Norway.