#### Abstract

A mathematical dual porosity and dual permeability numerical model based on perpendicular bisection (PEBI) grid is developed to describe gas flow behaviors in shale-gas reservoirs by incorporating slippage corrected permeability and adsorbed gas effect. Parametric studies are conducted for a horizontal well with multiple infinite conductivity hydraulic fractures in shale-gas reservoir to investigate effect of matrix-wellbore flow, natural fracture porosity, and matrix porosity. We find that the ratio of fracture permeability to matrix permeability approximately decides the bottom hole pressure (BHP) error caused by omitting the flow between matrix and wellbore and that the effect of matrix porosity on BHP is related to adsorption gas content. When adsorbed gas accounts for large proportion of the total gas storage in shale formation, matrix porosity only has a very small effect on BHP. Otherwise, it has obvious influence. This paper can help us understand the complex pressure transient response due to existence of the adsorbed gas and help petroleum engineers to interpret the field data better.

#### 1. Introduction

Shale formation has both free gas and adsorbed gas [1], which usually is described by Langmuir isotherm equation and affects pressure behaviors and production performance significantly. Another characteristic of shale formation is the ultralow permeability. Because of that, flow in shale-gas reservoir leads to several transport mechanisms, such as slip, transition, and molecular diffusion, which depends on the value of Knudsen number [2–7].

Due to the incomplete development of the natural fracture network in shale, natural fracture network is not well interconnected and cannot form effective flow channels. In most cases, economic production is possible only if a very complex hydraulic fracture network is created that effectively connects a huge reservoir surface area to the wellbore [8]. Therefore, the shale formation consists of matrix, natural fracture, and hydraulic fracture. Many researchers use analytical or semianalytical solution of dual porosity model to study the pressure transient behaviors or production data analysis for fractured horizontal wells [9–13]. Clarkson et al. [14] and Yan et al. [15] use numerical simulation for flow behaviors in single porosity or three porosities model to study flow in shale gas. In order to decrease capillary pressure to improve gas flow, wettability alteration by chemical treatments is proposed [16].

In the above studies, the dual porosity and dual permeability (DPDP) model, in which there are flow in matrix blocks and fracture blocks and flow between them, is seldom mentioned.

In this paper, we first establish a mathematical dual porosity and dual permeability shale-gas flow model incorporating the gas retention and slip flow mechanism. Then the nonlinear pressure equation is solved by numerical way based on PBEI grid. Lastly, we use the numerical model to study the effect of flow between matrix and fracture, effect of natural fracture porosity, and effect of matrix porosity on pressure transient response for wells in shale-gas reservoir.

#### 2. Flow Model Scheme of Shale Gas

##### 2.1. Flow Model

Taking the adsorbed gas as accumulation term and using apparent permeability to describe the slip flow, we can obtain the following equation for matrix system and fracture system, respectively:where subscript denotes matrix system, subscript denotes natural fracture system, is shale density in , is formation volume factor of gas in fraction, is porosity in fraction, is adsorption content in , and and are volume flow rate of the well divided by the volume of the well grid in .

Many attempts have been made in the past to define the shape factor. The classical formula is given by Kazemi [17] as follows:where , , and are the natural fracture spacing in , , and directions in meter, respectively, and is shape factor to describe the interporosity flow between matrix and natural fracture. In this paper, for simplicity, we suppose that , , and are equal and just use to express the natural fracture spacing.

Let in be the production of the well at surface condition, and considering wellbore storage, the flow equation in the wellbore is given bywhere is BHP in Pa, is equivalent well radius in m and is actual well radius in m, is wellbore storage in , and is time step.

##### 2.2. Apparent Permeability

In order to describe the flow mechanism caused by the ultralow permeability, the intrinsic permeability in (1) and (2) is replaced by apparent permeability, which can be described with Knudsen number for the slip flow [18] as follows:According to the definition of mean free path of gas molecules, Knudsen number is expressed aswhere is the gas viscosity in Pa·s, J/kmol/K is the universal gas constant, is the absolute temperature in K, and is the molecular mass of gas in kg/kmol. Civan [4] estimates the equivalent hydraulic radius:where is the tortuosity and is the porosity of porous media.

According to Schaaf and Chambre [19], free molecular flow happens if , when collision between the gas molecules and the pore wall dominates. For , it is considered as transition regime. For , the flow at the wall cannot be neglected, and slip flow exists. For , collision between molecules and the pore wall can be neglected, and the flow behaviors can be described by Darcy’s law. In this paper, the flow regime is limited to slip flow.

##### 2.3. Isotherm Sorption of Gas

The amount of adsorption in (1) can be modeled by the Langmuir isotherm equation:where is the standard volume of gas adsorbed per unit shale mass in under the pressure , denotes the ultimate adsorption amount in , is the gas pressure in Pa, and is the pressure when adsorption reaches half of the ultimate adsorption amount in Pa.

#### 3. Numerical Calculation Scheme

PEBI grids can overcome structure grid disadvantages, such as inflexibility in description of geologic features, inaccurate representation of multiwell locations, and grid orientation, and are especially widely used in numerical well test [20–23]. PEBI grid is actually Voronoi block, which is defined as the region of space that is closer to its grid point than to any other grid points, and its boundaries are normal to lines joining the nodes on the two sides of each boundary.

Figure 1(a) gives the grids of horizontal well with 5 hydraulic fractures. Figure 1(b) gives the fracture grids and horizontal well grids in detail. In order to capture the characteristics of the transient flow, the grid points are distributed by radial growth near the well and fractures. The well and fractures are modeled as grids and treated as infinite conductivity [24].

**(a) Grid**

**(b) Part of the horizontal well and fractures**

Equations (1), (2), and (4) form an equation system. There are a total of 2 variables of , for a grid and one variable for one well producing under constant flow rate.

Nonlinear pressure equations (7) and (8) are implicitly solved by using the matrix solver GMRES (generalized minimal residual method) [25].

#### 4. Simulation and Analysis

##### 4.1. Validation

We use the IMEX model of STARS software to validate our core codes. STARS is a commercial software developed by CMG and is widely accepted in petroleum industry. The code we used here to compare with STARS (2012 version) is only the conventional mass balance equation containing gas phase flowing in DPDP and without adsorption and apparent permeability correction. The conventional balance equation is the core part of our model. Our code will be convincing if the core part of our model is validated.

The horizontal wellbore only connects the fractures in this paper; thus, horizontal well with one fracture is equivalent to fractured vertical well. In our numerical code, the well and hydraulic fracture are treated as inner boundary.

The grid number is in IMEX model. The size of grid is 10 m. The blocks including the hydraulic fracture are subdivided into grids. The main parameters used in the validation are shown in Table 1.

The well is in the middle of reservoir and produces gas at a constant flow rate of 12000 in a closed boundary reservoir. The BHP is compared between our code and STARS as shown in Figure 2. The almost overlap of the two output curves validates our code.

##### 4.2. Reservoir Parameters and Grid

Table 2 gives the main parameters used for the simulation.

Table 3 gives parameters about the DPDP and hydraulic fractures. The total simulation time is 20000 days (about 54.8 years). Gas viscosity and volume formation factor are calculated with PVT [26, 27] and are changing with pressure and obtained through iterative process.

##### 4.3. Effect of Flow between Matrix and Wellbore with Adsorption

In Figure 3, ultimate adsorption capacity is 0.02 , and constant flow rate is 10000 . The other parameters are shown in the figures.

**(a)**BHP comparison for

**(b)**BHP comparison for

**(c)**Derivative comparison for

**(d)**Derivative comparison forFigure 3(a) shows that when fracture permeability is 10 times of the matrix permeability, the BHP difference at 10000th day is about 0.11 MPa. The pressure change is about 1.157 MPa under dual well model. If well-matrix flow is omitted, the BHP error is 9.03% (Table 4).

When the fracture permeability is 100 times of the matrix permeability (Figure 3(b)), the BHP difference at 10000th day is 0.0146 MPa. If matrix-wellbore flow is omitted, the BHP error is 1.004% (Table 4).

By comparison of the BHP error with the ratio of , we know that the ratio of the matrix permeability to the fracture permeability approximately decides the BHP error caused by omitting the matrix-wellbore flow.

The corresponding pressure change and pressure derivative comparison is shown in Figures 3(c) and 3(d).

In Figure 4, except the natural fracture spacing of m, other data are the same as data in Figure 3, from which we can see the influence of interporosity flow ability on the BHP error. The BHP error for in Figure 4(a) is 9.26% and BHP error for in Figure 4(b) is 1.028%, which is shown in Table 4. The BHP errors in Figure 4 are correspondingly larger than that in Figure 3, which is caused by smaller interporosity ability.

**(a)**BHP comparison for

**(b)**BHP comparison forWhen interporosity ability is small, due to the large permeability of fracture system, some gas needs to flow from matrix system to fracture system. If the interporosity ability is not large enough, larger pressure difference between matrix and fracture is required, which causes larger error if the matrix-wellbore flow is omitted. Therefore, the low interporosity flow ability can enlarge the error when we omit the matrix-wellbore flow.

In Figure 5, the constant flow rate increases from 10000 to 50000 compared to the parameters in Figure 4. In Figure 5(a), the fracture permeability is 10 times of the matrix permeability, and the BHP difference at 10000th day is 0.77247 MPa. The BHP error is 12.6% if matrix-wellbore flow is neglected. In Figure 5(b), the fracture permeability is 100 times of the matrix permeability, the BHP difference at 10000th day is about 0.09457 MPa, and the BHP error is 1.1924% if the flow between wellbore and matrix is omitted.

**(a)**BHP comparison for

**(b)**BHP comparison forCompared to the value of BHP error in Figure 4 (see Table 4), the BHP error under increases, which shows that large flow rate leads to the large BHP error. We also find that the increase of BHP error under is larger than the increase of BHP error under , which shows that large ratio of decreases BHP error if matrix-wellbore flow is omitted.

Table 4 gives the BHP error comparison for Figures 3, 4, and 5. When natural fracture spacing increases from 1 m to 10 m under , the BHP error increases from 9.03% to 9.26% under , which means that BHP error increases with decrease of interporosity flow ability.

When constant flow rate increases 5 times, the BHP error increases from 9.26% to 12.6% under , while the BHP error only increases from 1.028% to 1.19% under , which has a smaller increase rate than that under . Therefore, when ratio of is large, neglecting of the matrix-wellbore flow only causes very small BHP error. However, if ratio of is relatively large, the matrix-wellbore flow should not be omitted.

##### 4.4. Effect of Porosity on Transient Pressure Response with Adsorption Gas

###### 4.4.1. Effect of Fracture Porosity on Transient Pressure Response

Figure 6 shows the effect of natural fracture porosity on pressure transient responses for a horizontal well with 3 hydraulic fractures with ultimate adsorption capacity of and natural fracture spacing of m.

**(a) BHP for different fracture porosities**

**(b) Pressure derivative of the pressure drawdown period**

The effect of fracture porosity on BHP is so small that it is not easy to identify the difference in Figure 6(a). From pressure derivative curves in Figure 6(b), we can see the difference of the early linear flow regime. However, the time of the difference only lasts 0.01 days. When fracture porosity is 0.001, the early linear flow regime is obvious, while the early linear flow regime is not clear under fracture porosity of 0.0001. This is because the natural fracture system is the main flow channel. Larger fracture porosity can make the linear flow in nature fracture last longer and linear flow behavior becomes obvious.

###### 4.4.2. Effect of Matrix Porosity on Transient Pressure Response

Figure 7 shows the effect of matrix porosity on pressure transient responses of a horizontal well with 3 hydraulic fractures for ultimate adsorption capacity of , natural fracture spacing of m.

**(a) BHP for different matrix porosities**

**(b) Pressure derivative for different matrix porosities**

Figure 7 shows that the matrix porosity has minimal effect on BHP when the gas ultimate adsorption capacity is 1 . Matrix system is the storage space and its porosity should affect behaviors of BHP. However, in shale gas, the situation is different. When pressure drops, the adsorbed gas desorbed. If the ultimate adsorption capacity is big, the magnitude of the free gas obtained from the adsorption gas is much bigger than the free gas from the matrix porosity, which reduces the effect of the matrix porosity.

When the ultimate adsorption capacity is small, the desorbed gas will have less effect on the BHP, and the effect of the matrix porosity on BHP will appear. Figure 8 gives effect of matrix porosity on pressure response with ultimate adsorption capacity of 0.05 . With small adsorption content, the BHP difference in Figure 8(a) is 0.28 MPa at the end of the production period due to the porosity difference between matrix systems. When adsorption content decreases, the free gas will account for more proportion of the flow rate. Therefore, matrix porosity has more influence on the pressure transient response.

**(a) BHP for different matrix porosities**

**(b) Pressure derivative for different matrix porosities**

Figure 9 gives the case of no adsorption gas. The BHP difference in Figure 9(a) is 0.46 MPa, which is much larger than the BHP difference under in Figure 8(a). The pressure change and pressure derivative in Figures 7, 8, and 9 together clearly show the effect of matrix porosity under different ultimate adsorption capacities.

**(a) BHP for different matrix porosities**

**(b) Pressure derivative for different matrix porosities**

#### 5. Conclusion

In this paper, we first developed a dual porosity and dual permeability model for a multistage fractured horizontal well in shale-gas reservoirs incorporating the slippage corrected gas permeability and gas adsorption. Then we developed fully implicit numerical simulation model using PEBI grid and finally conducted parametric studies to quantify the transient pressure behaviors for flow in shale-gas formation. Our conclusions could be summarized as below.(1)The ratio of fracture permeability to matrix permeability approximately decides the BHP error caused by omitting the flow between the matrix and the wellbore. The BHP error is also related to the interporosity flow ability. The smaller interporosity flow ability is, the larger BHP error is.(2)In shale-gas formation with adsorption gas, the effect of matrix porosity on BHP is related to adsorption gas content. The desorbed free gas in matrix can offset the effect of the matrix porosity. When adsorbed gas accounts for a big part of total gas storage in shale formation, the change of the matrix porosity only has a very small effect of the total gas, which leads to a very small effect on BHP.(3)Although effect of natural fracture system porosity on BHP is not discernable, it influences the flow behaviors during the early stage significantly.

This paper can help us understand the complex pressure transient response due to existence of adsorbed gas and help petroleum engineers to interpret the field data better.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was sponsored by Major State Basic Research Development Program of China (973 Program) (no. 2011CB707305), National Key Science and Technology Project (2011ZX05009-006), and CAS Strategic Priority Research Program (XDB10030402).