Modeling and simulation of gas flow behavior in shale reservoirs
 2.5k Downloads
Abstract
Shale is a growing prospect in this world with decreasing conventional sources of fossil fuel. With the growth in demand for natural gas, there is impending need for the development of the robust model for the flow of shale gas (Behar and Vandenbroucke in Org Geochem, 11:15–24, 1987). So the major driving force behind the working on this major project is the unavailability of desired models that could lead to enhanced production of these wells and that too efficiently. This model mainly includes the movement of shale gas from tight reservoir through the conductive fractures to wellbore and production model of the decline in pressure inside the reservoir with respect to time. This result has been further compared with the help of MATLAB so as to obtain a complete pressurederived model. The result shows the applicability of this in the reallife projects where it is difficult to model the fractures and obtain the flow rate with them in fractures and how to set the production facilities becomes a question.
Keywords
Shale Shale gas Desorbed gas Adsorbed gas MATLAB CMGIMEX simulatorIntroduction
Shale is known as finegrained, clastic sedimentary rock. The molecule size of shale is little which makes the interstitial spaces likewise little. Indeed, they are minute to the point that oil, regular gas and water experience issues traveling through the development. Shale can hence serve as a compelling top rock for oil and common gas (Firoozabadi 2012). Despite the fact that the interstitial spaces in shale are minute, they can take up a huge volume of the arrangement rock. This lets the shale to hold noteworthy measures of water, gas or oil and not have the capacity to adequately transmit them as a result of its low permeability. The petroleum business has beat these confinements of shale developments by utilizing level penetrating and hydraulic cracking to make build porosity and permeability inside the stone (Bustin et al. 2008).
Shale gas will be gas that is actually present in shale rocks. Sandstone rocks are known for high permeability, and gas can stream effortlessly through the stone. Interestingly, shale shakes for the most part have low permeability (Bustin et al. 2008).
Shale gas is viewed as an alleged “unusual gas,” together with “tight gas” with low permeability and “coalbed methane” (CBM). While both traditional and capricious stores contain normal gas, it is the more intricate generation strategies that recognize the ordinary and offbeat store (Gong et al. 2011). Hydraulic breaking is regularly connected to capricious normal gas stores. India has immense stores of shale gas. As indicated by the accessible sources, India has around 300–2100 tcf evaluated gas setup in Indian shale gas bowls which is much bigger than stores that are accessible in Krishna–Godavari (D 6) Basin (Swami et al. 2013).
This paper mainly discusses about the modeling of gas flow from the matrix to the wellbore. The representation of the reservoir model includes a cube as a porous media, i.e., it contains pore spaces in which free gas is stored and also the adsorbed gas. Now, the gas in the cube (both free gas and adsorbed gas) will start flowing out inside the matrix to the fractures (induced). Many of these cube representations are put together and connected to the well bore.
In this paper, we have considered a updated dualmechanism model. One porosity is the combination of matrix and natural fracture, and the second porosity is the hydraulic fracture. For this model, a nonlinear PDE equation has been developed which is then compiled using MATLAB to develop a simulator for calculating the shale gas production, by considering the matrix as a source term. The production data that are obtained from this model will describe the unique characteristics shale gas reservoirs.
A threedimensional shale gas reservoir model was created. Three flow mechanisms (Darcy flow and nonDarcy flow) as well as gas adsorption and desorption mechanism were considered in this model. The flow in the matrix is considered as singlephase flow, and the production from this reservoir model is estimated for a period of 3 years and the results are validated by CMGIMEX software.
Back ground literature
Modeling of unconventional gas reservoirs and its application for determining pressure variations and estimating production rate are carrying on for the past many years and are generally classified as numerical or analytical methods. Transport of shale gas in the reservoirs is a complex multiscale transport process, which is from hydraulic fractures, i.e., macropores to the natural fractures, i.e., micropores (Javadpour et al. 2007a, b). Lots of researches have been done on transport mechanism of shale gas from matrix pores to the fractures. In general, most of the authors believe that the flow of gas in the fractures will follow Darcy’s Law, but the flow behavior of gas in matrix pores is still controversial. Zuber et al. (2002), Schepers et al. (2009), Wang and Reed (2009), Song and EhligEconomides (2011) and Song (Song and Yang 2013) conducted several studies and proposed that the flow of gas from the matrix pores to the fractures in shale gas reservoirs follows Darcy’s law. Rushing et al. (1989), Dahaghi (2010) and Dahaghi and Mohaghesh (2011) have proposed that the flow of gas from the matrix pores to the fracture network is by diffusion. Javadpour (2009) and Ozkan et al. (2010) state that the flow and diffusion take place at the same time when the gas migrates from matrix pores to fracture network. As the permeability of the reservoir varies with location, it is not possible to have a unique permeability for the entire reservoir. For representing a uniform permeability for shale gas reservoirs, several investigations were performed on apparent gas permeability for representing the gas flow in shale reservoirs. Several investigations on apparent gas permeability have been done for representing the flow of gas in the nanopores (Clarkson and Nobakht 2011, Clarkson et al. 2012a, Clarkson and Williams 2012b; Michel et al. 2011; Civan et al. 2011; SakhaeePour and Bryant 2012; Javadpour et al. 2007a, b; Javadpour 2009; Swami et al. 2012, Swami et al. 2013; Fathi et al. 2012).
One of the major factors in determining the productivity index of the shale gas reservoir depends upon the fracture network (Brown et al. 2009). In general, all the fractures are sourced by the matrix system. In most of the cases, a question arises about the contribution of shale matrix system to the fracture system. Unfortunately, with the available research a complete understanding of fluid transfer from shale matrix to fracture network is unknown. The present studies revealed that the main contributor to the flow of gas in the matrix is Darcy’s flow, which is induced due to pressure differential between the matrix and the fracture. Many authors have made different assumptions regarding the flow of gas in the shale matrix, as the fundamental assumption of Darcy’s flow in shale matrix revealed that the gas flow in the nanopores is considered negligible (Ozkan et al. 2010). In oder to have a clear idea about the flow of gas in the shale matrix, a detailed research has to be done.
Recently, Javadpour et al. 2007a, b; Javadpour 2009 described the flow in shale matrix by Knudsen diffusion and slip flow in nanopores, Darcy’s flow in the micropores, desorption from surface of the kerogen and the diffusion from the surface of the solid kerogen. Our objective in this paper is to include more detailed description of flow in shale matrix to the modeling of production from the fractured shale gas reservoir. Here, we limit our focus on Darcy’s flow, nonDarcy’s flow and desorption flow process. Desorption of gas in shale reservoirs has been linked to the coalbed methane reservoirs where gas desorbs from the surface of the coal matrix block to the cleats (Induced Fractures). In shale gas reservoirs, the gas will be stored in the form of free gas and the adsorbed gas.
Here, we are presenting an updated dualmechanism dualporosity that accounts the free gas in the reservoir pores and the adsorbed gas on the surface of the kerogen. We consider a cubical matrix blocks, which consists of free gas and the adsorbed gas. As the pore space in the matrix reduces due to pressure reduction in the reservoir, the compressibility of the reservoir is also considered. The general formulation presented here represents the flow of gas in the matrix. The reservoir is divided into 5*5*5 matrix blocks. Now, mass balance equation is developed by considering a unique matrix block in the reservoir.
Benefits
Shale gas is connected with significantly less carbon emissions as compared to coal. It can also decrease energy costs because huge amount of shale gas production would likely cause a decline in the price of natural gas. High shale gas production would also help our energy security and reduce our dependence on foreign fossil fuels (Ding et al. 2011). Shale gas could also provide better and cleaner energy option for many developing countries that are currently dependent on coal which is the dirtiest energy source.
Risks
There are additionally some disservices of shale gas. Shale gas, in spite of being essentially cleaner vitality source when contrasted with coal, regardless frees noteworthy carbon outflows, in this way being less satisfactory from ecological perspective than renewable wellsprings of vitality (Hong et al. 2013). Additionally, ecological danger as potential spillages of methane gas from different wells of shale gas could balance the decrease of carbon dioxide and atmosphere advantage of changing from coal to shale gas. The fast improvement in shale gas businesses could back off the advancement of renewable vitality, particularly if shale gas gets to be one of the least expensive vitality choices accessible. Renewable vitality is thinking that it is hard to contend with coal, and with modest and effectively accessible shale gas, things could turn out to be much more terrible for the area of renewable vitality. Right now, the removing expense of shale gas is higher when contrasted with the expenses of extraction of routine gas or coal; however, the upandcoming upgrades in boring innovations could diminish the extraction costs (Alahmadi 2010).
Methodology
In the process of fluid flow characterization in shale reservoir, two basic approaches were used. The basic and initial approach is developing nonlinear partial differential equations which represent the flow of gas in the matrix and the flow of gas in the induced fractures and compiling these equations in MATLAB.
A second approach of solving and obtaining all the parameters will be used by the help of simulators. For the matter of credibility, the result of the equations derived from the first approach which are solved in MATLAB will be crosschecked with the results of the second approach using CMGIMEX reservoir simulator.
Approach by MATLAB
MATLAB is used in our project to solve number of partial differential equations. The set of partial differential equations are solved by finite difference method by assuming some of the constants using the standard literature (Zhang and Yuan 2002). A generic equation is simplified which will change according to reservoir matrix in three dimensions by variables which are (i, j, k) which vary according to (x, y, z). The number of equations formed will depend on dimensions of the number of matrix assumed; for example, for n = 5, number of equations formed will be 5*5*5 = 125 equations. These equations are solved by using a MATLAB code using functions of matrices.

Pm–For initial reservoir pressure.

T–For total number of days.

Dt–For time period.

dx, dy, dz–For reservoir length, breadth and depth.

N–For number of Matrix we want to solve.
A number of functions are created to facilitate the calculation of constants with respect to pressure changes at each reservoir point and with respect to time.
A nested loop is used to run the solution code by assigning the constants of each equation in a 3D matrix and solving it for the values of the variables (Daniel Arthur and Coughlin 2012). A level 5 nesting codes are used in our coding. The final solution matrix is displayed using fourdimensional matrix for every time step.
Code description
The complete code is attached with Appendix 1.
The motive of this code is to solve a generalized linear equation for pressure values at each point in the given matrix. The number of unknown variables in the given matrix depends on the order of matrix assumed; for example, if we assume a matrix of the order of [5 × 5 × 5], then the number of elements in the given matrix will be 125, which further means that the number of unknown pressure points to be calculated by the generalized equation assumed previously would be 125.

Length = 22ft.

Height = 12ft.

Thickness = 2ft.
To perform a solution for linear equations with such a large number of values, a generalized code is prepared which can be easily modified and used for different values for order of matrix, initial pressure and other different dependent variables.
The generic equation that was derived was a linear equation with seven unknown variables. A particular set of these unknown variables is unique for every point in the matrix. In this way by employing an equation for every point and calculating the corresponding seven unknown variables, pressure difference value at every point in the given matrix can be found for a particular value of time (Dreier 2004).

Time interval (dT): 10 days.

Time duration (T): 1000 days.

Number iterations done: 100.
Dynamic updating of coefficients and constants
In the end, a 4D matrix is considered with the fourth order to be made equal to the number of time steps, at which each set of 3D matrices containing the pressure values is stored.
NOTE: The complete code of the project is attached with Appendices 1 and 2.
Approach by CMGIMEX simulator
In this, we are going to present the approach for preparing the flow model by the help of validation software for simulation of CMGIMEX simulator (Li 2007). This is a unique in its kind of software for showing the shale gas simulation at various points in the grid blocks.
 1.
I/O Control
 2.
Reservoir
 3.
Components
 4.
Rock fluid
 5.
Initial conditions
 6.
Numerical
 7.
Wells and recurrent
Reservoir
 1.
Grid: involves the following steps to perform the analysis grid type Cartesian–60*60*5 with a dualporosity model, and the pinch out thickness of 0.0002 is set.
 2.
 3.
Rock fluid properties: default defined values.
 4.
Sectors: default defined values.
 5.
Aquifers: no aquifer is potentially used in various models.
 6.
Lease plane: default defined values.
 7.Rock compressibility (Fig. 7).
 8.
Compaction: default defined Values.
 9.
Depletion: default defined Values.
 10.
Flux sectors: default defined values.
These all are the secondstep parameter entry into the data set for the purpose of model simulation.
Components
Model
Data set Eg
Rock fluid
In the above image, the values changed are for pressure first time step change and the minimum time step. The values for the maximum time step are altered for the best and optimum results.
Wells
In this section, the wells were added and the production time period was selected.So, for the purpose of multiple wells a producer well was drilled into the third layer of the shale gas reservoir.
Results and discussions

Pressure profile for a defined region is developed for a certain piece of reservoir zone.

The subsequent models can be prepared using this as a base step for the characterization of fluid from well bore to the surface.
As per the current methodology, the work appears to be promising and will yield a great model of the shale which will be completed from every end and the further study will be revolving around such models which will be founding pillars of the researches.
Our project is stood on mainly two pillars: one pillar is of the MATLAB work for solving the set of nonlinear PDE’s and the other pillar is the simulation results. To check the perfection of the developed model, a comparison is done between the two pillars, i.e., the MATLAB results and the CMGIMEX results.
Our project is stood on four pillars: two mainly inclusive of simulation and the other two of rigorous calculations and MATLAB work.
There is drift from our single goal of developing the pressure transient equations toward multiple goal of multiple application testing and verifying by various means. These already derived variables are sure to yield different values as per different setting in computational methods, but the final result should be in close proximity of what we are trying to achieve and prove by our methods and thus satisfying our farfetched goals.
Results from MATLAB
The final values obtained from the above code are displayed in the image below. This image shows the various pressure values which are finally obtained and are displayed in the form of a matrix with layer succeeding another layer and finally on a large scale displaying the whole range of pressure values. The initially assumed values were taken and are verified with already available data so that the proper working of the code can be testified.
The pressure depreciation factor can clearly be seen by the values obtained in the form of the fourdimensional matrix. The forth element of the 4D matrix is utilized to save the matrix in correspondence with the time factor; for each increment in the time interval the pressure values for each matrix are stored in that position in a 3D form.

The pressure values thus obtained from the code will be helpful in flow characterization.

The major aim was to get the pressurerelated values which will be placed in the simulationbased software like CMG and Ansys Fluent.

The pressure values thus obtained are declined in correspondence to the software.

As we can see from the coding outputs, the various pressure values which will be further utilized in obtaining the flowrate at specific predetermined points and hence the aim will be satisfied.

These results are of extreme importance from the simulation point of view as they are the final building block of the flow characterization equation.

The pressure drop can also be examined durationwise for any value of time interval, for example, finding the pressure drop at a fixed point from the given date to 10 days after or 20 days after as per the user requirement.

The pressure drop pattern of the complete reservoir can be monitored.

It is seen that more pressure drop is occurring at the boundaries than compared to the inner layers of the reservoir matrix.

The values obtained can be further filtered for getting the pressure values at boundaries.

The code is an intensive code which can be inherited for further usage to find the pressure values of each block formed by the creation of the fractures.
Results by CMGIMEX simulator
In this, after the preparation of model the model was validated using the CMGIMEX; now after the basic step of validation at present these values were obtained and the launch window was obtained in which results could be obtained in the following ways:
Graphical form
This graph is very important from result point of view as this contains the essence of the project and the pressure value declining with respect to time is thus obtained in the well. The pressure values are obtained for the well block which originally contained the gas, and hence, these values decline over a period of 10 years which shows the daily depletion rate. The pressure decline is constant as there is no aquifer support that was used and only the decline was considered on the initial pressure.
3D form

Linear grid refinement.

Applying in well constraint.
This is an actual model of the field data which is for the basic representation of the pressure dropping the field with respect to time and also shows the change in pressure with respect to fracture. The final change in fracture pressure is at much higher rate than normal due to an induced special permeability zones. In this, the special kind of conductivity is defined by inducing the changed permeability values and by the task of changing conductivity the secondary fracture is assumed.
Validation
Conclusion
In this work, we have presented an updated dualmechanism dualporosity formulation for a fractured shale gas reservoir. It has been concluded that the role of natural fractures in gas production from shale reservoirs can be ignored. As the obtained results state the flow rates of gas into the horizontal wellbore are almost the same. Modeling and simulation of gas flow behavior in shale gas reservoirs show the applicability in the reallife projects where it is difficult to model the fractures and also to obtain the flow rate in the fractures.
Notes
Acknowledgements
Authors are extremely thankful to Dr. Kamal Bansal, Dean, COES, UPES, Dehradun for providing the valuable support whenever required.
References
 Alahmadi HAS (2010) A tripleporosity model for fractured horizontal wells. Texas A&M University, College StationGoogle Scholar
 Behar F, Vandenbroucke M (1987) Chemical modelling of kerogens. Org Geochem 11:15–24CrossRefGoogle Scholar
 Brown M, Ozkan E, Raghavan R, Kazemi H (2009) Practical solutions for pressure transient responses of fractured horizontal wells in unconventional reservoirs. SPE 125043Google Scholar
 Bustin RM, Bustin AMM, Cui X, Ross DJK, Pathi VSM (2008) Impact of shale properties on pore structure and storage characteristics. Paper SPE 119892, presented at the 2008 SPE shale gas production conference, Ft. Worth, TX, USA, 16–18 NovemberGoogle Scholar
 Civan F, Rai CS, Sondergeld CH (2011) Shale permeability determined by simultaneous analysis of multiple pressurepulse measurements obtained under different conditions. Paper presented at the SPE North American Unconventional Gas Conference, Woodlands, Texas, USA, 14–16 June 2011Google Scholar
 Clarkson CR, Nobakht M (2011) Analysis of production data in shale gas reservoirs: rigorous corrections for fluid and flow properties. SPE 149404Google Scholar
 Clarkson C, Williams J (2012b) Using production data to generate P10, P50 and P90 forecasts for shale gas prospect Analysis. SPE 162711Google Scholar
 Clarkson CR, Nobakht M, Kaviani D (2012a) New and improved methods for performing ratetransient analysis of shale gas reservoirs. SPE 147869Google Scholar
 Dahaghi AK, Mohaghegh SD (2011) Numerical simulation and multiple realizations for sensitivity study of shale gas reservoirs. SPE 141058Google Scholar
 Dahaghi AK, Mohaghegh SD, Khazaeni Y (2010) New insight into integrated reservoir management using topdown, intelligent reservoir modeling technique: application to a giant and complex oil field in the middle east. SPE 132621Google Scholar
 Daniel Arthur J, Coughlin Bobbi Jo (2012) Hydraulic fracturing considerations for natural gas wells of the Fayetteville shale. School of Energy, China University of Geosciences, BeijingGoogle Scholar
 Ding W, Li C, Li C, Xu C, Jiu K, Zeng W, Wu L (2011) Fracture development in shale and its relationship to gas accumulation. J Geosci Front 3(1):97–105Google Scholar
 Dreier J (2004) Pressure transient analysis of wells in reservoirs with a multiple fracture network. Colorado School of Mines, GoldenGoogle Scholar
 Fathi E, Akkutlu IY (2012) Lattice boltzmann method for simulation of shale gas transport in kerogen. SPE 146821Google Scholar
 Firoozabadi A (2012) Nanoparticles and nanopores in hydrocarbon energy production. Research talk delivered at University of Calgary, December 7Google Scholar
 Gong B, Qin G, L Bi, X Wu (2011) Multiscale and multi physics methods for numerical modeling of fluid flow in fractured formations. SPE 143590. SPE EUROPEC annual technical conference and exhibition, Vienna, Austria, USA, 2326 MayGoogle Scholar
 Hong L, Zeng F, Yao S (2013) A semi analytical model for hydraulically fractured wells with stress sensitive conductivities. SPE 167230Google Scholar
 Javadpour F (2009) Nanopores and apparent permeability of gas flow in mudrocks (shales and siltstones). J Can Pet Technol 48(48):16–21CrossRefGoogle Scholar
 Javadpour F, Fisher D, Unsworth M (2007a) Nanoscale gas flow in shale gas sediments. J Can Pet Technol 46(10):55–61CrossRefGoogle Scholar
 Javadpour F, Fisher D, Unsworth M (2007b) Nanoscale gas flow in shale gas sediments. J Can Pet Technol 46(10):55–61CrossRefGoogle Scholar
 Michel L, Flynn MJ, Hoo CH (2011) Application of PSDM imaging for reservoir characterization in the Northern Malay Basin: a case study. SPE 14817Google Scholar
 Ozkan E, Raghavan R, Aypadin O (2010) Modeling of fluid transfer from shale matrix to fracture network. Paper SPE 134830 presented at the SPE annual technical conference and exhibition held in Florence, Italy, 19–22 SeptemberGoogle Scholar
 Rushing JA, Oliver SJP, Scheper RJ (1989) Reservoir simulation of the antrim shale in the Michigan basin. SPE 19313Google Scholar
 SakhaeePour A, Bryant S (2012) Gas permeability of shale. SPE 146944Google Scholar
 Schepers KC, Gonzalez RJ, Koperna GJ, Oudinot AY (2009) Reservoir modeling in support of shale gas exploration. Paper SPE 123057, presented at 2009 SPE Latin American and caribbean petroleum engineering conference, Cartagena, Colombia, 31 May–3 June 2009Google Scholar
 Song B, EhligEconomides CA (2011) Rate normalized pressure analysis for determination of shale gas performance. SPE 144031. SPE North American unconventional gas conference and exhibition, 14–16 June, The Woodlands, Texas, USAGoogle Scholar
 Song C, Yang D (2013) Performance evaluation of CO2 huffnpuff processes in tight oil formations. Paper SPE 167217, SPE unconventional resources conference, Alberta, Canada, 5–7 NovemberGoogle Scholar
 Swami V, Clarkson CR, Settari A (2012) Nondarcy flow in swami, Vivek. 2012. Shale gas reservoir modeling: from nano pores in laboratory. SPE 163065Google Scholar
 Swami V, Settari A, Aguilera R (2013) Modeling of stress dependent permeability tensor with pressure depletion/injection for fractured reservoirs. SPE164839MS, to be presented at 2013 SPE EUROPEC in London, UK. doi: 10.2118/164839MS
 Wang FP, Reed RM (2009) Pore networks and fluid flow in gas shales. Paper SPE 124253, presented at the 2009 SPE annual technical conference and exhibition, New Orleans, LA, USA, 4–7 OctoberGoogle Scholar
 Zhang JG, Yuan ZW (2002) Forming conditions of oil and gas reservoirs in mudstone and its resources potential. J Oil Nat Gas Geol 23(4):336–338Google Scholar
 Zuber MD, Williamson JR, Hill DG, Sawyer WK, Frantz Jr. JH (2002) A comprehensive reservoir evaluation of a shale reservoir—The New Albany Shale. Paper SPE 77469, presented at the 2002 SPE annual technical conference and exhibition, San Antonio, TX, USA, 29 September–2 OctoberGoogle Scholar
Copyright information
Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.