Introduction

Understanding the trend of pressure profile in a reservoir during primary depletion is essential in reservoir studies. Especially, for those reservoirs which are susceptible to perform two phases of hydrocarbon due to pressure drop (Danesh 1998). In this regard, any precise approach and model which include less assumption can be a reliable method. The fluid flow in reservoir or in porous medium has been a great interest of physicists, engineers and hydrologists who tried to predict the behaviors of compressible and incompressible fluids. They have designed several experiments so as to validate the implementation of their proposed correlations (Ahmed 2011). The basic equation for predicting pressure distribution in a reservoir is the diffusivity equation. For this equation, the reservoir temperature is supposed to be constant which is a valid assumption in most cases. Several methods have presented to solve the diffusivity equation including numerical and analytical approaches. The diffusivity equation is also solved in dimensionless form (Lee 1996).

Several procedures have been proposed to solve the pressure diffusivity equation. Take Chakrabarty et al. (1993) as an example, who provided a quantitative analysis of the effects of neglecting the quadratic gradient term on solving the diffusion equation governing the transient state (Chakrabarty et al. 1993). It should be noted that among the flow regimes in reservoir, the transient flow is the most significant state upon which such important characteristics as permeability, reservoir capacity, and skin factor can be determined using well test analysis (Van Everdingen 1953; Lee 1992). Regarding this specification, Liang et al. applied the transient pulse decay to measure the permeability of tight rocks and synthetic materials using the pressure diffusion equation, in which due to dependent pressure of gas compressibility the diffusivity equation became non-linear (Liang et al. 1978). They also considered the Klinkenberg effect in their computations. Another common application of diffusivity equation is during pressure transient analyses. Goode offered an analytic solution for three dimensional diffusivity equations during drawdown and buildup of a horizontal model to get some specifications of reservoir. He applied numerical solution for validation of his procedure (Goode 1987). In some cases, the researchers face with heterogeneous reservoirs instead of homogeneous, therefore, they use some synthetic methods to solve the problem (Dake 1983). Loucks et al. solved diffusivity equation using Laplace transformation for finding pressure drop characteristics in a composite system with different permeabilities (Loucks and Guerrero 1961). Also, van Everdingen and Hurst proposed that by use of Laplace transform instead of tedious prior mathematical analysis, the problems encounter with flow equations can be simplified (Van Everdingen and Hurst 1949).

It should be noted that, as the non-linear form of diffusivity equation causes difficulties in solution process (Odeh and Babu 1988). To overcome these difficulties several suggestions and methods have been proposed such as that of Vik and Jelmert, who planned a solution using pressure logarithm transform for diffusivity equation included pressure squared term (Jelmert and Vik 1996). Xu-Long et al. in their study found the exact solution for radial fluid flow along with pressure squared term. They considered both types of inner boundary conditions, constant flow rate and constant pressure. The generalized Weber transform has been used in their study. They also proposed the analytical solution using Hankel transform for fluid flow in spherical state when the pressure squared term is included. Their researches consisted of analyzing and comparing the linear and non-linear diffusivity equation. Their results showed that, the differences between pressures which had been obtained by two types of equations reaches about 8 present for long time (Xu-long et al. 2004). Another interesting illustration in this category is the work done by Braeuning et al. who applied modified logarithm transform for solving diffusivity equation. They considered the damage skin and wellbore storage in their solution. They noticed that, the magnitude of error as result of linearization of diffusivity equation depends on the wellbore damage, the pseudo-skin due to partial penetration and non-linear flow parameter (Braeuning et al. 1998). Other example is the usage of Laplace transform in analytical solution of non-linear diffusivity equation which was done by Dusseault and Wang. They claimed that the observed deviation of their approach from existing solutions was occurred due to high pressure gradient, compressibility of the core and the injected fluids (Wang and Dusseault 1991).

These kinds of approximations and considerations may cause some changes in pressure drop profile along the radius of reservoir which may be significant or not. On this subject in the current study first, the comparison between analytical and numerical solution for both linear and non-linear diffusivity equation will be performed at wellbore radius, and second the comprehensive sensitivity analysis will be done to find the significant physical properties of reservoir which influence the pressure drop. Next, a comprehensive analysis of involved parameters such as depletion time, reservoir radius and production rate will be performed to find where the pressure differences of linear and non-linear diffusivity equations are significant.

Mathematical considerations

For slightly compressible, unsteady-state fluid flow through a radial reservoir, the diffusivity equation is written as (Ahmed 2011). For more details, refer to “Appendix 1”:

$$\frac{{\partial^{2} p}}{{\partial r^{2} }} + \frac{1}{r}\frac{\partial p}{\partial r} + c\left( {\frac{\partial p}{\partial r}} \right)^{2} = \frac{1}{\eta }\frac{\partial p}{\partial t}$$
(1)

Many authors neglect the \(\left( {\frac{\partial p}{\partial r}} \right)^{2}\) term assuming small magnitude of compressibility factor and make Eq. 1 linear. This assumption may be valid for slightly compressible fluids. However, when either compressibility factor or pressure gradient terms are large, the non-linear term cannot be removed from diffusivity equation and makes the PDE non-linear. In this paper, both numerical and analytical solutions will be applied to understand the difference between both linear and non-linear equation in unsteady-state condition.

Boundary conditions and analytical solution

As a rule for second order differential equations, two boundary conditions are required. The inner and outer boundary conditions are set based on reservoir conditions. A flush for determination of reservoir state is pseudo steady-state time, t pss, defined by Eq. (2) (Ahmed 2011):

$$t_{\text{pss}} = \frac{{1200\emptyset \mu c_{t} r_{e}^{2} }}{K}$$
(2)

Before this time the transient state is governed and after this the pseudo steady-state is started. As said, solving the partial differential equation of diffusivity equation is possible using proper inner and outer boundary conditions. The inner boundary condition for both states can be one either constant rate or constant pressure, however, the second is most common (Ahmed 2011). The constant rate boundary condition is:

$$\mathop {\lim }\limits_{{r \to r_{w} }} \left( {\frac{2\pi rhK}{\mu }\frac{dp}{dr}} \right) = q$$
(3)

Nevertheless, outer boundary condition is different for transient and pseudo steady-state. The infinite acting boundary is used for transient state and no flow outer boundary commonly used for pseudo steady-state. Both boundary conditions are illustrated below, respectively (Ahmed 2011):

$$\mathop {\lim }\limits_{r \to \infty } p\left( {r,t} \right) = p_{i}$$
(4)
$$\mathop {\lim }\limits_{r \to \infty } \left( {\frac{2\pi rhK}{\mu }\frac{dp}{dr}} \right) = 0$$
(5)

Both numerical and analytical solutions of diffusivity equation have attracted the considerations of many researchers (Eymard and Sonier 1994). Some useful approaches have been applied to solve the mentioned equation such as Laplace transform, Boltzmann transform, dimensionless form and Ei function (Loucks and Guerrero 1961; Odeh and Babu 1988; Marshall 2009). Also, Cole–Hopf transform is used to simplify pressure diffusivity equation included pressure dependence permeability, porosity and density which cause the flow equation non-linear (Marshall 2009). The Ei function approach is functional for the current case of study of analytical solution. The pressure variation in reservoir for transient state using Ei function is presented (Ahmed 2011; Craft et al. 1959):

$$p\left( {r,t} \right) = p_{i} + \left[ {\frac{{70.6Q_{o} \mu B_{o} }}{Kh}} \right]E_{i} \left[ { - x} \right]$$
(6)

Non-linear diffusivity equation needs an extra step for linearization to be solved analytically. This makes the non-linear diffusivity equation unfavorable and tedious in comparison with linear equations. Odeh and Babu proposed an analytical approach for solving non-linear diffusivity equation. Regarding “Appendix 2”, the final pressure function for constant flow at inner boundary condition and infinite reservoir is described as Eq. (7) (Odeh and Babu 1988):

$$\Delta p = \left( {\frac{ - 1}{c}} \right)\left( {\ln \left( {1 + \lambda \left( {\ln \left( {\frac{T}{{r_{w}^{2} }}} \right) + 0.2319} \right)} \right) + \frac{0.5772\lambda }{{1 + \lambda \left( {\frac{\ln T}{{r_{w}^{2} }} + 0.2319} \right)}}} \right)$$
(7)

Results and discussion

The models described in previous section are applied for six cases reported in Table 1. The comprehensive analytical numerical analysis will be accomplished in three sections. In the first section, the comparison between analytical and numerical solutions for both linear and non-linear diffusivity equations is performed by employing reported data of case 1. The validity of linear and non-linear solutions is checked using CMG reservoir simulator (version 2013). The second section is allocated to the sensitivity analysis of physical properties of rock and fluid using reported physical properties of case 2. The critical radius of reservoir, defined as the maximum radius of a reservoir with certain rock and fluid properties in which the pressure differences resulted from linear and non-linear solutions is considerable, was used to analyze the results. The last section is attributed to real cases analysis to find the critical radius of reservoir. Cases 3–6 are belonged to the last section. The rock and fluid properties of each case of study are reported in Table 1.

Table 1 Rock and fluid properties for each case

Pressure changes for oil reservoir considering numerical and analytical solutions

Solution of pressure diffusivity equation is a major concern of many researchers. Analytical and numerical solutions are the conventional ways of solving pressure diffusivity equation. COMSOL Multiphasic 5.0 software was employed for numerical solution of both linear and non-linear diffusivity equations. The governing partial differential equations of current problem were solved by finite element method with prevailing assumptions and boundary conditions presented in “Mathematical considerations”. Application of four general types of equations in partial differential module of COMSOL software including coefficient form, general form, weak form and wave form, facilitate the solution of complicated problems. For the current problem, the coefficient form of differential equation along with one dimensional radial geometry was employed. The discretization of current problem is displayed in Fig. 1 where, 1788 elements were generated. In addition, 1 h time step was considered for the sake of time discretization regarding 0.001 relative tolerances. It is worth mentioning that, numerical solution of diffusivity equation is started from initial production time and is finished at pseudo steady-state time (\(t_{\text{pss}}\)).

Fig. 1
figure 1

Discretization of the domain

To compare analytical and numerical solutions of linear and non-linear diffusivity equations, the solid-symbolic lines of each approach are depicted in Fig. 2. The abbreviations NL and L refer to non-linear and linear solutions correspondingly.

Fig. 2
figure 2

The comparison between analytical and numerical approaches

The results of analytical and numerical solutions of linear and non-linear pressure diffusivity equation validate using reservoir simulator (Commercial CMG 2013). For this reason, the single layer one dimensional radial reservoir along with one production well located in center of the reservoir was built up. The flow was considered to be liquid single phase. Other required parameters for simulation are the same as data reported in case 1 of Table 1.

As cleared from Fig. 2, the results obtained by numerical and analytical solutions are in great agreement with those of reservoir simulator which justify the solution approach. Thus, the numerical approach is used for further analysis. Both numerical and analytical solutions have resulted in a semi-similar pressure distribution trend.

Sensitivity analysis of physical properties of rock and fluid

In this part, sensitivity analysis of rock and fluid physical properties is performed using reported data of case 2. Numerical solution is applied to recognize which involving physical properties in oil reservoir have the most influence on pressure profile. Permeability, porosity, total compressibility and viscosity are changed 40 % more and less. The presented results in Fig. 3 obtained in wellbore radius and various times. It is obvious that the inner boundary condition may change by variation of the mentioned parameters and time at wellbore radius. Also, the analysis was performed in 10th hour and various radios as displayed in Fig. 4. The Y-axis of the bar charts denotes the reservoir pressure in different times and different radius, respectively. As observed from Figs. 3 and 4, the effect of changes in porosity and total compressibility is equal. This can be interpreted by considering the inner boundary condition and diffusivity equation when both parameters have the same role in diffusivity equation and their absence at inner boundary condition. These figures show the most effective parameters on pressure profile which are permeability and viscosity. This can be recognized from the highest and shortest bars related to permeability and viscosity, respectively.

Fig. 3
figure 3

Wellbore pressure variation by increasing 40 % of involving parameters

Fig. 4
figure 4

The pressure variation of reservoir in 10th h in the case that involving parameters increase 40 %

This scenario is repeated for 40 % reduction of permeability, porosity, total compressibility and viscosity. The results are shown in Figs. 5 and 6 as well. The results are absolutely the same as the last state. The increase in absolute permeability causes the reduction in pressure gradient (considering Darcy law). In contrary, increasing the fluid viscosity, results the rise in pressure gradient.

Fig. 5
figure 5

Wellbore pressure variation by reducing 40 % of involving parameters

Fig. 6
figure 6

The pressure variation of reservoir in 10th hr in the case of 40 % parameters decrease

Real cases analysis

As understood form previous section, the two major important parameters are viscosity and permeability. Thus, four different real cases are chosen from open literature (cases 3–6). It was tried to select wide range of viscosity and permeability for the chosen cases. Therefore, both light and heavy oil along with low and high permeable rock used in analysis are described in Table 1. L and H denote light and heavy for oil and low and high for permeability, respectively (Ahmed 2011; Craft et al. 1959; Torabi et al. 2016; Xu et al. 2016).

To evaluate other important parameters which potentially may affect the pressure differences of linear and non-linear diffusivity equation, the changes of production rate, depletion time and radius are explored for the aforementioned cases. Figures 7 and 8 show the pressure differences considering the variation of time, production rate and reservoir radius. As seen, each case has different behavior with respect to time, flow rate and radius changes. The severest changes belong to case 6 (heavy oil and high permeability), whereas the least important changes are those of case 3 (light oil and low permeability). In addition, the pressure differences increase by growing the depletion time, production rate and decreasing reservoir radius. Simultaneous changes of radius, depletion time and production rate are considered to find the significant pressure differences for each of 4 cases. In the present paper, critical pressure (P c ) difference is arbitrarily set to 5 psi, and pressure differences higher than 5 psi are considered to be significant, as defined by Eq. (8).

$$\Delta p_{c} = \left| {p_{L} - p_{NL} } \right| = 5 psi$$
(8)
Fig. 7
figure 7

Comparison between different flow rates and depletion times considering in wellbore radius. a t = 10 h; b t = 30 h; c t = 50 h; d t = 70 h

Fig. 8
figure 8

Comparison between different flow rates and radiuses at t = 10 h. a r = r w; b r = 30.2 Ft; c r = 430.2 Ft; d r = 800.1 Ft

The reservoir radiuses in which the pressure differences are thought to be critical are reported in Tables 2, 3, 4 and 5. These critical radiuses vary by changing depletion time and production rate as observed in these tables. Beyond that radius, pressure difference between linear and non-linear becomes less than \(\Delta P_{c}\), and both linear and non-linear solutions apply with negligible error.

Table 2 The critical reservoir radius with respect to depletion time and production rate for case 3
Table 3 The critical reservoir radius with respect to depletion time and production rate for case 4
Table 4 The critical reservoir radius with respect to depletion time and production rate for case 5
Table 5 The critical reservoir radius with respect to depletion time and production rate for case 6

It should be taken into account that, by analyzing the obtained results it was understood that, for the production rates less than 500, 200, 230, 50 STB/day for each case respectively, the pressure differences were not significant at all. This shows the significance of production rate at which for every depletion time and reservoir radius the pressure difference was insignificant. To put it another way, while the flow rates of each cases are under the boundary values, the pressure differences are less than critical and unimportant. To clarify the presented issue, the critical flow rates with variation of time and reservoir radius are determined by nodes in Figs. 7 and 8. As seen in Fig. 7, the pressure differences are highly significant for presented case 6 where the flow rates are higher than 50 STB/day. On the other side, there is no critical flow rate for case 3 regarding the smaller flow in compare with 500 STB/day index. Also, the indicated nodes on plotted curve of cases 4 and 5 show the range of flow rates at wellbore radius at which pressure differences are critical or not. The similar scenario was repeated in Fig. 8, in which the pressure differences were determined versus flow rates for 10th and various radiuses. As observed from Fig. 8, the designated nodes on curves of cases 4 and 5 belonging to state A (wellbore radius) determine the border of critical pressure. Whereas, the pressure differences of cases 3 and 6 are unimportant and highly critical, respectively. As shown in Fig. 8, the pressure differences become unimportant for further distances. Hence, the pressure differences of other states (B–D) for each flow rates are normal and unimportant as radius is extended.

Conclusion

In this work, a parametric analysis was studied on pressure diffusivity equation. Results of numerical and analytical solutions for both linear and non-linear pressure diffusivity equations was presented and discussed. The critical radius of reservoir, defined as the maximum radius of a reservoir with certain rock and fluid properties in which the pressure differences resulted from linear and non-linear solutions is considerable, was used to analyze the results. Moreover, four different cases including light and heavy oil along with low and high permeable rock used in the analysis to investigate the critical radius of reservoir at which the pressure differences of linear and non-linear diffusivity equations are significant. It was found that both numerical and analytical solution techniques concluded accurate results. Results show the significance of depletion time, production rate and reservoir radius in calculation of pressure drop and determining critical radius. Sensitivity analysis of results shows that permeability and viscosity are the most effective parameters on pressure profile. The implemented approach for finding critical radius is strongly useful for petroleum engineers in natural depletion.