Abstract
According to the geological conditions of the study area, the measured data of in situ stress was analyzed and the influence degree of buried depth was obtained. A numerical simulation research model with full consideration of fault structure and surface characteristics is established, and boundary condition functions with variables are used. The neural network optimized by genetic algorithm is used to establish the nonlinear relationship between the measured value and the simulated value of the variable boundary condition, and the optimal boundary condition function is obtained. Finally, the in situ stress in the study area was predicted. Through the analysis of the in situ stress field in the research target area, the stress boundary conditions are provided for the follow-up study, and the practical basis for the division of the dangerous area of the surrounding rock of the deep and long tunnel is provided.
1. Introduction
For tunnels coal mines and other deep buried underground projects, the initial in situ stress field is the result of vertical load and tectonic stress [1]. At the same time, the initial stress field also determines the mechanical properties of engineering rock mass after excavation to a large extent [2, 3]. The study of initial in situ stress field can provide basis for later engineering support dangerous area evaluation and construction mode selection. At present, the research of in situ stress field mainly includes regression analysis, boundary load, function back analysis, and intelligent inversion method based on neural network technology [4, 5].
However, for mountain tunnels, the in situ stress is mainly measured. The results of in situ stress inversion are not rich; in particular, the research on the distribution characteristics of in situ stress under the influence of faults is relatively scarce [6]. Although the measured in situ stress can better reflect the occurrence of the real in situ stress, its cost is high and it cannot fully reflect the characteristics of the overall in situ stress in the study area [7].
Due to the appearance of faults and other structural zones, the distribution of initial in situ stress field is uneven. In particular, the stress concentration near the fault is more prominent. The formation of fault is the fracture structure produced by the action of geological tectonic movement [8–10]. In particular, reverse faults are mainly formed by horizontal compression and gravity. The stress concentration of the fault is more obvious [11].
However, the finite element method and the finite difference method are more convenient to simulate the continuous medium but are not good at simulating fault structure. The three-dimensional discrete element method (3DEC) is a kind of discrete element method which can directly calculate the dislocations of faults. It is possible to simulate faults and other fault structures [12, 13].
In this paper, a numerical model with faults is established according to the geological characteristics of the study area and then a neural network inversion model based on genetic algorithm is proposed. According to the numerical calculation data and the inversion model, the independent variables in the boundary conditions are used as training samples and the accurate boundary conditions are obtained, and then the distribution characteristics of the initial in situ stress field in the tunnel area are analyzed.
2. Project Overview
2.1. Geological Survey
Jingzhai tunnel is the administrative region of Jinghong City, Yunnan Province, as shown in Figure 1. The total length of the tunnel is 9509 m and the maximum buried depth of the construction tunnel is 711 m. The area is covered with clay coarse breccia soil and colluvial gravel soil. Underlying bedrock is shale with mudstones and stonelime porphyryba saltcoal line fault breccia. Mamaoxiaozhai gabuto fault: strike is about N10° to 30° W and it extends in wavy curve. The line intersects with the fault surface and the included angle is about 58°. The strike of the strata is parallel to the fault line which is characterized by compressional reverse fault. The width of the fault fracture zone is about 20 m with strong cataclastic alteration rhombic structure wrinkling dikes and scratches. The main components of fault breccia are breccia mudstone and a small amount of mylonite. The hanging wall near the line is the Middle Triassic Bangsha formation and the footwall is the upper Permian Longtan Formation and the lower Permian Maokou Formation. The fault is a large angle oblique line and is located near the line which has a great impact on the tunnel.

(a)

(b)
2.2. In Situ Stress Measurement Characteristics
In the geological exploration stage of the tunnel, in order to fully understand the distribution of in situ stress in the tunnel area, five in situ stress test boreholes are arranged along the Jingzhai tunnel, and the test data are shown in Figures 2 and 3. It is especially pointed out that, due to the broken rock mass, the corresponding test data cannot be obtained in the borehole near the fault. It is especially pointed out that, due to the broken rock mass, the corresponding test data cannot be obtained in the borehole near the fault [14–16].


According to the in situ stress test results of single hole hydraulic fracturing, it is shown that the maximum horizontal principal stress and the minimum horizontal principal stress increase with the increase of burial depth, and the relationship is approximately linear.
The maximum horizontal principal stress direction is all located in NW direction, which is basically consistent with the maximum principal stress direction of regional tectonic stress field [17–19]. The average value of the ratio of the maximum horizontal principal stress to the minimum horizontal principal stress is 1.75; and the maximum value is 1.92. According to Mohr-Coulomb strength theory, the difference between the two principal stresses is shear stress, and the failure of rock mass is usually caused by shear failure. There is a large shear stress in the horizontal plane, which must be paid enough attention. The variation of maximum and minimum horizontal principal stress with hole depth and the fitting curve are shown in the five following equations:
In the formula, is the maximum horizontal principal stress, is the minimum horizontal principal stress, and is the buried depth.
3. Numerical Calculation Model and Parameter Selection
3.1. Numerical Modeling
The three-dimensional model of regional in situ stress analysis established in the three-dimensional discrete element numerical software 3DEC is shown in Figure 4. The model coordinate system is the same as the geodetic coordinate system; that is, the east direction is the X direction of the model, the north direction is the Y direction of the model, and the vertical direction is the Z direction of the model. The range of the model is 13 km from east to west and 6 km from north to south. In the numerical model, 2600 × 1200 grids are divided according to the total hexahedron. The tectonic stress boundary is considered around the model, and the fixed constraint boundary is adopted at the bottom of the model. Mohr-Coulomb model is used for mesh and Coulomb slip model is used for joints.

3.2. Parameter Selection
According to the numerical simulation data and the actual situation of the study area, the deep rock mechanics parameters suitable for regional tectonic calculus are determined as shown in Table 1. Through GSI parameters, the classification index is converted to rock parameters, and Table 2 is obtained. The Coulomb sliding joint model is used to simulate the interface of fault structure. The normal contact stiffness is 27 GPa/m, the tangential contact stiffness is 5.8 GPa/m, and the contact friction coefficient is 0.53.
3.3. Boundary Conditions
The boundary condition considering depth is established. The vertical stress load is approximated to the weight of overlying strata. According to the research results of Hoek-Brown stress distribution in the world, the ratio λ of horizontal stress to vertical stress is linearly related to the reciprocal of depth, so the horizontal boundary condition in X direction is , where k, a, b, and c are the independent variables. The y direction horizontal boundary condition is , where the independent variable ω is the ratio of Y direction horizontal stress to X direction horizontal stress. The shear stress parallel to the boundary is applied to the boundary condition to simulate the loading of tectonic stress on the boundary , where is the independent variable.
4. In Situ Stress Inversion Calculation
4.1. BP Neural Network Optimization Based on Genetic Algorithm
BP neural network based on genetic algorithm can optimize the initial weights and thresholds [20]. The neural network consists of three parts: BP neural network structure, genetic algorithm optimization, and neural network prediction. In this case, the boundary conditions need to be fitted, and the input parameters are 6; the output parameters include the maximum horizontal principal stress and the minimum horizontal principal stress. The structure of neural network is selected as 6 nodes in input layer, 7 nodes in hidden layer, and 2 nodes in output layer. The number of weights is calculated by multiplying the number of input layer nodes by the number of hidden layer nodes and multiplying the number of output layer nodes by the number of hidden layer nodes to add 56 weights. The number of hidden layer and output layer nodes is added to 9 thresholds.
The independent variables in the boundary conditions are selected as the input samples of the neural network, and the difference between the simulated values and the measured values is taken as the output samples of the neural network [21, 22]. A neural network based on genetic algorithm is constructed. The trained neural network is used. According to the optimization analysis of the parameters in the neural network, the boundary condition variable value is output when the difference between the measured value and the simulated value is 0, and the distribution of the in situ stress field in the study area is obtained. The flow chart is shown in Figure 5.

4.2. Inversion Training and Results
4.2.1. Inversion Training
According to the difference between the simulated value and the measured value under the boundary conditions of different variables, the absolute values of all the measured points are added up [23–25]. The smaller the value is, the closer the boundary condition is to the real situation. The optimal boundary conditions are obtained by analysis. 25 simulation results are learned and analyzed in this area, and the simulation results are shown in Table 3.
According to the above samples, machine learning is carried out and the values of various factors are adjusted continuously. Finally, the boundary condition closest to the measured value is obtained: ; H is the burial depth. The horizontal boundary condition in Y direction is applied: . The loading of simulated tectonic stress on the boundary is as follows: .
4.2.2. In Situ Stress Field Analysis
The maximum horizontal principal stress is the resultant stress in X direction and Y direction. According to the calculation, the in situ stress value obtained by inversion analysis is close to the measured stress value, and the obtained inversion regression stress field can express the main characteristics of the in situ stress field in the engineering area.
The in situ stress information obtained by inversion is shown in Figures 6–8. It can be seen from the figure that the horizontal stress in the X direction of the whole model area is basically close to the horizontal stress in the Y direction, so the direction of the maximum principal stress is approximately NW45, which is basically close to the measured value.



According to the numerical calculation results, the tunnel buried depth, valley, and fault zone have great influence on the in situ stress. The vertical stress is proportional to the buried depth. The horizontal in situ stress also increases with the increase of burial depth. In the fault area, the in situ stress shows obvious discontinuity, the in situ stress value of the broken surrounding rock in the fault is small, the hanging wall forms the stress concentration area, and the footwall forms the stress relaxation area.
The vertical stress of Jingzhai tunnel near the fault area is 17∼18 MPa, the horizontal stress in X direction is 9∼10 MPa, the horizontal stress in Y direction is 10∼11 MPa, and the maximum horizontal principal stress is 13.5∼14.8 MPa. Due to the influence of faults, the properties of surrounding rock in this area are crossed, and large deformation of surrounding rock is easy to occur. According to the in situ stress, it is considered that the dangerous section in the large deformation area of the tunnel is buried more than 500 m and the fault area is 200 m.
5. Conclusion
The measured in situ stress shows that the in situ stress in Jingzhai tunnel area is high and there is a large difference between the maximum horizontal principal stress and the minimum horizontal principal stress, and the shear stress is high. A three-dimensional numerical model is established according to the terrain characteristics, and the influence of fault structure on in situ stress is considered. By establishing the boundary conditions of the numerical model with free variables, the errors between the simulated and measured values of in situ stress under different boundary conditions are analyzed.
Through the neural network model based on genetic algorithm optimization, the optimal boundary conditions are analyzed. According to the boundary conditions, the distribution of the whole in situ stress is analyzed. There is a significant relationship between in situ stress distribution and burial depth. Faults also have a significant effect on the distribution of in situ stress. In the process of construction, the buried depth of more than 500 m and the fault area of 200 m should be divided into large deformation dangerous area.
Data Availability
The data are available and explained in this article; readers can access the data supporting the conclusions of this study.
Conflicts of Interest
The author declares that there are no conflicts of interest.
Acknowledgments
The author gratefully acknowledges the funding provided by Shanxi Provincial Science and Technology Program ([2018]1056).