1 Introduction

With significant development of oil–gas industry, conventional resources cannot satisfy global demands. As a resource with extremely high potential, shale gas has attracted huge attention globally in petroleum engineering (Qian et al. 2003; Yuan et al. 2015). Whereas, in the exploitation of shale gas, wellbore collapse occurs frequently in shale formation, lengthening the drilling process and incurring huge expenses (Ma and Chen 2014; Al-Ajmi 2012). In order to solve the problem of borehole instability, different solutions have been proposed. As a common approach, high mud pressure is often applied to keep wellbore stability (Mody and Hale 1993). In the case of shale with strong hydration, drilling fluids having different inhibitors are produced and hydration evaluation methods have been established (Zhong et al. 2011; Deville et al. 2011; Liu et al. 2019). Meanwhile, numerous wellbore stability models are developed to analyze its influence factors, like pore pressure, wellbore track, drilling fluid and so on (Wang et al. 2012; Meier et al. 2015; Dokhani et al. 2015).

In conventional wellbore stability modeling, the formation is assumed to be linear elastic and isotropic (Aadnoy 1987). Whereas, it is well-known that bedding planes and lamination are the geological characteristics of shale reservoir, influencing the evaluation of borehole stability. The naturally self-contained bedding plane is able to make stress distribution and rock strength different from homogeneity. Based on the transverse isotropy and elastic linear theory, the stress distribution in layered formation was established by Lekhnitskii (1963). For shale strength with bedding planes, experimental studies have illustrated that slip failure occurs along weak planes with certain stress states, which obviously reduces the rock strength. Based on that, single weak plane criterion has been used to establish mathematical models of wellbore stability (Yu 2002; Dokhani et al. 2016).

According to above statements, we can find out that lots of scholars performed researches about the influence of bedding plane on shale mechanical property. However, bedding plane and rock matrix also have difference in physical property, leading to the anisotropy of permeability and diffusion ability (He et al. 2017). This anisotropy will affect transport equations. Consequently, pore pressure and seepage stress around wellbore will be modified, and totally different from homogeneity situation (Ekbote and Abousleiman 2006). This stress modification can further change failure region around wellbore (Zoback et al. 1985).

Thus, we can conclude that bedding plane can simultaneously put impact on shale strength, in situ stress components, pore pressure, seepage stress. Currently, researches merely include parts of these influences. For instance, Liang et al. (2014), Chen et al. (2015) conducted study on influence of shale strength with bedding plane on wellbore stability. Zhou et al. (2018) considered rock strength and seepage stress with bedding plane, offering a new wellbore stability model for laminated formation. Ma and Chen (2015) established a wellbore stability model by considering shale strength and pore pressure with bedding plane. Kanfar et al. (2017) built a numerical solution for in situ stress components and pore pressure around wellbore with bedding plane. Since shale strength, in situ stress components, pore pressure, seepage stress are all affected by bedding plane, a comprehensive research should be conducted to have fully investigation on wellbore stability in shale reservoir.

Therefore, in this paper, take horizontal wellbore as an example, by considering the anisotropy feature caused by bedding plane, calculated equations for shale strength, in situ stress components, pore pressure and seepage stresses in anisotropic medium have been established. Then, in combination with these equations, a new analytical model has been developed to analyze failure region and evaluate wellbore stability. This study gives systematic wellbore stability analysis and its outcomes can offer theoretical reference for drilling in shale reservoir.

2 Model of Wellbore Stability in Shale Reservoir with Anisotropy

2.1 In Situ Stress Components Around Wellbore

The parallel bedding plane makes shale formation become a typical layered medium, which can be regarded as transverse isotropy, shown as Fig. 1. In the borehole coordinate, the constitutive equation between stress and strain can be expressed as Eq. (1) and Eq. (2) using Hooke’s law.(Ding et al. 2018).

$$ [\varepsilon ] = [A][\sigma ] $$
(1)
$$ [A] = \left[ {\begin{array}{llllll} {\frac{1}{{E_{h} }}} & { - \frac{{v_{h} }}{{E_{h} }}} & { - \frac{{v_{v} }}{{E_{v} }}} & 0 & 0 & 0 \\ { - \frac{{v_{h} }}{{E_{h} }}} & {\frac{1}{{E_{h} }}} & { - \frac{{v_{v} }}{{E_{v} }}} & 0 & 0 & 0 \\ { - \frac{{v_{v} }}{{E_{v} }}} & { - \frac{{v_{v} }}{{E_{v} }}} & {\frac{1}{{E_{v} }}} & 0 & 0 & 0 \\ 0 & 0 & 0 & {\frac{1}{{E_{h} }} + \frac{1}{{E_{v} }} + 2\frac{{v_{v} }}{{E_{h} }}} & 0 & 0 \\ 0 & 0 & 0 & 0 & {\frac{1}{{E_{h} }} + \frac{1}{{E_{v} }} + 2\frac{{v_{v} }}{{E_{h} }}} & 0 \\ 0 & 0 & 0 & 0 & 0 & {\frac{{2\left( {1 + v_{h} } \right)}}{{E_{h} }}} \\ \end{array} } \right] $$
(2)
Fig. 1
figure 1

Schematic of horizontal wellbore in formation with transverse isotropy

Stress, strain and displacement expressions of rock around wellbore are limited to equilibrium equations, constitutive relations and boundary conditions (Rizzo and Shippy 1970; Gupta and Zaman 1999). Thus, for lamination medium, these researches give stress distribution around borehole, shown as Eq. (3). Also, note that the expression of reciprocal equation (\(\phi_{k}\)) can be acquired from research of Amadei (1984).

$$ \left\{ \begin{gathered} \sigma_{x}^{b} = \sigma_{x}^{o} + 2{\text{Re}} \left[ {\mu_{1}^{2} \phi_{1} ^{\prime}\left( {z_{1} } \right) + \mu_{2}^{2} \phi_{2} ^{\prime}\left( {z_{2} } \right) + \mu_{3}^{2} \lambda_{3} \phi_{3} ^{\prime}\left( {z_{3} } \right)} \right] \hfill \\ \sigma_{y}^{b} = \sigma_{y}^{o} + 2{\text{Re}} \left[ {\phi_{1} ^{\prime}\left( {z_{1} } \right) + \phi_{2} ^{\prime}\left( {z_{2} } \right) + \lambda_{3} \phi_{3} ^{\prime}\left( {z_{3} } \right)} \right] \hfill \\ \sigma_{z}^{b} = \sigma_{z}^{o} - \frac{1}{{a_{33} }}\left( {a_{31} \sigma_{x,h} + a_{32} \sigma_{y,h} + a_{34} \tau_{yz,h} + a_{35} \tau_{xz,h} + a_{36} \tau_{xy,h} } \right) \hfill \\ \tau_{xy}^{b} = \tau_{xy}^{o} - 2{\text{Re}} \left[ {\mu_{1} \phi_{1} ^{\prime}\left( {z_{1} } \right) + \mu_{2} \phi_{2} ^{\prime}\left( {z_{2} } \right) + \mu_{3} \lambda_{3} \phi_{3} ^{\prime}\left( {z_{3} } \right)} \right] \hfill \\ \tau_{xz}^{b} = \tau_{{x{\text{z}}}}^{o} + 2{\text{Re}} \left[ {\lambda_{1} \mu_{1} \phi_{1} ^{\prime}\left( {z_{1} } \right) + \lambda_{2} \mu_{2} \phi_{2} ^{\prime}\left( {z_{2} } \right) + \mu_{3} \phi_{3} ^{\prime}\left( {z_{3} } \right)} \right] \hfill \\ \tau_{yz}^{b} = \tau_{yz}^{o} - 2{\text{Re}} \left[ {\lambda_{1} \phi_{1} ^{\prime}\left( {z_{1} } \right) + \lambda_{2} \phi_{2} ^{\prime}\left( {z_{2} } \right) + \phi_{3} ^{\prime}\left( {z_{3} } \right)} \right] \hfill \\ \end{gathered} \right. $$
(3)

For original in-situ stress components, its distribution should be derived from in-situ stress by conducting wellbore coordinate transformation (Fig. 2). After this coordinate transformation, formulation of original in situ stress components in wellbore coordinate is written as Eq. (4) (Chen et al. 2003). Inserting Eq. (4) into Eq. (3), in situ stress components around wellbore in laminated formation can be obtained.

$$ \left\{ \begin{gathered} \sigma_{{\text{x}}}^{o} = \sigma_{H} \cos^{2} \Omega \cos^{2} \Psi + \sigma_{h} \cos^{2} \Omega \sin^{2} \Psi + \sigma_{v} \sin^{2} \Omega \hfill \\ \sigma_{y}^{o} = \sigma_{H} \sin^{2} \Psi + \sigma_{h} \cos^{2} \Psi \hfill \\ \sigma_{z}^{o} = \sigma_{H} \sin^{2} \Omega \cos^{2} \Psi + \sigma_{h} \sin^{2} \Omega \sin^{2} \Psi + \sigma_{v} \cos^{2} \Omega \hfill \\ \tau_{xy}^{o} = - \sigma_{H} \cos \Omega \cos \Psi \sin \Psi + \sigma_{h} \cos \Omega {\text{c}}os\Psi \sin \Psi \hfill \\ \tau_{yz}^{o} = - \sigma_{H} \sin \Omega \cos \Psi \sin \Psi + \sigma_{h} \sin \Omega {\text{c}}os\Psi \sin \Psi \hfill \\ \tau_{xz}^{o} = \sigma_{H} \cos \Omega \sin \Omega \cos^{2} \Psi + \sigma_{h} \cos \Omega \sin \Omega \sin^{2} \Psi - \sigma_{v} \sin \Omega \cos \Omega \hfill \\ \end{gathered} \right. $$
(4)
Fig. 2
figure 2

Schematic of coordinate transformation

To clarify the influence of bedding plane on in situ stress components, with certain horizontal wellbore azimuth (\( \Omega = 90^\circ \;\Psi = 0\;^\circ\)), take circumferential stress as an indicator, stress distribution around wellbore in varying Young modulus anisotropy (\(E_{v} /E_{{\text{h}}}\)), Poisson ratio anisotropy (\(v_{v} /v_{h}\)) and bedding plane occurrence have been computed, shown in Figs. 3, 4. It can be seen that the overall changing trend is constant, meaning that circumferential stress grows with increasing circumferential angle. For the circumferential stress in different anisotropy of elastic parameters, comparing Young modulus and Poisson ratio, effecting degree of Young modulus is clearly larger. When it comes to bedding plane inclination and azimuth, they have different influence mechanisms on stress. In the regions close to 0°or 90°, stress grows with increasing inclination and decreasing azimuth. On the other hand, in the middle of circumferential angle, this influence is reverse, indicating low inclination and high azimuth represent large stress.

Fig. 3
figure 3

Circumferential stress of in situ stress components with different elastic parameters

Fig. 4
figure 4

Circumferential stress of in situ stress components with bedding plane occurrence

2.2 Pore Pressure Propagation Around Wellbore

2.2.1 Permeability Characteristics in the Anisotropy Formation

It has been noticed that the bedding plane and rock matrix have different physical properties (Zhang et al. 2018). In particular, compared to rock matrix, bedding plane normally has comparatively stronger permeability and diffusion ability, thus making water and solute transport have anisotropy characteristic. Consequently, transport equations of pore pressure will be changed. In order to express this anisotropy, we establish plane model of pore pressure transport in anisotropy medium, shown as Fig. 5. The \(a\) is included angle between bedding plane and x axis. For certain fluid (drilling fluid and formation fluid), due to the difference between bedding plane and rock matrix, parameters of water osmosis and solute diffusion, like hydraulic coefficient and diffusion coefficient, are related to bedding plane angle (Lomba et al. 2000). Based on that, the equation of equivalent hydraulic coefficient in shale formation is written as (Yang et al. 2014):

$$ K_{{_{ij} }}^{1} = \left[ \begin{gathered} K_{xx} \;\;\;\;K_{xy} \hfill \\ K_{yx} \;\;\;K_{yy} \hfill \\ \end{gathered} \right] $$
(5)
$$ \left\{ \begin{gathered} K_{xx} = \frac{{K_{11} + K_{22} }}{2} + \frac{{K_{11} - K_{22} }}{2}\cos 2a \hfill \\ K_{xy} = K_{yx} = \frac{{K_{11} - K_{22} }}{2}\sin 2a \hfill \\ K_{yy} = \frac{{K_{11} + K_{22} }}{2} - \frac{{K_{11} - K_{22} }}{2}\cos 2a \hfill \\ \end{gathered} \right. $$
(6)
Fig. 5
figure 5

Hydraulic and diffusion coefficient in shale with bedding plane

For the same method, equivalent diffusion coefficient tensor (\(D_{ij}^{eff}\)) is expressed as Eqs. (7), (8).

$$ D_{ij}^{eff} = \left[ \begin{gathered} D_{xx} \;\;\;\;\;\;D_{xy} \hfill \\ D_{yx} \;\;\;\;\;\;D_{yy} \hfill \\ \end{gathered} \right] $$
(7)
$$ \left\{ \begin{gathered} D_{xx} = \frac{{D_{11} + D_{22} }}{2} + \frac{{D_{11} - D_{22} }}{2}\cos 2a \hfill \\ D_{xy} = D_{yx} = \frac{{D_{11} - D_{22} }}{2}\sin 2a \hfill \\ D_{yy} = \frac{{D_{11} + D_{22} }}{2} - \frac{{D_{11} - D_{22} }}{2}\cos 2a \hfill \\ \end{gathered} \right. $$
(8)

By using the above equations, hydraulic coefficient and diffusion coefficient in laminated medium can be computed, shown as Figs. 6, 7. Curves in these figures depict clear variation of hydraulic and diffusion coefficient around wellbore. It is important to note that no matter how bedding plane angle changes, those two coefficients reach maximum along bedding plane, indicating bedding plane is the easiest path for water invading and solute diffusion. When the direction gradually changes from parallel bedding plane to vertical bedding plane, hydraulic and diffusion coefficient show decline. Maximum to minimum ratio of hydraulic and diffusion coefficient are 2.75 and 1.56 respectively.

Fig. 6
figure 6

Hydraulic coefficient in shale with bedding plane angle

Fig. 7
figure 7

Diffusion coefficient in shale with bedding plane angle

2.2.2 The Propagation of Pore Pressure

The pore pressure propagation is related to water and solute transport. Based on Darcy law and chemical potential theory, water transport equation can be given by (Yu et al. 2003):

$$ J_{v} = - K^{1} \cdot \nabla p - nRTK^{11} \cdot \nabla C_{s} $$
(9)

In water transport, considering mass conservation law and compressibility of fluid in pore, mass equation can be expressed as:

$$ \frac{\partial p}{{\partial t}}{ + }\frac{1}{{c_{\rho } }}\nabla J_{{\text{v}}} + J_{{\text{v}}} \cdot \nabla p = 0 $$
(10)

Substituting Eq. (10) into Eq. (9):

$$ \frac{\partial p}{{\partial t}} - \frac{1}{{c_{\rho } }}\nabla (K^{1} \cdot \nabla p) - \frac{nRt}{{c_{\rho } }}\nabla (K^{11} \cdot \nabla C_{s} ) = 0 $$
(11)

Incorporating the anisotropy of hydraulic coefficient into the Eq. (11), it can be rewritten in polar coordinate, shown as:

$$ \frac{\partial p}{{\partial t}} = \frac{1}{{c_{\rho } }}\left[\frac{1}{r}\frac{\partial }{\partial r}(K_{ij}^{1} r\frac{\partial p}{{\partial r}}) + \frac{1}{{r^{2} }}\frac{\partial }{\partial \theta }(K_{ij}^{1} \frac{\partial p}{{\partial \theta }})\right] + \frac{nRT}{{c_{\rho } }}\left[\frac{1}{r}\frac{\partial }{\partial r}(K^{11} r\frac{{\partial C_{s} }}{\partial r}) + \frac{1}{{r^{2} }}\frac{\partial }{\partial \theta }(K^{11} \frac{{\partial C_{s} }}{\partial \theta })\right] $$
(12)

The solute diffusion can change the solute concentration of the pore fluid, affecting pore pressure distribution. Therefore, based on the Fick’s diffusion equation, solute concentration profile can be simulated, shown as:

$$ \frac{{\partial C_{s} }}{\partial t} - \nabla (D^{eff} \cdot \nabla C_{s} ) = 0 $$
(13)

Meanwhile, considering the anisotropy of diffusion coefficient in shale formation, general equation for ion diffusion in shales can be transformed into polar coordinate, expressed as:

$$ \frac{{\partial C_{s} }}{\partial t} = \frac{1}{r}\frac{\partial }{\partial r}(D_{ij}^{eff} r\frac{{\partial C_{s} }}{\partial r}) + \frac{1}{{r^{2} }}\frac{\partial }{\partial \theta }(D_{ij}^{eff} r\frac{{\partial C_{s} }}{\partial \theta }) $$
(14)

The pore pressure propagation yields to its inner and external boundary of the borehole, which can be expressed as Eqs. (15), (16).

$$ \left\{ \begin{array}{l} C_{s} (r = r_{w} \;,\;\theta \;,\;t > 0) = C_{m} \hfill \\ p(r = r_{w} \;,\theta \;,\;t > 0) = p_{i} \hfill \\ \end{array} \right. $$
(15)
$$ \left\{ \begin{array}{l} C_{s} (r = \infty \;,\;\theta \;,\;t > 0) = C_{o} \hfill \\ p(r = \infty \;\;,\theta \;,\;t > 0) = p_{o} \hfill \\ \end{array} \right. $$
(16)

In the initial condition, no pore pressure propagation occurs. Solute concentration and pore pressure are both equal to original value. Hence, the initial condition can be written as:

$$ \left\{ \begin{array}{l} C_{s} (r\;,\;\theta \;,\;t = 0) = C_{o} \hfill \\ p(r\;,\;\theta \;,\;t = 0) = p_{o} \hfill \\ \end{array} \right. $$
(17)

With certain bedding plane angle (a = 90°) and t = 144 h, integrating these boundaries, initial conditions and transport equations, pore pressure distribution around wellbore can be obtained, shown as Fig. 8. It can be found out that with increasing radial distance, pore pressure increases firstly, then decreases to a stable level, which is close to original pore pressure. The propagation speed in isotropy condition has no change with circumferential angle. In contrast, due to hydraulic and diffusion anisotropy, propagation speed in layered formation is variable with circumferential angle. Since the maximums of hydraulic and diffusion are in the direction along bedding plane, pore pressure propagates faster and has small fluctuation at \(\theta = 90^\circ\) and \(\theta = 270^\circ\).On the other hand, pore pressure vertical to bedding plane needs to take a relatively longer distance to become stable value and has larger rising near wellbore, indicating that it is harder to have propagation at \(\theta = 0^\circ\) and \(\theta = 180^\circ\). This phenomenon can be explained by that high hydraulic and diffusion in bedding plane make this transport easily finished and reach balance, thus reducing changing range and propagation distance of pore pressure.

Fig. 8
figure 8

Pore pressure propagation around wellbore at a = 90° and t = 144 h

2.3 Seepage Stress Around Wellbore

The change of pore pressure distribution is able to modify seepage stress around wellbore. Based on the seepage stress equation in isotropy medium (Zhang et al. 2009), this equation has been modified by adding pore pressure anisotropy distribution (\(p(r,\theta ,t)\)). As a result, seepage stress in shale formation can be expressed as:

$$ \left\{ \begin{array}{l} \sigma_{r}^{s} = \frac{{a_{b} (1 - 2v)}}{1 - v}\frac{1}{{r^{2} }}\int_{{r_{w} }}^{r} {(p(r,\theta ,t) - p_{o} )rdr} \hfill \\ \sigma_{\theta }^{s} = - \frac{{a_{b} (1 - 2v)}}{1 - v}[\frac{1}{{r^{2} }}\int_{{r_{w} }}^{r} {(p(r,\theta ,t) - p_{o} )rdr} - (p(r,\theta ,t) - p_{o} )] \hfill \\ \sigma_{z}^{s} = (\frac{{a_{b} (1 - 2v)}}{1 - v})(p(r,\theta ,t) - p_{o} ) \hfill \\ \end{array} \right. $$
(18)

In the Fig. 9, with a = 90° and t = 144 h, seepage stresses around wellbore are illustrated on the basis of pore pressure propagation in Sect. 2.2. At the wall of wellbore (\(r/r_{w} = 1\)), seepages stresses are constant value. When the radial distance increases, due to the anisotropy effect, variations of seepage stresses are noticeable near wellbore area, reaching their maximum or minimum value at approximate \(r/r_{w} = 1.1\). In the far field, seepage stresses restore to constant value. With increasing circumferential angle, circumferential stress grows firstly and then declines, having its peak point at 90°. Radial and axis stress have opposite trend, reaching lowest point at 90°.

Fig. 9
figure 9

Seepage stress around wellbore

2.4 Failure Mode and Strength Criterion

In combination with in situ stress components, pore pressure and seepage stress, stress state around wellbore in cylindrical coordinate can be written as (Liu et al. 2016):

$$ \left\{ \begin{array}{l} \sigma_{r} = \frac{{r_{w}^{2} }}{{r^{2} }}p_{i} + \tau_{xy} \left( {1 + 3\frac{{r_{w}^{4} }}{{r^{4} }} - 4\frac{{r_{w}^{2} }}{{r^{2} }}} \right)\sin 2\theta + \frac{{\sigma_{xx} - \sigma_{yy} }}{2}\left( {1 + 3\frac{{r_{w}^{4} }}{{r^{4} }} - 4\frac{{r_{w}^{2} }}{{r^{2} }}} \right)\cos 2\theta + \frac{{\sigma_{xx} + \sigma_{yy} }}{2}(1 - \frac{{r_{w}^{2} }}{{r^{2} }}) + \sigma_{r}^{s} \hfill \\ \sigma_{\theta } = - \frac{{r_{w}^{2} }}{{r^{2} }}p_{i} + \frac{{\sigma_{xx} + \sigma_{yy} }}{2}\left( {1 + \frac{{r_{w}^{2} }}{{r^{2} }}} \right) - \frac{{\left( {\sigma_{xx} - \sigma_{yy} } \right)}}{2}(1 + 3\frac{{r_{w}^{4} }}{{r^{4} }})\cos 2\theta - \tau_{xy} (1 + 3\frac{{r_{w}^{4} }}{{r^{4} }})\sin 2\theta + \sigma_{\theta }^{s} \hfill \\ \sigma_{z} = \sigma_{zz} - 2v\left[ {\left( {\sigma_{xx} - \sigma_{yy} } \right)\frac{{r_{w}^{2} }}{{r^{2} }}\cos 2\theta + 2\tau_{xy} \frac{{r_{w}^{2} }}{{r^{2} }}\sin 2\theta } \right] + \sigma_{z}^{s} \hfill \\ \tau_{r\theta } = \tau_{xy} \left( {1 + 2\frac{{r_{w}^{2} }}{{r^{2} }} - 3\frac{{r_{w}^{4} }}{{r^{4} }}} \right)\cos 2\theta + \frac{{\left( {\sigma_{xx} - \sigma_{yy} } \right)}}{2}\left( {1 + 2\frac{{r_{w}^{2} }}{{r^{2} }} - 3\frac{{r_{w}^{4} }}{{r^{4} }}} \right)\sin 2\theta \hfill \\ \tau_{z\theta } = \tau_{yz} \left( {1 + \frac{{r_{w}^{2} }}{{r^{2} }}} \right)\cos \theta - \tau_{xz} (1 + \frac{{r_{w}^{2} }}{{r^{2} }})\sin \theta \hfill \\ \tau_{rz} = \tau_{xz} \left( {1 - \frac{{r_{w}^{2} }}{{r^{2} }}} \right)\cos \theta + \tau_{yz} (1 - \frac{{r_{w}^{2} }}{{r^{2} }})\sin \theta \hfill \\ \end{array} \right. $$
(19)

Based on above stress state, principal stresses at the wall of wellbore can be expressed as Eq. (20). Besides, by performing comparison among 3 principal stresses, the maximum and minimum principal stress (\(\sigma_{1}\) and \(\sigma_{3}\)) can be confirmed.

$$ \left\{ \begin{array}{l} \sigma_{i} = \sigma_{r} \hfill \\ \sigma_{j} = \frac{{\sigma_{z} - \sigma_{\theta } }}{2} + \sqrt {(\frac{{\sigma_{\theta } - \sigma_{z} }}{2})^{2} + \sigma^{2}_{\theta z} } \hfill \\ \sigma_{k} = \frac{{\sigma_{z} - \sigma_{\theta } }}{2} - \sqrt {(\frac{{\sigma_{\theta } - \sigma_{z} }}{2})^{2} + \sigma^{2}_{\theta z} } \hfill \\ \end{array} \right. $$
(20)

For shale failure mode, Jaeger's criterion gives the fact that shale has 2 types of shear failures, which are failure across rock matrix and along bedding plane (Lee et al. 2012). Accordingly, its schematic is shown in Fig. 10. Stress state at failure plane can be written as:

$$ \tau = c{}_{f} + \sigma \tan \varphi_{f\;} \;\;\; $$
(21)
Fig. 10
figure 10

Schematic of Jaeger's criterion

According to Eq. (21), the normal stress and shear stress at failure plane are expressed:

$$ \left\{ \begin{array}{l} \tau = \frac{{\sigma_{1} - \sigma_{3} }}{2}\sin 2\beta_{f} \hfill \\ \sigma = \frac{{\sigma_{1} + \sigma_{3} }}{2} + \frac{{\sigma_{1} - \sigma_{3} }}{2}\cos 2\beta_{f} \hfill \\ \end{array} \right.\;\; $$
(22)

It is significant to note that failure plane could be plane along bedding plane or across matrix because 2 correspondingly failures exist (Fig. 10b). Therefore, inserting Eq. (22) into Eq. (21), the equation of shale strength criterion can be obtained, written as:

$$ \left\{ \begin{array}{l} \sigma_{1} = \sigma_{3} + \frac{{2(c_{w} + \sigma_{3} \tan \varphi_{w} )}}{{(1 - \tan \varphi_{w} \cot \beta_{w} )\sin 2\beta_{w} }}\;\;\;\;\;{\text{Failure}}\;{\text{along}}\;{\text{bedding}}\;{\text{plane}} \hfill \\ \sigma_{1} = \sigma_{3} + \frac{{2(c_{0} + \sigma_{3} \tan \varphi_{0} )}}{{(1 - \tan \varphi_{0} \cot \beta_{0} )\sin 2\beta_{0} }}\;\;\;\;\;\;{\text{Failure}}\;{\text{across}}\;{\text{rock}}\;{\text{matrix}} \hfill \\ \end{array} \right. $$
(23)

\(\beta_{f}\) is the parameter of confirming failure mode, and its boundaries are shown in Eq. (24). Once \(\beta_{1} < \beta_{f} < \beta_{2}\) is satisfied, the shale will break along bedding plane. Otherwise, failure across rock matrix will happen.

$$ \left\{ \begin{array}{l} \beta_{1} = \frac{{\varphi_{w} }}{2} + \frac{1}{2}\arcsin \frac{{(\sigma_{1} + \sigma_{3} + 2c_{w} \cot \varphi_{w} )\sin \varphi_{w} }}{{\sigma_{1} - \sigma_{3} }} \hfill \\ \beta_{2} = \frac{\pi }{2} + \frac{{\varphi_{w} }}{2} - \frac{1}{2}\arcsin \frac{{(\sigma_{1} + \sigma_{3} + 2c_{w} \cot \varphi_{w} )\sin \varphi_{w} }}{{\sigma_{1} - \sigma_{3} }} \hfill \\ \end{array} \right.\;\; $$
(24)

This criterion gives shale strength with variable bedding plane orientation, shown as Fig. 11. Curve made by this criterion is consistent with triaxial test data, proving its applicability. Additionally, in the middle of bedding plane orientation, clear strength reduction can be seen, indicating the shear failure along bedding plan will weaken wellbore stability and this failure type should be avoided in the drilling.

Fig. 11
figure 11

Shale strength with bedding plane orientation

3 Influence Factors of Wellbore Stability in Shale Formation

Based on the model presented in the previous sections, factors influencing wellbore stability are analyzed in the following. Taking the horizontal well as an example, basic data are shown in Table 1. Also, calculated parameters for pore pressure and seepage stress are same as Table 2 in the Sect. 2.

Table 1 Input parameters
Table 2 Basic parameters for pore pressure propagation

3.1 Influence of Intersection Between Bedding Plane and Borehole

In shale reservoir, when horizontal well azimuth is confirmed, wellbore have different intersections with bedding plane occurrence, illustrated as Fig. 12. Different intersections will have variable bedding plane angle (\(a\)) in wellbore plane, changing the anisotropy around wellbore. As a result, failure region will be modified. For lamination formation, failure region is composed by two parts, which are regions of failure across matrix and failure along bedding plane. Its schematic is shown in Fig. 13. Based on this method, failure regions with different bedding plane angle have been calculated, shown in Fig. 14. We can find out that in homogeneity condition, only failure across rock matrix occurs and its failure region is typical two-lobed failure shape. In bedding plane condition, this failure region has no change in low and high bedding plane angle (a = 0° and a = 90°), which indicates that shear failure along bedding plane doesn’t happen in this scenario and wellbore stability is depended on rock matrix strength. On the other hand, Fig. 14c, d, where a = 30°and a = 60°, illustrate that failure region clearly increases and becomes four-lobed failure shape, suggesting shear failure along bedding plane occurs and aggravates the instability.

Fig. 12
figure 12

Illustration of intersection between horizontal wellbore and bedding plane

Fig. 13
figure 13

Schematic of forming failure region around wellbore under different failure types

Fig. 14
figure 14

Failure regions around wellbore with variable bedding plane angle at t = 0 h:

3.2 Influence of Pore Pressure Propagation and Seepage Stress

As discussed earlier, pore pressure propagation and seepage stress are indispensable part of stress state around wellbore. This part is not included in the Sect. 3.1 since no water and ion transport happens at t = 0 h. Therefore, to clarify this influence, failure region with pore pressure propagation and seepage have been computed (t = 144 h), shown in Fig. 15. Based on the comparison between Figs. 14 and 15, it is evident that failure region is enlarged due to pore pressure propagation and seepage stress. Besides, this increment is variable with different bedding plane angles. Although failure region is increased, region shapes are not modified. Shape is still two-lobed in the low and high angle, four-lobed in middle angle, suggesting that pore pressure propagation and seepage stress only increase collapse area and cannot change the failure mode.

Fig. 15
figure 15

Failure region around wellbore with pore pressure propagation and seepage stress at t = 144 h

3.3 Influence of Drilling Fluid

In drilling operation, when shale interacts with drilling fluid, hydration effect will reduce shale strength and impair wellbore stability (Manshad et al. 2014). To analyse drilling fluid influence, shale strength is firstly measured on the basis of shear test, shown in Fig. 16. With increasing soaking time, strength of rock matrix and bedding plane both show decreasing trend. Especially, compared to rock matrix, the strength decline of bedding plane is bigger, indicating bedding plane has strong sensitivity to drilling fluid. This strong sensitivity is caused by high permeability of bedding plane, making fluid invasion much easily through bedding plane.

Fig. 16
figure 16

Mechanical parameters in different soaking time

Under the assumption that rock near wellbore has same strength in Fig. 16, failure region with drilling time is investigated, shown in Figs. 17, 18 and 19. Also, the failure region without drilling fluid impact (t = 0 h) has already been illustrated in Sect. 3.1 (Fig. 14). With increasing drilling time, because of the strength decline induced by hydration, failure region has clear increment. According to the change of failure region, it can be seen that region increment is larger in the initial stage (0–96 h), and become stable in the later period. More importantly, in later stage of drilling, drilling fluid effect not only increase failure region, but also change failure mode. At a = 0° and a = 90°, when drilling time becomes 96 h, failure region has tremendously growth and transforms from two-lobed to four-lobed shape, indicating shear failure along bedding plane occurs. Comparing these failure regions, we can find out that the intersection with middle bedding plane angle has larger failure region and can be considered as the most unstable scenario for drilling in shale reservoir.

Fig. 17
figure 17

Failure region in different drilling time at 48 h”

Fig. 18
figure 18

Failure region in different drilling time at 96 h

Fig. 19
figure 19

Failure region in different drilling time at 144 h

4 Conclusion

In this study, we have fully consideration for shale anisotropy in rock mechanical properties, hydraulic coefficient, diffusion coefficient, etc. Correspondingly, calculated equations for shale strength, in situ stress components, pore pressure propagation and seepage stresses in anisotropic medium have been established. Subsequently, in combination with these equations, a new analytical model has been developed to analyze failure region and evaluate wellbore stability. For this analytical model, it is built on these conditions and assumptions: (1) shale formation is linear elastic and transversely isotropic. (2) flow of fluid around wellbore accords with Darcy laws. (3) diffusion around wellbore accords with Fick law. (4) wellbore inclined degree is 90° (i.e., horizontal wellbore). Finally, based on this model, we can come to the following conclusions:

  1. (1)

    For in situ stress components, because of transversely isotropy with bedding plane, elastic parameters and bedding plane occurrence can affect in situ stress components distribution, making it different from homogeneity situation. Meanwhile, due to hydraulic and diffusion coefficient anisotropy, transport speed in layered formation is variable with circumferential angle. For the direction along bedding plane having the maximums of hydraulic and diffusion coefficient, pore pressure propagates faster and has small fluctuation. On the other hand, pore pressure vertical to bedding plane needs to take a longer distance to become stable and has larger rising in the vicinity of wellbore.

  2. (2)

    The pore pressure propagation can change seepage stress distribution. At the wall of wellbore, seepages stresses are constant. When the radial distance increases, due to the anisotropy effect, variation of seepage stresses is noticeable near wellbore area. In the area away from wellbore, seepage stresses come back to a stable level. With increasing circumferential angle, circumferential stress grows firstly and then declines, having its peak point at 90°. In contrast, radial and axis stress have the opposite tendency.

  3. (3)

    Shale strength is associated with bedding plane orientation. This changing trend is obtained on the basis of single weak plane criterion, and verified by triaxial test data. Based on that, in the middle of bedding plane orientation, obvious strength reduction can be noticed, indicating the shear failure along bedding plan occurs. This phenomenon suggests that this shear failure can weaken wellbore stability and should be avoided in the drilling.

  4. (4)

    When horizontal wellbore has different intersections with bedding plane, varying bedding plane angles exist in wellbore plane, changing the failure region around wellbore. In homogeneity condition with only failure across rock matrix, failure region is typical two-lobed failure shape. Considering the existence of bedding plane, this failure region has no change in low and high bedding plane angle, indicating failure mode has no change and wellbore stability is merely relied on rock matrix strength. Whereas, in the middle a, failure region clearly increases and becomes four-lobed failure shape, suggesting shear failure along bedding plane occurs and aggravates the instability. Meanwhile, failure region is enlarged by pore pressure propagation and seepage stress. However, influences of pore pressure and seepage stress are not enough to affect failure mode.

  5. (5)

    Under the influence of drilling fluid, strength of rock matrix and bedding plane both show decreasing trend. Especially, bedding plane is more sensitive to drilling fluid, having lager strength decline. With increasing drilling time, failure region has clear increment. This increment is large in the initial stage and then becomes stable in the later stage. In particular, after 96 h, drilling fluid effect can change failure mode from failure across rock matrix to failure along bedding plane. Correspondingly, failure regions of two-lobed failure shape at low and high bedding plane angle gradually become four-lobed. Comparing these failure regions, we can conclude that intersection with middle bedding plane angle is the most unstable scenario since it has largest failure region.