Introduction

Wellbore instability is one of the main problems that engineers encounter during drilling. Borehole stability requires the knowledge of interaction between rock strength and in situ stress. The drilling of an in-gauge hole is an interplay of two factors: uncontrollable and controllable. Uncontrollable factors are the earth stresses (horizontal and vertical), pore pressure, rock strength and rock chemistry. Controllable factors include mud weight, wellbore azimuth and inclination (Mohiuddin and Khan 2007). Therefore, the way to prevent wellbore instability during drilling is to adjust engineering practices by choosing optimal wellbore trajectories and mud weights. From the mechanical perspective, a wellbore can fail by induced stresses (usually two types): shear failure and tensile failure, which can lead to a stuck pipe, wellbore breakout, induced fracture, poor cementation, side track, and loss of drilling mud (Mclean and Addis 1994). Therefore, critical mud pressure should be considered in order to mitigate wellbore instability-related problems. Although, the selection of a suitable failure criterion for wellbore stability analysis is difficult and controversial (Al-Ajmi and Zimmerman 2009), numerous drilling engineers tried to predict wellbore stability prior to drilling, via different rock failure criteria, and they also investigated stress concentration around the wellbore in order to propose an optimum mud weight window for a successful drilling operation.

Awal et al. (2001) indicated that the optimal well path can be vertical, deviated, or horizontal, depending on stress regimes. Al-Ajmi and Zimmerman (2009) used the Mogi–Coulomb criterion to develop a model for wellbore stability analysis and indicated that the Mogi–Coulomb criterion shows field conditions more realistically. Zhang et al. (2010) evaluated five rock failure criteria, namely, the Mohr–Coulomb, Drucker–Prager, modified Lade, Mogi–Coulomb and three-dimensional (3D) Hoek–Brown criteria and found that 3D Hoek–Brown and Mogi–Coulomb criteria are suitable for wellbore stability analysis.

In the present study we first review and define the Mohr–Coulomb and Mogi–Coulomb criteria. We then use Mogi–Coulomb failure criterion for predicting wellbore stability and determining of mud weight window and stress distribution around the wellbore wall. For comparison, the analysis is also carried out using the traditional Mohr–Coulomb failure criterion. Then both criteria were applied to a well located in an oilfield in Iran.

A series of sensitivity analyses that demonstrate the influences of drilling mud pressure and borehole orientation on wellbore stability are then presented and discussed.

Rock strength criteria

Mohr–Coulomb criterion

The Mohr–Coulomb shear-failure model is one of the most widely used models for evaluating borehole collapse due to its simplicity (Horsrud 2001; Fjaer et al. 2008). The Mohr–Coulomb criterion can be expressed based on shear stress and the effective normal stress as given below.

$$\tau = c + \sigma_{\text{n}} \tan \phi$$
(1)

where τ is the shear stress, σ n is the normal stress, c and ϕ are the cohesion and the internal friction angle of the rock, respectively.

The Mohr–Coulomb criterion uses unconfined compressive strength (UCS) and angle of internal friction (ϕ) to assess the failure (Khan et al. 2012), and then it can be expressed in terms of the maximum and minimum principal stresses, σ 1 and σ 3.

$$\sigma_{1} = \mathop \sigma \nolimits_{\text{c}} + q\sigma_{3}$$
(2)

where q is a parameter related to ϕ and σ c is the unconfined compressive strength of the rock. The parameters q and σ c can be determined, respectively, by (Zhang et al. 2010).

$$q = \tan^{2} \left( {45 + \frac{\phi }{2}} \right) = \frac{1 + \sin \phi }{1 - \sin \phi }$$
(3)
$$\mathop \sigma \nolimits_{c} = 2c\tan \left( {45 + \frac{\phi }{2}} \right) = \frac{2c\cos \phi }{1 - \sin \phi }$$
(4)

This criterion can also be rewritten as follows:

$$F = \left( {\mathop \sigma \nolimits_{c} + q\mathop \sigma \nolimits_{3} } \right) - \mathop \sigma \nolimits_{1}$$
(5)

Considering the Mohr–Coulomb criterion, shear failure occurs if F ≤ 0, and accordingly, the required mud weight to prevent failure in each mode of failure can be calculated.

Mogi–Coulomb criterion

Like Mohr–Coulomb criterion, the Mogi–Coulomb criterion describes the shear failure mechanism using a linear relationship of shear stress and normal stress. The Mogi–Coulomb criterion was proposed by Al-Ajmi and Zimmerman (2005) and is simply written as:

$$\mathop \tau \nolimits_{\text{oct}} = a + b\mathop \sigma \nolimits_{{{\text{m}},2}}$$
(6)

where σ m,2 and τ oct are the mean stress and the octahedral shear stress, respectively, that are defined by:

$$\mathop \sigma \nolimits_{{{\text{m}},2}} = \frac{{\mathop \sigma \nolimits_{1} + \mathop \sigma \nolimits_{3} }}{2}$$
(7)
$$\mathop \tau \nolimits_{\text{oct}} = \frac{1}{3}\sqrt {(\mathop \sigma \nolimits_{1} - \mathop \sigma \nolimits_{2} \mathop )\nolimits^{2} + (\mathop \sigma \nolimits_{2} - \mathop \sigma \nolimits_{3} \mathop )\nolimits^{2} + (\mathop \sigma \nolimits_{3} - \mathop \sigma \nolimits_{1} \mathop )\nolimits^{2} }$$
(8)

And a and b are material constants which are simply related to c and ϕ as follows:

$$a = \frac{2\sqrt 2 }{3}c\cos \phi ,\,b = \frac{2\sqrt 2 }{3}\sin \phi$$
(9)

This criterion can also be rewritten as follows:

$$F = \left( {a + b\mathop \sigma \nolimits_{{{\text{m}},2}} } \right) - \mathop \tau \nolimits_{\text{oct}}$$
(10)

Considering the Mogi–Coulomb criterion, shear failure occurs if F ≤ 0.

Determination of stress orientation in deviated wells

Far-field stresses in a coordinate system referred to the borehole:

$$\begin{array}{ll} \sigma_{\text{x}} = (\sigma_{\text{H}} \cos^{2} \alpha \, + \, \sigma_{\text{h}} \sin^{2} \alpha )\,\cos^{2} i + \sigma_{\text{v}} \sin^{2} i, \hfill \\ \sigma_{\text{y}} = \sigma_{\text{H}} \sin^{2} \alpha \, + \, \sigma_{\text{h}} \cos^{2} \alpha , \hfill \\ \sigma_{\text{z}} = (\sigma_{\text{H}} \cos^{2} \alpha \, + \, \sigma_{\text{h}} \sin^{2} \alpha )\,\sin^{2} i + \sigma_{\text{v}} \cos^{2} i, \hfill \\ \sigma_{\text{xy}} = 0.5(\sigma_{\text{H}} - \sigma_{\text{h}} )\,\sin 2\alpha \cos i, \hfill \\ \sigma_{\text{xz}} = 0.5(\sigma_{\text{H}} \cos^{2} \alpha - \sigma_{\text{h}} \sin^{2} \alpha - \sigma_{\text{v}} )\,\sin 2i, \hfill \\ \sigma_{\text{yz}} = 0.5(\sigma_{\text{H}} - \sigma_{\text{h}} )\,\sin 2\alpha \sin i, \hfill \\ \end{array}$$
(11)

where σ v, σ H and σ h are the vertical, maximum and minimum horizontal stresses, respectively, the angle α corresponds to the deviation of the borehole from σ H, and the angle, i, represents the deviation of the borehole from σ v (Aminul et al. 2009).

The total stress distribution around the wellbore is given in cylindrical coordinate system (r, z, θ) and are given by the Fig. 1 below.

Fig. 1
figure 1

Stress transformations in polar systems

When analyzing stress and pore pressure distributions in and around wellbores the polar coordinate system is generally adopted. For the generalized plane, strain formulation the stresses in polar coordinates are related to the Cartesian coordinate stresses according to the following rules:

$$\begin{array}{ll} \sigma_{\text{rr}} = \sigma_{\text{x}} \cos^{2} \theta \, + \, \sigma_{\text{y}} \sin^{2} \theta + 2\sigma_{\text{xy}} \,\sin \theta \cos \theta , \hfill \\ \sigma_{\theta \theta } = \sigma_{\text{x}} \sin^{2} \theta \, + \, \sigma_{\text{y}} \cos^{2} \theta - 2\sigma_{\text{xy}} \,\sin \theta \cos \theta , \hfill \\ \mathop \sigma \nolimits_{\text{zz}} = \sigma_{\text{z}} - v\left[ {2\left( {\sigma_{\text{x}} - \sigma_{\text{y}} } \right)\cos 2\theta + 4\sigma_{\text{xy}} \sin 2\theta } \right], \hfill \\ \sigma_{{{\text{r}}\theta }} = \left( {\sigma_{\text{y}} - \sigma_{\text{x}} } \right)\,\sin \theta \cos \theta + \sigma_{\text{xy}} \left( {\cos^{2} \theta - \sin^{2} \theta } \right), \hfill \\ \sigma_{\text{rz}} = \sigma_{\text{xz}} \cos \theta + \sigma_{\text{yz}} \sin \theta , \hfill \\ \sigma_{{\theta {\text{z}}}} = \sigma_{\text{yz}} \cos \theta - \sigma_{\text{xz}} \sin \theta . \hfill \\ \end{array}$$
(12)

where σ rr, σ θθ , σ zz are the radial, tangential, and axial stresses, respectively, and ν is a material constant called Poisson’s ratio. The angle θ is measured clockwise from the x-axis, as shown in Fig. 1 (Zhang et al. 2003).

The principal stresses at any given location on the borehole wall in which shear stress is zero are given by the following equation:

$$\mathop \sigma \nolimits_{\text{tmax}} = \frac{1}{2}(\mathop \sigma \nolimits_{\text{zz}} + \mathop \sigma \nolimits_{\theta \theta } + \sqrt {(\mathop \sigma \nolimits_{\text{zz}} - \mathop \sigma \nolimits_{\theta \theta } \mathop )\nolimits^{2} + 4\mathop \sigma \nolimits_{{\theta {\text{z}}}}^{2} } ),$$
(13)
$$\mathop \sigma \nolimits_{\text{tmin}} = \frac{1}{2}(\mathop \sigma \nolimits_{\text{zz}} + \mathop \sigma \nolimits_{\theta \theta } - \sqrt {(\mathop \sigma \nolimits_{\text{zz}} - \mathop \sigma \nolimits_{\theta \theta } \mathop )\nolimits^{2} + 4\mathop \sigma \nolimits_{{\theta {\text{z}}}}^{2} } ),\,\,\,{\text{and}}\,\,\mathop \sigma \nolimits_{\text{rr}} \,$$
(14)

where σ tmax is the largest and σ tmin is the smallest principal stress. Radial stress is the other principal stress (Zoback 2007).

When the maximum principal stress exceeds the effective strength, failure takes place at that location. Eventually, the calculated principal stresses can be used in rock failure criteria in order to assess wellbore stability.

Wellbore failure mechanisms

Drilling a well in a formation changes the initial stress state and causes stress redistribution in the vicinity of the wellbore. The redistributed stress state may exceed the rock strength and hence, failure can occur. Generally, a wellbore fails either by exceeding the tensile strength of the formation or by exceeding the shear strength of the formation (Chen 1996). These two types of failures are explained in detail below.

Compressive shear failure

Shear failure usually results in borehole collapse or breakout. Borehole breakouts are collapsed regions located on the least horizontal principal stress for vertical wells and are generally formed by compressive shear failure. Therefore, compressional failure will occur in the direction of the minimum horizontal stress because the tangential stress will reach a maximum here.

Tensile failure

In general, the borehole tensile failure is defined by the minimum principal stress. Therefore, this failure becomes the upper limit of the mud weight window in safe drilling operation. Fracture initiates when the minimum effective stress (i.e., the total stresses minus the formation pore pressure) at the wellbore wall reaches or exceeds formation rock tensile strength, T (Fjaer et al. 2008). Thus, failure occurs when σ 3 − P o ≥ − T.

The proposed methodology can be applied by following algorithm and the results obtained from this solution are shear failure and tensile failure determination in order to calculate the optimum mud window.

In this section, we will apply the Mohr–Coulomb and Mogi–Coulomb criteria to analyze the wellbore instability problems. The case study is conducted on a carbonate formation and the offset well data used in this paper are listed in Table 1. The data needed for the study were derived from field measurements. The mechanical properties of the carbonate reservoir were obtained by conducting a number of unconfined compressive strength and triaxial tests on reservoir cores and were then correlated with the properties derived from open-hole logs. The magnitudes of the in situ stresses and formation pressure were derived from analysis of open-hole logs and leak-off test data.

Table 1 Data of carbonate formation for wellbore stability analysis

The rock data are used to predict the safe mud-drilling window for drilling in the reservoir. Hole collapse and fracture pressures are calculated as functions of inclination, i, and azimuth, α, for all possible combinations, and potential wellbore instability issues can be determined. Matlab programming language is used to perform all the procedures in the different sections of the methodology (Fig. 2).

Fig. 2
figure 2

Flow chart for calculating shear and tensile failure

Mud weight window versus depth

It is known that there is a lower limit of mud weight below which compressive failure occurs, and an upper limit beyond which tensile failure occurs. The range between the lower and the upper limit is defined as the mud weight-window. The derived equations from the Mohr–Coulomb and the Mogi–Coulomb criteria accompanying rock mechanics and stress properties can be used to determine the optimum mud weight window. Figure 3 illustrates the safe mud window predicted by Mohr–Coulomb and Mogi–Coulomb criteria for three states of vertical, slanted, and horizontal wells in which the mud weight window expands gradually with increasing drilling depth. In vertical state, (Fig. 3a), at the depth of 3190 m, the optimum mud pressures predicted by Mohr–Coulomb and Mogi–Coulomb criteria are equal to 60.65 and 61.84 MPa; the maximum shear failure pressures are 40.03 and 72.73 MPa, and the minimum fracture pressures are 81.07 and 80.47 MPa, respectively. Since there is a little difference between maximum and minimum horizontal stresses, the safe mud windows obtained by these two criteria are nearly the same. Figure 3a–c depict that increasing well inclination causes narrowing the safe mud window which show vertical well is more stable than slanted and horizontal well. In the horizontal state, more attention should be paid for mud weight determination in order not to exceed fracture and shear failure gradients.

Fig. 3
figure 3

Mud weight window versus depth determined by Mohr–Coulomb and Mogi–Coulomb criteria for a carbonate formation in a vertical well, b slanted well, and c horizontal well

Mud weight window versus wellbore inclination and azimuth

All the aforementioned studies optimized the well trajectory based on the analysis of the effects of well inclination and azimuth on mud weight window. Figure 4 shows the safe mud weight window for wellbore stability in different inclinations obtained by the Mohr–Coulomb and the Mogi–Coulomb criteria. It shows that the mud weight window is narrowed gradually with the increase in wellbore inclination that represents a vertical well requires the lowest mud weight to prevent breakout and, conversely, horizontal wells require the highest mud weight to maintain wellbore stability. As illustrated in Fig. 4a, the fracture and shear failure pressure predicted by the Mohr–Coulomb criterion at the inclination of 0° are about 80.36 and 40.3, and at the inclination of 90° they are about 62.11 and 51.18 MPa, respectively, and the optimum mud pressure will be obtained within the range of the mud weight window. Figure 4b shows that at inclinations of 30, 60, and 90, the safe mud window obtained by Mogi–Coulomb criterion is a little wider than that determined by Mohr–Coulomb criterion since the rock strength predicted by Mogi–Coulomb is higher than that predicted by Mohr–Coulomb criterion. The fracture and the shear failure pressure predicted by the Mogi–Coulomb criterion at inclination of 0° are 80.14 and 41.17 MPa, and at the inclination of 90° they are about 63.85 and 46.68 MPa, respectively. Also, the magnitudes of fracture and the shear failure pressure at inclinations of 30 and 60° are shown in boxes.

Fig. 4
figure 4

Mud weight window versus wellbore inclination at the constant azimuth of 67° applying a Mohr–Coulomb criterion, and b Mogi–Coulomb criterion

To further illustrate the relationship between mud weight window and well azimuth, a mud weight window (Fig. 5) was generated at a given well inclination 30°. As illustrated in Fig. 5a, the minimum mud pressure at which fracture will occur is 68.51 MPa at azimuth of 0° and 180°. At azimuths of 90° and 270° the fracture pressure is about 77.38 MPa. The maximum mud pressure at which shear failure will occur is 43.81 MPa at azimuth of 0° and 180°. The least mud pressure window is found in both azimuths 0° and 180° and the highest mud pressure window is found in both azimuths 90° and 270°. Figure 5b shows the safe mud pressure window predicted by Mogi–Coulomb criterion that is a little wider than that predicted by Mohr–Coulomb criterion. At azimuth 0° and 180° the mud pressure window is similar and between 40.59 and 67.91 MPa. The largest mud weight window is located in azimuths 90° and 270° that is between 39.61 and 78.72 MP. This represent that for drilling the well with inclination 30°, drilling at azimuths 90° and 270° are the most stable states and conversely, drilling at azimuths 0° and 180° are the least stable states.

Fig. 5
figure 5

Mud weight window versus azimuth at inclination of 30° applying a Mohr–Coulomb criterion, and b Mogi–Coulomb criterion

Effective stress distribution around the wellbore

In this part, the stress distribution around the wellbore based on change in mud pressure and well orientation, θ, is assessed. Figure 6 shows the effective radial, tangential and axial stresses as a function of radial position away from the borehole in which inclination, azimuth, and orientation are 30°, 67°, and 90° respectively. Both radial, σ r, and tangential, σ θ , stresses vary with distance from the borehole and approach the far-field stresses at a radial distance of r = 5R (where R is the borehole radius). As illustrated in Fig. 6a, b, radial and tangential stresses are proportional to mud pressure in which increasing mud pressure causes a decrease in the tangential stress and an increase in the radial stress. Since the tangential stresses are higher than the radial stresses in all the states, compressive failure will occur in this part of the well (θ = 90o). At all used mud pressures the axial stress is nearly constant and at radial distance of more than 1.4, it is maximum principal stress. The magnitude of stresses around the wellbore is shown in boxes.

Fig. 6
figure 6

Stress distribution around the borehole based on change in mud pressure, orientation = 90o inclination = 30o, azimuth = 67o. a P w = 40 MPa, b P w = 42 MPa, c P w = 44 MPa, d P w = 46 MPa

It should be pointed out that the reason of applying inclination of 30° and azimuth of 67° for this study is understanding of effective stress distribution around the wellbore drilled in this study.

Figure 7 shows the effective radial, tangential and axial stresses as a function of radial position away from the borehole in which inclination, azimuth, and orientation are 30°, 67°, and 0°, respectively. As shown in Fig. 7a, the tangential stress is greater than the radial stress at the wellbore wall (r/a = 1) to a dimensionless radial distance of about 3.6. However, at the distance of more than 3.6 the radial stress is more than tangential stress indicating tensile failure may occur in those ranges. As depicted in Fig. 7a–d, by increasing mud pressure, the tangential and radial stresses cross each other at closer dimensionless radial distances which are shown in boxes.

Fig. 7
figure 7

Stress distribution around the borehole based on change in mud pressure, orientation = 0o, inclination = 30o, azimuth = 67o. a P w = 40 MPa, b P w = 42 MPa, c P w = 44 MPa, d P w = 46 MPa

From Figs. 6 and 7 can be concluded that the effect of mud pressure on stress distribution in the radial direction is affected by the orientation of the wellbore stresses. At θ = 90o the tangential stress reaches its highest value for a greater section of the radial distances from the wellbore. At θ = 0o the tangential stress reaches its lowest value and the axial or radial stresses may become maximum at the radial distances from the wellbore as mud weight increases.

Figure 8 shows the effective stress distribution around the wellbore based on the mud pressure. The orientation of wellbore is ranging from 0° to 360° and the dimensional radial distance is equal to 1, where r = a, and the radius of the wellbore is 3.1 in.

Fig. 8
figure 8

Stress distribution around the borehole based on change in mud pressure, inclination = 30o, azimuth = 67o. a P w = 46 MPa, b P w = 50 MPa, c P w = 57 MPa, d P w = 60 MPa

As illustrated in Fig. 8a and b, at mud pressure of 46 and 50 MPa the maximum tangential stress is at 80° 260°. Since the mud pressure is low the radial stress is the minimum principal stress and shear failure may occur. In Fig. 8c axial stress is the maximum principal stress and radial stress is minimum principal stress that at orientations of 0°, 170°, 350° it is nearly abutted with tangential stress indicating fracture initiation at theses orientations. The maximum magnitude of the tangential stress at which compressive failure will occur is 39.31 MPa.

Figure 8d shows that at mud pressure of 60 MPa the radial stress is greater than the tangential stress for the ranges 0°–20°, 130°–200°, and 310°–360° indicating that tensile failure may occur in those ranges. The tangential stress is greater than the radial stress between 20° and 130°, and also between 200° and 310° thus indicating that compressive failure may occur. The axial stress is the maximum principal stress at mud pressures of 57 and 60 MPa. Therefore, increase in the drilling mud pressure causes an increase in radial stress and a decrease in the tangential stress around the wellbore wall.

Conclusion

  1. 1.

    We observed that the agreement between both Mohr–Coulomb and Mogi–Coulomb criteria is excellent. If maximum and minimum horizontal stresses are too close, the Mogi–Coulomb failure criterion results would be very close to the results from the Mohr–Coulomb failure criterion.

  2. 2.

    At a wellbore inclination of 30°, drilling at azimuths 90° and 270° are the most stable states and the highest safe mud weight window is found in these two azimuths. The least mud weight windows, which represent the least stable state, are found at azimuth 0 and 180°.

  3. 3.

    Since the resultant stress difference between the minimum and maximum horizontal stresses is smaller than that between the overburden and horizontal stresses, vertical direction is the most stable well trajectory.

  4. 4.

    At wellbore inclination of 30°and orientation of 80° and 260°, the tangential stress is maximum principle stress, however at orientation of 170° and 350°, the tangential stress is minimum and the radial and axial stresses are maximum depending on mud pressure.

  5. 5.

    An increase in the hydrostatic mud pressure indicates an increase in the radial stress and a decrease in the tangential stress; they are also influenced by the wellbore orientation.