1 Introduction

With the increasing demand for geological resources, studying the mechanical properties and behavior of rocks has attracted great interest [1]. Red sandstone, a common sedimentary rock, is very valuable in a variety of fields such as energy development, underground engineering, and geological hazard management. Nonetheless, the execution of a project is greatly impacted by the existence of groundwater. In particular, groundwater is usually acidic due to the presence of chemical ions and is more acidic in areas where acid rain is frequent [2, 3]. Acid corrosion of the rock causes a progressive deterioration of its mechanical and physical qualities, or even its complete destruction [4, 5]. The variation of energy and strength during rock failure process is related in some way, and this energy evolution law can accurately capture the nature of failure as well as the variation in rock strength under load [6, 7]. For this reason, understanding the mechanical properties and energy evolution laws of red sandstone under acid corrosion conditions is crucial to ensure the long-term viability of underground engineering.

The evolution mechanism of rock damage and the shifting patterns of mechanical properties resulting from chemical reactions have been the subject of extensive research in recent years. Huang et al. [8] examined the mechanical parameter deterioration patterns in limestone subjected to acid corrosion and analyzed the mechanism underlying the deterioration of acid-attacked limestone's strength. Cao et al. [9] studied the effect of chemical corrosion by water on the dynamic mechanical properties of rock by using the SHPB compression bar test system. Based on triaxial compression tests, Chen et al. [10] examined the changes in physical and mechanical parameters in red sandstone following corrosion by acid solutions with varying pH values. Li et al. [11] explored the effect of acid solution corrosion time on the physical and mechanical properties of sandstone, derived damage variables for acid-corroded sandstone, and quantitatively assessed the degree of damage. Huo et al. [12, 13] investigated the variations in peak strength, elastic modulus, and mass loss rate in sandstone following acid corrosion using uniaxial compression tests and CT scans. Bai et al. [14] investigated the corrosive effect of an acidic environment on red mud–fly ash cementitious materials, which offered theoretical support for the application of red mud–fly ash cementitious materials in complex stratigraphic environments. Zhang et al. [15] investigated the chemical weathering process of silicate rocks and analyzed the factors causing the formation of carbonate deposition from a chemical reaction perspective.

The mechanisms of rock corrosion in acidic environments are not well documented in the literature, so more research is still needed. The process of rock deformation and destruction involves the dissipation and the release of internal energy [16, 17]. The fractal dimension of a damaged rock provides a quantitative description of its damage [18, 19]. Wu et al. [20] investigated the evolution of the energy and the storage characteristics of red sandstone during the loading and destruction process. Meng et al. [21] examined the influence of confining pressure and temperature on the evolution of energy through triaxial cyclic loading and unloading tests on rock. Yang et al. [22] studied the relationship between energy dissipation and rock fragmentation degree by performing the impact compression test. Gong et al. [23] quantitatively studied the energy dissipation characteristics of rock materials during dynamic tensile damage by conducting a dynamic Brazilian disk test on red sandstone with the SHPB device. The fractal characteristics of rock fragmentation indicated the degree of rock fragmentation and the distribution of the size of the block, while the dissipated energy indicated the effective work of crushed rock. The energy dissipation law of the rock is directly related to the fractal characteristics of fragmentation [24,25,26]. Wang et al. [27] conducted experiments to test the energy dissipation density of the rock at various strain rates and analyzed the relationship between the fractal dimensions and the energy dissipation characteristics. Chai et al. [28] employed geometric and microscopic fractal methods to analyze the energy dissipation characteristics of rock cracks and studied the process of initiation, distribution, and expansion of rock cracks. Tian et al. [29] performed rock fracture simulation experiments on granite specimens and analyzed the fractal characteristics of the resulting fragments. The energy mechanism and fracture fractal features of rock damage have been greatly improved by these research findings, but little is known about the energy dissipation law and the fracture fractal features of rock under acid corrosion. Subsequent research in this field is therefore crucial and can offer insightful information for the prevention and control of underground geotechnical hazards in acid rain-prone areas.

This study examined the mechanical property degradation of red sandstone corroded by different acid solutions by using uniaxial compression test, AE monitoring technique, and X-ray diffraction test. The change in the characteristic parameters of AE was analyzed, and the causes of the internal structure degradation of red sandstone from the standpoint of the corrosion mechanism were explored from the perspective of corrosion mechanism. The study also integrated energy dissipation theory and fractal theory to examine the energy dissipation law and the fragmentation fractal characteristics of red sandstone during the destruction process. The findings of the study offer a theoretical basis for hazard prevention and control in underground geotechnical engineering projects situated in acid rain-prone areas.

2 Test content and Program

2.1 Red Sandstone Preparation

The rock specimens used for the test were taken from Yunnan Province, China, which is known for its widespread red sandstone and high acid rain intensity. To ensure accurate test results and minimize sampling errors, all rock specimens were collected from the same rock mass. X-ray diffraction was used to test and analyze the mineral composition of these rock specimens. The major minerals found in these specimens included quartz, potassium feldspar, sodium feldspar, and calcite. The mineral content of the rock specimens is listed in Table 1.

Table 1 Mineral content of rock specimens

The rock specimens were prepared with a two-step approach. Firstly, the rock block was crushed mechanically in the field. A 50-mm diameter cylinder was then drilled out of the rock block using a core drilling machine. A 100-mm high cylinder was then made from the core using a cutting machine. Following the guidelines of the International Society for Rock Mechanics (ISRM), the specimens were shaped into standard cylinders with a height of 100 mm and a diameter of 50 mm. To ensure accuracy and minimize errors, rock specimens were carefully selected from large rock masses that had no visible cracks. After coring, the specimens were subjected to a thorough inspection to exclude specimens with surface cracks or spalling. In addition, the specimens were carefully ground with a grinding machine, which ensured that the non-parallelism between the two end faces of the specimens was less than 0.02 mm and the non-perpendicularity between the end faces and the sides was also less than 0.02 mm.

2.2 Preparation of Acidic Solutions and Specimens Corrosion

The experiment used sulfuric acid, a key ingredient of acid rain, to simulate an acid environment. The aim was to study the degradation pattern of red sandstone under acidification conditions. Sulfuric acid solutions with pH values of 1, 3, and 5 were prepared by mixing distilled water and concentrated sulfuric acid in specific proportions. To ensure a complete reaction between the acidic solution and the specimens, the specimens were immersed in the solution and corroded for 30 days. Four groups of red sandstone specimens were prepared for the experiment. One group was kept under natural condition, while the remaining three groups were corroded in sulfuric acid solutions with pH values of 1, 3, and 5 for 30 days. The pH of the acid solution was monitored regularly with a pH test pen to maintain the preset pH. The pH of the solution was maintained by topping up the sulfuric acid solution. Figure 1 presents the red sandstone specimens under different corrosion conditions.

Fig. 1
figure 1

Red sandstone specimens under different corrosion conditions

2.3 Test Equipment and Method

A displacement-controlled mode with a loading rate of 0.06 mm/min was used to conduct uniaxial loading tests using the ZTRE-210 microcomputer-controlled rock triaxial testing system. AE data were collected during the uniaxial compression of red sandstone specimens using a Micro-II Express Digital Acoustic Emission monitoring system. A fixed threshold of 40 dB and a sampling rate of 1 MHz were set for the system. The uniaxial loading system and the AE recording system are illustrated in Fig. 2.

Fig. 2
figure 2

Test equipment

A total of six sensors were employed in the experiment to improve signal acquisition and precisely localize acoustic emission events. These sensors were set up in two layers, with three sensors per layer positioned in the plane at 120° angles. The upper and lower sensors were positioned in a straight line, 15 mm away from the corresponding upper and lower end faces. Figure 3 displays sensor layouts for rock AE tests.

Fig. 3
figure 3

Rock specimens test diagram

3 Test results and Analysis

3.1 Mechanical Character Analysis

Three rock specimens were chosen, and each underwent varying conditions of corrosion. The mechanical parameters of these specimens were determined through uniaxial compression tests, and the results are presented in Table 2. The rock specimen selected for further analysis was the one whose compressive strength was closest to the average value among each group of specimens. As demonstrated in Table 2, the specimens under natural condition, pH = 5, pH = 3, and pH = 1 corrosion conditions were labeled as T-1, T-5, T-7, and T-12, respectively. The stress–strain curves are displayed in Fig. 4.

Table 2 Mechanical parameters of the rock specimens
Fig. 4
figure 4

Stress–strain curves of rock specimens under different corrosion conditions

The test results indicated that the uniaxial compressive stress–strain curves of the specimens after corrosion under different acid solution conditions were similar to those under natural condition. These curves could be divided into three stages: compression stage, elastic stage, and plastic stage. In the compression stage, the stress–strain curves of the specimens under natural condition had a concave portion shorter than those of the specimens after corrosion in an acid environment. Moreover, the concave portion of the curve lengthened with the increased acidity of the corrosive solution. Simultaneously, the slope of the stress–strain curve decreased as the acidity of the corrosive solution increased.

The relationship between stress, strain and elastic modulus of rock specimens under different corrosion conditions are displayed in Fig. 5. Further analysis revealed that the peak stresses of the specimens subjected to corrosion under different acid solution conditions (natural, pH = 5, pH = 3, and pH = 1) were 70.89, 52.34, 38.96, and 34.43 MPa, respectively. This corresponded to a discount rate of 26.17%, 45.04%, and 51.43% compared to the specimens under natural condition. Likewise, the elastic modulus of the specimens corroded by different acid solutions was 45.7, 37.8, 30.5, and 28.2 GPa, with discount rates of 34.64%, 52.83%, and 56.87%, respectively. These findings indicated a gradual decrease in the compressive strength and elastic modulus of the rock specimens as the acidity of the corrosion solution increased. Furthermore, the peak strains of the specimens under natural condition, pH = 5, pH = 3, and pH = 1 acid solution corrosion conditions were 3.31 × 10–3, 3.68 × 10–3, 3.94 × 10–3, and 4.12 × 10–3, respectively. This suggested that the peak strains of the specimens increased with the increasing acidity of the corrosion solution.

Fig. 5
figure 5

Relationship between stress, strain and elastic modulus of rock specimens under different corrosion conditions

Extensive analysis revealed that the mineral constituents of the red sandstone specimen underwent physical and chemical reactions with the acid solution. This led to the penetration of the solution into the internal pores of the specimen, forming a water film on the surface of the mineral particles. As a result, the bond between the mineral particles was weakened by the generation of pore water pressure. Furthermore, the minerals in the rock specimen also underwent a chemical reaction with the acid solution, which caused the minerals to dissolve and precipitate. Because of this, the elastic modulus and load-bearing capacity of rock specimen decreased, but its peak strain and plastic deformation capacity increased.

3.2 Characterization of Acoustic Emission

To study the development of internal microscopic defects and cracks in red sandstone corroded by various acid solutions, the intensity of AE events was quantitatively analyzed. This analysis involved capturing the AE ringing count and the cumulative AE count to assess the degree of damage to red sandstone under different corrosion conditions. The variation of the characteristic parameters of AE with various pH values of the corrosion solution during the deformation and damage process of the specimen are shown in Fig. 6. Notably, the AE ringing count in the compression and elastic stages was significantly lower than that in the plastic stage. Therefore, to better describe the AE characteristics of each stage, the AE ringing counts in the compression and elastic stages were scaled-up with respect to time and were represented by the Zone I.

Fig. 6
figure 6

Variations of acoustic emission ring count (cumulative ring count) of rock specimens under different corrosion conditions

During the compression stage, the initial defects in the rock specimens were compacted and closed under load. The cumulative AE ring numbers at the end of the compression stage of the specimens were 7.5 × 104, 1.4 × 105, 1.7 × 105, and 2.9 × 105 for the natural condition, pH = 5, pH = 3, and pH = 1 acid solution corrosion conditions, respectively. The cumulative ring number increased with increasing acidity of the corrosion solution. Examining the zoomed-in view of the AE ringing count in Zone I revealed that the specimens under natural conditions exhibited lower ringing counts during the compaction stage compared with those corroded by the acid solution. This difference was attributed to the chemical reaction between the internal mineral components of the rock specimens and the sulfuric acid solution during acid corrosion. This reaction led to the decomposition and precipitation of the mineral components, causing the defects inside the specimen to enlarge. These enlarged defects were then frictionally closed during the loading process, resulting in the strong AE signals. Furthermore, the AE signal became stronger as the acidity of the corrosion solution increased.

During the elastic deformation stage, the AE ringing count and cumulative ringing count of the specimens experienced a gradual increase in both under natural condition and corrosion with acid solutions. This was attributed to the closure of internal defects and the improved integrity of the rock specimens after the compression stage. This meant that crack development remained at a low level, leading to a lower AE ringing count.

During the loading process, the specimens underwent a plastic stage in which the AE ringing counts started to increase. These counts remained at a high level until the specimen was destroyed, with the cumulative ringing counts rapidly increasing and peaking at the time of specimen destruction. The cumulative ringing counts for the specimens under different corrosion conditions were 13.87 × 106, 11.55 × 106, 9.95 × 106, and 8.94 × 106 for natural, pH = 5, pH = 3, and pH = 1 corrosion conditions, respectively. As the acidity of the corrosion solution increased, the cumulative ringing counts decreased, and the duration of the high-level AE ringing counts also decreased. This suggested that corrosion deteriorated the internal structure of rock specimens, reducing the energy required for deformation and increasing their plasticity.

3.3 Analysis of Acid Corrosion Mechanism

Both the mineral composition and the nature of cement of the rocks affected their mechanical properties. The mechanical properties of red sandstone corroded by acid solutions deteriorated due to a complex process involving various physicochemical effects.

Certain voids were formed in the natural rock by physical action. A water film formed on the mineral particles as a result of the acid solution’s entry into these voids. This water film increased the pressure of water inside the voids, reducing friction and contact between the mineral particles. On the other hand, as the chemical reaction proceeded, the action minerals within the rock continued to dissolve and precipitate. This ultimately led to an increase in the void space of the specimen, a gradual weakening of the bond between the mineral particles, and a deterioration in the mechanical properties.

The red sandstone specimens contained mainly quartz (SiO2), potassium feldspar (KAlSi3O8), sodium feldspar (NaAlSi3O8), and calcite (CaCO3). These ions in the sulfuric acid solution that contained a large amount of H+ and SO42− were involved in the following chemical reactions during the corrosion phase.

$${{\text{KAlSi}}}_{3}{{\text{O}}}_{8}+4{{\text{H}}}^{+}+4{{\text{H}}}_{2}{\text{O}}\to 3{{\text{H}}}_{4}{{\text{SiO}}}_{4}+{{\text{K}}}^{+}+{{\text{Al}}}^{3+}$$
$${{\text{NaAlSi}}}_{3}{{\text{O}}}_{8}+4{{\text{H}}}^{+}+4{{\text{H}}}_{2}{\text{O}}\to 3{{\text{H}}}_{4}{{\text{SiO}}}_{4}+{{\text{Na}}}^{+}+{{\text{Al}}}^{3+}$$
$${{\text{CaCO}}}_{3}+2{{\text{H}}}^{+}\to {{\text{Ca}}}^{2+}+{{\text{H}}}_{2}{\text{O}}+{{\text{CO}}}_{2}\uparrow $$
$${{\text{Ca}}}^{2+}+{{\text{SO}}}_{4}^{2-}\to {{\text{CaCO}}}_{3}\downarrow $$

The internal microstructure of rock specimens was altered as a result of these chemical reactions that destroyed the rock particles, crystals, and their bonds. From a macroscopic perspective, the compressive strength and elastic modulus of rock specimens decreased while the peak strain increased, indicating a degradation of the mechanical properties. Furthermore, the cumulative AE ringing counts suggested that chemical corrosion also affected the internal structure of the rock specimens, lowering energy required for deformation and raising their plasticity.

4 Analysis of Energy Evolution of Rock Specimens

4.1 Principle of Energy Calculation

It was assumed that the specimen did not exchange heat with the outside during the loading process, i.e., the specimen was in a closed system. The first law of thermodynamics states that the total input energy generated by the work done on the specimen by the outside is given by

$$U={U}^{e}+{U}^{d}$$
(1)

where \({U}^{d}\) is dissipated energy and \({U}^{e}\) is elastic strain energy. The stress–strain relationship curves of the rock specimen and the relationship between dissipated energy \({U}^{d}\) and elastic strain energy \({U}^{e}\) are displayed in Fig. 7.

Fig. 7
figure 7

Relationship between elastic strain energy and dissipated energy of rock specimen

The energy of each part of the unit rock is expressed in the principal stress space as

$${U}^{e}=\frac{1}{2}{\sigma }_{1}{\varepsilon }_{1}^{e}+\frac{1}{2}{\sigma }_{2}{\varepsilon }_{2}^{e}+\frac{1}{2}{\sigma }_{3}{\varepsilon }_{3}^{e}$$
(2)

where \({\sigma }_{1}\), \({\sigma }_{2}\), \({\sigma }_{3}\) are the stresses in the three loading directions; \({\varepsilon }_{1}^{e}\), \({\varepsilon }_{2}^{e}\), \({\varepsilon }_{3}^{e}\) are the elastic strains corresponding to the stresses.

Following the Hooke’s law:

$${U}^{e}=\frac{1}{2E}\left[{\sigma }_{1}^{2}+{\sigma }_{2}^{2}+{\sigma }_{3}^{2}-2\nu \left({\sigma }_{1}{\sigma }_{2}+{\sigma }_{2}{\sigma }_{3}+{\sigma }_{1}{\sigma }_{3}\right)\right]$$
(3)

where \(E\) is the initial elastic modulus; \(\nu \) is the Poisson's ratio. For uniaxial compression test, the calculation formula of the elastic strain energy \({U}^{e}\) can be simplified as

$${U}^{e}=\frac{{\sigma }_{1}^{2}}{2E}$$
(4)

The total energy \(U\) can be calculated as follows:

$$U=\int {\sigma }_{1}d{\varepsilon }_{1}=\sum_{i=1}^{n-1}{\int }_{{\varepsilon }_{i}}^{{\varepsilon }_{i+1}}{\sigma }_{i}d{\varepsilon }_{1}=\sum_{i=1}^{n-1}\frac{{\varepsilon }_{i+1}-{\varepsilon }_{i}}{2}\left({\sigma }_{i+1}+{\sigma }_{i}\right)$$
(5)

where \({\sigma }_{i}\) and \({\varepsilon }_{i}\) are the stress and strain values at each point on the stress–strain curve of rock specimen, respectively. Therefore, the dissipated energy of rock specimen during deformation and destruction process can be obtained as

$${U}^{d}=U-{U}^{e}$$
(6)

4.2 Energy Evolution Characteristics

The study of the law of energy change in the rock loading process and its relationship with strength and damage is important to understanding how the rock strength changes under loading and the nature of its damage. Total energy, elastic strain energy, and dissipated energy of the specimen during deformation and destruction process under different corrosion conditions were calculated using the formula mentioned above. Since the rock specimens in this study were brittle rocks, the stage after the peak was not well defined. Therefore, this paper focused on the calculation and analysis of energy of rock specimens up to their peaks. The energy change pattern and stress–strain curves of rock specimens under different corrosion conditions are presented in Fig. 8.

Fig. 8
figure 8

Energy evolution curves of rock specimens under different corrosion conditions

Total energy, elastic strain energy, and dissipated energy in the compression stage encountered a gradual increase. Frictional closure caused the microcracks within the specimen to gradually close at the same time. Consequently, the majority of the energy that the rock specimens absorb was transformed into dissipated energy. The stress–strain curve had a small slope because the cracks inside rock specimen were compacted and closed. The area between the stress–strain curves and the coordinate axis can be used to compute total energy. Since the slope was small in the compression stage, the total energy grew slowly. Plastic deformation made up the majority of the deformation in this stage, whereas elastic deformation mostly happened in the elastic stage. Therefore, the elastic strain energy grew slowly during the compression stage. The closure of internal microfractures in the rock specimens was the primary cause of the energy that dissipated during the compression stage. The closure of internal microfractures required less energy than the formation and expansion of cracks in the plastic stage. As a result, the dissipated energy during this stage was small and grew slowly. Toward the end of the compression stage, the dissipated energy growth rate of rock specimens under natural condition started to decrease. However, the dissipated energy growth rate of rock specimens after corroding in the acid solution did not exhibit a decreasing trend. In fact, these phenomena became more pronounced as the acidity of the solution increased. This was due to the fact that the integrity of the internal structure of rock specimens in their natural state had been improved after the compression stage. Because of this, there was little increase in dissipated energy during the subsequent elastic stage, with elastic strain energy making up the majority of the total energy. On the other hand, rock specimens maintained under acid solution experienced corrosive effects, leading to the formation of more microdefects and deterioration of the internal structure. These cracks and defects contributed to friction, sliding, and generation of new cracks, resulting in a higher dissipated energy. Consequently, the growth rate of dissipated energy remained unchanged even after the compression stage.

The rock specimen mostly accumulated elastic strain energy during the elastic stage. Under natural conditions, the growth rates of total energy and elastic strain energy initially overlapped and produced overlapping curves. Total energy was predominantly the elastic strain energy, with minimal dissipated energy. However, the curves of total energy and elastic strain energy started to diverge when rock specimens were subjected to acid corrosion in different acid solutions. The degree of separation increased with the acidity of the maintenance solution, and the dissipated energy kept rising steadily during this stage.

Under both natural and acidic solution conditions, the energy evolution trends of rock specimens during the plastic stage were similar. During this stage, the internal cracks developed and penetrated rapidly, leading to an increase in irreversible plastic deformation and dissipated energy. However, the elastic strain energy increased at a slower rate. As the damage stage approached, the cracks further developed, resulting in the formation of a fracture surface. This was the point at which the elastic strain energy reached its maximum energy storage capacity, leading to a rapid increase in the corresponding dissipated energy and immediate total damage.

4.3 Effect of Corrosive Solutions on Energy Evolution

The relationship between the peaks of each energy of rock specimens under different corrosion conditions is displayed in Fig. 9.

Fig. 9
figure 9

Relationship between the peaks of each energy of rock specimens under different corrosion conditions

As indicated in Fig. 9, the peak total energy and peak elastic strain energy of the rock specimens under natural condition, pH = 1, pH = 3, and pH = 5 conditions were calculated. Peak total energy values for these conditions were 113.63, 69.40, 78.17, and 96.69, respectively, while the corresponding peak elastic strain energy values were 86.72, 47.43, 55.51, and 72.33. Comparing these values with the uncorroded rock specimens, it was observed that the decrease rates of peak total energy under pH = 1, pH = 3, and pH = 5 acid solution corrosion conditions were 38.92%, 31.21%, and 14.91%, respectively. Similarly, the decrease rates of peak elastic strain energy were 45.31%, 35.99%, and 16.59%, respectively. These results indicated that peak total energy and peak elastic strain energy of rock specimens decreased during the damage caused by acid solution corrosion. Furthermore, the stronger the acidity of the corrosion solution, the greater the decrease. These findings suggested that the mechanical properties of rock specimens corroded by acid solution deteriorated, lowering their capacity to withstand external loads and store energy and increasing the risk of damage.

The peak elastic strain energy represents the maximum energy storage capacity of the rock specimen. This capacity decreased after acid solution corrosion, which could be attributed to the increased internal damage and the generation of more microcracks in rock specimens. The rock specimens in their natural state demonstrated a restricted capacity for plastic deformation and stored elastic strain energy through elastic deformation. However, after acid corrosion, the internal damage to the rock specimens increased, which raised their capacity for plastic deformation. The elastic strain energy and total energy storage capacity of rock specimens decreased as a result of increased energy consumption by plastic deformation.

To further analyze the impact of pH of the corrosion solution on the rock specimens, the ratio of dissipated energy to total energy during the damage of rock specimens was compared (as indicated in Fig. 10). It was evident that under natural condition, the percentage of dissipated energy during the damage of the rock specimens increased with decreasing pH values of the corrosion solution. Specifically, the percentages for pH values of 5, 3, and 1 were 23.69%, 25.20%, 28.99%, and 31.66%, respectively. As the acidity of the corrosive solution increased, the chemical damage became more severe, leading to a higher percentage of energy dissipation. This observation suggested that a larger percentage of energy absorbed from the external environment was converted into dissipated energy, which caused the rock specimens to be crushed and deformed more severely. Consequently, rock specimens exhibited a higher plastic deformation capacity.

Fig. 10
figure 10

Percentage of dissipated energy at the moment of rock specimen destruction

5 Fractal Characteristics of Crushed Rock Specimens

The degree of fragmentation of rock specimens under various corrosion conditions can be quantitatively characterized by the size and mass of rock specimen fragments. This analysis allowed for investigating the distribution characteristics of fragmentation lumpiness. Using different-sized sieves, the collected specimen fragments were classified into eight particle size groups (d represents the particle size) of 0 < d ≤ 0.25 mm, 0.25 < d ≤ 0.5 mm, 0.5 < d ≤ 1 mm, 1 < d ≤ 2 mm, 2 < d ≤ 5 mm, 5 < d ≤ 20 mm, 20 < d ≤ 40 mm, and 40 < d ≤ 60 mm. The mass of broken pieces of each particle size group was measured using an electronic balance. The fragmentation distributions and fragmentation patterns of rock specimens under different corrosion conditions are displayed in Figs. 11 and 12, respectively. The distribution of crushed pieces of rock specimens is listed in Table 3.

Fig. 11
figure 11

Fragmentation distributions of rock specimens under different corrosion conditions

Fig.12
figure 12

Fragmentation patterns of rock specimens under different corrosion conditions

Table 3 Distribution of the crushed pieces of the rock specimens under different corrosion conditions

Since it is difficult to precisely count the size and number of rock specimen fragments, the fractal dimension was employed to characterize this irregular geometric pattern. It is possible to ascertain the fractal dimension of rock specimen fragmentation by considering the mass–size relationship in the fractal geometry. This analysis contributed to a better understanding of the fragmentation characteristics of rock specimens under different corrosion conditions. The block size distribution of rock specimen fragmentation can be expressed as follows:

$${M}_{r}/M={\left(r/R\right)}^{3-D}$$
(7)

where \(r\) and \(R\) are the particle size of the fragments and the maximum particle size of the fragments; \({M}_{r}\) and \(M\) are the cumulative mass of the fragments with particle size less than \(r\) and the total mass of the fragments. The formula can be obtained by taking the logarithm on both sides.

$$lg\left({M}_{r}/M\right)=\left(3-D\right)lg\left(r/R\right)$$
(8)

In the linear fitting of each group of data in the \(lg\left({M}_{r}/M\right)\)-\(lgr\) double logarithmic coordinate system, the slope of the fitted straight line was \(3-D\), so as to calculate the fractal dimension of the broken fractal of rock specimens under different corrosion conditions, \(D\). The \(lg\left({M}_{r}/M\right)\)-\(lgr\) lines of fragment size distributions of rock specimens under different corrosion conditions are displayed in Fig. 13.

Fig. 13
figure 13

\(lg\left({M}_{r}/M\right)\)-\(lgr\) lines of fragment size distributions of rock specimens under different corrosion conditions

The results in Fig. 13 demonstrate a strong correlation between the cumulative sub-sieve mass percentage of a given grain size for each rock specimen and the sieved grain size scatter data in the double logarithmic coordinate system. The correlation coefficients exceeding 0.9 indicated a strong linear relationship. These findings suggested that under different corrosion conditions, the distribution of fractured bulkiness of rock specimens exhibited fractal characteristics. A higher fractal dimension corresponded to a greater number of broken pieces, smaller particle sizes, and higher degree of fragmentation.

As can be seen in Fig. 14, the fractal dimension of rock specimens decreased as the acidity of the corrosion solution increased. The fractal dimension of broken rock specimens under natural condition and under curing conditions of pH = 5, pH = 3, and pH = 1 was 2.07, 1.98, 1.91, and 1.87, respectively. The fractal dimension of rock specimens under pH = 1 corrosion condition decreased by 9.66% compared with those under natural condition. This provided more evidence that the stronger the acidity of curing solution, the lower the fragmentation of rock specimens.

Fig. 14
figure 14

Relationship between fractal dimension and corrosion conditions

Furthermore, the acidity of the corrosion solution had a significant effect on the fragmentation pattern of rock specimens. The degree of fragmentation of rock specimens was closely related to their fragmentation dissipated energy. The degree of fragmentation in a rock is gauged by its fractal dimension. A higher fractal dimension indicates a higher degree of fragmentation. When the rock specimen was corroded by an acid solution, the chemical reaction between the solution and the specimen damaged the internal structure of the rock. The degree of damage to rock specimen increased with the acidity of the corrosion solution, leading to an increase in its plastic deformation capacity. During uniaxial compression, the rock specimen experienced greater plastic deformation in the loading direction, resulting in a decrease in both the degree of fragmentation and the fractal dimension. Therefore, in this study, the relationship between the fractal dimension of rock specimen fragmentation and its dissipated energy under different conservation conditions was thoroughly investigated, and the relationship between fractal dimension, dissipated energy and percentage of dissipated energy under corrosion conditions are displayed in Fig. 15.

Fig. 15
figure 15

Relationship between fractal dimension, dissipated energy and percentage of dissipated energy under corrosion conditions

Figure 15 reveals that as the acidity of the corrosion solution increased, the fractal dimension of rock specimens and the dissipated energy both tended to decrease, while the percentage of dissipated energy tended to increase. The nature of rock deformation and destruction involved the input, storage, and release of energy under load, with the fractal dimension representing the degree of rock fragmentation. Rock specimens under natural conditions had higher strength and less deformation before damage than corroded rock specimens. They also had larger total energy and dissipated energy before destruction. However, as plastic deformation could only release a limited amount of energy, rapid expansion occurred when the stored energy reached its limit, leading to destruction. The rock specimens now dissipated a significant amount of energy, resulting in a more violent crushing and a higher corresponding fractal dimension. Rock specimens corroded by an acidic solution suffered internal structural damage that reduces strength, increases deformation, and decreases total energy and dissipated energy before destruction. The energy released by plastic deformation increased after corrosion, with a higher percentage of dissipated energy. These resulted in a decrease in the degree of fragmentation and the corresponding fractal dimension.

6 Conclusions

  1. 1.

    The peak strain and plastic deformation capacity of rock specimens increased, while their compressive strength and elastic modulus decreased after being corroded by an acid solution. In addition, the cumulative AE ringing count decreased, and the duration of the high-level AE ringing was shortened. These resulted from a physicochemical reaction between the mineral composition of rock specimens and the acid solution, which caused continuous dissolution and precipitation of the minerals within the rock. Consequently, the bond between the mineral particles gradually weakened, resulting in deterioration of the mechanical properties.

  2. 2.

    Prior to reaching the plastic stage, the rates of energy dissipation of corroded rock specimens were higher than those of uncorroded rock specimens. This was due to the quick development of internal losses in rock specimens corroded by the acid solution. In comparison with the uncorroded rock specimens, the corroded rock specimens had less damage during the plastic stage. The dissipated energy decreased but the percentage of dissipated energy increased as the acidity of the corrosion solution increased.

  3. 3.

    Peak total energy and peak elastic strain energy of rock specimens decreased as the acidity of the corrosion solution increased, which resulted in an increase in the deterioration of the internal structure. In addition, both the energy absorption capacity and the energy storage limit of rock specimens decreased with the increasing corrosion.

  4. 4.

    The acidity of the corrosion solution had a significant impact on the fragmentation pattern and fractal dimension of rock specimens. The fractal dimension of fragmentation and the dissipated energy of rock specimens decreased as the acidity of the corrosion solution increased. The fractal dimension of rock specimens under pH = 1 corrosion condition decreased by 9.66% compared to the uncorroded rock specimens. This finding provided more evidence in favor of the hypothesis that reduced rock specimen fragmentation was caused by a higher acidity of the corrosion solution.