Abstract

This paper studies the influence of large-size cave on pressure transient characteristics in fracture-caved carbonate gas reservoirs (FCCGR). With the rapid increase of energy demand, the exploration and development of unconventional oil and gas becomes more and more important. In recent years, many FCCGR have been discovered in western China and contribute significantly to Chinese gas reserves. However, with the presence of large-size cave, FCCGR have complex pore structures and strong heterogeneity. Traditional pressure transient analysis models cannot describe the gas flow accurately. This paper develops a novel pressure transient analysis model for FCCGR by coupling the fluctuating pressure and minor energy loss. Based on the solutions, the typical curves are plotted to analyze the pressure transient characteristics. It is found that the flow process can be subdivided into six stages, including the following: (I) wellbore storage, (II) first transition stage, (III) cave storage, (IV) second transition stage, (V) interporosity flow, and (VI) radial flow. The findings indicate that a concave is added, and the wellbore storage occurs earlier due to the existence of cave. Then, the influences of key parameters are studied. The pressure propagation coefficient and cave volume factor influence the stages I, II, III, and IV. When pressure propagation coefficient increases, the wellbore storage becomes larger and cave storage becomes smaller. The first concave moves to upper right. When cave volume factor increases, the wellbore storage occurs earlier and the curves move left in stage I. Interporosity flow factor and storage ratio influence the location and depth of the second concave. Finally, a field gas well is interpreted by using the proposed model, which verifies the reliability and correctness of the model. The findings of this study can help to better understand the influence of large-size cave on pressure transient characteristics. In addition, it can help engineers invert the cave volume, which is of great significance for the development in FCCGR.

1. Introduction

A large amount of crude oil and natural gas is stored in carbonate rock. There are many types of carbonate reservoirs, and fracture-caved carbonate gas reservoirs (FCCGR) are one of them. Recently, the exploration and development of FCCGR in China has shown a trend of rapid development, especially in Tarim, Ordos, and Sichuan basins [1]. FCCGR are formed by long-term geological process, such as sedimentation, tectonics, and karstification [2, 3]. The pore structures of FCCGR are very complex. FCCGR usually consist of high-permeability fractures, different-sized caves, and compact matrix [4, 5]. The fractures serve as the main flow path, whereas the caves and matrix serve primarily as storage areas [6, 7]. Therefore, they have complex fluid transport forms and high heterogeneity [8, 9]. FCCGR can generally be subdivided into two types. The most common one is small cave carbonate gas reservoirs, with the cave diameter ranging from millimeter to centimeter. Scholars use the triple medium model to investigate this type of gas reservoir. The other one is large-size cave carbonate gas reservoirs. The diameter of the cave ranges from meters and tens of meters [10]. This type of gas reservoirs is relatively rare. Such gas reservoirs can be seen in Tahe and Shunbei fields, northwest China. The buried depth of these FCCGR is very deep (6000 m~8300 m), and the temperature is very high (120°C~240°C) in Shunbei gas fields. Drilling engineers found that there would be drilling stem emptying and leak of drilling fluid during the drilling operation, which implies the well has drilled into a cave. Meanwhile, the seismic section and residual wave impedance section also confirmed this situation. Figure 1 shows a typical FCCGR while the well has drilled into a large-size cave. The characteristics of gas reservoirs can be described by geological ways such as seismic response, logging, and drill core sampling. However, the above static ways are not accurate for dynamic production [11]. Well test has become an important dynamic way to describe gas reservoir characteristics. There are several types of well test, and the most common one is pressure transient analysis (PTA). Nowadays, PTA has turned into a significant way for analyzing the gas reservoirs characteristics [12]. The pressure transient behaviors in large-size cave carbonate gas reservoirs are different from the common FCCGR, especially when well has drilled into a cave. The gas in large-size cave does not obey Darcy law anymore, so the traditional dual medium model or triple medium model cannot describe the complex fluid dynamics in such gas reservoir accurately [13, 14]. As a result, developing a new PTA model for FCCGR when the well drilling into a cave is very essential.

The dual porosity medium model was proposed by Warren and Root [15]. On this basis, Abdassah and Ershaghi [16] established triple medium model, which contains matrix fractures and caves. Liu et al. [17] and Camacho-Velazquez et al. [18] viewed the cave like an extra matrix porosity component and presented several triple-continuum models. Then, Wu et al. [19] developed an analytical model for fractured-caved reservoirs. In their model, the caves directly connected to fractures are considered to be part of the fracture continuum. In recent years, many scholars began to investigate the influence of large-size cave for fracture-caved carbonate reservoirs. Zhang et al. [20] developed a well test model that the cave is considered as a higher permeability region. Liu and Wang [21] established a well test model for well drilling into a cave. They considered the cave as an equipotential body. Gao et al. [22] established a well test model including filled cave, matrix, and fractures. They considered the No-Darcy effect in filled cave. Du et al. [9] established a well test model for multivug carbonate reservoirs. Li et al. [23] established a well test model for vertical bead-on-string caves. Xing et al. [24] developed a PTA model for large-scale radial composite carbonate reservoirs. Their model can invert the number and position of large-size fractures and caves. As can be seen from the recent literatures, scholars consider the large-size cave as a separate pressure system. They think that the flow in fractures and matrix follows porous flow, while the flow in large-size cave follows free flow. Then, they couple the free flow and porous flow to develop well test model.

As mentioned above, there are many research achievements on fracture-cave carbonate reservoirs. However, in the existing literatures, the specific process of fluid entering the wellbore from large-size cave has not been studied. In these literatures, it is considered that the wellbore pressure is approximately equal to the cave pressure. But we think it is not accurate. Due to the strong compressibility of gas, there will be energy loss when gas enters the wellbore from large-size cave. In view of this, the equation between wellbore pressure and cave pressure is proposed in this paper. The results reveal that this change will significantly affect the shape of typical curves. The detailed discussion of the results is shown in Section 3.

The main objective of this paper is to establish a PTA model for a well drilling into a large-size cave in FCCGR. We propose a composite model consisting of the inner and the outer part. In the inner model, the equation between wellbore pressure and cave pressure is proposed. In the outer model, the dual porous medium equations are employed. The general sketch of the problem under study is shown in Figure 2.

The research results of this work can help better understand gas flow process in FCCGR. Through sensitivity analysis, the influence of large-size cave can be clearly identified. What is more, the developed model can be used for well test data analysis in FCCGR. It can help engineers invert important formation parameters, including wellbore storage constant, storage ratio, interporosity flow factor, and cave volume. Therefore, this work is crucial for understanding and developing FCCGR.

The organization of this paper is as follows: firstly, the physical model and corresponding mathematical model are developed in Section 2. Then, typical curves are plotted, and two comparisons are made in Section 3. Next, the sensitivity analysis of key parameters is discussed in Section 4. Subsequently, the proposed model is applied on a field gas well in Section 5. Finally, summary and conclusions are presented in Section 6.

2. Physical and Mathematical Model

As mentioned above, the fluid transport form and pore structure of FCCGR are very complicated, which makes it difficult to simulate the gas flow process perfectly. In consideration of these problems, some assumptions are necessary to simplify the physical model.

2.1. Assumptions and Physical Model

The geological model of FCCGR can be converted into a physical model, as shown in Figure 3. Fractures and matrix are distributed in the formation. The wellbore is connected to a large-size cave. Meanwhile, some assumptions are made: (1)The large-size cave is a cylinder, and the diameter of the cave is (2)The formation is also a cylinder, and it is isotropic. The thickness of formation remains unchanged

To study the gas flow effectively, the model is subdivided into two parts: the inner model and the outer model, which is presented in Figure 4. The inner model includes wellbore and large-size cave. The outer model includes fractures and matrix. The height of wellbore in formation is , and the height of large-size cave is . In the outer model, the permeability of the matrix is much less than that of the fractures, so the gas directly entering the wellbore from the matrix can be ignored. In addition to the above settings, there are some other assumptions: (3)The fluid in in the whole formation is only gas(4)The well is located in the formation center and has a constant production . The initial pressure is consistent throughout the gas reservoir and equal to (5)In the outer model, the gas has a constant temperature and the Darcy’s law is applicable(6)Rock properties, such as permeability and porosity, remain unchanged

Subsequently, the mathematical model is established on the basis of the above assumptions. In the next section, the process of establishing the mathematical model will be shown.

2.2. Mathematical Model

Firstly, we study the inner model. In the procedure of gas entering the wellbore from the cave and then flowing in the wellbore, the continuity equation and the momentum equation need to be satisfied. In this flow procedure, only the vertical flow is considered. According to the work of Li et al. [25] and Wei et al. [26], the pressure in any part of the cave will immediately turn into balanced. Therefore, the cave can be regarded as an equipotential body. A large amount of gas is stored in large-size caves and wellbore, and a high-pressure gas storage space is formed. When the well opens, there will be fluctuating pressure caused by the compressibility of gas and pipe wall.

Take an infinitesimal element of wellbore to study, as shown in Figure 5. The length of this infinitesimal element is , and the cross-sectional area is . First, the continuity equation and momentum equation are listed, as shown in Equations (1) and (2). In the momentum equation, the gravitational term of gas is ignored because the gravitational force of gas is too small. where is the gas density, is the velocity, is the friction coefficient, is the wellbore radius, is the time, and is the vertical length.

For the infinitesimal element, Equation (3) can be deduced from mass conservation.

Equation (4) can be obtained from Equation (3):

Due to the high pressure, the wellbore will also deform. Its deformation is related to the tubing diameter, wall thickness, and elastic modulus of tubing material. Through formula derivation, the pressure propagation equation can be obtained as follows:

From the above analysis, it can be found the pressure propagates as a wave in the z direction, and the wave velocity is .

The gas velocity at the connection between wellbore and cave is as follows:

The derivation process of Equations (5) and (6) is shown in Appendix A.

The cross-sectional area of the cave is substantially larger than the cross-sectional area of the wellbore. Therefore, the connection area between the two is like a shrink tube. When the gas enters the wellbore from the cave, the flow velocity will increase rapidly, accompanied by the decrease of pressure. Meanwhile, part of the gas forms vortices near the tubing wall of wellbore, and these vortices will drain energy. The energy equation of gas from cave to wellbore is the following equation. where is the pressure of large-size cave, is the pressure of bottom hole, and is the minor energy loss.

The formula of minor energy loss is as follows: where is the cross-sectional area of wellbore and is the cross-sectional area of large-size cave.

Equation (9) is obtained by Equations (6)–(8).

For the outer model, dual porous medium model is employed to characterize the gas transport. The dual porous medium model is composed of fractures and matrix. The fractures are the main flow channel while the matrix is the main storage space. The permeability of matrix is assumed to be 0. So there are two porosity and one permeability in the model. In the process of developing gas reservoirs, the gas can enter fractures from the matrix system and and then flows into the inner model [27].

For gas, introduce pseudopressure to substitute pressure [28]. where is a reference pressure and can be taken as any number.

The pressure variation equations are shown as follows: where is permeability, is viscosity, is compressibility coefficient, is the porosity, is shape factor, subscript indicates the fractures system, and subscript indicates the matrix system.

When the gas approaches the wellbore, it will produce inertia-turbulence flow effect, which can create an additional pressure drop. Total skin factor is introduced to describe this pressure drop. where is the total skin factor, is real skin factor, and is production rate of wellhead.

The bottom hole pressure can be calculated by the following equation:

The gas equation of state is as follows: where is the universal constant of gas, is the gas molecular weight, and is the deviation factor of gas.

The production rate of gas under formation conditions is as follows:

The total production rate is composed of four parts: (1) wellbore storage (2), large-size cave storage (3), the gas from fractures to wellbore, and (4) The gas from fractures to large-size cave.

The formula is shown as follows. where is the storage constant of wellbore, is the storage constant of cave, and is the radius of cave.

According to the dimensionless definition in Table 1, Equations (9), (11), (12), (14), and (17) can be rewritten in dimensionless form, which are shown as follows.

In Equation (22), and are the dimensionless parameters defined by this paper. is called cave volume factor which is relative to the diameter and height of cave. is called pressure propagation coefficient. It is relative to the diameter of cave. Besides, is relative to the velocity of pressure wave and storage constant of large-size cave.

2.3. Solution Strategy

There are three outer boundary conditions of the proposed model, which are infinite formation, closed boundary, and constant pressure boundary. The equations are as follows.

The initial condition is as follows:

Laplace transform is employed to work out Equations (18)–(24). Subsequently, the dimensionless bottom hole pseudopressure can be gained in the Laplace domain after the Laplace transform.

The particular derivation process is shown in the Appendix B. After that, the pseudopressure is transformed from Laplace domain to physics domain by Stehfest inversion [29]. where

3. Typical Curves and Discussion

Based on the solution, the typical curves of dimensionless bottom hole pseudopressures and pseudopressure derivative are plotted. Then, we analyze the characteristics of the curves in detail. In order to show how it differs from the triple medium model and verify the correctness, we compare our model with Wu’s model [19] and Gao’s model [22].

3.1. Typical Curves

The typical curves describe the transient transport characteristics graphically. Engineers can analyze the pressure transient changes and invert important formation parameters [30]. The double logarithmic curves are represented in Figure 6, which are in infinite formation conditions. The associated dimensionless parameters are given in the upper left corner of Figure 6.

Figure 6 shows the transient pseudopressure changes during the constant production of wellhead. They can be subdivided into six flow stages. (1)Stage I represents the wellbore storage stage. During this stage, the wellhead production mainly comes from the gas originally stored in the wellbore. Both curves are straight lines with a slope of 1. Then, the skin effect appears, and the pseudopressure derivative curve is similar to a “hump”(2)Stage II represents the transition stage between wellbore storage and cave storage. The original gas in the wellbore is gradually depleted, and the gas in large-size cave begins to flow into the wellbore. Due to the supplement of gas from cave, the dropping of pseudopressure slows down. As a result, the slope of the pseudopressure curve decreases. Meanwhile, there appears a concave in the derivative curve(3)Stage III is the cave storage stage. The original gas in the wellbore is completely consumed, and the wellhead production mainly comes from the gas stored in the large-size cave storage. The slope of derivative curve is equals to 1. This stage is caused by the well drilling into a large-size cave. The shape of the curve can be used to judge whether the well drilling into a cave in FCCGR(4)Stage IV represents the transition stage between cave storage stage and formation infiltrating stage. The gas in the fractures system enters the inner model. The wellhead production comes from the cave and fractures. During this stage, a phenomenon similar to skin effect emerges owing to the mutual effect between gas and wellbore cave. Hence, the pseudopressure derivative curve is similar to the end shape of stage I(5)Stage V represents the interporosity flow stage between matrix and fractures. There is a differential pressure between matrix and fractures, which makes the gas in matrix flow into the fractures. Therefore, there is a concave in the derivative curve(6)Stage VI represents the radial flow stage. The pseudopressure becomes dynamic balance, and the derivative curve gradually becomes a horizontal line

3.2. Comparison with Wu’s Model

In order to better demonstrate our model’s characteristics and show how it differs from the triple medium model, we make a comparison between our model and Wu’s model.

Wu derived analytical solutions for bottom hole pressure in fracture-caved carbonate reservoirs. They established the model on the basis of triple medium model. In Wu’s model, the fractures are main flow channel, while caves and matrix are main storage areas of fluid. Figure 7 shows the comparison results between Wu’s model and our model.

There are obviously differences between the two models. Compared with Wu’s model, the pseudopressure curve in our model moves to the left position in the wellbore storage stage. This is because the wellbore is connected to a large-size cave in our model, which is absent in Wu’s model. In our model, when the well opens, there is fluctuating pressure caused by the compressibility of gas and pipe wall. This makes the wellbore pressure change quickly; hence, the wellbore storage stage occurs earlier.

There is a transition stage between the wellbore storage and large-size cave storage. Therefore, the first concave appears in our model. But there is no concave in Wu’s model. The concave and the line segment with slope to 1 can be used to indicate the well drill into a cave.

In formation infiltrating stage, the second concave appears in derivative curve in our model. The concave represents the exchange flow between matrix and fractures. But there are two concaves in formation infiltrating stage in Wu’s model. The first concave represents the exchange flow between caves and fractures. The second concave represents the exchange flow between matrix and fracture-cave system.

3.3. Comparison with Gao’s Model

To validate our model, we compare our model with Gao’s model.

Gao et al. established a PTA model for the well drilled into a large-size cave in fracture-caved carbonate reservoirs. In their model, the fluid flow in a filled cave was described by using the Barree-Conway model. Figure 8 shows the comparison results between Gao’s model and our model.

The shapes of typical curves in the two models are similar. Besides, two concaves in our model and Gao’ model appear in similar positions. The comparison results demonstrate our model is correct.

But there are some differences between the two models. As pointed by the green arrow, the wellbore storage stage occurs earlier in our model. This is because we considered the fluctuating pressure caused by gas and pip wall. Through the dimensionless parameters and , the volume of large-size cave connected to wellbore can be calculated. This makes the well test better interpret the information of formation.

4. Sensitivity Analysis

The typical curves have parameter sensitivity. Various parameters can change the shape of typical curves. In this section, we choose some key parameters to research their influences on typical curves.

4.1. Influence of Outer Boundary Conditions

When other parameters remain unchanged, by changing the outer boundary conditions, the typical curves of pseudopressure and pseudopressure derivative are plotted, as shown in Figure 9. There are three outer boundary conditions, which are closed boundary, infinite formation, and constant pressure boundary. From stages I to V, the curves of three outer boundary conditions are the same. But the difference occurs in stage VI. For closed boundary, the whole system has no energy supplement; hence, the pseudopressure persistently drops. This leads the pseudopressure curve and derivative curve going upward. For constant boundary, the pseudopressure remains constant, which makes the pseudopressure curve becomes horizontal line and the derivative curve drops to 0. For infinite formation, the pseudopressure curve rises slowly and the derivative curve becomes horizontal line.

4.2. Influence of Cave Volume Factor

When outer boundary condition is infinite formation and other parameters remain unchanged, by changing cave volume factor, the typical curves are plotted, which is shown in Figure 10. It can be seen the cave volume factor influences the front part of the curves, including wellbore storage stage, first transition stage (stage II), large-size cave storage stage, and second transition stage (stage IV). When the cave volume factor increases, the pseudopressure curve moves up. This is because the pressure loss between the cave and wellbore increases with the larger . Hence, the bottom hole pressure becomes smaller, which reflected in the lager dimensionless pseudopressure. In stage I, when the cave volume factor increases, the pseudopressure curve moves to the left position. This shows that when the volume of cave becomes larger, the effect of fluctuation is greater, causing the wellbore storage to occur earlier. As mentioned in Section 3, the concave that the blue arrow points to indicates the existence of cave. When the cave volume factor increases, the angle of concave becomes smaller, which can be used to judge the size of the cave. A small angle means a larger cave. In stages III and IV, cave volume factor slightly influences the derivative curve, which is reflected in the curve moving up a little with larger cave volume factor. In stages V and VI, the three pseudopressure curves coincide. At this time, the pseudopressure change comes from the formation infiltrating, and the influence of cave volume factor is negligible.

4.3. Influence of Pressure Propagation Coefficient

When outer boundary condition is infinite formation and other parameters remain unchanged, by changing pressure propagation coefficient, the typical curves are plotted, which is shown in Figure 11. It can be seen that pressure propagation coefficient also influences the front part of the curves. In stages V and VI, the influence of pressure propagation coefficient is negligible. The pressure propagation coefficient does not influence the initial period of wellbore storage stage. But the time of wellbore storage will be longer with larger pressure propagation coefficient. In stage II, the pseudopressure and pseudopressure derivative both increase with larger pressure propagation coefficient, and the first concave moves to upper right. This is because pressure propagation coefficient is related to the cave diameter. When it increases, the pressure loss between the wellbore and cave becomes larger, resulting in the rise of pseudopressure curve and derivative curve. Pressure propagation coefficient is also relative to large-size cave storage constant. Larger pressure propagation coefficient means smaller storage constant. Hence, the derivative curve becomes shorter and lower with larger pressure propagation coefficient in stage III. In stage IV, the influence of pressure propagation coefficient gradually decreases, and the three derivative curves begin to coincide.

4.4. Influence of Storage Ratio

When outer boundary condition is infinite formation and other parameters remain unchanged, by changing storage ratio, the typical curves are plotted, which is shown in Figure 12. The is set to 0.16, 0.10, and 0.04. It can be seen influences the stage IV (transition stage) and stage V (exchange flow between matrix and fractures). In stage IV, when decreases, the derivative curve moves up slightly. In stage V, when decreases, the derivative curve moves down. As shown by the second arrow, the concave is deeper and moves to the left position with smaller . These phenomena show the interporosity flow occurs earlier and more gas enters fractures with smaller .

4.5. Influence of Interporosity Flow Factor

When outer boundary condition is infinite formation and other parameters remain unchanged, by changing interporosity flow factor, the typical curves are plotted. The interporosity flow factor is set to 10-4, 10-5, and 10-6. From Figure 13, we can find mainly influences the stage V. When becomes smaller, the concave moves to the right position, which means the interporosity flow occurred later. It is worth mentioning that the depth of the second concave () and third concave () is the same, but the depth of the first concave () is shallow. When , the decrease of can cause more gas enters fractures from matrix. But when continues to decrease, it will not influence the amount of gas entering fractures.

4.6. Influence of Gas Reservoir Radius

When outer boundary condition is closed boundary and other parameters remain unchanged, by changing gas reservoir radius, the typical curves are plotted. From the Figure 14, we can find the gas reservoir radius influences the transition stage (stage IV) and formation infiltrating stage (stages V and VI). When gas reservoir radius increases, the pseudopressure curve moves up. When , the outer boundary will influence interporosity flow. When , the outer boundary will not influence interporosity flow. Therefore, the increase of gas reservoir radius only makes the derivative curve in stage VI move up.

5. Field Example

PTA studies the changes of bottom hole pressure in the constant production of wellhead. According PTA, field engineers can get useful formation parameters [31]. To further verify the proposed model and demonstrate its practical role in well test, we apply the model to a gas well from Shunbei.

As mentioned above, FCCGR are widely distributed in western China, with various sizes cave in formation. The gas well that we give an example locates in the second district of Shunbei, Xinjiang Province. The well depth is 6975 m, and the formation environment is high temperature and high pressure. Drilling engineers found a phenomena of drilling stem emptying and leak of drilling fluid during the drilling operation, which implies the well has drilled into a large-size cave. The seismic section and residual wave impedance section also proved this situation.

The well was in production for 11 days, with the constant production  m3/d. Then, the well was shut down. Engineers used highly accurate manometers to record the pressure build-up data for 151 hours. In the PTA, we should use the typical curves in proposed model to match the actual curves in pressure build-up data. Then, we can invert the formation parameters through matching results.

Table 2 displays the gas reservoir properties of the example well. Figure 15 represents the typical curve match between our model and field data. Figure 16 represents the pressure history match, and Figure 17 represents the dimensionless Horner match. It can be found that our model matches the field data well in the three figures. In view of the presented results, we can get conclusion that our model is very appropriate for this kind of gas well. The parameters of formation can be gained through the matching results, which are shown in Table 3. The diameter of the cave can be obtained by pressure propagation coefficient. Then, the height of the cave can be obtained by cave volume factor. Therefore, the cave volume can be calculated. The seismic data displays the cave volume is about 47000 m3, and the interpretation result by our model displays the cave volume is 51202.05 m3. The two results agree with each other.

In view of above statements, our model is recommended to interpret the FCCGR when well drilling into a large-size cave.

6. Summary and Conclusions

This paper represents a PTA model for a well drilling into a large-size cave in FCCGR. It is developed on the basis of filed geologic data in western China. Here are the main conclusions: (1)The mathematical model is established with considering the minor energy loss and fluctuating pressure. The minor energy loss is formed at the connection area between the wellbore and cave. The fluctuating pressure is caused by the compressibility of gas and pipe wall. The solutions of the mathematical model are gained by Stehfest inversion. Subsequently, the typical curves are plotted(2)The typical curves can be subdivided into six stages. There are two concaves and two straight line segments in pseudopressure derivative curve. The first concave and the straight line segment of the cave storage can be used to indicate the well drill into a cave. The second concave indicates the exchange flow between matrix and fractures(3)The cave volume factor and the pressure propagation coefficient are key parameters that influence the front part of the curves. When increases, the wellbore storage occurs earlier and the curves move left. Meanwhile, the pressure loss between the cave and wellbore increases, and the pseudopressure curve moves up. When increases, the cave storage becomes smaller and the wellbore storage becomes larger. The first concave moves to upper right(4)To verify the proposed model and depict its characteristics, our model is compared with Wu’s model and Gao’s model. Then, a field gas well is interpreted by our model. The matching results fit well, and the interpretation parameters are reasonable. These results reveal that our model can be adapted to real gas reservoirs

In the mathematical model, the large-size cave is simplified as a cylinder. But in fact, cave is not a regular cylinder. This may cause some errors between the model and the actual situation.

In this work, we take into account fractures and matrix in the outer model. For some FCCGR, there are multiple large-size caves distributed in formation. Our model cannot be fit in this kind of gas reservoirs. Hence, we will develop new models for multiple caves in the future.

Appendix

A. Derivation of Pressure Wave Equation

When pressure increases, the relationship between wellbore radial deformation and pressure is as follows: where is the tubing diameter, , is the wall thickness of tubing, and is the elastic modulus of tubing material.

Equation (A.2) can be obtained from the area formula of tubing.

Hence, Equation (A.3) can be obtained:

Convert the density term as a function of pressure, and combining Equations (A.3) and ((4)) can be turned into the following equation.

is defined as follows:

is the velocity of the pressure wave in the inner model, and is the elastic modulus of gas.

Equation (A.6) is obtained by Equation (A.4):

It can be found the pressure propagates as a wave in the direction.

Equation (A.7) is obtained by Equations (1), (2), and (A.6).

When gas flows in the large-size cave, the velocity is very slow. The friction term is related to the quadratic power of velocity, so the friction term is extremely small and ignored.

The relationship between the storage constant of large-size cave and gas velocity is as follows: where is the storage constant of large-size cave.

Equation (A.7) can be can be converted to Equation (A.9).

The solution of Equation (A.9) is as follows: where is the initial velocity, and it is related to wellhead production .

The velocity at the connection between wellbore and cave is as follows:

B. Analytical Solutions of the Mathematical Model

The mathematical model established in Section 2 is as follows:

The initial condition is as follows:

Laplace transform is as follows:

Apply the Laplace transform to Equations (A.12)–(A.16):

From Equations (A.19) and (A.20), can be obtained: where .

By introducing Equation (A.24) into Equations (A.21)–(A.23) and out boundary conditions, can be obtained: (1)For the closed boundarywhere (2)For the constant pressure boundarywhere

are the same form as in condition (1). (3)For infinite formationwhere

are the same form as in condition (1).

Nomenclature

Alphabetic Letters
:Cross-sectional area, m2
:Formation volume factor, m3/m3
:Storage constant, Pa-1
:Wave velocity, m/s
:Tubing diameter, m
:Elastic modulus, Pa
:Minor energy loss, m
:Gas molecular weight, kg/mol
:Universal constant of gas, 8314 m2/s2·kmol·K
:Skin factor, dimensionless
:Temperature, K
:Compressibility coefficient, MPa-1
:Diameter, m
:Wall thickness of tubing, m
:Friction coefficient, dimensionless
:Gravity acceleration, m/s2
:Height, m
:Permeability, m2
:Pseudopressure, Pa2/Pa·s
:Pressure, Pa
:Production rate, m/s
:Radius, m
:Time, s
:Laplace operator, dimensionless
:Velocity, m/s
:Deviation factor of gas, dimensionless.
Greek Letters
:Shape factor, m-2
:Cave volume factor, dimensionless
:Pressure propagation coefficient, dimensionless
:Density, kg/m3
:Porosity, dimensionless
:Viscosity, Pa·s
:Storage ratio, dimensionless
:Interporosity flow factor, dimensionless.

Subscripts
:Dimensionless
:Fractures
:Gas
:Initial state
:Matrix
:Shut-in well
:Wellbore
:Bottom hole
sc:Standard state
lc:Large-size cave
:Represent four systems, , , , or lc.

Superscript
:Derivative of time.

Data Availability

The data used to support the conclusions of this study can be obtained from the corresponding author upon request.

Conflicts of Interest

The authors state that the publishing of this paper does not include any conflicts of interest.

Acknowledgments

The authors sincerely thank the National Science and Technology Major Project of China (Grant No. 2017ZX05009005-002) for the funding support.