1 Introduction

During the construction and operation of underground engineering projects, the rock mass is constantly subjected to the action of an external load, which causes damage to its interior (Munoz and Taheri 2017; Tin and Xu 2021; Bi et al. 2022). This damage accumulates as the stress increases, adversely affecting not only the stability of the surrounding rock during construction but also the long-term operation of the underground engineering facility. In particular, when underground engineering projects are located in a relatively permeable stratum, such as sandstone, the combined action of the increased stress and groundwater flow further reduces the stability of the surrounding rock and the service life of the project, and increases the risk of construction and service engineering. Therefore, the study of real-time damage evolution of sandstones under stress loading is required (Fahimifar and Zareifard 2014).

Sandstone is a common, porous, and brittle natural material. Under the action of load, internal pores and cracks expand, and irreversible plastic deformations occur. Therefore, sandstone characterizes by elastic-plastic damage and the rock easily accumulates damage during external loading, resulting in a nonlinear stress-strain triaxial loading curve. Consequently, triaxial loading is a reasonable and effective loading method for studying the damage evolution of sandstones (David et al. 2012; Sun et al. 2017a).

Researchers have studied the pore structure and fracture evolution of rock materials under loading and other external environmental conditions using many different methods, including scanning electron microscopy (SEM), micro computed tomography (CT), mercury intrusion porosimetry (MIP) (De Castro et al. 2020), mercury injection (Zhang et al. 2017; Zuo et al. 2007; Sun et al. 2017b), acoustic emission (AE) (Liu et al. 2015; Rodriguez et al. 2016), and nuclear magnetic resonance (NMR) (Cheng et al. 2021; Huang et al. 2021). The development of macro- and micro-fractures as rock damage evolves has been extensively studied through experimental and theoretical research based on these testing methods. AE generates transient elastic waves by the rapid release of local strain energy, which allows for global, non-destructive, real-time, and extremely frequent monitoring, making it a good tool for identifying predictors (or more generally, potential precursors) of failure in brittle rocks (Zhang and Zhou 2020a, b). The MIP method can help detect damage in coal samples (Zhao et al. 2022). CT can produce images of the pores and fractures, but usually at a resolution of more than 1 µm (although industrial CT can achieve higher resolution, its cost is a disadvantage) (Meng et al. 2019). Furthermore, fine pore changes and transgranular failure during loading can be observed using SEM (Fang et al. 2018).

Compared with conventional rock mechanics tests, NMR can characterize the size and distribution of pores at the microscopic scale. Moreover, NMR offers a higher precision (pores up to 0.1 nm can be detected) and better economy and convenience than other non-destructive testing methods. In recent years, many researchers have examined the pore structure and physical properties (permeability and porosity) of rocks using conventional NMR. However, the use of NMR to detect in real-time the evolution of pores and fractures as stress increases is rare because of the limitations of the NMR equipment. Therefore, the way pores change and transform under loading conditions is still unclear (Li et al. 2020; Jin et al. 2020; Meng et al. 2021; Wei et al. 2019; Zhao et al. 2020), despite the mechanism of rock pore evolution being fundamental to understanding the damage and failure process of rocks. Consequently, to clearly reveal the evolution law of pores and fractures with stress, we propose using real-time NMR based on a triaxial experimental device, through which the damage evolution process of rocks can be examined from a microscopic point of view. Thus, the entire process of rock damage initiation, evolution, and failure can be determined and the mechanism governing damage in rocks can be revealed. This is of great significance for the safety of underground engineering projects. In the proposed method, pore size distribution (PSD) is characterized by the intensity (amplitude, peak area, and continuity) of the T2-weighted NMR signals (Frosch et al. 2000), so that an increasing NMR signal strength indicates a larger number of pores (Fang et al. 2016). The longer the transverse relaxation time (T2), the larger the pores and the smaller the surface volume ratio (Dunn et al. 2002). In addition, existing studies have shown that coal pores can be divided into three types: micropores, mesopores, and macropores (Tang et al. 2016; Westphal et al. 2005). In this study, the change of the micropores, mesopores, and macropores were determined during the loading process and the rock damage evolution mechanism was analyzed based on a real-time NMR test. Finally, the changes in the pore structure, from rock damage to failure, were determined, thus providing mechanical guidance for improving the safety of underground engineering facilities.

2 Sample Materials and Testing Equipment

2.1 Nuclear Magnetic Resonance (NMR) Principle

NMR has been recently used as an effective method for studying the pore structure and damage evolution in rocks. This phenomenon is based on the relaxation displayed by charged spin hydrogen nuclei of fluids within rock pores when exposed to constant magnetic (CM) and radio frequency (RF) magnetic fields (Li et al. 2020; Jin et al. 2020; Meng et al. 2021; Weng et al. 2021; Zhao et al. 2018; Zhou et al. 2021). When the saturated rock specimen is placed in the CM field, the hydrogen nuclei of the water in the specimen are magnetized and gain a magnetization vector. In such a condition, the application of an RF field triggers NMR. Owing to certain quantum mechanics properties, when the RF field stops acting, the hydrogen nuclei relax. This relaxation produces a signal, whose variation in amplitude can be described by the longitudinal and transverse relaxation times, T1 and T2, respectively (Carette and Staquet 2016; Cai et al. 2013). In NMR tests, owing to its high detection speed, the T2 spectrum is generally used to describe the distribution of pores in rocks. This method is fast, non-destructive, informative, and has a wide measurement range (Zhai et al. 2015) (Fig. 1). The amplitude of the T2 distribution reflects the number of pores of a given size. The larger the amplitude, the greater the number of pores. Therefore, the NMR technique is advantageous for analyzing the pore structure and damage evolution process of porous rock materials. It can reveal the entire process, from damage to failure.

Fig. 1
figure 1

Rock pore classification and research methods (Li et al. 2020)

2.2 Sandstone Sample Preparation

Samples of gray fine sandstone from the Tongchuan area, medium-coarse-grained sandstone from the Jiangsu area, and red coarse sandstone from the Guizhou area were used for testing in this study. The sandstone samples were cylindrical, with a diameter of 25 mm and a height of 50 mm. The rock samples were compact, homogenous, isotropic, and free of fractures and macrocracks. The names, densities, and porosities of the six sandstone samples prepared are listed in Table 1.

Table 1 Basic physical properties of the sandstones

2.3 Experimental Equipment

The experimental setup used to investigate pore development and mechanical properties of the rock samples is shown in Fig. 2. A MacroMR-150H-I low-field NMR system (Niumag Corporation, Suzhou, China) was used to obtain T2-weighted NMR spectra and images during the triaxial compression experiments. The low-field NMR system consisted of a drying oven, NMR device, and triaxial cell, as well as loading, water supply, temperature, and computerized data-acquisition units. The NMR device had a maximum detection range of 150 mm in diameter and 100 mm in length, a magnetic field strength of 0.3 T, and a resonance frequency of 12 MHz. Moreover, it is comprised of an RF coil and a gradient unit that can provide a maximum gradient intensity of 0.15 T/m in the X, Y, and Z directions. To maintain the stability of the device, all the NMR tests were performed at a constant temperature of 32 °C.

Fig. 2
figure 2

Real-time loading and nuclear magnetic resonance equipment (MacroMR-150H-I low-field NMR system)

The triaxial cell was made of non-metallic polymer synthetic materials. Three pressure pumps with maximum capacities of 40, 100 and 40 MPa were used to apply the confining, axial load, and pore pressures, respectively. In addition, the testing system was provided with a temperature unit that can control the experimental temperature in the range of −20 to 100 °C, using fluorinated liquid and an oil bath to respectively lower or increase the temperature.

2.4 Experimental Procedure

Before testing, the sandstone samples were first cooled for 10 h, then vacuum-saturated for 24 h, and finally placed in the triaxial cell of the NMR system after reaching 100% saturation. During the test, first, in situ NMR scans of the sandstone samples were performed. Then, the confining and pore pressures were increased to a predetermined value at a rate of 0.5 MPa/min. Subsequently, axial loading was applied in increments of 5 MPa until reaching 10 MPa and thereafter in increments of 2 MPa at a rate of 0.5 MPa/min; each stress level was maintained for 60 s to perform in situ NMR scans to obtain pore growth, damage evolution and corresponding MRI images. Loading continued until the sample failed. All six sandstone samples (F-1, F-2, M-1, M-2, C-1, and C-2) were identically prepared and loaded under the same confining and pore pressures (2.0 and 1.0 MPa, respectively). The testing procedures for the three sandstone types are shown in Fig. 3.

Fig. 3
figure 3

Schematic diagram of the experimental procedures of the triaxial compression tests and real-time NMR measurements

3 Results and Discussion

3.1 Analysis of T2-Weighted Spectra

According to the relaxation mechanism of NMR, the signal emitted by the fluid in different types of pores in the rock has different relaxation times and is distributed at different positions along the time axis of the T2-weighted spectrum. The development or evolution characteristics of the damage and fractures in sandstone can be determined based on the distribution of the peak values of the T2 spectrum signals (Li et al. 2020). The NMR signal intensity increases with the number of pores (Cai et al. 2013), and a longer T2 indicates larger pores with small large surface-to-volume ratios and vice versa (Zhai et al. 2015). The peak width of the T2 spectrum reflects the distribution of a particular type of pore, whereas the peak area reflects the number of pores of this type. In addition, the smaller the pore size, the shorter the relaxation time, and vice versa. The T2 of the fluid in a porous media can be expressed as

$$\frac{1}{{T}_{2}}=\frac{1}{{T}_{\text{2s}}}+\frac{1}{{T}_{\text{2D}}}+\frac{1}{{T}_{\text{2B}}}$$
(1)

where T2S is the time of surface relaxation of the rock particles, T2B is the relaxation time from the liquid itself, and T2D is the relaxation time caused by molecular diffusion. Considering that surface relaxation plays a decisive role, the above equation can be simplified as follows (Matteson et al. 2000):

$$\frac{1}{{T}_{2}}=\frac{1}{{T}_{\text{2S}}}=\frac{{\rho }_{2}S}{V}={\rho }_{2}\frac{{F}_{S}}{r}$$
(2)

where ρ2 is the transverse surface relaxation strength, Fs is the geometric factor of the pore shape (for tubular pores, Fs = 2), and r is the pore radius.

Although some researchers have studied the relationship between pore size and relaxation time, there are no acknowledged criteria (Zhang et al. 2017; Li et al. 2019). In this study, ρ2 in Eq. (2) was considered to be 5 μm/s (Jia et al. 2020). The ratio of the spectrum amplitude of pores of a specific size to the spectrum amplitude of the entire specimen describes the distribution of pore sizes within the rock. Thus, the T2 spectrum can be converted into a pore size distribution under different treatments, as shown in Fig. 4. The horizontal axis represents the porosity component, and the area enclosed by the curve and the horizontal axis corresponds to the volume of pores or cracks. Based on the relaxation time, Hodot (1966) divided rock pores into micropores (< 1 ms), pores (1–10 ms), mesopores (10–100 ms), and macropores (> 100 ms).

Fig. 4
figure 4

The T2 distribution variation of sandstone: a The T2 distribution of sample C-1; b The T2 distribution of sample M-1; c The T2 distribution of sample F-2

The distribution curves derived from the T2-weighted spectra for the three types of sandstone at different loading stages are shown in Fig. 4. The T2 spectrum variation of the three different types of sandstone shows that the distributions of pore size and quantity are very different. The overall decline in NMR signal intensity varied with the fineness of the sandstone. The location of the first peak, which corresponds to the micropores, moves to the left as coarse grain size. This indicates that among the three types of rocks, fine sandstone has the most micropores, and the pore size is smaller than that of the other two types of sandstone. Furthermore, the peak corresponding to the pores in sample F-2 was the most evident. In general, as the axial loading increased, the NMR signal intensity first slightly decreased and then increased in a nonlinear way. However, for the medium-coarse-grained sandstone and coarse sandstone, the micropore distribution did not significantly change compared with other pore size distributions. For fine sandstone, the change in pore distribution is minimal. This phenomenon indicates that the contribution of the pore structure to the damage evolution of different sandstones differs during the loading process.

In general, four stages can be identified in the stress-strain curves of the tested rock samples at the macro level: compaction, linear deformation, elastic-plastic, and post-peak stages (Bi et al. 2020; Zhou et al. 2019; Kou et al. 2021; Zheng et al. 2021; Zhao et al. 2021). However, from a micro perspective, the smaller pore structure exhibited little change or a small decreasing trend during the loading process. To distinguish the contribution of pore structure changes to the damage evolution, the change in the area of the pore spectral distribution was analyzed. The relationship between the deviatoric stress and area for different sandstones is plotted in Fig. 5. Areas A1, A2, A3, and A4 correspond to the area of micropores, pores, mesopores, and macropores, respectively. As shown in Fig. 5a, area A1 shows small fluctuations, with no significant variation with the increase in deviatoric stress. This indicates that the micropores in sandstone contribute little to rock damage during the loading process. The slight fluctuations were caused by pore compaction and slight pore increase. For the pores and mesopores, the area tended to increase with an increase in loading stress. Especially in the failure stage, the area of the pores and mesopores in the coarse sandstone significantly increased. The increase in the area of the pores and mesopores reached 46.7% and 30.3%, respectively. However, the increments in the area of the pores and mesopores in samples M-1 and F-2 were comparatively small. The increment in sample F-2 was the smallest owing to its initial pore structure. In contrast to the other three pore conditions, the area of the macropores in the three different sandstones significantly increased under the initial loading condition and continued to decrease with increasing loading stress. This indicates that the macropores in sandstone exhibit a large increase only during the initial loading stage, but they play an opposite role in the damage evolution process. This phenomenon is contrary to our expectations and provides a new basis for understanding the evolution of damage in rocks.

Fig. 5
figure 5

Relationship between deviatoric stress and area amplitude for different sandstone: a micropores; b pores; c mesopores; d macropores

3.2 Characteristics of Pore Change

To explain the characteristics of the pore changes described above, crack opening and propagation characteristics were introduced and analyzed. Consider a micro-body in a rock sample with length L and width b that contains an elliptical crack with half-length c and is subjected to compression \(\sigma\) in the longitudinal direction as shown in Fig. 6a. The effective Young's modulus of the micro-body can be defined as (Jaeger et al. 2007):

$$\frac{{\sigma^{2} bL}}{{2E_{eff} }} = \frac{{\sigma^{2} bL}}{2E} + \Delta W$$
(3)
Fig. 6
figure 6

Rock body containing a single crack: a an elliptical crack whose plane makes an angle β with the direction of the loading stress (David et al. 2012); b The critical angles that delineate these three regimes; c damage evolution schematic diagram

where bL is the volume of the body, E is Young's modulus of the unfractured body, and \(\Delta W\) is the excess energy stored in the rock body owing to the presence of fractures or damage.

If the crack is open and the plane in which the crack is located (not its normal vector) is inclined at an angle \(\beta\) with respect to the direction of the applied stress, then the excess energy assuming plane stress can be written as (David et al. 2012):

$$\Delta W_{open} = \frac{{\pi \sigma^{2} c^{2} \sin^{2} (\beta )}}{E}$$
(4)

If instead, plane strain conditions are assumed, E is replaced with \(E/(1 - \upsilon^{2} )\), where \(\upsilon\) is the Poisson’s ratio of the unfractured body. Because \(\upsilon\) did not appear in the case of plane stress, the effective modulus of the rock body containing one crack can be expressed as follows:

$$\frac{E}{{E_{eff} }} = 1 + 2(c^{2} /bL)\pi sin^{2} (\beta )$$
(5)

When the crack closes, its opposing faces contact each other. If next they slide relative to each other, the energy supplied by the loading stress can be written as (David et al. 2012):

$$\Delta W_{slid} = \frac{{\pi \sigma c^{2} }}{E}(\tau - \tau_{f} )sin(\beta )cos(\beta )$$
(6)

In Eq. (6), \(\tau = \sigma \sin (\beta )cos(\beta )\) represents the shear stress resolved along the crack plane, and \(\tau_{f}\) represents the fractional stress along the shear plane.

Finally, if the crack closes but no sliding occurs, it contributes nothing to the energy nor the elastic modulus (David et al. 2012). That is, the effective modulus is not affected by closed non-slipping cracks.

Furthermore, David et al. (2012) proposed a criterion for determining whether a crack is open or closed. The cracks are assumed to be elliptical with an initial aspect ratio (minor axis to major axis) of \(\alpha < 1\). Under idealized conditions, \(\alpha = 0\). The friction coefficient when the crack is closed is \(\mu\).

We define the normal stress on the surface of the crack as the actual normal stress \(\sigma_{n} = \sigma \sin^{2} (\beta )\), where \(\sigma_{c}\) is the normal stress that causes the crack to close and its surfaces to contact each other. When the crack remains open under compressive stress \(\sigma\), then \(\sigma \sin^{2} (\beta ) < \sigma_{c}\). Hence, if \(\beta < \beta_{c}\), the crack is open, and if \(\beta > \beta_{c}\), the crack is closed. The critical crack angle \(\beta_{c}\) and critical crack angle when crack sliding occurs \(\beta_{s}\) can be expressed as:

$$\beta_{c} (\hat{\sigma }) = arcsin\sqrt {1/\hat{\sigma }} ,\;\;\hat{\sigma } = \sigma /\sigma_{c} = 2\sigma /E\alpha$$
(7)
$$\beta > \beta_{s} = \frac{1}{2}\left[ {arccos\left\{ {\frac{{\mu \left[ {1 - \left( {2/\hat{\sigma }} \right)} \right]}}{{\sqrt {1 + \mu^{2} } }}} \right\} + arctan\left( {\frac{1}{\mu }} \right)} \right]$$
(8)

In natural rock materials, microcracks are typically randomly distributed. During the loading process, some cracks opened and some cracks closed, as shown in Fig. 6(b). When the load reached a certain degree, some cracks developed tensile and shear propagation, whereas other cracks did not develop. This phenomenon agrees with the variation of the T2-weighted spectrum of the three types of sandstone, as illustrated in Fig. 6c.

Sandstone is a type of sedimentary rock, composed of a variety of cemented sand grains, with grain diameters of 0.05−2 mm, in which the sand content is greater than 50%. If sand grains composing the rock samples are taken as a system of random particles, then the different pore types, angles, and positions are randomly distributed in the rock samples. Combined with the above theory, it is proven that the pore distribution in sandstone increases significantly under low compression stress (Fig. 5). However, this stress stage is typically considered to correspond to the compaction state of the rock. This phenomenon does not fit the macroscopic stress-strain curve, but the physical properties of sandstone. This is because of the random distribution of microcracks or pores within the sandstone. Furthermore, the area of pores and mesopores increased with increasing deviatoric stress, whereas the area of macropores decreased. This indicates that the number of pores and mesopores increased, whereas the number of macropores decreased. To explain this phenomenon, we introduce the fracture process zone (FPZ) concept. Figure 7 shows typical load-displacement diagrams of the FPZ at different stages of damage evolution. The stress concentration at the crack tip leads to crack propagation; however, owing to the existence of the FPZ, the crack does not appear in the form of macropores but in the form of micropores or mesopores, forming a fracture zone at the crack tip. This further proves the pore-change law observed in this study.

Fig. 7
figure 7

Load-displacement diagrams and Evolution of the FPZ (Jirasek and Bazant 1994): a Load-displacement diagram; b Evolution of the FPZ for a microductile material

3.3 Damage Mode of Sandstone Based on Real-Time NMR Technique

Based on Fig. 5, we know that the damage to sandstone during real-time loading mainly depends on the changes in the pores and mesopores. The increase in macropores is simply a change in the opening. Hence, the damage evolution of sandstone is mainly influenced by the pores and mesopores. Then, the stress-strain relation can be divided into five stages based on the pore-changing law (shown in Fig. 5): pore opening, pore retention, pore compaction, pore growth, and post-peak.

Furthermore, the damage theory proposed by Kachanov points out that the main mechanism of material degradation is the decrease in the effective bearing area caused by defects or fractures in the material. The damage parameters can be expressed as (Kachanov 1958):

$$\phi = \overline{A}/A$$
(9)

where \(\phi\) is the continuum parameter representing the continuity of the rock samples, \(\overline{A}\) is the effective bearing area of the damaged rock samples, and A is the total area of the damaged rock samples.

Based on phenomenological macro statistical damage mechanics and the binary assumption of damaged and undamaged units, the macro damage phenomenon is regarded as the average effect of many microscopic damage units. Uneven micro damage is described by a normal or Weibull distribution, and the damage variable is defined from a macroscopic phenomenological perspective. A statistical constitutive model of rock damage under uniaxial and triaxial compression was established (Yang et al. 2004).

Based on this theory, Rabotnov introduced the damage variable Dn (Rabotnov 1963):

$$D_{n} = \frac{{nA_{0} }}{{kA_{0} }} = \frac{n}{k}$$
(10)

where n is the number of damaged units, k is the total number of units in the rock sample, and A0 is the area of the damaged or undamaged units (which are equal), as shown in Fig. 8.

Fig. 8
figure 8

Structure diagram of rock micro unit

However, it is difficult to obtain the bearing area of the rock samples. Subsequently, many other damage variables are considered with basic rock parameters that can be easily obtained by researchers, such as density, porosity, sound velocity, elastic modulus, and volume (Jin et al. 2020; Meng et al. 2021). However, these physical quantities have significant errors in describing rock damage owing to measurement errors. Hence, using NMR to describe the variation of different pore areas to characterize rock damage is the main method used in this study. Furthermore, based on Eq. (10), the initial damage to the rock samples was considered.

Then, different T2-weighted spectral areas represent different pore contents, and the damage variable Dn can be rewritten as:

$$D_{n} = \frac{{aA_{micro}^{^{\prime}} + bA_{pore}^{^{\prime}} + cA_{meso}^{^{\prime}} + dA_{macro}^{^{\prime}} }}{{aA_{micro} + bA_{pore} + cA_{meso} + dA_{macro} }} - 1$$
(11)

where a, b, c, and d represent the weights of micropores, pores, mesopores, and macropores in the initial rock samples, respectively, Amicro, Apore, Ameso, and Amacro represent the spectral areas of micropores, pores, mesopores, and macropores in the initial rock samples, respectively, and Amicro, Apore, Ameso, and Amacro represent the spectral areas of micropores, pores, mesopores, and macropores in the damaged rock samples, respectively.

Under different stress conditions, the variation coefficient of spectral area corresponding to pore sizes in sandstone is calculated as follows (Meng et al. 2021):

$$V_{i} = \frac{{\sigma_{i} }}{{\overline{x}_{i} }}$$
(12)

where Vi is the variation in the coefficient of the spectral area corresponding to micropores, pores, mesopores, and macropores, \(\sigma_{i}\) is the standard deviation of the spectral area corresponding to micropores, pores, mesopores, and macropores, and \(\overline{x}_{i}\) is the average value of the spectral area corresponding to micropores, pores, mesopores, and macropores.

With this method, a larger coefficient of variation can better reflect the differences in the evaluated units. The weights corresponding to a, b, c, and d are calculated as follows:

$$W_{i} = \frac{{V_{i} }}{{\sum\limits_{i} {V_{i} } }}$$
(13)

In this study, the coefficients of variation of spectral area were calculated under compression conditions. The coefficients of variation of the spectral areas corresponding to the micropores, pores, mesopores, and macropores were 0.011, 0.091, 0.07, and 0.207, respectively, for sample C-1; 0.011, 0.013, 0.044, and 0.189, respectively, for sample M-1; 0.062, 0.01, 0.217, and 0.268, respectively, for sample F-2; 0.028, 0.236, 0.197, and 0.539, respectively, for sample C-1; 0.042, 0.0496, 0.173, and 0.735, respectively, for sample M-1; and 0.111, 0.0186, 0.389, and 0.481, respectively, for sample F-1. However, based on the discussion in Sect. 3.2, the initial sharp increase in the spectral areas of the macropores is not a quantitative manifestation of rock damage. Therefore, a correction factor based on ignoring the rapidly increasing macropore spectral area is considered. When the rock sample failed under compression, the damage variable was Dn≤0. The revised weights of a, b, c, and d corresponding to the micropores, pores, mesopores, and macropores for the samples are listed in Table 2. The damage evolution curves for the different samples are plotted in Fig. 9.

Table 2 Weights of a, b, c and d of corresponding to micropores, pores, mesopores and macropores
Fig. 9
figure 9

Damage evolution curves of different samples

As shown in Fig. 9, the damage variable exhibits a similar pattern to the T2 spectral area signal. The sharp increase resulted from the pore opening. Subsequently, Dn decreases first and begins to increase before the failure stage. When the sample was fractured, Dn exhibited an obvious increase owing to the development of macroscopic cracks. This is because a large number of macroscopic cracks develop along with micro- and medium-sized cracks, resulting in a rapid increase in the damage value of the rock samples at the last stage of loading.

3.4 Fracture of Sandstone

Figure 10 shows the stress-strain curves of the tested sandstone samples during the entire loading process. Four stages are identified in these curves: compaction, linear deformation, elastic-plastic, and post-peak. These are different from the loading stages found in real-time NMR scans based on the pore-changing law: pore opening, pore retention, pore compaction, pore growth, and post-peak. This indicates that in the entire process of the rock compression test, the changes in the microscopic pore structure are quite different from those in the macroscopic stress-strain response, particularly during the initial stage of pore expansion and the compaction stage of macroscopic stress-strain response. Moreover, the peak strength of the sandstone samples ranged from 24.8 MPa for sample C-1 to 42.6 MPa for sample F-2, owing to the differences in pore structure and mineral content.

Fig. 10
figure 10

Relationship between deviatoric stress and strain of sandstone samples: a sample C-1; b sample M-1; c sample F-2

MRI and fracture images of the sandstone samples were obtained during the loading process. Figure 11 shows the failure modes of the tested sandstone samples under triaxial compression loading. The failure mode varied from tensile to shear failure for coarse and fine sandstone samples, respectively. MRI images prior to loading display no obvious fractures in the samples but a large number of micropores. Furthermore, the MRI images showed different pore distributions. The finer the sandstone, the sparser the MRI image point in Fig. 11. The main fracture in the coarse sandstone sample was a tensile fracture in the middle of the sample. The main fracture in the medium-coarse sandstone sample initiated from the side of the sample and formed symmetrical shear cracks. In the fine sandstone sample, the main fracture formed evident local shear cracks at the ends of the sample. This indicates that the micropore structure has a significant influence on the failure mode of sandstone during low-confining-pressure triaxial compression tests.

Fig. 11
figure 11

Failure modes of the tested sandstone samples under triaxial compression loading

4 Conclusions

In this study, real-time T2-weighted NMR spectra and images of different types of sandstone samples were obtained using an NMR test system equipped with a loading device. The following are the main conclusions that can be drawn from the test results:

  1. (1)

    In contrast to the other three pore conditions, the area of macropores in the three different sandstones significantly increased during the initial loading stage and then started decreasing as the loading stress increased. However, they played an opposite role in the damage evolution process, resulting in a phenomenon that is contrary to our expectations and providing a new basis for understanding rock damage evolution.

  2. (2)

    The distribution of pores in the sandstone samples significantly increased under low-compression-stress conditions. However, this stress stage is typically considered to be the compaction stage of the rock. This phenomenon does not fit the macroscopic stress-strain curve, but the physical properties of sandstone. This is because of the random distribution of microcracks and pores within the sandstone. Furthermore, the area of the pores and mesopores increased with increasing deviatoric stress, whereas the area of macropores decreased. This indicates that, as loading progressed, the number of pores and mesopores increased, whereas the number of macropores decreased.

  3. (3)

    A damage model based on the NMR results was proposed. The damage variable Dn shows a pattern similar to that of the T2 spectral area signal. An initial sharp increase resulted from the opening of the pores. Subsequently, Dn decreased and then began to increase again before the failure stage. When the sample fractured, Dn exhibited an evident increase owing to the development of macroscopic cracks.

  4. (4)

    The main failure mechanisms in the coarse, medium-coarse, and fine sandstone samples were, respectively, a tensile fracture in the middle of the sample, symmetrical shear cracks initiated from the side of the sample, and local shear cracks at the ends of the sample. This indicates that the structure of the micropores has a considerable influence on the failure mode of sandstone during low-confining-pressure triaxial compression tests.