Introduction

Gas drilling technology can improve rate of penetration, avoid lost circulation, and overcome sensitivity of formation water. The gas in the borehole is not enough weight to support the wall of borehole, and the borehole will inevitably deform because of the original in situ stress. However, in many gas drilling processes, no serious wellbore instability occurred. The theory of stability by using drilling fluid to prop up the borehole wall does not explain this phenomenon well. Generally, researchers regard rock as elastic material when analyzing the stability of borehole wall, and believe that rock failure will occur when the stress exceeds the peak strength, and use it as the limiting condition for studying the stability of borehole wall to calculate and estimate the collapse pressure of borehole wall. Rocks can not only bear the load before failure, but also has a certain load capacity after failure. The complete stress–strain process of rocks can more actually reflect the yield procedure and deformation characteristics of rocks.

However, the complete stress–strain model of rock is too complex to analyze the engineering problems (Yuan and Chen 1986; Chen and Yuan 1988). The estimation methods of collapse pressure is based on the hypothesis that the rock completely loses its bearing capacity after reaching the peak strength and compares the geostress around borehole with the rock strength (Wu and Lin 1987). Based on the air drilling practice in Karamay oilfield, it is put forward that the influencing factors of wellbore stability in air drilling include mechanics and chemistry (Li 1994). The concentration and chemical properties of liquid phase in mist drilling effected on borehole stability were evaluated by laboratory experiments (Huang et al. 1995). The von Mises failure criterion is used to get reliable prediction of the collapse pressure (Guo and Ghalambor 2002). A method for calculating collapse pressure of gas drilling wall is established on the base of rock elasticity theory and Mohr–Coulomb criterion (Jiang et al. 2007). The elastic-brittle-plastic constitutive model was established to analyze the stability of hard rock under high geostresses (Chen and Feng 2007). The failure modes of the deep rock mass contain brittle failure or ductile failure that depends on the property of rock mass and the geostress state (Zhou et al. 2008). The influence factor of pore pressure is studied during gas drilling in high-pressure gas zone, and the theory of rock elasticity is still used to calculate the collapse pressure (Liu et al. 2010). Triaxial compression test data of five different rocks were used to verify the unified strength criterion with four parameters (Lu and Du 2013). Rock anisotropy effected on rock strength and collapse pressure was investigated through the modified Mogi–Coulomb criterion (Yang et al. 2020). Hydraulic fracturing practices also show that the rock around borehole still maintains stability and load capacity even if it has reached the peak strength (Ding et al. 2018).

At the same time, the gas flow in the borehole temperature and pressure changes are more complex for the compressibility of gas. Ramey presented an approximate solution to the wellbore heat-transmission problem involved in injection of hot or cold fluids (Ramey 1962). The expansion factor in the yield zone and the cohesive effect of broken material is considered to develop around the excavation with an elastic zone beyond (Wilson 1980). A mathematical model was developed to evaluate wellbore heat losses and two-phase pressure drop in concentric-pipe steam injection wells (Griston and Willhite 1987). Generalized analytical models were presented to compute circulating fluid temperature in conduits for both forward- and reverse-circulation cases, as a function of circulation time and well depth (Hasan et al. 1996a, b). The difference temperature between drilling fluid and borehole wall and the thermal stress in rock around the borehole were studied (Nguyen et al. 2010; Zhang et al. 2012). Akong et al. investigated the effect of temperature on wellbore stability under thermal effects at the wellbore wall during mud drilling (Akong et al. 2011). The temperature drop of gas flow is larger than liquid flow in the borehole, especially near the bottom of hole; the temperature on the wall of borehole is lower than geothermal value (Li et al. 2015; Guo et al. 2016). Therefore, the thermal stress of the borehole should be taken into account when the stresses around the borehole are analyzed in gas drilling.

The rock around borehole will be deformed by original in situ stress because the gas pressure in the borehole during gas drilling is too low to support the borehole wall. According to the complete stress–strain model of rock, the borehole stability is analyzed. Furthermore, the phenomenon of throttling and cooling is easy to occur near the bottom of the borehole during gas drilling, and thermal stress will be generated at the borehole wall, which will also have a certain influence on the stability of the borehole wall. Therefore, a thermo-elastoplastic model is established to analyze the wellbore stability of gas drilling.

Mathematic model

Ideal elastic–plastic softening model for rocks

The curve of the complete stress–strain relation of rock (Fig. 1A) is simplified into the simplest broken line (Fig. 1B). The a-c-f broken line in Fig. 1B represents an ideal elastic–plastic softening model. The simplified model divides the deformation process of rock into three stages: elastic deformation, plastic softening deformation, and residual deformation (Yuan and Chen 1986). The elastic modulus of elastic deformation is E, and the softening modulus of plastic softening deformation is Ep, so the fragility coefficient is β = Ep/E (Guo et al. 2021; Li et al. 2017).

Fig. 1
figure 1

The complete stress–strain relationship of rocks. A Complete stress–strain curve. B Ideal elastic–plastic softening model

  1. 1.

    Strength of rock in the elastic deformation stage

Most rocks follow the Hooke’s law in the stage of elastic deformation and meet the Mohr–Coulomb criterion (Yang et al. 2019; AL-AJMI and ZIMME 2005, 2006) at the yield of elastic deformation; the strength function is expressed as follows:

$$\sigma_{\theta } = K_{p1} \sigma_{r} + \sigma_{ce}$$
(1)
$$K_{p1} = \frac{{1 + {\text{sin}}\phi_{{\text{e}}} }}{{1 - \sin \phi_{e} }}$$
(2)

where σθ and σr are the tangential and radial stresses, MPa; σce is the uniaxial compressive strength in the process of elastic deformation, MPa; φe is the angle of internal friction of elastic deformation, degree.

  1. 2.

    Strength of rock in the plastic deformation stage

The rock strength attenuated with the development of deformation mainly because of the change of cohesion, and the strength of the plastic deformation is illustrated as follows:

$$\sigma_{\theta } = K_{p2} \sigma_{r} + \sigma_{{{\text{cp}}}}$$
(3)
$$K_{p2} = \frac{{1 + {\text{sin}}\phi_{{\text{p}}} }}{{1 - \sin \phi_{{\text{p}}} }}$$
(4)

where σcp is the uniaxial compressive strength of the plastic deformation, MPa; φp is the angle of internal friction of plastic deformation, degree.

  1. 3.

    Strength of rock in the residual deformation stage

The strength of the rock drops to the minimum value in the residual deformation. The strength of the residual deformation is expressed as follows:

$$\sigma_{\theta } = K_{p2} \sigma_{r} + \sigma_{{{\text{cs}}}}$$
(5)

where σcs is the uniaxial compressive strength of the residual deformation, MPa.

The original in situ stresses around borehole

It is assumed that the rock is an isotropic and homogeneous continuous medium, and the hole is in a state of plane strain under the average horizontal stress, σo. The equilibrium equation of stresses (Fang and Wang 1991) is

$$r\frac{{\partial \sigma_{r} }}{\partial r} + \sigma_{r} - \sigma_{\theta } = 0$$
(6)

With the average horizontal stress increasing, the rock around the borehole divides into three regions (Fig. 2): elastic zone, plastic zone, and residual zone. If the average horizontal stress is weak, the elastic zone appears possibly only. Otherwise, the average horizontal stress is huge, and three zones appear inevitably.

Fig. 2
figure 2

Rock deformation zones around borehole

  1. 1.

    Stresses in the elastic zone

According to the elasticity theory, the stresses in the elastic zone are:

$$\sigma_{{\text{r}}} = \sigma_{{\text{o}}} - (\sigma_{{\text{o}}} - \sigma_{{{\text{re}}}} )\left( {\frac{{R_{{\text{p}}} }}{r}} \right)^{2}$$
(7)
$$\sigma_{\theta } = \sigma_{{\text{o}}} + (\sigma_{{\text{o}}} - \sigma_{{{\text{re}}}} )\left( {\frac{{R_{{\text{p}}} }}{r}} \right)^{2}$$
(8)

In the elastic zone, the stresses inside the rock satisfy the Hooke’s law, and the radial stress expression at the interface of the elastic–plastic zone can be obtained by application of the Mohr–Coulomb strength criterion:

$$\sigma_{{{\text{re}}}} = \frac{{2\sigma_{{\text{o}}} - \sigma_{{{\text{ce}}}} }}{{k_{{{\text{p1}}}} + 1}}$$
(9)

where Rp is the radius of the plastic zone, m; σo is the average horizontal geostress, MPa; σre is the radial stress at the interface of the elastic–plastic zone, MPa.

  1. 2.

    Stresses in the plastic zone

Due to the relative sliding inside the rock during the plastic deformation stage, the strength of the rock shows a decreasing trend. The strength attenuation law of the plastic zone in Eq. (3) can be expressed as follows:

$$\sigma_{{{\text{cp}}}} = \sigma_{{{\text{ce}}}} - \beta M\left[ {\left( {\frac{{R_{{\text{p}}} }}{r}} \right)^{2} - 1} \right]$$
(10)

Although the rock strength is lower than the peak strength at the stage of plastic deformation, there is still certain elastic deformation energy inside the rock, which is defined as the plastic deformation modulus. The plastic deformation modulus is defined as follows:

$$M = \frac{{(1 + \nu )[(k_{p1} - 1)\sigma_{{\text{o}}} + \sigma_{{{\text{ce}}}} ]}}{{k_{p1} + 1}}$$
(11)

where M is the plastic deformation modulus, MPa; β is the fragility coefficient; ν is Rock Poisson’s ratio.

The radial stress is continuous at the junction of elastoplastic zones, so when r = Rp, σr = σre, the stresses in the plastic zone can be illustrated as follows:

$$\sigma_{{\text{r}}} = \left( {\frac{{2\sigma_{{\text{o}}} - \sigma_{{{\text{ce}}}} }}{{k_{p1} + 1}} + \frac{2\beta M}{{k_{p2}^{2} - 1}} + \frac{{\sigma_{{{\text{ce}}}} }}{{k_{p2} - 1}}} \right)\left( {\frac{r}{{R_{p} }}} \right)^{{k_{p2} - 1}} - \frac{{2(\sigma_{{{\text{ce}}}} + \beta M)}}{{k_{p2}^{2} - 1}} + \frac{{\sigma_{{{\text{cp}}}} }}{{k_{p2} + 1}}$$
(12)
$$\sigma_{\theta } = k_{p2} \sigma_{{\text{r}}} + \sigma_{{{\text{cp}}}}$$
(13)
  1. 3.

    Stresses in the residual zone

At the junction of the plastic zone and the broken zone, when r = Rs = λRp, σcp=σcs. Equation (10) changes as follows:

$$\sigma_{{{\text{cs}}}} = \sigma_{{{\text{ce}}}} + \beta M\left[ {1 - \frac{1}{{\lambda^{2} }}} \right]$$
(14)
$$\lambda = \sqrt {\frac{\beta M}{{\sigma_{{{\text{ce}}}} - \sigma_{{{\text{cs}}}} + \beta M}}}$$
(15)

where Rs is the radius of the broken zone, m; λ is the radius ratio of the broken zone to the plastic zone, and λ = Rs/Rp.

The residual strength expressed in Eqs. (14) and (5) is substituted into the equilibrium Eq. (6) and integrated, and the residual stresses can be obtained by combining the boundary conditions. The radial stress at the junction of the plastic zone and the residual zone is continuous, so the radial stress obtained by substituting r = Rs into Eq. (12) is taken as the boundary condition:

$$\begin{gathered} \sigma_{r} = \left( {\frac{{2\sigma_{{\text{o}}} - \sigma_{ce} }}{{k_{p1} + 1}} + \frac{{\sigma_{ce} + \beta M}}{{k_{p2} - 1}} - \frac{\beta M}{{k_{p2} + 1}}} \right)\left( {\frac{r}{{R_{p} }}} \right)^{{k_{p2} - 1}} + \hfill \\ \begin{array}{*{20}c} {} & {} \\ \end{array} \left( {\frac{\beta M}{{k_{p2} + 1}}\frac{1}{{\lambda^{2} }} + \frac{{\sigma_{cs} - \sigma_{ce} - \beta M}}{{k_{p2} - 1}}} \right)\left( {\frac{r}{{\lambda R_{p} }}} \right)^{{k_{p2} - 1}} - \frac{{\sigma_{cs} }}{{k_{p2} - 1}} \hfill \\ \end{gathered}$$
(16)
$$\sigma_{\theta } = k_{p2} \sigma_{{\text{r}}} + \sigma_{cs}$$
(17)

Thermal stress around the borehole

In gas drilling, the heat transfer in the borehole is regarded as steady-state heat transfer, while the heat transfer in the formation outside the borehole is considered as unsteady-state heat transfer. Mathematical models of gas flow in drillstrings and annulus can be expressed by conservation equations of mass, momentum, and energy (Hasan et al. 1996a,b; Kabir et al. 1996; Keller et al. 1973; Lee 1982):

$$\rho_{g} V_{p} A_{p} c_{pg} \frac{{\partial T_{p} (z,t)}}{\partial z} + 2\pi r_{p} U_{t} \left[ {T_{p} (z,t) - T_{A} (z,t)} \right] = \rho_{g} V_{p} A_{p} c_{pg} \frac{{\partial T_{p} (z,t)}}{\partial t}$$
(18)
$$\begin{gathered} \rho_{g} V_{A} A_{A} c_{pg} \frac{{\partial T_{A} (z,t)}}{\partial z} + 2\pi r_{p} U_{t} \left[ {T_{p} (z,t) - T_{A} (z,t)} \right] + \hfill \\ \pi r_{w} h_{t} \left[ {T_{w} (z,t) - T_{A} (z,t)} \right] = \rho_{g} V_{A} A_{A} c_{pg} \frac{{\partial T_{A} (z,t)}}{\partial t} \hfill \\ \end{gathered}$$
(19)
$$\frac{{\partial T_{w} (z,t)}}{\partial t} = \frac{{k_{f} }}{{\rho_{f} c_{pf} }}\frac{1}{r}\frac{\partial }{\partial r}\left[ {r\frac{{\partial T_{w} (z,t)}}{\partial r}} \right]$$
(20)

where ρg and ρf are the density of gas and rock, kg/m3; Vp and VA are the gas velocity in drillstrings and annulus, m/s; Ap and AA are the cross-section of drillstrings and annular, m2; cpg and cpf are the specific heat of gas and rock, J/kg ℃; Tp, TA, and Tw are the temperature of gas in drillstrings, gas in annulus, and rock in the borehole wall, ℃; Ut is the total heat transfer coefficient between the drillstrings and the rock in the borehole wall, J/s ℃ m; ht is the heat transfer coefficient of rock in borehole wall, J/s ℃ m; kf is the formation thermal conductivity, J/h ℃ m; r, rp, and rw are the radial coordinates, drillstrings radius, and borehole radius, m; t is time, s; z is the well depth, m.

When gas is circulating in the gas drilling, the temperature around the borehole is changing and an additional thermal stress field is creating. The additional thermal stress around the borehole caused by the temperature difference can be obtained according to the heat conduction theory and thermoplastics mechanics (Nguyen et al. 2010).

$$\sigma_{r}^{T} = - \frac{\alpha E}{{(1 - \nu )}}\frac{1}{{r^{2} }}\int_{{r_{w} }}^{r} {T^{f} (r,t)rdr} - \alpha ET_{w} (t)\frac{{r_{w}^{2} }}{{r^{2} }}$$
(21)
$$\sigma_{\theta }^{T} = \frac{\alpha E}{{(1 - \nu )}}\left[ {\frac{1}{{r^{2} }}\int_{{r_{w} }}^{r} {T^{f} (r,t)rdr} - T^{f} (r,t)} \right] + \alpha ET_{w} (t)\frac{{r_{w}^{2} }}{{r^{2} }}$$
(22)

where σrT and σθT are the thermal stresses in the radial, tangential, and axial directions caused by formation temperature changes, MPa; α is the thermal expansion coefficient of formation, 1/℃; Tf(r,t) = T(r,t) − T0, Tw(t) = T(rw,t) − T(rw,0) is the temperature distribution function of formation around borehole, Tw is the gas temperature at the borehole wall, ℃. T0 is the initial formation temperature, ℃.

The radii of plastic zone and residual zone

  1. 1.

    The radius of plastic zone

In gas drilling, both the original in situ stresses and thermal stress affect the surrounding rock deformation. It is the critical state that the plastic deformation is just complete, and the residual deformation does not occur yet. The radius of plastic zone at the critical state is Rpc. The boundary conditions are r = rw, σce = σcs, σr = pi. Equation (10) is substituted into Eq. (12) and combined with Eq. (21), and the radius of plastic zone can be obtained as follows:

$$R_{pc} = r_{w} \left( {\frac{{\frac{{2\sigma_{{\text{o}}} - \sigma_{ce} }}{{k_{p1} + 1}} + \frac{2\beta M}{{k_{p2}^{2} - 1}} + \frac{{\sigma_{cp} }}{{k_{p2} - 1}}}}{{p_{i} + \frac{{2(\sigma_{ce} + \beta M)}}{{k_{p2}^{2} - 1}} + \frac{{\sigma_{cp} }}{{k_{p2} + 1}} + \alpha ET_{w} (t)}}} \right)^{{\frac{1}{{k_{p2} - 1}}}}$$
(23)

where Rpc is the critical radius of plastic zone, m; pi is the gas pressure in borehole, MPa.

The radius of residual zone at the critical state is the borehole radius. The ratio of the residual and plastic zone is defined as λ = Rs/Rp, then λ = rw/Rpc, or Rpc = rw at the critical state. When the rock deformation around the borehole does not stop after it reaches the critical plastic zone, the residual zone will appear. The radius of residual zone will be greater than the borehole radius, that is, Rs ≥ rw, or Rpc ≥ rw. Therefore, comparison of the values of Rpc and rw can determine which stage of deformation appears in the surrounding borehole rock. Equation (11) can be expressed as follows according to the boundary condition: r = rw and σr = pi.

$$\begin{gathered} \left( {\frac{{2\sigma_{{\text{o}}} - \sigma_{ce} }}{{k_{p1} + 1}} + \frac{2\beta M}{{k_{p2}^{2} - 1}} + \frac{{\sigma_{ce} }}{{k_{p2} - 1}}} \right)\left( {\frac{{r_{w} }}{{R_{p} }}} \right)^{{k_{p2} - 1}} \hfill \\ - \frac{{\sigma_{ce} + \beta M}}{{k_{p2} - 1}} + \frac{\beta M}{{k_{p2} + 1}}\left( {\frac{{R_{p} }}{{r_{w} }}} \right)^{2} - p_{i} - \alpha ET_{w} (t) = 0 \hfill \\ \end{gathered}$$
(24)

In the range of Rpc ≤ Rp ≤ rw, the radius of the plastic zone before the critical state can be gotten by the iterative solution of Eq. (24).

  1. 2.

    The radius of residual zone

When the rock around borehole reaches complete plastic deformation, the residual zone occurs, and its radius is greater than the borehole radius. The radius of residual zone can be illustrated by substituting the boundary condition of r = rw and σr = pi into Eq. (16).

$$R_{p} = r_{w} \left( {\frac{{\frac{{2\sigma_{{\text{o}}} - \sigma_{ce} }}{{k_{p1} + 1}} + \frac{{\sigma_{cs} + (\sigma_{ce} + \beta M)(1 - \lambda^{{k_{p2} - 1}} )}}{{(k_{p2} - 1)\lambda^{{k_{p2} - 1}} }} + \frac{{\beta M(1 - \lambda^{{k_{p2} + 1}} )}}{{(k_{p2} + 1)\lambda^{{k_{p2} + 1}} }}}}{{p_{i} + \frac{{\sigma_{cs} }}{{k_{p2} - 1}} + \alpha ET_{w} (t)}}} \right)^{{\frac{1}{{k_{p2} - 1}}}}$$
(25)
$$R_{{\text{s}}} = \lambda R_{p}$$
(26)

The universality of the model

The ideal elastic–plastic softening model can simplify two extreme cases: the ideal elastic–plastic model (a-b line in Fig. 1B) and the ideal fragility model (a-d-e line in Fig. 1B). Kastner’s formula of plastic zone radius is expressed according to the ideal elastic–plastic model. Airy’s formula for the radius of plastic zone is the extreme case according to the ideal fragility model.

  1. 1.

    The radius of plastic zone with the ideal elastic–plastic model

When the surrounding rock conforms to the elastic–plastic model, the fragility coefficient of rock β = 0, kp1 = kp2 = kp. Without the influence of thermal stress, the radius of plastic zone can be simplified from Eq. (23) as follows:

$$R_{p} = r_{w} \left( {\frac{{\frac{2}{{k_{p} + 1}}\left( {\sigma_{{\text{o}}} + \frac{{\sigma_{ce} }}{{k_{p} - 1}}} \right)}}{{p_{i} + \frac{{\sigma_{ce} }}{{k_{p} + 1}}}}} \right)^{{\frac{1}{{k_{p} - 1}}}}$$
(27)

Equation (27) is the formula that Kastner proposed to calculate the radius of the plastic zone under the ideal elastic–plastic model (Kastner 1971).

  1. 2.

    The radius of plastic zone with the ideal elastic-brittle model

When the surrounding rock conforms to elastic-brittle model, the fragility coefficient of rock is β → ∞, kp1 = kp2 = kp. The limit of Eq. (15) can be calculated as λ → 1. Without the influence of thermal stress, the limit analysis for both ends of Eq. (23) can obtain the radius of plastic zone:

$$R_{p} = r_{w} \left( {\frac{{\frac{{2\sigma_{{\text{o}}} }}{{k_{p} + 1}} + \frac{{\sigma_{cs} }}{{k_{p} - 1}} - \frac{{\sigma_{{{\text{ce}}}} }}{{k_{p} + 1}}}}{{p_{i} + \frac{{\sigma_{{{\text{cs}}}} }}{{k_{p} + 1}}}}} \right)^{{\frac{1}{{k_{p} - 1}}}}$$
(28)

Equation (28) is the formula that Airy proposed to calculate the radius of plastic zone under the ideal elastic–plastic model (Yu et al. 1983).

Therefore, Kaster and Airy models for the radius of plastic zone can be obtained by simplifying the ideal elastic–plastic softening model proposed in the paper. The ideal elastic–plastic softening model has good universality.

Model validation

During gas drilling, the stability of the rock around borehole can be estimated by comparing the measured borehole radius with the plastic radius calculated by the model. The accuracy of the model can be verified indirectly if the variation trend of the plastic radius of surrounding rock is close to the measured borehole radius.

As an example, the data of the well HB021 in Xinjiang oilfield is used for validating the model. The gas drilling section of the well HB021 is the depth of 1000–2200 m, and the well radius curve is shown in Fig. 3 which shows that the radius of the well Sect. 1300–1600 m is seriously enlarged because the borehole wall collapse is severe. The borehole radius at the depth of 1000–1300 m is larger than other sections.

Fig. 3
figure 3

Measured radius of borehole and radius of bit in the gas drilling section

The construction and thermodynamic parameters of the well HB021 are listed in Table 1.

Table 1 Construction parameters and thermodynamic parameters of the well HB021

The pressure and temperature distributions in the borehole calculated from the borehole flow and heat transfer model are shown in Figs. 4 and 5.

Fig. 4
figure 4

Pressure distribution in the gas drilling section

Fig. 5
figure 5

Temperature distribution in the gas drilling section

Figure 4 shows that the gas flow pressure in the annulus was very low during gas drilling, and the pressure in the upper well section was within 1.0 MPa. Figure 5 demonstrates that the gas temperature in the annulus during gas drilling decreased by 17.5 ℃ than the original formation temperature near the bottom borehole because the Joule–Thomson effect occurred at the bit nozzle. As the gas flows upward, it was heated gradually by the formation, and the temperature rises gradually. When the depth decreased to around 1600 m, the temperature was equal to the formation temperature, and then the gas temperature in the annulus was slightly higher than the formation temperature for it flowing upward to wellhead. This means that in gas drilling, the rock of the borehole wall experienced a cooling process, and then gradually reached to the original formation temperature, finally becoming slightly higher than the original formation temperature.

According to the borehole pressure and temperature parameters in Figs. 4 and 5, the plastic and broken radius of the borehole deformation in presence or absence of thermal stress is demonstrated in Fig. 6.

Fig. 6
figure 6

Borehole deformation in presence and absence of thermal stress

In Fig. 6, the plastic radius of the borehole obtained from the complete strain–stress model accompanied by thermal stress during gas drilling has a high consistency with the ones in Fig. 3. On the contrary, the radius of the plastic zone of surrounding rock without thermal stress shows that it is smaller at the top and larger at the bottom, and the radii of the plastic and residual zones increases rapidly in the depth of 1500 m through 2200 m. The results obtained from the complete strain–stress model without thermal stress are not consistent with the actual radius of borehole in Fig. 3. Therefore, the complete strain–stress model accompanied by thermal stress is verified availability to gas drilling.

Results and discussion

Comparison between Figs. 6 and 5 shows that the plastic radius without considering thermal stress is much higher than the one with thermal stress near the bottom borehole. The borehole temperature is far lower than the original geothermal value in Fig. 5. Thermal stress results from temperature differences before and after drilling into the formation shrinks the rocks and counteracted the expansion of rock due to the in situ stress. In the upper part of the borehole, the rock expanded by the thermal stress because the borehole temperature is higher than the formation temperature. The expanded rock aggravates the expansion of rock under the original in situ stress of the borehole. Therefore, thermal stress at the bottom of the borehole enhances the stability of the borehole, while thermal stress at the upper part of the borehole aggravates the instability of the borehole.

When the rock of the borehole wall is in the elastic stage, its stability is very strong. However, if the rock is in the plastic stage, it is in the transition stage from stability to instability. If rock of the borehole wall is in the residual area, it comes to the unstable stage. The gas flow pressure in the borehole is usually less than 3 MPa during gas drilling. It is too weak to support the borehole wall. In addition, the high velocity in gas drilling washed the well wall more severely than mud drilling, so the radius of the borehole expanded further, and ultimately, the rock in the borehole wall reached a stable state.

In order to compare with the conventional borehole stability evaluation method of mud drilling, the borehole deformation is given in the form of collapse pressure. The collapse pressure distributions of borehole wall is calculated for the different penetrated depth of 1300 m, 1600 m, 2000 m, and 2200 m still base on the data of the well HB021. The results are shown in Fig. 7.

Fig. 7
figure 7

Collapse pressure distributions of the different penetrated depth

Figure 7 shows that the collapse pressure of borehole wall is changing and presents a trend of gradually increasing with the increase of gas drilling depth. The collapse pressure at about 1400 m was positive at 2200 m. The borehole wall is unstable due to the weak gas support ability. It is worth noting that the collapse pressure method can also describe the wellbore stability of gas drilling, but it is not intuitive to use the plastic radius and broken radius method.

Conclusions

  1. 1.

    The borehole instability mechanism of gas drilling is different from that of mud drilling. In gas drilling, the borehole wall rock still has a certain bearing capacity after reaching peak strength. The deformation of rock around borehole can be divided into elastic zone, plastic zone, and fracture zone using complete stress–strain model, which is more consistent with the stress–strain process of borehole wall rock.

  2. 2.

    Introducing the thermal stress into the complete stress–strain evaluation model of the borehole wall stability, the comparison of calculating the radii of plastic zone and broken zone of surrounding rock of borehole with measured caliper, the results show that the established model can better explain the gas drilling borehole wall instability mechanism, the radius of plastic zone and broken zone characterization of gas drilling borehole wall stability more intuitive.

  3. 3.

    In the gas drilling process, the borehole temperature is much lower than the original formation temperature near the bottom of the hole, and in the upper part of the borehole, the borehole temperature is higher than the formation temperature. Thermal stress has a significant effect on borehole stability. The thermal stress in the bottom borehole makes the rock shrink and offset the expansion of the original in situ stress on the surrounding rock, thus enhancing the stability of the borehole wall. The surrounding rock in the top borehole expands under the action of thermal stress, enhancing the expansion of the surrounding rock toward the borehole and aggravating the instability of the borehole wall.