Introduction

Loess refers to a natural aeolian sediment with a unique structure (large pores and unconsolidated particles) and a complex composition (calcium salts and clay minerals); loess covers 10% of the land area on Earth (Liu and Ding 1998; Pécsi 1990; Rogers et al. 1994; Wang et al. 2022). In recent years, the economy in the loess regions of Northwest (NW) China has greatly increased, but the fragile ecological environment has suffered increasing contamination (Hu et al. 2022; Li et al. 2019b, 2022; Lian et al. 2020b; Liu et al. 2021a; Ma et al. 2021; Nan et al. 2021b; Wang et al. 2022; Yan et al. 2021; Zhang et al. 2018b; Zhu et al. 2023). Since industrial and domestic sewage contains abundant sources of acid and alkali contamination, the engineering properties of natural loess considerably vary upon contamination, even resulting in the instability of building foundations.

However, the soil shear strength is a crucial parameter regarding the design of the foundation bearing capacity and evaluation of the slope stability. Thus, the change in the soil shear strength in various hydrochemical environments has attracted increasing attention among researchers (Abedi Koupai et al. 2020). The variation in the residual shear strength of weathered mudstone contaminated by sodium chloride (NaCl) solutions of various concentrations was investigated by Tiwari et al. (2005). They reported that the reason for the increase in the residual shear strength of mudstone after salt contamination was that a high concentration of salt ions in pore water caused notable thinning of the diffuse double layers (DDLs) of clay particles. Through ring-shear tests, Gratchev Ivan and Sassa (2013) reported that the residual shear strength of soil in the sliding zone decreased upon contamination with sulfuric acid (H2SO4), sodium hydroxide (NaOH), and NaCl solutions of different pH levels, and they proposed that this was related to a decrease in the soil plasticity index. Evidently, the above studies focused more on the residual shear strength to explain the triggering mechanism of landslides. The latest available data on the peak shear strength of soil aim to characterize the effects of organic and inorganic solutions on several clays, but the findings are inconsistent (Komine and Watanabe 2010; Spagnoli et al. 2012). For instance, the effects of three organic chemical solutions (glycerol, 1-propanol and acetone) on the peak shear strength of three graded soils (one silt and two clay soils) were evaluated by Ratnaweera and Meegoda (2006), who considered that the observed reduction in the shear strength of the two clay soils (low and high plasticity levels) occurred due to the deterioration in friction characteristics at the particle contact surface under the influence of the viscous solution. In contrast, the effect of solutions containing different contaminants (such as formamide, ethanol, acetic acid, heptane, and triethylamine) on the stress‒strain behavior and shear strength of kaolinite was assessed by Anandarajah and Zhao (2000). They indicated that the soil shear strength was improved due to excessive consolidation (reduction in the double-repulsive force and enhancement in the van der Waals force). Moreover, the undrained shear properties (determined by a vane shear apparatus) of clays (kaolin and montmorillonite) contaminated by three chloride solutions of various pH values (0–10) were estimated by Spagnoli et al. (2012). They observed a notable growth in the shear strength at low (3) and high (8) pH values, but the liquid limit (LL) varied only slightly. Additionally, the shear strength properties of Kawasaki mud (containing montmorillonite) and Yurakucho saline soil (containing kaolinite) subjected to long-term acid contamination (H2SO4) were investigated by Gratchev and Towhata (2013). They observed that the shear strength of these two soils marginally increased when the pH of the pore fluid decreased to a value of 6. However, most of the above studies included kaolin, montmorillonite or bentonite. In regard to natural loess, research on this topic is lacking. Zhang et al. (2020) proposed a shear strength attenuation model for loess under the coupled conditions of acid (H2SO4) and alkali (NaOH) contamination and freeze‒thaw cycles, but they did not explain the degradation mechanisms and neglected to examine the distinct structural features of loess.

Although the conclusions reported in the above studies are diverse, it has been consistently found that the effect of the hydrochemical environment on the shear strength of soil is related to the variation in the soil microstructure, ionic environment and plasticity (Alonso et al. 2013; Delage et al. 1996; Lian et al. 2021; Nan et al. 2021b; Tan et al. 2021; Wang et al. 2023; Wang and Siu 2006). This has motivated researchers to investigate the evolution of the microstructure, ionic composition and Atterberg limits of soils (Husein Malkawi et al. 1999). The chemical composition, Atterberg limits and microstructure of two types of residual soils (sedimentary and igneous) under long-term contamination (1–20 years) by acid rain (simulated by H2SO4 and nitric acid, HNO3) were determined by Bakhshipour et al. (2016), who revealed the mechanisms underlying the evolution of the soil compressive strength and permeability. Furthermore, scanning electron microscopy (SEM) and X-ray diffraction (XRD) were employed by Chavali et al. (2017) to explain the mechanisms of the variation in one-dimensional swelling of three kaolin clays under NaOH contamination. Only a few studies have focused on loess contaminated by landfill leachate (Lu et al. 2018) or the effect of the change in the pore water salt concentration (Xu et al. 2020; Yu et al. 2019), while various aspects of acid and alkali contamination remain unclear. Sun et al. (2021) reported the shear strength of intact Xiashu loess contaminated by acid (H2SO4) and alkali (NaOH) solutions. They focused on the effect of the soil structure on the physicomechanical properties, thereby emphasizing the mineral composition and microaggregation. However, they ignored the critical ion exchange effect and did not determine a general microscopic mechanism. Numerous investigations have focused on various soil engineering characteristics and considered the effect of assorted chemical solutions. However, due to the structural particularity and compositional complexity of natural loess, many of its geotechnical characteristics require further investigation under the influence of notable industrial acid and alkali contamination. Notably, the potential microscopic mechanism of shear strength variation remains unclear.

In this study, triaxial shear tests and SEM and mercury intrusion porosimetry (MIP) experiments, in addition to chemical composition and Atterberg limit determination tests, were performed involving intact loess contaminated by hydrochloric acid (HCl) and NaOH solutions. Furthermore, the microscopic mechanisms of the observed variation in the shear strength of loess contaminated by acid and alkali solutions were explained. The results of this study could help engineers better understand the mechanical response of intact loess to different hydrochemical environments.

Materials and methods

Materials

The analyzed soil was retrieved from Ning County in Gansu Province (35° 27′ 58′′ N, 107° 59′ 47′′ E, as shown in Fig. 1), where industrial acid and alkali contamination of the water‒soil system is common. With reference to the standard for geotechnical engineering exploration (ASTM 2014; MCPRC 2009), the loess specimens were obtained approximately 3.5–3.8 m below the ground surface to avoid the influences of vegetation and human activities on the inherent soil properties. The soil is grayish-yellow in color with a certain moisture level. According to reports on the loess strata in eastern Gansu (Ma et al. 2012; Wen and Yan 2014; Zhu et al. 2022), the soil is Late Pleistocene Q3 loess. Referring to geotechnical test standards (ASTM 2011a; MWPRC 2019), the basic geotechnical and mineralogical properties of the sampled loess were determined, as summarized in Table 1. Although silt (0.063–0.002 mm) dominated the loess grain size distribution, the Atterberg limits fell within the range of lean clay on the plasticity chart. On the basis of the unified soil classification system (ASTM 2011a), the tested loess was classified as clay of low plasticity (CL). Following the method described by Graham (1999), the composition of soil minerals was identified with an XRD instrument (XRD-7000S, Shimadzu), and the results are shown in Fig. 2. The results indicated that the mineral composition was dominated by quartz and albite with a small amount of chlorite. In addition, the average chemical composition of the soil was identified via X-ray fluorescence (XRF) analysis, and the results are shown in Fig. 3. Silica (SiO2) is the most abundant in the analyzed soil (50.52%), followed by calcium carbonate (CaCO3, 18.23%), and the total quantity of metal oxides (sesquioxide) was determined at 31.25%.

Fig. 1
figure 1

Sampling site at Ning County, Gansu Province, China

Table 1 Geotechnical and mineralogical properties of the loess
Fig. 2
figure 2

XRD diffraction pattern of the loess

Fig. 3
figure 3

Major chemical oxides present in the loess (unit: wt pct). Note: wt pct means weight percentage

Contaminated sample preparation

The preparation of intact loess specimens contaminated by acid and alkali is shown in Fig. 4a. Intact soil specimens were prepared in accordance with guidelines of the Ministry of Water Resources of the People's Republic of China (MCPRC 2009). First, the intact soil was cut into cylindrical samples (diameter of 39.1 mm and height of 80 mm) and disk-shaped samples (diameter of 61.8 mm and height of 20 mm). Notably, the disk-shaped samples were directly obtained with a custom ring cutter constructed of Teflon material since the traditional metal ring cutter may affect subsequent tests. Acid- and alkali-contaminated samples were prepared via the immersion method (Sun et al. 2021; Zhang et al. 2018a). The pH level and ion concentration of 20 groups of surface water and groundwater samples obtained at various sampling sites were analyzed. The Cl content was much higher than the \({\text{SO}}_{4}^{2 - }\) content in the samples (more than 10 groups). Therefore, HCl and NaOH solutions were employed to simulate acid and alkali contamination, respectively. Based on these data and referring to previous studies (Sun et al. 2021; Xu et al. 2021; Zhang et al. 2018b, 2020), the concentrations of the acid and alkali solutions were set to 0.5 mol/L (M), 1 M, 2 M and 3.5 M. The 2 M and 3.5 M solutions were employed to simulate environments with significant acid or alkali contamination (such as those affected by the leakage of acid and alkali materials stored in factories), and the 0.5 M solution was utilized to reproduce an environment with low acid or alkali contamination (such as the dilution effects of groundwater and rainfall on acid and alkali contamination). Moreover, the 1 M solution represents an environment with moderate acid and alkali contamination. For comparison purposes, deionized water was employed to simulate natural uncontaminated conditions, i.e., neutral pore fluid. Notably, the HCl solution was prepared by diluting 36.5% concentrated hydrochloric acid with water, and the NaOH solution was prepared by dissolving high-purity NaOH pellets in water.

Fig. 4
figure 4

General schematic diagram of the test scheme

The process of immersion in either an acid or alkali solution was conducted with reference to the capillary saturation method of the MWPRC (2019). This ensured that each sample was completely contaminated, the integrity satisfied follow-up tests, the metal saturator remained uncorroded, and the immersion method was slightly improved. In regard to the cylindrical samples, the entire length of the body was sequentially wrapped with a porous membrane and filter paper, after which filter paper and a permeable end plate were placed in sequence at both the top and bottom. The whole sample was fixed in a customized Teflon three-part mold, and three valves were finally tightened to secure the sample. Regarding the disk-shaped samples, a porous membrane, filter paper, and permeable end plate was placed in sequence at both the top and bottom, each of the four samples was stacked, and finally, a stacked saturator was employed for fixation purposes. Referring to previous studies (Sun et al. 2021; Zhang et al. 2018a, 2020), the tentative immersion time was set to 3, 4, 5 and 6 days. To confirm the homogeneity of the contaminated samples, after immersion, each sample was cut lengthwise to determine whether a hard core remained due to uneven infiltration. After multiple sets of tests, the ideal immersion time was determined as 5 days. When a sample was immersed in a given HCl solution, bubbles formed around the sample, while during immersion in a NaOH solution, little evidence of a reaction was observed. After the sample was disassembled and allowed to stand for a certain period, the sample immersed in the HCl solution had darkened with corrosion holes in some parts accompanied by a slightly pungent smell. However, the volume of the sample immersed in the NaOH solution slightly expanded, and white crystals were observed on the surface. After each sample was naturally dried (at approximately 25 °C, with a relative humidity of 50%), it was periodically weighed until the water content approached 16% (accuracy ± 0.2%) and then placed in a humidor (48 h) to attain an even moisture distribution.

Test program

Triaxial shear test

The consolidation time of the sediment samples was much longer than the construction period (the load application time) (Spagnoli et al. 2012). Four cylindrical samples immersed in either an HCl or NaOH solution of the same concentration were selected, and a triaxial apparatus (TSZ-3, Nanjing Soil Instrument Factory Co., Ltd.; as shown in Fig. 4b) was employed to perform consolidation undrained (CU) shear tests. First, the samples were saturated under a certain back pressure (300 kPa) before shearing (until the pore water pressure coefficient (B) was not less than 0.95). Then, the samples were consolidated in the triaxial chamber for approximately 24–48 h until 95% of the excess pore pressure had dissipated (Dai et al. 1999; Lian et al. 2020a). After consolidation, the confining pressure was maintained constant, the drain valve was closed, and shearing was started at a fixed shearing velocity of 0.033 mm/min (MWPRC 2019). The consolidated confining pressures applied in the tests were 50, 100, 200, and 400 kPa. During shearing, when the peak deviator stress was observed, shearing was continued until the axial strain increased by 3–5%. When no peak deviator stress was recorded (i.e., the stress exhibited no decrease tendency), shearing was continued until the axial strain reached 15–20% (MWPRC 2019). Following the approach described in the geotechnical testing standard (ASTM 2011b; MWPRC 2019) and the previous study on this topic (Eid et al. 2019; Lian et al. 2019), the stress of the specimen corresponding to the maximum deviator stress was adopted as the failure stress; when no maximum deviator stress was recorded, the deviator stress at 15% of the axial strain was considered the failure stress. To fully determine the trend, three sets of parallel tests were completed with each contaminated solution.

MIP and SEM tests

The microstructure of natural loess includes soil particles, pores, and cement. The soil particles and cement were observed via SEM, and the pores were analyzed via MIP (Liu et al. 2023; Nan et al. 2021a; Shen et al. 2022; Xu et al. 2023).

A completely air-dried disk-shaped sample (placed in a naturally ventilated location, 25 °C ± 0.5 °C, RH of 50%, 10 days) (Penumadu and Dean 2000) was carefully trimmed, and representative freshly fractured surface slices were selected to prepare SEM specimens (approximately 5 mm3) (Li et al. 2019a; Ng et al. 2020b). The shooting surface (i.e., the freshly fractured surface) was sputtered with platinum by a sputter coater and then pasted onto the shooting platform. An SEM instrument (JEOL JSM-6390A) was employed to obtain micrographs (100×, 3000×, and 8000×, where × denotes the magnification) of the soil samples (Fig. 4c).

Disk-shaped samples immersed in HCl or NaOH solutions of various concentrations were selected. After they were completely dried under natural conditions, the nearly cylindrical samples (approximately \(\phi\) 10 mm × 10 mm) were trimmed along their center with a soil cutter. Prior to the MIP test, each sample was completely dehydrated via the freeze-drying method, namely, it was placed in the vacuum chamber of a freeze-dryer (for 48 h at – 60 °C) (Lian et al. 2022; Nan et al. 2021a), which effectively avoided any interference originating from its structure (Ng et al. 2019). After treatment, following the relevant ASTM (2018), the samples were moved into a dilatometer (5 cm3 of solids), sealed, and then placed in the pressure chamber of a mercury porosimeter (AutoPore IV9510, Micromeritics) to perform tests for determining the pore characteristics (Fig. 4d). The above steps were repeated to analyze all the contaminated samples.

The pore diameter of a given soil sample is closely related to the mercury ingress volume corresponding to each pressure increment (Stoltz et al. 2012). Assuming that the loess pores are cylindrical channels, the pore diameter can be quantified with the Washburn (1921) equation:

$$d = \frac{{ - 4T_{{\text{s}}} \cos \theta }}{P}$$
(1)

where d is the pore entry diameter, \(P\) is the applied pressure, \(T_{{\text{s}}}\) is the surface tension of the fluid (at 0.485 N/m (Mitchell and Soga 2007)), and \(\theta\) is the contact angle between the fluid and solid interface (at 140° (Romero 1999)). To estimate the evolution of the soil pore structure, the pore size density (PSD) function proposed by Juang and Holtz (1986) was introduced, which can be expressed as:

$$f(\lg d_{i} ) = \tfrac{{\Delta V_{i} }}{\Delta (\lg d)}$$
(2)

where \(V\) is the injected mercury volume (i.e., the pore volume), \(d\) is the pore entry diameter, and \(i\) denotes a certain test pressure interval.

Chemical composition and Atterberg limits

The variation in the mechanical properties of contaminated soil is closely related to the change in its chemical composition and plasticity (Gajo and Maines 2007; Wang and Siu 2006). Determination of the chemical composition of loess mainly includes insoluble salts (calcium carbonate, CaCO3) and pore water pH value. According to MCPRC (2009), the disk-shaped samples (previously immersed in the various solutions) were naturally dried, crushed and sieved (2-mm aperture), and an appropriate amount of deionized water was added. The samples were then shaken, aspirated, filtered and poured into centrifuge tubes (10 mL). According to the method described by Bufflap and Allen (1995), the leachate of each group of samples was extracted (at 3500 r/min, 40 min). The main cations (Na+, Ca2+, Mg2+, K+, Fe3+ and Al3+) were determined via inductively coupled plasma‒optical emission spectrometry (ICP‒OES, Agilent 725 series), and Cl and \({\text{SO}}_{4}^{2 - }\) were identified with an ion chromatography instrument (IC-761 Metrohm), while \({\text{CO}}_{3}^{2 - }\) and \({\text{HCO}}_{3}^{ - }\)HCO-3 were measured via the neutralization titration method. The insoluble salt CaCO3 was analyzed through gas (CO2) volume measurement (MWPRC 2019). The pH value of the pore fluid at room temperature was measured with a pH meter. The evolution of the Atterberg limits was determined based on the LL and PL combined method. The above tests were repeated three to five times to reduce the random errors (Fig. 4e).

Results

Shear mechanical properties

Stress‒strain behavior

Figure 5 shows the stress‒strain curves of the samples after immersion in the HCl or NaOH solutions of various concentrations. After immersion in an HCl solution, the maximum deviator stress of each sample exhibited a decreasing trend under all confining pressures, and the reduction increased with increasing acid concentration. In contrast, the development of the stress‒strain curves of the samples immersed in a NaOH solution was similar to that of the samples immersed in an HCl solution. However, the maximum deviatoric stress significantly increased with increasing alkali solution concentration. This was the opposite of the result obtained after immersion in an HCl solution. Comparing acid and alkali contamination showed that the effect of the confining pressure on the shape of the stress‒strain curves should not be ignored. However, regarding the acid- and alkali-contaminated samples, the overall trend was consistent. They all demonstrated a transition from strain softening to ideal plasticity with increasing confining pressure, and they finally approached strain-hardening. Comparing Fig. 5e and i demonstrates that the effect of HCl and NaOH contamination on the shape of the soil stress‒strain curve was negligible. Nevertheless, in general, HCl immersion imposed a deteriorating effect on the maximum deviator stress of loess, while NaOH immersion yielded a promoting effect.

Fig. 5
figure 5

Stress‒strain curves of acid- and alkali-contaminated loess: a deionized water; b 0.5 M HCl; c 1 M HCl; d 2 M HCl; e 3.5 M HCl; f 0.5 M NaOH; g 1 M NaOH; h 2 M NaOH; i 3.5 M NaOH

Failure strength

The relationship between the failure strength and confining pressure of the contaminated samples is shown in Fig. 6. After the intact loess samples were immersed in the HCl solutions, the failure strength was notably reduced, and at lower concentrations (0.5 and 1 M), a certain attenuation occurred. However, this attenuation was relatively gentle, and with increasing concentration (2 and 3.5 M), the attenuation gradually increased. However, regarding the samples contaminated by NaOH, the failure strength was improved, but the trend was moderate. At a low concentration (0.5 and 1 M), the increase in the failure strength was small, while at moderate and high concentrations (2 and 3.5 M), the increment increased. Comparing Fig. 6a and b shows that at a low concentration, the failure strength of the soil was more sensitive to acid contamination, while at a higher concentration, the failure strength was more sensitive to alkaline contamination.

Fig. 6
figure 6

Variation in failure strength of loess contaminated by acid and alkali: a HCl contamination; b NaOH contamination

Shear strength parameters

Based on the Mohr‒Coulomb criterion, the shear strength parameters, i.e., cohesion and friction angle, of the contaminated samples were determined, as depicted in Fig. 7. Apparently, the cohesion of the samples immersed in the hydrochloric acid solutions decreased, especially at a high concentration. In regard to the loess samples contaminated by 1 M HCl, the cohesion decreased by 5.85 kPa relative to the samples immersed in deionized water, and the relative loss (the difference divided by the initial value) reached 15.18%. After immersion in the high-concentration (3.5 M) HCl solution, compared to those of the samples immersed in deionized water, the cohesion decreased by 20.15 kPa, and the relative loss reached 52.30%. Nevertheless, regarding the samples immersed in the NaOH solutions, at a low concentration (1 M), the soil cohesion slightly increased, at an increment of 5.42 kPa, which represents an increase of 14.07% over the initial value. However, after immersion in the high-concentration (3.5 M) NaOH solution, compared to that of the samples immersed in the lower-concentration solution (2 M), the cohesion increased by 10.38 kPa, which represents an increase of 57.51% over the initial value (immersion in deionized water, 0 M). These data revealed that acid contamination imposed a deteriorating effect on the cohesion of natural loess, while alkali contamination exerted a promoting effect.

Fig. 7
figure 7

Variation in shear strength parameters of loess contaminated by acid and alkali: a HCl contamination; b NaOH contamination

With increasing concentration of the HCl immersion solution, the friction angle initially increased slightly and then moderately decreased, but the overall change was less than 1°. Under NaOH immersion, with increasing concentration, the overall friction angle slightly increased, and the change range was larger than that obtained under HCl immersion, but the overall change remained less than 3°. Considering that the friction angle of the samples subjected to HCl and NaOH immersion fluctuated only slightly, the friction angle could be regarded as a secondary factor when assessing the mechanism of the influence on the soil shear strength.

Evolution of the soil microstructure

Particle structure characteristics

Figure 8 shows micrographs of the samples after immersion in deionized water and the 2 M HCl and NaOH solutions under 100, 3000, and 8000 times magnification. The microstructure of the intact loess mainly comprised four aspects, namely, the particle morphology, cementitious substance, interparticle association, and pore structure (Li et al. 2020a; Liu et al. 2015; Xu et al. 2018; Ye and Li 2019). After immersion in deionized water (Fig. 8a–c), the shapes of the soil particles were relatively intact, which is manifested as skeleton particles in the field of view (as indicated in the solid elliptical frame) with clear outlines, clean surfaces, and cementation between the abundant grains. The interparticle association mostly indicated notable face-to-face association (as shown by the pair of solid arrows), and the pores exhibited pronounced dual-porosity structures (as defined by Barden and Sides Geoffrey (1970)), namely, stent pores (mostly interaggregate pores, marked in the dashed elliptical frame) and mosaic pores (mostly intra-aggregate pores, marked in the triangular frame). The contact area of the pores was fragile (mostly edge-to-edge or edge-to-face association, as illustrated by the pair of dotted arrows).

Fig. 8
figure 8

SEM images of loess contaminated by acid and alkali at different magnifications: a deionized water at 100×; b deionized water at 3000×; c deionized water at 8000×; d 2 M HCl at 100×; e 2 M HCl at 3000×; f 2 M HCl at 8000×; g 2 M NaOH at 100×; h 2 M NaOH at 3000×; i 2 M NaOH at 8000×. Note: × means magnification

Nevertheless, after exposure to water, the interparticle strength of the soil quickly decreased from the observed weak association, causing collapse. Based on Fig. 8d–f, after immersion in the 2 M HCl solution, the soil structure considerably deteriorated, a large quantity of cementation had dissolved, the original dense structure in the field of view loosened, and the edge-to-face association ratio between the grains increased. Moreover, a flocculation effect on the soil fabric occurred, which was manifested by the blurring of the boundary between the pores and particles in the field of view, and the surface of the skeleton particles became uneven due to breakage, resulting in a notable increase in the proportion of stent or mosaic pores. After immersion in the 2 M NaOH solution (Fig. 8g–i), the overall microstructure of the soil remained relatively intact, and comparing Fig. 8g and d shows that the density of the soil microstructure under NaOH immersion was higher than that under HCl immersion. Higher magnification (Fig. 8h–i) revealed that a small amount of the minerals had dissolved, and aggregates were dispersed. In addition, a new cementitious substance was observed on the original cemented interparticle surface, which filled the stent and mosaic pores, and the soil structure integrity remained high. This may occur due to the reaction of certain active minerals with NaOH to form new cementitious substances that offset local structural damage and enhance the bonding degree of the soil microstructure.

Pore structure characteristics

As shown in Fig. 9, the relationship between the pore distribution density and pore diameter of the HCl- and NaOH-contaminated samples exhibited a bimodal pore size distribution with a main peak and a subpeak. This typical bimodal pore size distribution has been found in mercury intrusion testing of various soils, including compacted clays, intact aggregated loams, residual soils, and sediments (Alonso et al. 2005; Anandarajah and Lavoie 2002; Li and Zhang 2009; Mallants et al. 1997).

Fig. 9
figure 9

Pore size distribution of loess contaminated by acid and alkali: a HCl contamination; b NaOH contamination

Regarding the HCl-contaminated samples (Fig. 9a), with increasing concentration, both the main peak and subpeak slightly increased and shifted to the right. Notably, the volume and size of the soil pores had increased to various degrees after immersion in the HCl solutions of various concentrations. In regard to the samples immersed in the NaOH solutions (Fig. 9b), the main peak slightly decreased with a slight shift to the left, while the subpeak slightly increased with a slight shift to the left, and this trend became increasingly pronounced with increasing NaOH solution concentration. This indicated that after NaOH immersion, the volume and size of the larger soil pores decreased, the size of the smaller pores decreased, and the volume slightly increased.

Interaggregate and intra-aggregate pores were clearly identified in the specimen at 3000 times magnification (Figs. 8b, e and h), and their representative diameters were estimated at approximately 1 and 5 μm, respectively. In Fig. 9, since all samples exhibited a similar distribution below 1 µm, the boundary between the interaggregate and intra-aggregate pores was considered 1 µm. With the use of the approach of combining the SEM and MIP results, the dual-porosity structure of various clays was quantified, such as intact and recompacted loess (Ng et al. 2016), lateritic clay (Ng et al. 2020a) and decomposed granitic soil (Li and Zhang 2009). Figure 9 shows that the volume and size of the interparticle and interaggregate pores increased under HCl contamination. In contrast, under NaOH contamination, the volume and size of the interaggregate pores decreased, while the size of the interaggregate pores decreased and the volume slightly increased.

Evolution of the chemical composition and Atterberg limits

Chemical composition

Table 2 presents the evolution of the insoluble salts and pore water pH of the samples contaminated with the HCl and NaOH solutions. After HCl immersion, except for \({\text{CO}}_{3}^{2 - }\) and \({\text{HCO}}_{3}^{ - }\), the other soil ions increased to various degrees, especially Na+, Ca2+, Mg2+, \({\text{SO}}_{4}^{2 - }\) and Cl, which were all markedly enhanced. However, the CaCO3 content sharply decreased after immersion in an HCl solution, and the H+ concentration in the soil pore water increased, demonstrating a notable reduction in the pH value. In contrast, under NaOH immersion, the changes in \({\text{SO}}_{4}^{2 - }\) and \({\text{CO}}_{3}^{2 - }\) in the soil were the most obvious. The former considerably increased, while the latter exhibited a slightly increasing trend, but the increase was much smaller than that in the former. The remaining anions notably declined. Regarding the cations, the more active Na+, K+, Ca2+ and Mg2+ all manifested a decreasing trend, while the less active Al3+ exhibited a slightly increasing trend. Under NaOH immersion, insoluble salt CaCO3 increased. The pH value of the soil pore water also increased with increasing OH concentration.

Table 2 variations of sample chemical properties in acid or alkali contamination

Atterberg limits

Figure 10 shows the change in the Atterberg limits of the loess samples subjected to acid and alkali contamination conditions. After HCl contamination, the LL and PL values of the soil samples exhibited a negative trend, while after NaOH contamination, both exhibited a positive trend. As the HCl solution concentration was increased from the initial value to 3.5 M, the LL value of the soil specimens was reduced from 30.9 to 24.5%, which represents a loss of 20.71% from the initial level. Moreover, the observed reduction in the PL value was 4.1%, which represents a loss of 21.81% from the initial level (Fig. 10a). In contrast, when the NaOH immersion solution concentration was increased from the initial concentration to 3.5 M, the LL value of the specimens increased from 30.9 to 39.3%, while the observed increment in the PL value reached 6.7% (Fig. 10b). These data indicated that the Atterberg limits of the tested loess deteriorated after acid contamination but were improved after alkali contamination.

Fig. 10
figure 10

Atterberg limits of loess contaminated by acid and alkali: a HCl contamination; b NaOH contamination

Discussion

Effect of acid contamination on the shear strength of intact loess

After the intact loess samples were immersed in the HCl solutions, a large amount of salt cement connecting the soil skeleton particles was dissolved, the integrity of the microstructure deteriorated (Fig. 8), the size and volume of the pores between the skeleton particles increased (Fig. 9), the cohesion was attenuated, and the stress‒strain curves of the soil samples revealed a trend of maximum deviator stress attenuation (Figs. 5, 6). Natural loess is rich in various calcium salt substances (~ 10 to 15%) (Derbyshire 2001; Gao 1988; Zhang et al. 2018b), which are a crucial part of its cementitious strength. However, these substances were readily dissolved in the HCl solutions (Table 2), causing the originally firmly connected soil skeleton particles to loosen, thus reducing the initial cohesion. Moreover, this led to increases in the particle spacing, pore volume, and pore size, which directly caused a reduction in the connection between the particles and a decrease in the original cohesion. The MIP results indicated that the increase in loess porosity was particularly significant in the acidic environments. These processes resulted in rapid deterioration in the overall soil cohesion after HCl contamination. Indeed, the limitations of the MIP method should be assessed: (a) completely closed pores cannot be measured; (b) the ink-bottle effect occurs, i.e., pores with a large main body and a small mouth, similar to the shape of ink bottles (formed by a complex pore network), can only be filled after reaching the intrusion pressure of the smallest pores (i.e., small constrictions or necks), resulting in some macropores not being detected; and c) the maximum applied pressure is insufficient for mercury to enter all intergranular pores (Ng et al. 2016; Xu et al. 2023). In this work, saturated samples were employed, and there were very few completely closed pores. Second, the obvious ink-bottle effect may lead to a conservative upper limit of the size and volume of the available pores, while it does not affect the variation trend in the pore size and volume of loess under acid and alkali contamination. Finally, the mercury injection pressure strictly followed the test standard of soil material (ASTM 2018), which could ensure that a large proportion of interlayer pores is captured, resulting in a slight influence on the test results.

In addition, after the samples were immersed in the HCl solutions, the pH value of the pore water declined (Table 2), and a large amount of H+ displaced a certain amount of free Ca2+, Na+, Mg2+, and K+ (as indicated in Eqs. (3)–(8)), which were dispersed in the free and bound soil water. These ions came into contact with the DDLs of clay particles and caused a decrease in the surface potential, ion–dipole force and moisture absorption by clay (Duan et al. 2021; Fang et al. 2022; Xu et al. 2021), and combined with certain low-plasticity substances, water weakly bound to the clay surface was removed, the DDL thickness was reduced, and the soil plasticity decreased (Liu et al. 2021b; Sunil et al. 2006; Wu et al. 2021). Although this process slightly reduced the particle spacing, it notably contributed to soil structure damage (Fig. 8). The soil shear strength is controlled not only by the structural strength of the soil skeleton but also, to a large extent, by the DDL thickness. Since each soil particle is connected by DDLs, the overall performance is that of water bonding (Li et al. 2020b; Liu et al. 2015). The loss of water bonding definitely causes irreversible damage to the metastable structure or even the collapse of natural loess.

The friction angle is principally controlled by the soil density, gradation, mineral composition, and particle roughness (Wang et al. 2019; Xu et al. 2020; Zhang et al. 2018b). Since the gradation and roughness of natural loess particles are related to their deposition history (Liu et al. 2021c; Liu and Ding 1998), these quantities varied only slightly after HCl immersion. Most of the primary minerals do not dissolve in acid, and only a portion of the free oxides and insoluble salts may react (Sun et al. 2021). Thus, the overall decrease in the soil density was essentially limited. Therefore, the friction angle also slightly fluctuated. Similar findings were reported by Ghobadi et al. (2014), who considered that the stress‒strain characteristics and undrained shear strength of Hamedan clay greatly deteriorated when the pH value of the soil pore water was lower than 3 and significantly increased when a pH value of 9 was reached. Notably, the soil grain size distribution, mineral composition and solution employed to adjust the pH value of the pore water in their samples were very consistent with those of our samples and solutions. In addition, several researchers reported findings that are consistent with ours (Lei et al. 2020; Spagnoli et al. 2012; Sun et al. 2021), whereas an increase in the shear strength was reported by Zhang et al. (2018a). They noted that the shear strength of natural loess soaked in oxalic and phosphoric acid (for 3 days) was improved. The authors mainly attributed this finding to their consolidation quick shear test scheme. When loess is soaked in an acid solution, the pores increase, and the soil structure relaxes. Under the same axial pressure, more weakly bound water is discharged, the spaces between the soil particles are reduced, and the soil skeleton becomes denser. These seemingly contradictory findings again confirm that an acidic environment imposes a notable deteriorating effect on the structure and shear strength of natural loess.

$${\text{CaCO}}_{{3}} + 2{\text{H}}^{ + } \to {\text{Ca}}^{2 + } + {\text{H}}_{2} {\text{O}} + {\text{CO}}_{{2}} \uparrow$$
(3)
$${\text{MgO}} + 2{\text{H}}^{ + } \to {\text{Mg}}^{2 + } + {\text{H}}_{2} {\text{O}}$$
(4)
$${\text{Fe}}_{2} {\text{O}}_{3} + 6{\text{H}}^{ + } \to 2{\text{Fe}}^{3 + } + 3{\text{H}}_{2} {\text{O}}$$
(5)
$${\text{Al}}_{{2}} {\text{O}}_{{3}} + 6{\text{H}}^{ + } \to 2{\text{Al}}^{3 + } + 3{\text{H}}_{2} {\text{O}}$$
(6)
$${\text{K}}_{{2}} {\text{O}} + 2{\text{H}}^{ + } \to 2{\text{K}}^{ + } + {\text{H}}_{2} {\text{O}}$$
(7)
$${\text{Na}}_{{2}} {\text{O}} + 2{\text{H}}^{ + } \to 2{\text{Na}}^{ + } + {\text{H}}_{2} {\text{O}}$$
(8)

Effect of alkali contamination on the shear strength of intact loess

Under NaOH immersion, the free oxides (Al2O3, SiO2, etc.) in soil are sensitive to NaOH and can form Na2SiO3 and H2SiO3 colloids and Al(OH)3 precipitates, as indicated in Eqs. (9)–(12) (Lei et al. 2020; Xu et al. 2021). First, these new viscous colloids or flocs flow together with fine particles due to Brownian motion and fill surrounding pores. After embedment and hardening, they form denser and firmer connections (Fig. 8), which causes a direct enhancement in the overall cohesion and interparticle friction of the soil matrix. Second, when immersed in a NaOH solution, the notable ion exchange effect yields a large amount of free Na+, which readily penetrates and is absorbed by the DDLs of clay minerals (Sruthi and Reddy 2017). This facilitates the increase in the thermodynamic potential of the clay particle surface and promotes DDL thickening, which is also the reason for the slight expansion of the sample volume after NaOH immersion. Moreover, NaOH can react with CO2 to produce Na2CO3 (as indicated in Eq. (13)), and slight changes in the temperature and humidity produce water-rich compounds and result in a certain expansion pressure. Therefore, after NaOH immersion, the small amount of white crystals observed on the sample surface after contact with air may be Na2CO3·nH2O. In fact, when particles are locally eroded by alkali, their roughness and embedded friction are reduced, which partially counteracts the strengthening effect of the aforementioned interparticle friction. Nevertheless, the restraint of the external force during shearing enhanced the embedment and friction effects between the soil particles. This led to a limited increase in the friction angle of the samples under alkali contamination. This also indicated that under NaOH contamination, the potential reason for the improvement in the soil shear strength is that the amendment effect of the new structure is greater than the damage effect on the original structure. Similar behavior was observed for Xiashu loess by Sun et al. (2021), who reported that the newly formed insoluble substances under alkali contamination led to an increase in the density and a decrease in the void ratio. Comparable conclusions were drawn by Wang et al. (2020), who considered that NaOH contamination in red soil (rich in aluminum and iron) generated new spherical cemented salts, which causes shear strength increase. Furthermore, in this study, it was shown that the evolution patterns of the plasticity of the soil specimens under the effect of HCl and NaOH contamination were completely the opposite, i.e., a reduction under HCl contamination and an increase under NaOH contamination, as shown in Fig. 10. This led to an increase in the soil liquidity index under HCl immersion and a decrease under NaOH immersion at the same water content, which is consistent with the findings of Locat and Demers (1988), namely, the liquidity index of clayey soil is negatively correlated with the undrained shear strength.

$${\text{SiO}}_{{2}} + 2{\text{NaOH}} \to {\text{Na}}_{2} {\text{SiO}}_{3} + {\text{H}}_{2} {\text{O}}$$
(9)
$${\text{Na}}_{2} {\text{SiO}}_{3} + {\text{CO}}_{2} + {\text{H}}_{2} {\text{O}} \to {\text{H}}_{2} {\text{SiO}}_{3} \downarrow + {\text{Na}}_{2} {\text{CO}}_{{3}}$$
(10)
$${\text{Al}}_{{2}} {\text{O}}_{{3}} + 2{\text{NaOH}} \to 2{\text{NaAlO}}_{2} + {\text{H}}_{2} {\text{O}}$$
(11)
$${\text{2NaAlO}}_{2} + {\text{CO}}_{2} {\text{ + 3H}}_{{2}} {\text{O}} \to 2{\text{Al(OH)}}_{3} \downarrow + {\text{Na}}_{2} {\text{CO}}_{{3}}$$
(12)
$${\text{2NaOH}} + {\text{CO}}_{2} \to {\text{Na}}_{2} {\text{CO}}_{3} + {\text{H}}_{2} {\text{O}}$$
(13)

In summary, combined with the schematic diagram of the microstructure of natural loess in the different hydrochemical environments, as shown in Fig. 11, the mechanisms of the evolution of the shear strength of acid- and alkali-contaminated loess could be obtained. After soil immersion in the acid or alkali solutions, a series of physical–chemical-hydraulic processes are induced, such as mineral compounding, ion exchange, and variation in the particle and pore structures, which causes damage to the original loess structure but also yields a new structure. The overall effect of the above changes in the external water chemical environment is either degradation or enhancement in the shear strength of intact loess, depending on whether damage of the original structure or the formation of a new structure dominates, respectively. The results of this investigation could be applied in geotechnical engineering, geological engineering and agricultural–environmental engineering projects, including excavation and unloading of acid- and alkali-contaminated slopes in loess areas and reclamation and restoration of acid- and alkali-contaminated land.

Fig. 11
figure 11

Schematic diagram of the evolution of the microstructure of intact loess under acid and alkali contamination: a HCl contamination; b NaOH contamination

Conclusions

In this study, triaxial shear tests, SEM experiments, MIP tests, chemical composition analysis and Atterberg limit determination tests of loess samples contaminated by acid (HCl) or alkali (NaOH) were conducted to assess the microscopic mechanisms of the evolution of the shear strength. The following key conclusions could be obtained:

  1. (1)

    The shear properties of the HCl-contaminated loess samples notably worsened. Specifically, the stress‒strain curves indicated softening, the failure strength deteriorated, and the cohesion exponentially decreased with increasing HCl solution concentration. After immersion in the 3.5 M HCl solution, the cohesion loss reached 52.30% from the initial level (after immersion in deionized water), and the friction angle changed statistically.

  2. (2)

    The shear properties of the NaOH-contaminated loess samples were improved, which is manifested as an increase in the maximum deviator stress (failure strength) of the stress‒strain curve. After immersion in the 3.5 M NaOH solution, the cohesion increased by 57.51% over the initial level, and the friction angle moderately increased.

  3. (3)

    With increasing HCl concentration, cementitious substances were dissolved, and the boundaries between the particles and pores became increasingly blurred. However, under NaOH contamination, the stent pores in the loess samples locally collapsed, and new cementation filled the surrounding pores to balance this local damage.

  4. (4)

    Under HCl contamination, \({\text{CO}}_{3}^{2 - }\) and \({\text{HCO}}_{3}^{ - }\) in the loess specimens decreased, Na+, Ca2+, Mg2+, \({\text{SO}}_{4}^{2 - }\) and Cl all increased notably, the CaCO3 content sharply decreased, the pH value of the pore water greatly declined, and the Atterberg limits fell. Under NaOH contamination, the increase in \({\text{SO}}_{4}^{2 - }\) was considerable, followed by the increase in \({\text{HCO}}_{3}^{ - }\), and the increase in \({\text{CO}}_{3}^{2 - }\) was slight. Na+, K+, Ca2+ and Mg2+ decreased, the pH value of the pore water remarkably increased, and the Atterberg limits increased.

  5. (5)

    The structure of the loess samples varied (internal mineral dissolution, ion exchange, and pore and particle structure adjustment) during the evolution of the external aqueous chemical environment. Whether this variation involved degradation or strengthening depended on whether destruction of the original structure or growth of a new structure dominated, respectively.

These findings provide insight into the mechanisms of the variations in the shear behavior of intact loess due to contamination by acid and alkali solutions. This was only a preliminary study of the short-term or instantaneous mechanical behavior of acid- and alkali-contaminated loess. This motivates further research to investigate long-term changes in the strength, which may be closely related to the creep properties and rheological mechanism of soil.