Introduction

Casings play an important role in oil and gas production. With the passage of time, the possibility of casings failure increases, which has become an important factor restricting the sustainable development of many oil and gas fields in China and other places of the world.

Earthquake is one important cause for casings failure (Xu 1992). However, there have been little researches on the reaction of casing strings under seismic action by so far. In long service life oil and gas wells, the randomness of seismic action, and the randomness of pipe geometry and mechanical properties will be not negligible, and their influences on casings failure will also be not negligible. Therefore, seismic reliability evaluation is of important engineering value.

Seismic intensity and randomness

Earthquake intensity and probability of occurrence are two basic parameters for an earthquake. The former is specified by the term of seismic intensity, while the latter is described by the seismic randomness. The seismic intensity and randomness have a strong correlation.

Earthquake intensity probabilistic model

The stochastic probability distribution function of seismic intensity is subject to the law of extremum III distribution, as follows (Gao and Bao 1985):

$$F_{t} \left( I \right) = \left[ {f_{T} \left( I \right)} \right]^{{\frac{t}{T}}} = \exp \left[ { - \frac{t}{T}\left( {\frac{12 - I}{{12 - I_{s} }}} \right)^{K} } \right]$$
(1)

Mean and variance is as follows (Dai and Wang 1987):

$$\mu_{I} = 12 - \left( {12 - I_{s} } \right)\varGamma \left( {1 + {1 \mathord{\left/ {\vphantom {1 K}} \right. \kern-0pt} K}} \right)$$
(2)
$$\sigma_{I} = \left( {12 - I_{s} } \right)\sqrt {\varGamma \left( {1 + {2 \mathord{\left/ {\vphantom {2 K}} \right. \kern-0pt} K}} \right) - \varGamma^{2} \left( {1 + {1 \mathord{\left/ {\vphantom {1 K}} \right. \kern-0pt} K}} \right)}$$
(3)

where t stands for time, a (years); T for base period, T = 50a; I for seismic intensity, I = 1,2,3,…,12; and Is stands for seismic portrait intensity (Chen et al. 2016), which means the seismic intensity with exceeding possibility of 63.2% within 50a, Is= I0 − 1.55; I0 stands for seismic fortification intensity. Seismic fortification intensity means the seismic intensity which is regarded as the basis of seismic fortification in a region according to relevant national regulations (Architecture Design Handbook Editorial Board 1994); K stands for shape factor.

Distribution parameters of each fortification intensity level in accordance with the literature (Gao and Bao 1985) are shown in Table 1.

Table 1 Seismic intensity distribution parameters

For a better understanding about the relationship between fortification intensity and actual earthquake possibility, this paper gives the actual earthquake possibility in areas of different fortification intensity levels in 20 years, as is shown in Table 2.

Table 2 Possibility of earthquake in areas with different seismic fortification intensity levels

It can be concluded that seismic fortification intensity is safe enough as a design basis (Tao et al. 2018). For example, for areas of fortification intensity of 6, the occurrence possibility of magnitude-6 earthquake is only 4.1268%, while the occurrence possibility of magnitude-7 earthquake is only 0.7%. In following discussion of this paper, seismic fortification intensity will be adopted as the design and calculation basis.

The acceleration description of earthquake intensity

Seismic acceleration is used to describe the ground motion acceleration in earthquake. There is correspondence between seismic acceleration and seismic intensity which can be represented by fortification intensity. And among the acceleration in three directions, one of the accelerations in the horizontal direction is the maximum (Construction Department of P.R.C. 2001; Wu et al. 2002), so maximal horizontal acceleration is adopted as the design base seismic acceleration. According to Chinese National Construction Earthquake Fortification Criteria, the design value of maximal horizontal acceleration shall follow Table 3.

Table 3 Maximal horizontal acceleration at difference intensity

The conversion relation between earthquake intensity and maximal horizontal acceleration is also presented in the literature (Wu et al. 2002) according to theory of Liu et al. (1981), shown as follows:

$$A_{{{\text{I}}H}} = 0.81 \times 2^{I}$$
(4)

where AIH is the maximal horizontal acceleration at seismic intensity I, cm s−2. The calculation results are in accordance with Table 3.

Furthermore, the maximal vertical acceleration value is between 1/2 and 2/3 of the maximal horizontal acceleration value. 1/2 is used as the coefficient in the calculation of maximal vertical acceleration calculation.

$$A_{IV} = 0.5A_{{{\text{I}}H}} = 0.41 \times 2^{I}$$
(5)

AIV is the maximal vertical acceleration at seismic intensity of I, cm s−2.

Randomness of casing dimension and mechanical parameters

The factors affecting the strength of the casing are mainly the physical dimensions and mechanical properties of the casing, including the outer diameter, wall thickness, elastic modulus and Poisson’s ratio of the casings. According to the statistical test of 2000 joints of API casings from five manufacturers (Adams et al. 1993), combined with the research of Galambos and Ravindra (1978), it is found that the above parameters are in accordance with the normal distribution, as is illustrated in Eq. 6, and the corresponding distribution parameters are shown in Table 4:

$$f(x) = \frac{1}{{\sqrt {2\pi } \sigma_{x} }}{\text{exp}}\left[ { - \frac{{(x - \mu_{x} )^{2} }}{{2\sigma_{x}^{2} }}} \right]$$
(6)

where x stands for random variables, which generally refers to actual physical dimension and mechanical property; \(\mu_{x}\) stands for mean value of random variable; \(\sigma_{x}\) stands for standard deviation of random variables.

Table 4 Mean values and variation coefficients of casing parameters

Casing reaction calculation in earthquakes

The mechanical model of casing strings in earthquakes

Since the axial dimension of the casing strings is much larger than the radial dimension, the casing string is regarded as a continuous structure. The casing head structure is negligible (Xue et al. 2000). The casing string is an axisymmetric structure, so it can be considered that the seismic impact does not apply torques on the casing strings. Due to the low gas density and low viscous drag, the effect of gas in the casings is negligible for gas wells. And because of the low flow rate in the casings of the oil wells, it can also be considered that the fluid influence in the casings of oil wells is negligible. There is the cementing force and friction between the cement rings and the casings, and these forces dampen the vibration of the casings. Meanwhile, taking into account the linear elastic properties of the cement rings and the adjacent formation rock within a certain range, the constraints of the cement rings and the formation rock on the casings can be simplified to an elastic-damping constraint. Since the seismic acceleration generally consists of acceleration in three directions—two horizontal directions and one vertical direction, there are three orthogonal seismic loads on casing strings in this mechanical model.

The casing strings mechanical model in earthquakes is shown in Fig. 1, where KA and KT stand for axial and transverse elastic stiffness of the constraint, and CA and CT stand for axial and transverse damping coefficients, respectively. It is obvious that the model is multi-particle and multi-degree of freedom model.

Fig. 1
figure 1

Casing strings mechanical model in earthquakes

Calculation of casing strings equivalent stress in earthquakes

For the response of casing strings in earthquake, the most concerned issue shall be its maximum dynamic response, especially the maximum stress of casing strings caused by earthquakes.

For the vibrational mechanical model of casing strings with multiple degrees of freedom, the equivalent static stress calculation of casing strings under seismic action can be carried out according to the spectral modal analysis theory and seismic equivalent static load (Shen et al. 2000).

The jth order force exerted by earthquakes on casing strings structure can be expressed as:

$$\left\{ F \right\}_{j} = \left[ M \right]\left\{ \varPhi \right\}_{j} \gamma_{j} A_{a} \left( {\omega_{j} ,C_{j} ,\xi_{j} } \right)\quad j = 1,2, \ldots ,N$$
(7)

where {F}j stands for the jth order force of the maximal vibration mode; [M] stands for mass matrix of casing strings structure; \(\left\{ \varPhi \right\}_{j}\) stands for the jth order vibration of the casing strings structure; \(\gamma_{j}\) stands for the jth order mode participation coefficient; \(\omega_{j}\) stands for the jth order of natural frequency of the casing strings; \(C_{j}\) stands for the jth order elastic stiffness coefficient of casing constraint, corresponding with \(K_{A}\) and \(K_{T}\) in Fig. 1; \(\xi_{j}\) stands for the jth damping of casing constraint; \(A_{a} \left( {\omega_{j} ,C_{j} ,\xi_{j} } \right)\) stands for the jth seismic acceleration response spectrum. The calculation of acceleration response spectrum and its parameters is detailed as follows (Fu 1990):

$$A_{a} \left( {\omega_{j} ,C_{j} ,\xi_{j} } \right) = A\left( \omega \right)\left[ {H\left( {\omega_{j} ,C_{j} ,\xi_{j} } \right)} \right]$$
(8)

where \(\left[ {H\left( {\omega_{j} ,C_{j} ,\xi_{j} } \right)} \right]\) stands for the jth order transfer function array of casing strings structure;\(A\left( \omega \right)\) stands for the seismic acceleration jth order response spectrum. The calculations of natural frequency, mode of vibration, mode of vibration participation coefficient and transfer function array have been introduced by many studies (Gao et al. 1995; Shuai et al. 1999).

Seismic response stress of various modes in the casing strings \(\left\{ S \right\}_{j}\) and corresponding equivalent stress \(S\) can be calculated by statics methods:

$$\left[ K \right]\left\{ S \right\}_{j} = \left\{ F \right\}_{j}$$
(9)
$$S = \sqrt {\sum\limits_{i = 1}^{N} {\sum\limits_{j = 1}^{N} {\rho_{o,ij} S_{i} S_{j} } } }$$
(10)

where \(\left[ K \right]\) stands for stiffness matrix of casing strings structure;\(S\), \(S_{i}\) and \(S_{j}\) stand for components of \(\left\{ S \right\}\), \(\left\{ S \right\}_{i}\) and \(\left\{ S \right\}_{j}\) respectively; \(\rho_{oij}\) stands for mode of vibration cross-correlation function. Proximate solution is as follows (Shen et al. 2000):

$$\rho_{o,ij} = \frac{{8\left( {\omega_{i} \xi_{i} + \omega_{j} \xi_{j} } \right)\left( {\omega_{i} \omega_{j} } \right)^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-0pt} 2}}} \left( {\xi_{i} \xi_{j} } \right)^{{{1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0pt} 2}}} }}{{2\left( {\omega_{i} \xi_{i} + \omega_{j} \xi_{j} } \right)^{2} \left( {\omega_{i}^{2} + \omega_{j}^{2} } \right) + \left( {\omega_{i}^{2} - \omega_{j}^{2} } \right)}}$$
(11)

The casing maximal axial load, transverse load and equivalent stress in earthquake effect can be solved by this method.

Seismic reliability evaluation of casing strings

The reliability model of casing strings under seismic action

Under seismic action, the failure modes of the casing include strength failure, axial elastic instability and lateral deformation (He et al. 2018). The limit state equations are as follows.

  1. 1.

    The casing strings strength failure.

    $$Z_{S} = Y_{P} - S = 0$$
    (12)
  2. 2.

    The casing strings axial elastic instability.

    $$Z_{A} = F_{LJ} - F_{AY} = 0$$
    (13)
  3. 3.

    The casing strings lateral deformation.

    $$Z_{f} = f_{\lim } - f = 0$$
    (14)

    where \(Y_{P}\) stands for casing yield strength, MPa; \(F_{LJ}\) stands for the critical load of the casing strings axial elastic instability, KN; \(F_{AY}\) stands for the actual axial load of the casing strings, KN; \(f_{\lim }\) stands for casing strings allowable lateral deformation mm; \(f\) stands for the actual lateral deformation of the casing strings, mm.

Based on seismic fortification intensity for the region, the probability of failure in multiple forms of casing strings in earthquakes within 1 year can be expressed as:

$$P_{fn} = \mathop {\text{MAX}}\limits_{j = 1}^{12} \left\{ {P_{fn}^{{I_{j} }} \left( {Z_{n} < 0} \right) \bullet P_{t} \left( {I_{j} } \right)} \right\}$$
(15)

where \(P_{fn}\) stands for casing strings failure probability in the form of \(n\); \(P_{fn}^{{I_{j} }} \left( {Z_{n} < 0} \right)\) stands for casing strings failure probability in the form of \(n\) in earthquake of magnitude \(j\); \(Z_{n}\) generally refers to \(Z_{S}\), \(Z_{A}\) and \(Z_{f}\) in formulation (12) to (14), standing for casing strings failure form; \(P_{t} \left( {I_{j} } \right)\) stands for the occurrence probability of earthquakes exceeding magnitude \(I_{j}\) during t years; \(MAX\left\{ \bullet \right\}\) stands for max function.

Since the casing strings are a typical series system, the casing strings will fail as long as one failure form occurs. The overall reliability of the casing strings during its service life is as follows (Liu 1996).

$$R = \prod\limits_{n = 1}^{3} {\left( {1 - P_{fn} } \right)}$$
(16)

Calculation example of casing string seismic reliability

The length of a production casing is 3000 m, the material is N-80, the outer diameter is 177.8 mm, and the wall thickness is 13.7 mm. The elastic modulus of cement ring and formation rock is 20 Gpa, and there is strong binding force between the two layers. The designed service life of oil well is 20 years. The seismic fortification intensity is 7. According to Housner and Jennings’s advice (1964), the seismic acceleration frequency for hard ground conditions is 15.6 Hz, and the damping is 0.64. In this paper, the seismic acceleration frequency will be changed in the range of 0.1–20 Hz.

In the service life of the casing string, the failure probability in earthquakes of different magnitudes is calculated, and the results are shown in Table 5.

Table 5 Casing string failure probability in earthquakes of different magnitudes during service life (%)

It can be seen from Table 5 that the overall seismic reliability of the casing strings is 99.19%. When the magnitude is below 6, the casing string has high reliability and the multiform failure probability is low. When earthquake intensity is magnitude 9 or above, the casing string is almost destroyed. However, the low fortification intensity in this area indicates that the probability of a high-intensity earthquake is very low. Generally, the casing string still has high reliability and can meet the seismic requirements.

Field data verification

There are very few statistical data of casing failure cases caused by earthquakes in the literature and reports. This paper analyzes one case data obtained after Wenchuan earthquake.

On May 12th, 2008, a magnitude 8.0 earthquake occurred in Wenchuan, Sichuan Province of China, causing nearly 80,000 deaths and huge property losses. In Sinopec Puguang Gas Field which is located in the seismic zone, some gas wells were found to have casing failure of varying degrees. Sinopec used caliper logging tool to detect casing failure in Puguang gas field. A total of 22 wells were checked, and casing failure was found in 20 wells (Ge et al. 2010). In this case, the ratio of casing failure wells to statistical wells shows that the seismic failure rate of casing in Wenchuan M8.0 earthquake is 90.9%, which is relatively close to the calculated failure possibility of 82.44% according to Table 5.

Conclusions

In addition to the traditional calculation method for casing strength, this paper fully considers the randomness of earthquakes, as well as randomness of casing physical dimensions and mechanical properties. In order to analyze the load on the casing strings in earthquakes, a seismic reliability analysis for the casing strings of oil and gas wells based on reliability theory is carried out. And the conclusions are as below.

  1. 1.

    The occurrence possibility of failure inducing factors and corresponding probability of leading to failure should be comprehensively calculated in casing strings reliability analysis.

  2. 2.

    Other than traditional nominal strength and safety factor calculation, reliability theory is introduced into the seismic resistance analysis of casings. The seismic randomness and casing resistance are taken into consideration in the strength design. A more reasonable seismic reliability analysis method is established.

  3. 3.

    A sample calculation is carried out based on the proposed seismic reliability analysis method. Compared with the data of casing failure in Puguang gas field after Wenchuan earthquake, the reliability of the calculation model is verified.

  4. 4.

    Though the casing strings are generally reliable in areas with low seismic fortification intensity, the seismic influence should still be seriously considered in the casing strings designing for long service life oil and gas wells, especially in areas with high seismic fortification intensity.