1. Introduction
“Coal mine goaf areas” formed after underground coal mining lead to the loss of support for overlying strata, which in turn undergo movement and deformation [
1]. This deformation not only may trigger secondary disasters but also exerts a direct impact on oil and gas wells in and around goafs—particularly on downhole casings, the core components of oil and gas wells. The stress state of these casings directly determines the safety and integrity of the wells [
2]. In recent years, with the continuous expansion of coal mining depth and scale, coupled with the growing awareness of environmental protection and safety, the mechanism by which overlying strata movement in goafs affects oil and gas wells, as well as the corresponding prevention and control technologies, has become a research hotspot. However, there are still gaps to be filled in existing studies, and systematic collation and in-depth analysis are urgently needed.
Strata movement is the core cause of goafs affecting the casings of oil and gas wells. Through “multi-method coupling verification” and “multi-factor correlation analysis”, existing studies have gradually revealed the intrinsic connection between strata movement and casing stress, yet the depth and dimension of research still need to be expanded.
In terms of the law of strata movement, Wang et al. [
3] innovatively combined three methods—similarity simulation, numerical simulation, and on-site measurement—and for the first time comprehensively presented the dynamic evolution characteristics of strata movement trajectories and stress fields during coal seam mining, providing a “laboratory-numerical-on-site” trinity verification framework for subsequent studies. Building on this foundation, Zheng et al. [
4] further expanded the research and pointed out that casing stress is not solely affected by strata movement but rather a “multi-factor coupling result” of geological structures, in situ stress, and strata movement. Their study clarified for the first time the weight of strata movement in the casing stress influence system but failed to conduct an in-depth quantification of the synergistic mechanism among different factors.
In terms of the stress response characteristics of casings, Ren et al. [
5] found through mechanical modeling and deformation analysis that the subsidence effect caused by coal seam mining leads to Gaussian deformation of pipelines in goafs, and the stress distribution exhibits a dual characteristic of “vertical antisymmetry-horizontal symmetry”. This conclusion accurately depicts the micro-scale laws of casing deformation. Focusing on the spatial distribution differences of the “three zones” (caving zone, fractured zone, and bending subsidence zone) in goafs, Guo [
6] proposed that different zones have significant differences in their deformation effects on drilling and completion casings: the caving zone is prone to causing direct extrusion damage to casings, while the fractured zone tends to trigger fatigue cracking of casings. However, this study did not analyze the quantitative correlation between the “three zones” and casing stress in combination with specific wellbore structures. Overall, existing studies in this field have clarified the basic correlation between strata movement and casing stress, but most are limited to the analysis model of “single factor-single response”. They lack three-dimensional coupled stress analysis of goafs, casings, cement sheaths, and formations, making it difficult to reflect the complex scenarios of multi-medium interactions in actual engineering.
Gas accumulation is another core risk in the collaborative development of oil and gas wells in goafs. Existing studies have developed multiple technical approaches centered on “improving extraction efficiency” and “preventing safety risks” but have not established a systematic connection with casing stress safety.
In terms of risk identification, Wang et al. and Gao et al. [
7,
8] focused on mine safety issues caused by high-intensity mining and found that the working face corner—a high-risk area for gas accumulation—affects mining progress and threatens mine safety. This finding provided a clear target orientation for the subsequent development of gas extraction technologies.
In terms of extraction environment and parameter optimization, Zhou et al. [
9] started from the source, systematically analyzing the influence mechanism of different coal mining methods (such as strike longwall mining and top-coal caving mining) on the gas occurrence state in goafs. They also pointed out that water accumulation in goafs changes the permeability of fractured rock formations, thereby indirectly affecting the extraction efficiency of oil and gas wells. Water accumulation may block some gas migration channels, leading to a sudden increase in local gas concentration and raising the risk of stress fluctuation around the well. However, this study did not further explore the indirect effect of water accumulation and fractures on casing stress. Building on this, Li et al. [
10] combined the fluid–solid coupling theory with the Response Surface Methodology (RSM), optimizing gas extraction parameters through multi-variable fitting, which significantly improved the extraction efficiency of deep coalbed methane boreholes. The advantage of this method lies in its ability to quantify the impact of parameter interactions on extraction effects. From the perspective of engineering practice, Peng et al. [
11] controlled the gas concentration below 0.64% by optimizing the layout horizon of directional boreholes and extraction negative pressure, realizing the collaborative implementation of “parameters-process”. Nevertheless, neither study considered the impact of borehole layout on the stability of overlying strata in goafs—excessively dense boreholes may exacerbate the development of overlying strata fractures, thereby indirectly increasing the risk of casing stress.
In terms of prediction and technological innovation, Li et al. [
12] broke through the limitations of traditional methods, constructing a spatially continuous prediction model of gas content by combining complex geological conditions with the Kriging algorithm, which solved the problems of “difficult visualization and difficult continuous prediction” of gas distribution. Li et al. [
13] proposed the “one borehole, two eliminations” bedding borehole technology and the “borehole instead of roadway” roof high-level drilling technology; through technological innovation, they reduced the amount of underground roadway excavation and decreased the physical space for gas accumulation. Considering the development characteristics of overlying strata fractures, high-level directional drilling in oil and gas wells, and gas extraction efficiency comprehensively, Zhang et al. [
14] identified the dynamic change law of extraction parameters (first increasing and then decreasing) through theoretical analysis and engineering verification, addressing the gas hazard in the roof fractured zone. Notably, Li et al. [
15] integrated geological analysis with the “O-ring” theory, optimizing the three-spud casing program and the staged negative pressure extraction process system, which provided a new idea for combining gas extraction with wellbore structure optimization. However, this study did not conduct an in-depth analysis of the influence mechanism of extraction processes on casing stress. The aforementioned studies all focus on the “extraction-prevention” of gas itself and have not established a correlation analysis framework of “coal mining method-goaf environment (water accumulation/fractures)-gas extraction-casing stress”, making it difficult to support the full-chain safety management and control of oil and gas wells in goafs.
To address the issue of frequent casing damage in goafs, existing studies have proposed optimization schemes from three directions: “cementing process improvement”, “wellbore structure reconstruction”, and “drilling technology integration”. However, most of these schemes focus on a single link and lack a systematic coupling design.
In terms of coal pillar protection and surrounding rock stability control, Shen et al. [
16] explored the stress zoning characteristics of gas wells in protective coal pillars and the migration law of leaked methane through finite element numerical simulation, providing a scientific basis for the reasonable layout of protective coal pillars for gas wells in coal pillars. Nevertheless, their study was not directly linked to casing strength design. Focusing on the stability of surrounding rock in goaf-side roadways, Zhang et al. [
17] revealed the synergistic mechanism between stress distribution and plastic zone development on the goaf side under mining disturbance—mining leads to stress concentration around roadways, and the scope of the plastic zone continues to expand with overlying strata movement. If oil and gas wells are arranged close to roadways, casings may be drawn into the plastic zone and bear additional shear stress. This study established a connection between surrounding rock stability and well location layout but failed to further propose a casing structure optimization scheme adapted to surrounding rock deformation. From the perspective of risk assessment, He et al. [
18] analyzed the wellbore integrity risks under different working conditions (such as overlying strata settlement rate and in situ stress change), providing a reference for well integrity evaluation in coal mine goafs and filling the gap in wellbore risk assessment.
In terms of cementing and wellbore structure, Zhang et al. [
19] solved the problem of “lost circulation and channeling” during goaf cementing by installing open-hole packers and left-hand thread devices, ensuring effective zonal isolation throughout the wellbore. Aiming at the problem of drilling fluid loss, Li et al. [
20] modified the traditional two-spud wellbore structure into a three-spud structure, improving the wellbore’s anti-leakage capacity by increasing the number of casing layers. Meng et al. [
21] adopted a three-spud wellbore structure combined with slotted casing wall protection technology, realizing effective isolation of aquifers and wellbore stability in oil and gas wells in goafs, and further expanding the application scenarios of the three-spud structure. Liu et al. [
22] innovatively applied a four-spud casing program and composite directional drilling technology, optimizing gas screw drilling tools and nitrogen injection drilling processes, which improved the drilling encounter rate and extraction efficiency, representing an advanced direction in wellbore structure optimization. However, these optimization ideas mostly focus on “passive protection” and fail to design an “adaptive” wellbore structure based on the dynamic characteristics of overlying strata movement in goafs.
In terms of drilling technology and tool innovation, Li [
23] developed a multi-functional liner drilling tool for coal mine goafs, which improved the pressure-bearing, torsion-resistant, and setting performance of casings, providing hardware support for casing safety under complex goaf conditions. To address the challenge of L-type gas extraction wells passing through goafs, Liu et al. [
24] integrated wellbore structure optimization, gas drilling technology, and precise trajectory control technology, achieving safe drilling.
In terms of casing programs and stability evaluation, Lou et al. [
25] calculated leak-prone intervals based on the “upper three zones” and “lower three zones” theories, optimizing the casing program and circulating medium, which effectively resisted the combined stress on casings caused by overlying strata movement in goafs. Pan et al. [
26] applied the bottom cement pre-injection reinforcement technology and constructed a wellbore stability evaluation system combined with catastrophe theory, ensuring the safety of deep well casings. Based on the analysis of casing strength, safety, and pressure relief mechanisms in coal mine goafs, Zhang et al. [
27] provided guidance for wellbore structure optimization and borehole cross-layer design, offering theoretical support for casing strength design. However, these studies mostly target specific well types or single risks (such as lost circulation and trajectory deviation) and fail to establish a systematic optimization design method from the full-chain perspective of “overlying strata movement in goafs-wellbore structure parameters-casing stress response”.
Table 1 summarizes key previous studies that focus on well stability analysis using FLAC
3D or other numerical methods, highlighting their relevance to the current research on wellbore integrity in coal mine goafs.
From the comprehensive review of the aforementioned studies, it can be concluded that progress has been made in the current field regarding the law of overlying strata movement, gas extraction technology, and wellbore structure optimization. However, there are still three key research gaps: (1) Most existing studies focus on the impact of single factors—such as “overlying strata movement”, “gas extraction”, and “wellbore structure”—on casings, while lacking three-dimensional coupled stress analysis of goafs and the “casing-cement sheath-formation” system, making it difficult to reflect the real working conditions of multi-medium interactions. (2) The majority of studies are based on general theories or laboratory simulations, with few integrating the geological characteristics of goafs in specific blocks and on-site measured data. This limits the practical application of research results. (3) The synergistic influence mechanism of goaf characteristics and wellbore structure parameters on casing stress has not been systematically clarified, which hinders the guidance for precise optimization of wellbore structures.
To address these gaps, this study takes the wellbore structure of an oil and gas well in a goaf of Yanchang Gas Field as the research object. It uses FLAC3D software to establish a three-dimensional coupled model of the goaf and the “casing-cement sheath-formation” system. Combined with on-site measured data, a safety analysis of casing stress and strength is conducted. Ultimately, this study reveals the influence of laws of goaf characteristics and wellbore structure on casing stress, providing theoretical support and engineering guidance for the optimized design of oil and gas wellbore structures considering overlying strata movement.
2. Calculation of Overburden Stress in Coal Mine Goaf Areas
As coal seams are extracted, the stress balance in the original rock is disrupted, and the stresses occurring in the rock layers (overburden) above the coal mine goaf areas will be redistributed. In general, overburden stresses arise due to the self-weight of the overburden and can be viewed as an average of the overall overburden stresses or as an accumulation of stresses in multiple layers of overburden. According to the geotechnical theory [
29], the overburden stress generated by the self-weight of the overlying rock layer is:
where
is the stress in the z-direction at the burial depth
H by the self-weight of the overburden, MPa;
is the average weight of the overlying rock mass, kN/m
3;
is the burial depth of the rock unit, m;
is the stress in the x-direction at burial depth
H by the self-weight of the overburden, MPa;
is the stress in the x-direction at the burial depth
H by the self-weight of the overburden, MPa;
is the lateral pressure coefficient;
is the Poisson’s ratio of the rock mass.
Based on the geological section parameters of the study area and on-site engineering data of goaf wells, the stress distribution range of key well sections was clarified. This provides a quantitative basis for the load application and boundary condition setting of the subsequent three-dimensional coupled model of “casing-cement sheath-stratum-goaf”, while establishing a direct connection between stress calculation and wellbore integrity analysis.
Considering the heterogeneity of rock stratum parameters under actual geological conditions, the vertical stress takes the self-weight of the overlying strata as the core load. From Equation (1), the vertical stress range at the key stratum depth of the goaf well is 5.25–5.44 MPa.
Table 2 lists the densities of the key strata in the study area. Per Formula (1), the higher the rock density, the greater the vertical stress it exerts on the underlying strata and wellbores. For instance, at the same burial depth, the vertical stress contribution of black mudstone (with a density of 2530 kg/m
3) is approximately 1.8 times that of the No. 5 coal seam (with a density of 1410 kg/m
3), which directly leads to differences in stress loading on the casing pipes near different strata.
According to the theoretical relationship between Poisson’s ratio and lateral pressure coefficient, when the minimum Poisson’s ratio of the coal seam is 0.20, the lateral pressure coefficient is 0.25; when the minimum Poisson’s ratio of the coal seam is 0.30, the lateral pressure coefficient is 0.43. This range highly overlaps with the K-value range (0.28–0.40) adopted in the research on thick coal seam goafs, which verifies the rationality of the value selection. From Equation (2), the horizontal stress range is 1.32–2.38 MPa. When the Poisson’s ratio of the No. 5 coal seam increases from 0.20 to 0.30, the lateral pressure coefficient rises from 0.25 to 0.43, and the horizontal stress increases from 1.32 MPa to 2.38 MPa. This change causes the rock mass to bear more lateral constraint during vertical stress transmission, thereby altering the stress distribution around the casing—especially reducing the “stress concentration effect” of vertical stress on the surface casing near the coal seam.
If the overburden rock consists of multiple layers of different weights, the thickness of each layer is
hi (
i = 1, 2, …,
n), the weight is
γi (i = 1, 2,…,
n), and Poisson’s ratio is
µi (
i = 1, 2, …,
n), then the initial stress of the rock body at the bottom of the overburden rock in the multi-layer mining area is
To simplify the analysis, it is assumed that the casing, the cement ring, and the borehole are concentric cylindrical structures; it is assumed that the casing, the cement ring, and the inner wall of the borehole are in close contact with each other, i.e., the radial displacement is continuous [
28].
3. Three-Dimensional Coupled Modelling of Well Body Structure in Coal Mine Goaf Areas
At present, the prevailing practice in the field of casing stress analysis in coal mine goaf areas involves the simplification of the analysis to a two-dimensional plane strain model or the establishment of a three-dimensional model of casing-cement ring-strata, as illustrated in
Figure 1. In order to enhance the precision of the analysis, this paper considers the geological factors of the coal mine goaf area. These factors are based on the transfer mechanism of overburden rock movement between strata-cement ring-casing. The paper takes the overburden rock after final mining of the No. 5 coal seam under a No. 1 goaf well of the Yanchang Gas Field Company as an example. The FLAC
3D software was used to establish a three-dimensional coupled model of casing-cement sheath-stratum-goaf. The model was meshed with hexahedral elements, consisting of 369,920 elements and 383,049 grid points. Displacement constraints in the vertical direction (
z-axis) were applied to the bottom surface of the model to simulate the constraint effect of the underlying stratum on the model; displacement constraints in the horizontal direction (
x-axis and
y-axis) were applied to the outer surface of the model to simulate the constraint effect of the surrounding strata on the model. The specifications of the wellbore and casing parameters are delineated in
Table 3. To facilitate comparative analysis and align with the actual on-site working conditions, geotechnical material parameters were selected through on-site in situ monitoring, experimental test data, and rock mechanics parameter handbooks. Based on this, the physical and mechanical parameters of each stratum in the numerical model were determined. The mechanical parameters of the stratum coal and rock are presented in
Table 2.
3.1. Geometric 3D Modelling
As demonstrated in
Figure 2, the distance from the wellbore to the boundary of the stratigraphic model is calculated to be 5 to 8 times the diameter of the wellbore, in accordance with St. Venant’s principle; considering the influence of mobile deformation of the overlying rock in the extraction zone, take the model side length of 10 m, and establish a 10 m × 10 m × 10 m three-dimensional coupling model of the casing-cement sheath-formation-goaf.
The cement ring exhibited a density of 1850 kg/m3, a modulus of elasticity of 10 GPa, a Poisson’s ratio of 0.23, an internal friction angle of 28°, and a cohesion of 4 MPa. The casing demonstrated a density of 7850 kg/m3, a modulus of elasticity of 210 GPa, and a Poisson’s ratio of 0.3.
3.2. Attribute Assignment and Mesh Optimization
In consideration of the movement law of overburden rock and the influence of the coal mine goaf area in the process of coal seam excavation, the differential meshing method is applied to assign the intrinsic attributes and optimize the meshing for the established 3D coupled model: the grid is finely divided for the coal mine goaf area and the cement ring and casing area, and a coarser grid is used for the area far away from the borehole so as to achieve an effective transition of the grid division and improve the grid optimization and computation efficiency of the FLAC3D model. Hexahedral cells are utilized in this mesh configuration. Numerical simulations were conducted to ascertain the trends in the values of the equivalent stress variables. The model consists of 369,920 elements and 383,049 grid points. The Von Mises equivalent stress of the surface casing was tested under different element quantities, and the comparison results show that when the number of elements increases from 350,000 to 369,900, the maximum equivalent stress of the casing changes from 326.2 MPa to 325.9 MPa, with a variation amplitude of only 0.09%, which is far less than the convergence threshold of 1%. Therefore, it can be concluded that further increasing the grid density will not significantly change the calculation results, and the current grid density is the optimal solution.
3.3. Boundary Condition Setting and Load Application
According to the theory of stress evolution in goafs in geomechanics, the stress redistribution of overlying strata after coal seam mining follows the rule of “vertical direction dominance and horizontal direction subordination”. The self-weight of the overlying strata is transmitted to the lower strata in the vertical direction, which serves as the core load, causing casing stress concentration. In contrast, the lateral relaxation stress mainly originates from the elastic deformation of the coal pillars at the goaf boundary, and its magnitude is usually only 0.3–0.5 times that of the vertical overlying strata pressure. For the research object in this study, the vertical overlying strata pressure is 3.64 MPa, and the maximum value of the lateral relaxation stress is merely 1.82 MPa, which is far less than the action intensity of vertical stress on the casing. Therefore, equating the vertical stress to the overlying strata pressure allows us to focus on the impact of the core load on casing stress and avoid excessive model complexity caused by secondary factors. In accordance with Saint-Venant’s Principle, the displacement and stress at the model boundary have decayed to the “original stratum state” beyond the influence range of the goaf. Under such circumstances, applying fixed displacement constraints in the vertical direction and fixed displacement constraints in the horizontal direction will not interfere with the stress transmission law of the goaf-wellbore system.
Displacement constraints in the vertical direction (z-axis) were imposed on the bottom surface of the model to simulate the restraining effect of the lower strata on the model, and displacement constraints in the horizontal direction (x-axis and y-axis) were imposed on the external surface of the model to simulate the restraining effect of the surrounding strata on the model. The z-direction normal stress (generated by the self-weight of the overlying rock formation) is applied at the top of the model to simulate the mechanical action of the surrounding rock on the wellbore by applying a boundary load that is balanced with the original stress state of the formation, eliminating the initial deformation of the rock body and reflecting the mechanical equilibrium state of the actual geological conditions more accurately. The simulated burial depth of the goaf area is 189 m, which can be calculated according to Equation (1): = 19.6 kN/m3, = 3.64 MPa.
3.4. Stress Analysis of Casing with Different Convergence Values
In this numerical simulation study, FLAC
3D software is utilized, with the Mohr–Coulomb principal model employed for the formation and the cement ring, and the elastic principal model utilized for the casing. The simulation flow is depicted in
Figure 3. The software default convergence criterion settings were changed to carry out the Von Mises maximum equivalent stress analysis of the surface casing. As shown in
Figure 4, when the setting values are set to 10
−4, 10
−5, and 10
−6, respectively, the maximum equivalent force of the casing changes from 329.09 MPa to 325.90 MPa. There is then no further change.
As can be seen from the figure, the maximum Von Mises equivalent stress value tends to stabilize as the software’s default convergence criterion setting decreases. The maximum equivalent stress value is 329.09 MPa when the convergence criterion setting value is 10−4 and 325.90 MPa when it is 10−6, with a difference of only 0.98%. Therefore, setting the convergence criterion to 10−4 ensures both accurate and speedy operation.
6. Conclusions
To address the critical issue of wellbore integrity (especially casing strength failure) in oil and gas wells within coal mine goafs—where overburden movement induces severe casing stress concentration and threatens long-term production safety—this study targeted a gas well in the goaf of Yanchang Gas Field, with three fundamental aims: (1) establishing a reliable numerical model to simulate the mechanical interaction between the wellbore and goaf; (2) quantifying the effects of key factors (goaf presence, convergence criteria, casing parameters, cement slurry density) on casing stress; (3) optimizing the wellbore structure to meet industrial safety standards. These aims have been largely achieved: the FLAC3D-based “casing-cement sheath-formation-goaf” 3D coupled model effectively reproduced casing stress distribution under goaf disturbance, and the optimized wellbore structure ensures all casing safety factors comply, providing actionable engineering references for goaf gas well design.
The most striking results from FLAC3D analyses are as follows: (1) Overburden movement causes significant stress concentration near the goaf—surface casing stress in goaf areas is 7–8 times higher than in non-goaf areas, identifying surface casing as the core stress control object; (2) A convergence criterion of 10−4 balances calculation accuracy and efficiency, with the maximum Von Mises equivalent stress of surface casing differing by only 0.98% compared with the stricter 10−6 criterion; (3) Increasing casing layers is more effective in reducing stress than thickening walls or upgrading steel grades: three-layer casing reduces surface casing stress by 23.4% relative to two-layer casing, with safety factors all meeting standards; (4) Cement slurry density of 1800–1900 kg/m3 minimizes casing stress (minimum 325.79 MPa), while densities below/above this range increase stress by 5.1%/4.0%, respectively.
For further studies on similar geoengineering problems, three suggestions are proposed: (1) Incorporate long-term creep behavior of formation rocks (especially coal seams and soft mudstones) into the numerical model, as short-term stress analysis may underestimate long-term casing deformation risks; (2) Extend the model to irregular goaf geometries (e.g., irregularly collapsed goafs in thick coal seams) to improve the adaptability of optimization schemes to complex field conditions; (3) Combine numerical simulation with on-site monitoring (e.g., fiber optic stress sensors installed in casing) to verify the long-term reliability of the optimized wellbore structure and revise model parameters for higher accuracy.
This model still has certain limitations, especially regarding some assumptions adopted in the model, which may underestimate the impacts of joints, bedding planes, and anisotropy in coal seams. Future improvements can be made in three aspects: First, introduce the strain softening model and Burger creep model, obtain post-peak and creep parameters of coal and rock through laboratory tests, and conduct long-term casing stress simulation. Second, based on on-site joint detection and anisotropic mechanical tests, construct a heterogeneous anisotropic model containing a discrete fracture network (DFN) to accurately locate stress concentrations. Third, acquire actual goaf geometric data using 3D laser scanning to establish a multi-goaf coupling model. Meanwhile, combine on-site monitoring with fiber Bragg grating (FBG) sensors to form a “simulation-monitoring-optimization” closed loop, thereby providing more accurate wellbore structure design schemes for different goaf conditions.