Introduction

Coal seams are abundant in China’s Tarim Basin, Sichuan Basin, and Ordos Basin (Carpenter 2018; Cui et al. 2013; Chang et al. 2018). The Dibei area is located in the Northern Kuqa structural belt of the Tarim Basin, China, and there are multiple coal seams in the Jurassic.The coal has a high degree of discontinuity owing to the typical development of end cleats and faces cleats (Hongtao et al. 2021; Li et al. 2015; Ai et al. 2017; Zhigang et al. 2000; Ping and Ping 2004). Researchers, such as Liu et al. (2002) and Jin and Chen (1999a; b), have shown that cracks and cleats can considerably reduce the stability of a coal well. Based on this feature, many scholars have used various methods to study wellbore stability in coal seams. Deisman et al. (2010) proposed two methods to characterize the geomechanical properties of coal seams: geological strength index and synthetic rock mass. In addition, Jin and Chen (1999a; b) deduced the mathematical equation of collapse pressure containing weak surface parameters based on discontinuous medium mechanics. Kai et al. (2013) and Ai et al. (2014) established the cleat characteristic wellbore stability model using fracture mechanics and weak surface theories. Masoudian et al. (2014) proved that both the compressive strength and Young's modulus of coal increased with the increase of confining pressure through experiments. However, Perera et al. (2013) and Ranathunga et al. (2016a; b) studies show that the change in coal rock stiffness is relatively smaller. Some scholars (Liu and Harpalani 2014, 2013; Fan and Liu 2018, 2019) proposed that the coal does not follow the traditional poroelasticity constitutive relationship.

Numerous studies have shown that the wellbore stability of coal seams is also affected by many other factors. Hawkes (2007) analyzed in detail the effects of rock strength and burial depth based on elasticity theory. Thomas et al. (2009) tested the effect of different drilling fluids on the stability of coal seam wellbore through experiments. Other scholars have obtained the similar result through simulation: Fluid invasion has an important influence on the wellbore stability of coal rock (Perera et al. 2011; Ranathunga et al. 2016a; Wang et al. 2012). Zhao et al. (2012) analyzed borehole size and cleat intervals effect on wellbore stability. Shi et al. (2019) adopted mixed metal hydroxide (MMH) to inhibit hydration to improve coal seam wellbore stability. Reisabadi et al. (2020) discussed effect of coal matrix shrinkage on wellbore stresses.

However, the current discontinuous medium theory, single-weak surface theory, and fracture mechanics theory have considerable limitations: they cannot comprehensively evaluate the wellbore stability of a coal seam under the dual effects of cleats and bedding. The discrete element method has been widely used in geotechnical engineering to simulate the excavation and support of jointed rock tunnels (Huanchun et al. 2004; Yongtao et al. 2015). Therefore, many scholars have gradually applied the discrete element method to the petroleum industry to study coal seam wellbore stability: Li et al. (2002) and Yin et al. (2012) used UDEC software to evaluate coal seam wellbore stability. Qu et al. (2011) firstly used the 3DEC to investigate the stability of a coal seam. Compared to UDEC, 3DEC more intuitively reflects the block displacement and collapse process under the three-dimensional model.

Thus far, the cleat model adopted by local and global scholars does not fully represent real scenarios. Previous research only considered a single-weak surface and failed to comprehensively evaluate the law of collapse and failure of coal and rock under orthogonal cleats. Furthermore, the difference between the 3DEC method and the elasticity continuous medium is not quantified. In addition, the depth of the coal seam in Dibei is over 3500 m, which is much deeper than in other areas. Deviation points are designed in the coal seam to efficiently utilize horizontal wells to develop the oil and gas in Dibei. Because these phenomena differ considerably from previous studies, it is critical to research deep coal seam instability mechanisms and countermeasures for wellbore stability.

This paper is organized as follows: Sect. 2 analyzes the chemical properties and microstructure of coal rock through optical microscopy and X-ray diffraction experiments. In Sect. 3, orthogonal cleat model and 3DEC model are established to predict the collapse pressure of a deep coal seam in the Dibei area based on combining rock mechanics and elastic mechanics theory. The borehole trajectory is optimized on this basis. The coal seam section's drilling fluid plugging material is selected through particle size analysis based on the microstructure of coal and rock, and the stability countermeasures for the coal seam horizontal well are formed. In Sect. 4, countermeasures are applied in the DT2 well. In a nutshell, this research novelly conducted a systematic study on deep coal seam wellbore stability from three perspectives: drilling fluid density, well trajectory, and drilling fluid system, which can serve as a framework for deep coal seam drilling and coalbed methane development in other areas.

Wellbore instability mechanism

The microstructure and chemical properties of coal rock in the Dibei area are studied using a microscope and an X-ray diffraction instrument (35 samples in total). Based on this, the mechanism of coal rock instability can be discovered.

Coal rock microstructure

Optical microscope

Mesh cleats, microfracture, face cleats, end cleats, and broken zones in the coal can be clearly seen under an optical microscope, as shown in Fig. 1. Coal rock has different properties than other rocks due to the presence of these cleats (such as carbonate, shale, etc.).

Fig. 1
figure 1

Cleats and fractures under an optical microscope

The optical microscope reveals that the rock sample has orthogonally end cleats and face cleats, as well as visible wide fractures and broken zones.

Environmental scanning electron microscope

The environmental scanning electron microscope was used to scan coal rock cuttings and core samples to obtain cleat sizes, which can visually observe the surface mineral adhesion and fracture size of the sample. Figure 2 depicts an environmental scanning electron microscope examination of a rock sample from the J1y layer outcrop.

Fig. 2
figure 2

The development of fractures in the J1y layer

Environmental scanning electron microscope images of rock samples in J1y reveal the presence of cleats and pores with no fillers. The geometric parameters and distribution of microfractures are calculated statistically. A total of 52 fractures were observed, and crack width and length distribution rules were drawn, as shown in Figs. 3 and 4, respectively.

Fig. 3
figure 3

Fracture width distribution

Fig. 4
figure 4

Fracture length distribution

Figures 3 and 4 depict the distribution of the width and length of microscopic fractures in coal, respectively. The width of the microscopic fractures can be found intuitively: there are 43 groups of rock samples in the range of 0.52–3.32 μm, and three groups are in the range of 0.52–3.32 μm. There are two groups in the 3.32–6.12, 6.12–8.92, and 8.92–11.72-μm ranges, and one group in the 11.72–14.52 and 14.52–17.32-μm ranges. There are 41 groups with microfracture lengths ranging from 20 to 150 μm, five groups with microfracture lengths ranging from 150 to 280 μm, one group with microfracture lengths ranging from 280 to 410 μm, three groups with microfracture lengths ranging from 410 to 540 μm, and two groups with microfracture lengths ranging from 540 to 670 μm.

As a result, it is possible to conclude that the fracture width of coal rock samples is primarily in the range of 0.52–3.32 μm, and the length is primarily within 280 μm. There are very few microfractures that are longer than 500 μm and can form during the geological structure or sampling process. During the drilling process, the large fracture provides a good seepage channel for the drilling fluid to invade the formation, resulting in a decrease in the mechanical properties of the coal rock and wellbore instability.

Chemical properties

The clay minerals in the samples were extracted using the clay settlement extraction method, and the main types and contents of the clay minerals were examined using an X-ray diffraction instrument (as shown in Table 1). Numbers 1–5 are cutting test results, while numbers 6–9 are outcrop test results.

Table 1 Whole rock mineral analysis data sheet

According to Table 1, the content of clay minerals accounts for 30.32% of the total content in the cuttings test results. Based on this, it is hypothesized that chemical stability factors may exist in coal rock instability. However, outcrop test results show that the clay mineral content accounts for only 12.8% of the total contents, which is considerably lower than that of cuttings. There are two possible explanations. One is that drilling fluid additives such as asphalt or polymers that mix with coal cuttings cannot be removed. Another factor is that the coal seam section is mixed with mudstone and sandstone, increasing the clay mineral content. Because the outcrop coal of the J1y stratum is uncontaminated and has a relatively pure texture, the outcrop content test result is low.

XRD tests are conducted to detect the clay mineral composition of coal rock to further analyze whether there exists a relationship between the wellbore instability of the coal seam section and the clay minerals. Table 2 shows the types and relative contents of clay minerals in the J1kz and J1y intervals.

Table 2 Analysis table of mineral composition of coal rock clay

As shown in Table 2, clay minerals in these strata are mostly illite and kaolinite, with a trace of chlorite but no montmorillonite. Because illite and kaolinite are clay minerals with low hydration ability, the coal in this section has a low hydration ability.

As a result, the influence of hydration stress can be ignored when analyzing the mechanism of wellbore instability. Therefore, it is possible to conclude that the shaft wall instability mechanism is primarily mechanical.

Countermeasures

Wellbore stability countermeasures primarily include developing a collapse pressure prediction model to obtain a suitable drilling fluid density, optimizing the well trajectory, and optimizing the drilling fluid ideal for coal seams.

Collapse pressure prediction model

Orthogonal cleat model

According to the Fairhurst equation, the stress equation around the well can be expressed by Eq. (1):

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

Equation (1) transforms the stress component of the cylindrical coordinate system into the cleat weak-plane coordinate system. The normal and maximum shear stresses on the weak surface are then as follows:

$$\left\{ \begin{gathered} \sigma_{{\text{w}}} = \sigma_{xx}^{w} \hfill \\ \left| {\tau_{{\text{w}}} } \right| = \sqrt {(\tau_{xy}^{w} )^{2} + (\tau_{xz}^{w} )^{2} } \hfill \\ \end{gathered} \right..$$
(2)

When r = R (wellbore radius), the effective stresses around the well are:

$$\left\{ \begin{gathered} \sigma_{r} = p_{{\text{i}}} - \alpha p_{{\text{p}}} \hfill \\ \sigma_{\theta } = - p_{{\text{i}}} + \sigma_{xx}^{{\text{b}}} (1 - 2\cos \theta ) + \sigma_{yy}^{{\text{b}}} (1 + 2\cos 2\theta ) - 4\tau_{xy}^{{\text{b}}} \sin 2\theta - \alpha p_{{\text{p}}} \hfill \\ \sigma_{z} = \sigma_{zz}^{{\text{b}}} - v[2(\sigma_{xx}^{{\text{b}}} - \tau_{xy}^{{\text{b}}} )\cos 2\theta + 4\tau_{xy}^{{\text{b}}} \sin 2\theta ] - \alpha p_{{\text{p}}} \hfill \\ \tau_{r\theta } = 0 \hfill \\ \tau_{\theta z} = 2\tau_{yz}^{{\text{b}}} \cos \theta - 2\tau_{xz}^{{\text{b}}} \sin \theta \hfill \\ \tau_{rz} = 0 \hfill \\ \end{gathered} \right..$$
(3)

σr is one of the principal stresses, and the other two principal stresses σ1 and σ3 are:

$$\left\{ \begin{gathered} \sigma_{{\text{a}}} = \frac{{\sigma_{z} + \sigma_{\theta } }}{2} + \sqrt {\left( {\frac{{\sigma_{z} - \sigma_{\theta } }}{2}} \right)^{2} + \tau_{\theta z}^{2} } \hfill \\ \sigma_{{\text{b}}} = \frac{{\sigma_{z} + \sigma_{\theta } }}{2} - \sqrt {\left( {\frac{{\sigma_{z} - \sigma_{\theta } }}{2}} \right)^{2} + \tau_{\theta z}^{2} } \hfill \\ \end{gathered} \right.$$
(4)
$$\left\{ \begin{gathered} \sigma_{1} = \max (\sigma_{{\text{a}}} ,\sigma_{{\text{b}}} ,\sigma_{r} ) \hfill \\ \sigma_{3} = \min (\sigma_{{\text{a}}} ,\sigma_{{\text{b}}} ,\sigma_{r} ) \hfill \\ \end{gathered} \right.,$$
(5)

where σ1 is the maximum principal stress, MPa, and σ3 is the minimum principal stress, MPa.

The maximum and minimum principal stresses of the coal rock formation can be calculated using the above model, and the collapse pressure can be obtained by combining the coal rock failure criterion.

According to Jaeger's single-weak surface strength theory and coal rock microstructure analysis results, coal rock failure can be classified into two types: the bedding strength determines the strength of the rock mass when it is broken along the bedding plane. However, unlike conventional bedding rational rocks, coal has both weak bedding planes and cleats. As a result, the failure judgment of bedding and cleats should be made concurrently (i = 1, 2, 3).

$$\tau_{{\text{w}}}^{(i)} {\text{ = s}}_{{\text{w}}}^{(i)} + \sigma_{{\text{w}}} \tan \varphi_{{\text{w}}}^{(i)} .$$
(6)

When the rock is not broken along the bedding plane, the strength of the coal rock equals the strength of the coal rock matrix, and coal rock failure can be expressed as Eq. (7):

$$\left\{ \begin{gathered} \sigma_{1} = \sigma_{3}^{{}} + 2(S_{i} + u_{i} \sigma_{3} )(\sqrt {1 + u_{i}^{2} } + u_{i} ) \hfill \\ u_{i} = \tan \varphi_{i} \hfill \\ \end{gathered} \right..$$
(7)

When the cleats and rock matrix strengths are compared, the lowest value is considered as the ultimate shear strength, which is then combined with Eq. (3) to calculate the collapse pressure.

Table 3 shows an example calculation of the basic calculation parameters of the J2Kz and J1y seams.

Table 3 The basic calculation parameters

The collapse density is obtained by substituting the basic parameters into the orthogonal cleat model, which changes with the inclination and azimuth angles.

From Fig. 5, the highest collapse pressure equivalent density in the J2Kz stratum is 1.72 g/cm3, while the lowest collapse pressure equivalent density is 1.20 g/cm3. The vertical wellbore stability is the worst in this interval. The highest collapse pressure equivalent density in the J1y stratum is 2.0 g/cm3, and the lowest collapse pressure equivalent density is 1.81 g/cm3. The best trajectory has an azimuth of 110° or 250° and an inclination angle of 45°–75°.

Fig. 5
figure 5

Contour of collapse pressure equivalent density changes with azimuth and inclination angle (DB-X01)

3DEC mode

As shown in Fig. 6, the overall model size is 2 m × 2 m × 2 m, the wellbore direction is along the Z-axis, the wellbore radius is 0.108 m, and the inner model size is 0.8 m × 0.8 m × 2 m. The degree of fragmentation is relatively greater in the inner layer model due to rock breakages induced by the bit. To generate discrete cleats, discrete fracture network (DFN) technology is used.

Fig. 6
figure 6

Physical model

The face cleats in the outer model are parallel to the X direction, with a cleat spacing of 0.1 m, and the end cleats are parallel to the Y direction, with a cleat spacing of 0.2 m.

The inner model in this study employs DFN to generate discrete cleats, and the randomly generated cleat groups consist of a set of discrete, planar, and disc-shaped cleats. Given that many small cleats will increase the model's complexity and calculation time, the author suggests that small cleats be ignored to improve calculation efficiency, as shown in Fig. 7.

Fig. 7
figure 7

DFN model

Model boundary condition configuration: X = 1 plane is set as a stress boundary, X =  − 1 plane is set as a fixed displacement boundary; Y = 1 plane is set as a stress boundary, Y =  − 1 plane is set as a fixed displacement boundary; Z = 1 plane is set the stress boundary, and the Z =  − 1 surface is set as the fixed displacement boundary.

Model initial conditions: in situ stress conditions, the overburden pressure coefficient is 2.35, the maximum horizontal principal stress pressure coefficient is 2.65, the direction is along the negative X-axis, the minimum horizontal principal stress pressure coefficient is 2.10, and the direction is negative along the Y-axis direction.

The wellbore radius of the DB-X01 well is 0.108 m, the well depth is 4000 m, and the liquid column pressure is 65 MPa. As determined by laboratory tests, the mechanical parameters of coal and cleats are as follows: coal has an initial Poisson's ratio of 0.38, a cohesion of 10.3 MPa, an internal friction angle of 17.5°, and a density of 2467 kg/m3. Cleat cohesion is 4.5 MPa, and the internal friction angle is 4.2°.

Four observation points were set on the well's circumference, including A1 (0, 0.108, 0), A2 (0, − 0.108, 0), B1 (0.108, 0, 0), and B2 (− 0.108, 0, 0), as shown in Fig. 8. During the simulation, the displacement of the four observation points is recorded as the basis for determining whether the model reaches a steady state.

Fig. 8
figure 8

The location of the observation point

After a finite number of calculations, the displacement of each observation point no longer changes, and the model is said to be steady. Figure 9 depicts the displacement of the observation point.

Fig. 9
figure 9

Observation point displacement

After the model has reached a steady state, the data are recorded, and the simulation results and model state are saved. Then, the displacement of each block in the model can be displayed intuitively using the displacement contour, as shown in Fig. 10.

Fig. 10
figure 10

Simulation results (left) and displacement contour (right)

The displacement of the observation point stabilized after a finite number of iterations, and the model reached equilibrium. According to the displacement contour (Fig. 10 (right)), the maximum radial displacement is 3.76 cm, and the wellbore radius is 0.108 m, indicating that wellbore wall failure has occurred at 17.2% of the wellbore diameter. Therefore, the position where the block fell first, as affected by the cleat surface, does not strictly correspond to the maximum horizontal principal stress position, but rather the smaller block cut by the cleat falls first.

However, the displacement is still greater along the maximum horizontal principal stress direction, which is consistent with the classic rock mechanics theory. In addition, based on the displacement contour, it is possible to conclude that the cleats cause the displacement of coal blocks to be discontinuous.

According to Fig. 8, because B1 and B2 are both in the maximum horizontal principal stress direction, their displacements are greater than those of A1 and A2. However, even though B1 and B2 are in symmetrical stress positions, B1's displacement is greater than B2's. This is because the cleats at these two positions are different, resulting in the displacement difference, demonstrating that cleats are extremely important when analyzing wellbore stability in coal formations.

Models comparison and discussion

The two models are compared and analyzed by combining the actual drilling fluid density of the DB-X01 well. The orthogonal cleat model and the 3DEC model are used to predict collapse pressure at various depths, and the results of the calculations are compared to the actual drilling fluid density, as shown in Figs. 11 and 12, respectively.

Fig. 11
figure 11

Comparison between prediction results and actual drilling fluid density (J2Kz)

Fig. 12
figure 12

Comparison between prediction results and actual drilling fluid density (J1y)

The actual drilling fluid density in the J2Kz is quite different from the model-predicted value, as shown in Fig. 11, and the average well diameter expansion rate reached 17.9%. Conversely, Fig. 12 indicates that the actual drilling fluid density in the J1y is very close to the model-predicted value, and the average well diameter expansion rate is only 7%. As a result, this study opines that both models are of reference significance.

Furthermore, the orthogonal cleat model yields relatively high results, whereas the 3DEC method yields results that are closer to the actual drilling fluid density. Furthermore, as depth increases, the difference between the orthogonal cleat model calculation results and the actual drilling fluid density increases, whereas the difference between the 3DEC model calculation results and the actual drilling data changes only slightly. As a result, the 3DEC model calculation result is closer to the actual drilling value than the orthogonal cleat model calculation result.

The orthogonal cleat model is proposed in this study for calculating the best drilling azimuth and inclination angle, as well as the 3DEC model for calculating drilling fluid density.

Well trajectory optimization

As shown in Fig. 5, the orthogonal cleat model depicts the distribution of collapse pressure at various azimuth and inclination angles.

The best trajectory corresponds to the lowest collapse pressure. The best trajectory for the J2Kz interval is 120° azimuth and 60°–75° inclination angle. The best trajectory for the J1y interval is 110° or 250° azimuth and 45°–75° inclination angles.

Taking the J1y and J2Kz intervals into account, we can obtain the best drilling orientation that is beneficial to wellbore stability: the best drilling azimuth is around 115°, and the best deviation angle is around 60°.

Anticollapse drilling fluid

According to the investigation, the original drilling fluid used in well DB-X04 is 2–4.5% bentonite, 0.5–0.7% caustic soda, 3–5% sulfonated phenolic resin 2–3% sulfonated brown coal resin, 5% emulsified asphalt, 1–2% lubricant, and 3–5% potassium chloride. However, serious drilling fluid leakage occurred in the coal seam, and the well diameter expansion rate was very high. As a result, the original drilling fluid's plugging performance needs to be improved even further.

Drilling fluid optimization

The SEM test results of the drilling fluid containing asphalt additives after hot rolling coal and rock cuttings are shown in Fig. 13. As can be seen, asphalt can effectively fill the cleats of coal rock and adhere to the coal bedrock well.

Fig. 13
figure 13

Hot rolling results of coal rock cuttings

Table 4 indicates the particle size test results of the plugging materials commonly used in Tarim Oilfield.

Table 4 The particle size test results of plugging materials

According to Table 4, sulfonated asphalt seals the smallest cleats, followed by dry powder asphalt, and emulsified asphalt seals the largest cleats. The combination of dry powder asphalt, emulsified or sulfonated asphalt, and 2200-mesh ultrafine calcium has the highest efficiency in plugging 1–10 μm coal rock cleats; whereas the combination of dry powder asphalt, emulsified or sulfonated asphalt, and 2200-mesh ultrafine calcium can seal most of the cleats in coal rock.

Coal rock cores were used to conduct drilling fluid plugging effect tests under various compound systems and dosage conditions to determine the optimal drilling fluid plugging compound system and dosage. Figure 14 depicts the results.

Fig. 14
figure 14

Comparison of plugging effect

Dry powder asphalt system at a 48-h maximum liquid output is approximately 12 mL; dry powder asphalt and emulsified asphalt compound system at a 48 h maximum liquid output is approximately 6.5 mL; dry powder asphalt, emulsified asphalt, and sulfonated asphalt compound system at a 48-h maximum liquid output is approximately 1.6 mL; dry powder asphalt, sulfonated asphalt, emulsified asphalt, and 2200 mesh superfine calcium compound system at a 48 h maximum liquid output is only 1.2 mL. As a result, the compound system of sulfonated asphalt, emulsified asphalt, and 2200 mesh superfine calcium is preferred, and the recommended minimum amount of plugging material for the compound system is 3% sulfonated asphalt, 3% emulsified asphalt, and 3% 2200 mesh superfine calcium.

The following is the main additive equation of the new anticollapse drilling fluid: 4–5% soil powder, 0.3–0.8% CMC-LV, 1–1.5% Redu-2, 2–3% SMP-3, 0.2–0.25% Na2CO3, 3–4% sulfonated asphalt, 3–4% emulsified asphalt, and 3% superfine calcium (2200 mesh).

Inhibition performance

The rolling recovery rate experiment was used to evaluate the new drilling fluid's inhibition performance. Figure 15 depicts the results of the rolling recovery rate test.

Fig. 15
figure 15

Rolling recovery test results

Figure 15 shows that the new drilling fluid's rolling recovery rate for outcrop coal and rock was 98.6%, and the rolling recovery rate for mudstone was 85.7%, with the overall suppression performance of the drilling fluid being excellent. The rolling recovery rate of the original drilling fluid for outcrop coal is only 85.1%, and it is only 63% for mudstone. The inhibition of the new drilling fluid on coal rock and carbonaceous mudstone is considerably greater than that of the original drilling fluid, and the inhibition on coal rock is greater than that of oil-based drilling fluid. It demonstrates that the new drilling fluid's suppression performance has been considerably improved and that the new drilling fluid is more conducive to wellbore stability.

Rheology and filter loss

A six-speed rotary viscometer was used to measure the rheological properties of the new drilling fluid. Table 5 shows the result of the rheological properties of the new drilling fluid.

Table 5 Rheological properties of the new drilling fluid

The rheological properties of the new drilling fluid are similar before and after aging, indicating that the new drilling fluid has good stability after high-temperature treatment and good thermal stability.

API fluid loss and HTHP (high temperature and high pressure) water loss measurements were performed on the new and original drilling fluids, respectively. Figure 16 depicts the results.

Fig. 16
figure 16

Filtration loss measurement result

The API water loss of the new drilling fluid is 2.3 mL, and the HPHT water loss is 2.4 mL, as shown in Fig. 16. The original drilling fluid's API water loss is 3.43 mL, and the HPHT water loss is 4 mL. The new drilling fluid's API water loss and HPHT water loss have decreased considerably, indicating that the new drilling fluid has better water loss control. In theory, the new drilling fluid has better sealing performance on the well-lining rock and can effectively prevent coal seam well-lining collapse and drilling fluid loss during the drilling process.

Field application result and discussion

The DT2 well is an exploratory well in Dibei that is intended to be directional. This well's actual drilling deflection point is at the bottom of J1y.

The orthogonal cleat model is used to determine the best drilling azimuth and inclination angle, and the 3DEC model is used to calculate the drilling fluid density, yielding the following results: the coal seam section's drilling azimuth is 135°–145° (SH azimuth = 133°), the inclination angle is 35°–45°, and the drilling fluid density is 1.70–1.74 g/cm3.

To ensure the stability of the coal seam section after entering the coal seam, the centralizer size is reduced from 311 to 306 mm, the weight on the bit is reduced to 30–80 kN, the speed is reduced to 30–35 rpm, and the displacement is 18–22 L/s. Figure 17 depicts the analysis results of actual drilling in the inclined section of the DT2 well's coal seam.

Fig. 17
figure 17

Analysis results of actual drilling of inclined coal section in DT2 well

Figure 17 shows that after implementing comprehensive coal seam stabilization measures in the inclined section of the coal seam, it has good wellbore stability when drilling into the coal-measure strata. The well diameter expansion rate of most intervals is less than 20%, and the average well diameter expansion rate in the coal seam is only approximately 7%. There is no accident or complicated drilling of the coal-measure interval, indicating that this study and coal seam countermeasures can effectively ensure wellbore stability.

Summary and conclusion

This study proposes an orthogonal cleat model and a 3DEC model based on the structure and chemical properties of coal rocks to predict the collapse pressure of a coal seam, optimize the wellbore trajectory, and develop an anticollapse drilling fluid for coal seams. The following four conclusions were drawn:

  1. (1)

    It is clear from the analysis of microstructure and chemical properties that mechanical instability dominates coal seam instability.

  2. (2)

    Both the orthogonal cleat and 3DEC models achieved consistent results with the actual drilling, wherein the 3DEC method's results are closer to the actual drilling fluid density.

  3. (3)

    Through experimental evaluation, an anticollapse drilling fluid suitable for the Dibei area has been developed: 4–5% soil powder, 0.3–0.8% CMC-LV, 1–1.5% Redu-2, 2–3% SMP-3, 0.2–0.25% Na2CO3, 3–4% sulfonated asphalt, 3–4% emulsified asphalt, and 3% superfine calcium (2200 mesh). The anticollapse drilling fluid has strong inhibitory properties: the coal rock recovery rate is as high as 98.6%; the water loss of the new system API and HPHT are relatively low, at only 2.3 mL and 2.4 mL, respectively.

  4. (4)

    The wellbore in the coal seam directional section has good stability after applying stabilization measures in the DT2 well, with no downhole accidents. This demonstrates the reliability of the mechanism and countermeasures proposed in this study.