1 Introduction

Marls are among the most abundant deposits in nature. Marl soil has been found in many parts of the world, including Iran, Iraq, Italy, Spain, the UK, Germany, Greece and Canada [1,2,3,4,5]. As sedimentary soils or rocks, marls contain 35–65% clay and calcium carbonate. Marl is known as one of the most sensitive geotechnical formations against erosion and weathering [6]. Therefore, the use of this type of soil in geotechnical projects has created many challenges.

The behavioral characteristics of marl typically depend on the distribution and size of the particles and their plastic properties, in such a way that under dry conditions, the deformation of marl soil is due to the breakdown of particles and the creation of a new structure. However, when this type of soil is exposed to moisture, the bond between the aggregates will degrade and cause swelling in the soil and, at the same time, a change in its hardness and strength [7,8,9]. The clayey part of marl generally consists of palygorskite and sepiolite [10]. Palygorskite is a type of hydrated magnesium, aluminum and silicate with fibrous structure and morphology. This mineral has a high specific surface area and a porous structure [11,12,13,14].

The most common carbonate minerals found in marl are calcite (CaCO3) and dolomite [15]. Carbonate minerals have higher solubility compared to silica minerals and are the most important soluble component in the soil solubility phase [16].

Industrial pollution of water and soil is one of the major environmental problems in human societies, which has attracted the attention of many researchers [17,18,19]. Industrial wastewater and the pollution from acidic and alkaline wastewater enter the water, and this polluted water possibly leaks into the soil. In a short time, soil pore water quality will affect soil properties [20, 21].

Considering the growing trend of soil and water pollution in recent years, much research has been performed on the impact of chemicals on soil properties [22,23,24,25,26,27]. Soil pH is one of the important indices in the field of pollution, especially when the environmental pH changes. This pH change can also affect the geotechnical and geoenvironmental characteristics [28, 29]. One of the most probable changes due to pH changing is changes in soil classification, which studies have been conducted by [30, 31] in this regard, and based on these studies, the increase in the pH value with increasing sulfate content was pronounced and in the absence of sulfates, and the soil classification of both clayey soils tended to be transformed according to the USCS. The utilization of lime alone or in combination with natural pozzolana transformed the gray soil (classified as clay of high plasticity) and red soil (classified as clay of low plasticity) to silt class of high plasticity.

Many studies have been performed on the effect of initial pH on the mechanical behavior and various properties of soil [32, 33]. Lowering the pH increases the concentration of hydrogen ions and the level of positive charge at the edge of clay platelets, which leads to their adsorption into the surface containing the negative charge of the other platelets. In this case, the clay particles get closer to each other, and the sedimentation rate of the particles increases, and the soil structure becomes aggregated. Meanwhile, the increase in pH and alkaline conditions in the soil causes the particles to disperse [57]. Studies on the effect of pH indicate that the crystal lattice of the clays is affected by the acidity of the pore water so that with increasing pH ≥ 12, the solubility of quadrilateral silicate and octahedral aluminate platelets increases [34].

Because various industries are producing pollutants on marl substrates, there is a high possibility of leakage of these pollutants into the substrate soil structure and a change in substrate soil pH. Despite extensive studies in recent years on the interaction of soil and pollution, no significant research has been performed to investigate the effect of initial pH on the geotechnical and geoenvironmental parameters of marl soils. Therefore, the purpose of this study is to investigate the effects of initial pH on the geotechnical and geoenvironmental properties of marl soil from a microstructural perspective.

2 Materials and Methods

2.1 Marl Soil

The soil used in this study is a marl sample in southern Iran, which is located on the northern shore of the Persian Gulf and west of Bandar Abbas. This region was selected due to the presence of various industries and the possibility of change in the pH of marl soil over time. Most of the experiments performed in this study are based on the ASTM standard and the guidelines of McGill University, Canada, for geoenvironmental experiments. According to the Unified Soil Classification System (USCS), marl is a type of clay of low plasticity (CL) with 98% by weight passing through the sieve no. 200 (corresponding to a 74 µm nominal Sieve Opening). Table 1 presents some geotechnical properties of marl.

Table 1 Some of the geotechnical properties of marl in southern Iran

In the presented analysis, the calcium oxide content of natural marl is 15.91%. The XRF test was performed with an X-ray fluorescence device model PW1410 made by the Dutch company PHILIPS (Table 2).

Table 2 Chemical characteristics of marl (southern Iran) based on XRF analysis

2.2 Sample Preparation

The marl used in this study has an initial pH of 8.5, which is the natural pH of marl soil. In this paper, sodium hydroxide (NaOH) and hydrochloric acid (HCL) solutions prepared by Merck are used to create acidic and alkaline conditions. In order to prevent the shock caused by the pH change and its effect on the soil structure, low concentrations (1 M) of NaOH and HCL solutions were used to change the pH. The final pH of the sample after adding acidic and alkaline solutions is called the stabilized pH. To stabilize the initial pH of the marl, 3 kg of dry soil passing through sieve no. 40 was set apart, and a water–soil suspension with the ratio of 1:5 (5 distilled water:1 soil) was made. The resulting suspension was stirred for 3 h and then stored for 24 h. Then, to stabilize the marl samples at pH 2, 4, 6, and 11, 1 M sodium hydroxide and hydrochloric acid solutions were added dropwise to the water–soil mixture using a pipette. It took 2 h for the acidic conditions to be reached in the soil. pH changes were not more than 0.2 units per hour. Also, for obtaining alkaline conditions, 1 h was taken for the pH to increase by one unit. Each sample had about 1 unit of pH return the next day. After about 20 days, the pH of the samples was stabilized at the desired pH, and then, the process of leaching and acid and alkali addition was performed on the soil every other day. These steps were repeated daily for about 4 months until the pH of the samples remained constant at the desired level for 72 h.

For drying, the samples were poured into glass containers and placed in an oven at 60 °C. It is worth noting that the pH changes are done in several stages, and for every 2 units of pH change after the pH is stabilized, the samples are leached and dried at 60 °C. According to the fact that in the leaching and adding acid stages, due to the dissolution of carbonate in the presence of acid, carbonate is removed from the soil structure. At the end of the leaching and drying stages, about 1.5 kg of dry soil was obtained for each 3 kg of soil. In each stage of soil sample preparation, in addition to measuring pH changes, samples were also prepared for the X-ray diffraction test. After the samples were dried off, their pH was measured again according to the ASTM D4972 standard. The samples were stirred at a ratio of 1–10 (1 soil: 10 distilled water) for 3 h using an electric stirrer and were stored for 96 h to fully homogenize the system and perform the necessary cation exchange. After this period, the pH was measured using a Lovibond SensoDirect 150 pH meter. Table 3 shows the initial and final pHs of the soils. It can be seen that after the soil dries, the pH of the suspension changes slightly due to the high percentage of carbonate in the marl sample. So, the pH increases from 2 to 3.8, while the pH of the suspension decreased from 11 to 10.1.

Table 3 Initial and final pHs of marl soil samples after drying

2.3 Methodology

To determine the percentage of marl carbonate in soil, a test was performed for determining the percentage of carbonate (titration) by adding hydrochloric acid (HCl) and sodium hydroxide (NaOH) to the samples [35]. Also, to determine the effect of pH on the microstructural properties of marl, X-ray diffraction (XRD), X-ray fluorescence (XRF), scanning electron microscopy (SEM) and particle size analysis (PSA) were performed.

PSA test [36] was used to determine the particle size distribution of the samples. In this experiment, the particle size distribution was determined using a neon–helium laser beam and a wet system. In this method, the samples were suspended (alcohol) in glass containers. The mixture was then placed on an ultrasonic device for one minute. The samples were then floated between two glass chambers using a centrifugal pump. In the end, the sample was placed under a neon–helium laser beam with a wavelength of 632.8 nm, and the resolution was performed. Using Hoffmann's theory, the particle diameter was calculated using Eq. (1). The device used in this process was made by Fritz Co., Germany [37].

$$ D = (1.22F\;\lambda ){/}R_{{\text{o}}} $$
(1)

where D is the particle diameter; λ, wavelength, 623.8 nm; Ro, radius of the device ring; and F, frequency.

To investigate the geotechnical and geoenvironmental behavior of the samples at pHs of 2, 4, 6, 8.5 (natural marl) and 11, experiments of Atterberg Limits [38], permeability [39] and unrestricted compressive strength [40] were performed.

The permeability coefficient was measured by the falling head method [39]. Soil samples passing through sieve no. 40 with maximum specific gravity and optimum moisture content was pounded in 5 × 10 cm molds in 3 layers made of PVC. After samples were saturated (after about 1 month), a permeability test was performed on all samples.

To determine the unconfined compressive strength of marl samples at pHs of 2, 4, 6, 8.5 and 11, a uniaxial test [40] by control strain method with a loading speed of 0.1 mm/s was performed by ARRAY SH-300 uniaxial compressive strength tester. To prepare the samples, the soil passing through the sieve no. 40 with maximum specific gravity and optimum moisture content were pounded in molds with dimensions of 5 × 9.5 cm in 3 layers and the samples were stored in plastic containers at a constant humidity to reach equilibrium for 72 h. Finally, all compressive strength tests for each sample were repeated with 4 different samples.

To prepare the sample for the XRD test, 5gr of each powdered dry soil sample was weighed with an accuracy of 0.001, and the samples were exposed to radiation at the wavelength of 1.54 Å (corresponding to kα of element Cu). Samples were tested using X-ray diffractometer (D8-ADVANCE) made by Bruker, Germany [41]. The XRD spectrum was examined with a 2ɵ scan in the range of 2°–60°. All the XRD tests for each sample were repeated with 2 different samples.

The results of the XRD test indicate that the main clay minerals of natural marl soil include kaolinite (d = 7.04 Å), palygorskite (d = 9.87 Å) and sepiolite (d = 3.53 Å) and non-clayey minerals include quartz (d = 3.33 Å) and calcite (d = 3.02 Å) (Fig. 1).

Fig. 1
figure 1

X-ray diffraction (XRD) of marl (pH = 8.5). Kaol: Kaolinite; Pal: palygorskite; Sep: sepiolite; Q: quartz; Ca: calcite; D: dolomite

To obtain the images of scanning electron microscopy (SEM), 1 g of each sample of powdered soil was weighed with an accuracy of 0.001 g. The gold plating was used to make the samples conductive and prepare them for testing. It is worth mentioning that the samples were analyzed by TESCAN vega3.

3 Results and Discussion

3.1 Effect of Initial pH Changes on the Carbonate Content in the Marl

After the marl samples were stabilized at pHs 2, 4, 6, 8.5 and 11, the carbonate content in each sample was determined as a percentage by titration test.

Figure 2 shows the CaO content in marl samples with different initial pH obtained using XRF analysis and the percentage of carbonate obtained from the titration experiment. The carbonate content in natural marl is 31%. The carbonate content of the soil decreases with the decrease in its initial pH. At the initial pH of 4, the carbonate content has reached about 1.5%. According to [42], carbonate can be stable in acidic environments up to pH 3.5.

Fig. 2
figure 2

Carbonate content changes in marl at different initial pHs

In the marl sample with an initial pH of 2, calcium carbonate is completely removed from the soil structure and reduced to zero. The addition of sodium hydroxide (NaOH) and increase in soil pH did not affect the carbonate content of the soil. Based on Eqs. (2) and (3), with the use of calcium carbonate and magnesium carbonate along with hydrochloric acid (HCl), a bond is formed between chloride ion (Cl) and the cations of calcium (Ca2+) and magnesium (Mg2+) and calcium chloride (CaCl2) and magnesium chloride (MgCl2) are obtained. The resulting compounds are water-soluble and are released from the soil structure in the presence of water, and as the sample dries, the resulting carbon dioxide (CO2) is released as vapor and water (H2O).

$$ {\text{CaCO}}_{{3}} + {\text{2HCl}} \to {\text{CaCl}}_{{2}} + {\text{CO}}_{{2}} + {\text{H}}_{{2}} {\text{O}} $$
(2)
$$ {\text{MgCO}}_{{3}} + {\text{2HCl}} \to {\text{MgCl}}_{{2}} + {\text{CO}}_{{2}} + {\text{H}}_{{2}} {\text{O}} $$
(3)

Table 4 presents the XRF chemical analysis of marl samples with different initial pH. Based on the presented analysis, the amount of calcium oxide and magnesium oxide in natural marl is reported to be 15.91% and 6.02%, respectively. In the sample with an initial pH of 2, the amount of these elements is decreased by 0.25 and 1.92%, respectively. The results of the XRF analysis confirm the test results for carbonate content determination. The results of XRF and titration experiments show that the carbonate in the marl is removed from the soil structure by HCl, while the alkaline conditions and the amount of NaOH do not affect the carbonate content in the marl.

Table 4 Chemical properties of marl in southern Iran based on XRF

Regarding the difference in the percentage of carbonate in the XRF analysis and the titration test, it should be noted that the results of the titration test include a collection of carbonates in the marl. XRF analysis, on the other hand, reports only the calcium carbonate content in the marl. Based on XRF analysis, the amount of silicate (SiO2) in acidic samples has increased, so that in the sample with an initial pH 2, it has reached 56.19%. The alumina in the sample with an initial pH 2 also decreased due to the complete removal of carbonate from the soil structure and the dissolution of alumina at pH ≤ 4. In the sample with an initial pH of 11, the amount of alumina decreased by 1.03 units. The dissolution diagram of silica and alumina proposed by [43] can be a good justification for the results obtained using XRF analysis.

3.2 Evaluation of X-ray Diffraction Changes in Marl at Different Initial pHs

Figure 3a presents the results of the XRD test. In natural marls, the intensity of the main peak of calcium carbonate (d = 3.02 Å) is 433 CpS. In the sample with an initial pH of 6, the intensity of the peak was reduced to 44 CpS. In samples with an initial pH of 4 and 2, calcium carbonate peaks are completely removed. Examination of the sample with an initial pH 11 showed that the peak related to calcium carbonate (d = 3.02 Å) had slightly increased [44, 45].

Fig. 3
figure 3

a X-ray diffraction (XRD) of samples with initial pH 2, 4, 6, 8.5 and 11. b Peak intensity changes of samples with initial pH 2, 4, 6, 8.5 and 11. Kaol: Kaolinite, Pal: palygorskite, Sep sepiolite, Q: quartz, Ca: calcite, D: dolomite

The peak intensity of dolomite (d = 2.89 Å) is equal to 104 CpS. In the sample with an initial pH of 6, the intensity did not change significantly. In samples with an initial pH of 4 and 2, this peak intensity is significantly reduced. The removal of calcium carbonate and dolomite peaks in samples with pH 4 and 2 confirms the carbon dioxide test results and Table 4.

In natural marls, the peak of palygorskite (d = 9.87 Å) is observed with an intensity of 80 CpS. The intensity of this mineral in acidic samples 6, 4 and 2 increased by 1.45, 1.5 and 1.8, respectively, so that its intensity in the sample with an initial pH of 2 reached 144 CpS. Due to the removal of the calcium carbonate peaks in the marl, which were regarded as caps on the minerals, the intensity of the palygorskite peak in acidic samples is increased. In the alkaline sample (pH = 11), no significant change in the peak intensity of this mineral is observed. In general, it can be said that with changes in pH (from 2 to 11), the crystal structure of palygorskite minerals will be stable.

The intensity of the main peak of sepiolite (d = 3.53 Å) is about 60 CpS in natural marl (pH = 8.5). The peak intensity in samples with initial pH 6 and 4 increased to 94 CpS and 102 CpS, respectively. However, in the sample with an initial pH of 2, the peak intensity decreased to 57 CpS. In the alkaline sample with an initial pH of 11, the peak intensity did not change significantly and remained constant. The continuous dissolution rate of the sepiolite depends on the stability of the Si and Mg concentrations. Based on the XRF results in Table 4, at pH 2 and 4, the MgO content decreased, which is in good agreement with the decrease in the peak intensity of sepiolite. Based on studies and experiments by [46], dissolution of sepiolite is incompatible with both acid and alkali environments and does not follow a specific trend [44, 46, 47].

The intensity of the main peak of kaolinite (d = 7.04 Å) is 88 CpS. In samples with initial pH 6 and 4, the kaolinite peak intensities increased by 140 CpS and 150 CpS, respectively. This increase was due to the removal of carbonate from the soil structure. However, the kaolinite peak in the sample with an initial pH 2 was removed due to the dissolution of the clay mineral structure. As the pH increases from 2 to 8, the solubility of kaolinite decreases. In fact, in acidic environments, the dissolution rate of kaolinite is higher, and at 8 ≤ pH ≤ 9, the dissolution of kaolinite is pH-independent. The solubility of kaolinite increases slightly at 9 ≤ pH ≤ 11. The dissolution rate of kaolinite is relatively directly related to the adsorption of H+ and OH ions on the oxide surface [44, 48,49,50]. Since the dissolution rate of kaolinite is dependent on Al and in the pH range of 8.5–11, according to XRF results, the Al2O3 content slightly decreased. Accordingly, the rate of change of the main peak of kaolinite is negligible [48].

By removing the calcium carbonate from the sample with an initial pH 4 and 2, an increase in the peak intensity of quartz is observed in (d = 3.33 Å) and (d = 4.24 Å), in such a way that the sample with the initial pH 4, the peak intensity of quartz (d = 3.33 Å) reached 583 CpS from 314 CpS, and in the sample with initial pH 2, it reached 907 CpS. The dissolution rate of quartz is measured by the release rate of silica into the solution and is independent of pH changes. The effect of pH on quartz dissolution will be based on equilibrium constants related to silica ionization. Ionization reaction at pH < 7 will be negligible, and in an acidic environment, the pH will not affect the solubility of silica [51]. One of the main reasons for the increase in the intensity of quartz peaks in samples with acidic pH is the removal of carbonate from the soil structure. Figure 3b shows the changes in the peak intensity of kaolinite, sepiolite, calcite and quartz at different pHs.

3.3 Morphological Study of Marl at Different Initial pHs and Electron Microscopy (SEM)

To investigate the morphological changes of marl in acidic and alkaline environments, SEM images were taken from all samples and the microscopic texture of the samples was analyzed. Figure 4d shows images of natural marl. According to the images, the scattered structure of marl and the bond of clay particles in the vicinity of water, and the presence of white masses of calcium carbonate can be seen due to the effect of the coating on these particles. Palygorskite, sepiolite and kaolinite fibrous minerals with layered structures can be seen in SEM images. Based on these images, quartz crystalline minerals can also be seen in the natural marl samples.

Fig. 4
figure 4

SEM image of specimens: a pH = 2, b pH = 4, c pH = 6, d natural marl, e pH = 11. Kaol: Kaolinite;,Pal: palygorskite, Sep sepiolite, Q: quartz, Ca: calcite, D: dolomite

As the pH of natural marl decreases, the calcite's mineral content gradually decreases, and in the sample with initial pH 2 and 4 (Fig. 4a, b), this mineral is completely removed.

In an acidic environment, the palygorskite mineral is observed as a cluster of fibrous minerals, and as the pH in the acidic environment increases, the cluster fibers of the palygorskite also diverge and separate. The length of the palygorskite is usually between 1 and 2 µm (μm). As the pH increases, the dispersion of this fibrous mineral increases, and the diameter of the cluster diameter of these minerals decreases [52].

The sepiolite is structurally and chemically similar to the palygorskite, and its fibers run parallel to each other, except that the cell size of the single sepiolite is slightly larger than that of the palygorskite [53,54,55]. Based on XRD analysis (Fig. 3), the intensity of sepiolite in strongly acidic and alkaline conditions was reduced—which can also be seen in SEM images.

Based on SEM images (Fig. 4b, c), the kaolinite can be observed in samples with initial pH 4 and 6, while in the sample the initial, pH 2 was removed from the soil structure and completely disintegrated, which is consistent with the XRD analysis (Fig. 3). Under alkaline conditions, kaolinite is also observed in soil structure. By reducing the calcium carbonate in the sample with an initial pH of 6, an increase in the quartz is observed in this sample. Also, in the sample with initial pH 2 and 4, due to the complete removal of carbonate from the soil structure, in these two samples, the amount of quartz mineral has increased sharply, and in the sample, with initial pH 11, the amount of this mineral has not changed much. Generally, in an acidic environment, the soil structure will be an edge-to-face (E–F) bond. An increased concentration of hydrogen ions creates a positive charge at the edge of the clay platelets, which leads to their adsorption onto the surface containing the negative charge of the other platelets. In this case, the clay particles get closer to each other, and with the increase in the sedimentation rate of the particles, the soil structure becomes aggregated, while the increase in pH and alkaline conditions in the soil causes the particles to disperse (Fig. 4e) [56, 57].

At an initial pH of 11 (Fig. 4e), as the pH of the soil in the alkaline environment increases, the soil structure becomes dispersed relative to the natural marl sample due to an increase in the hydroxide ions content as well as the increase in the negative charge of the clay mineral.

3.4 Effect of Different Initial pHs on Soil Particle Size

To determine the particle size distribution of the samples, the results of the laser diffraction particle size analysis (PSA) test are presented in Table 5. According to the presented results, the rate of changes in D20 and D50 is very small, while that of D90 in the sample with initial pH 2 decreased by about 23%, and in the sample with initial pH 11, it decreased by about 15%. According to the analysis, more than 90% of natural marl particles (pH = 8.5) are smaller than 5.36 µm and 88% smaller than 5 µm and the same size as clay particles. At an initial pH of 4, more than 90% of particles have an equivalent diameter smaller than 4.93 µm, and particles the same size as the clay have increased to about 90%. At an initial pH of 2, due to the possibility of aluminum dissolution and disintegration of the structure of clay minerals, more than 90% of soil particles have an equivalent diameter of less than 4.14 µm. It is noteworthy that this 22.5% reduction in particle size compared to natural marl can significantly increase the specific surface area (SSA) as well as the soil plastic parameters. It is worth noting that particles of the same size as clay have increased by about 10% compared to natural marl at initial pH 2.

Table 5 Determination of particle diameter range of the studied samples using PSA

In acidic environments (pH < 5.5) according to Fig. 4b–d, the soil structure will be in the form of an edge-to-face (E–F) bond. In an acidic environment, due to the absorption of H+ ions, the edge of the particles is positively charged. Particle aggregation can also depend on the thickness of the double layer that forms on the surface of the particles [56, 58]. Significant decrease in the carbonate content and increase in the contact surface of clay particles in the water–soil system are important factors in increasing the content of particles of the same diameter as clay [16].

In an alkaline environment (pH = 11), a decrease in particle size compared to natural marl is observed so that particles of the same size as clay increased by about 5%. In marl with an initial pH of 11, because the edges of clay platelets are negatively charged, the charge of the edge of these particles will be negative due to the adsorption of OH ions. Also, due to the dissolution of Al–OH, the soil structure changes from scattered to aggregate (with F–F bonding) [57, 59].

3.5 Effect of Initial soil pH Changes on Atterberg Limits and Soil Classification

Atterberg Limits affect the classification of fine-grained soils and the engineering and physical properties of the soil [20]. Based on the results presented in Fig. 5, the liquid limit (LL) and plastic limit (PL) of natural marl are 46 and 25 units, respectively. With the decrease in the initial marl pH to 4, the liquid limit increased to 65 and the plastic limit to 32. In fact, by lowering the pH due to the removal of the carbonate coating (based on the titration results, XRF, XRD and SEM), the contact of clay minerals with the pore water also increases. Based on the results of XRD (Fig. 3) and SEM (Fig. 4), palygorskite is stable in acidic environments. Due to the high retention capacity of the pore water of this clayey mineral, the increase in the liquid limit and plastic limit can be justified [52, 60], It is worth noting that these results are consistent with the results of [30, 31]). According to PSA analysis, by decreasing the initial pH of marl, soil particles become smaller, which can increase the liquid limit. At the initial pH of 2, the increase in the liquid limit and plastic limit is observed with a lower slope. Stability of palygorskite, carbonate removal and increase in particle size of clay are the reasons for the increase in the liquid limit and plastic limit.

Fig. 5
figure 5

Changes of Atterberg Limits in marl at various initial pHs

The acid dissolves the cemented agents between the marl particles. Similarly, [61] showed in their study that the acidic solution could cause the degradation of carbonate (cemented agents between particles) in the soil and its dissolution in the soil structure. Therefore, the effect of increased liquid limit in acidic conditions can be attributed to the mineral compounds in the soil structure and especially the removal of calcium carbonate [20].

In the sample with an initial pH of 11, an increasing trend is observed in the liquid limit and plastic limit of marl, i.e., the liquid limit increased to 49 and the plastic limit to 21. At an initial pH of 11, due to the adsorption of OH ions, the edges of the clay platelets will be negatively charged and the soil structure will change from scattered to aggregated (face-to-face-bonded) (F–F) (Fig. 4e) [20, 26]. This is why the liquid limit is increased under alkaline conditions and in the sample with the initial pH of 11.

An increase in the liquid limit and plastic limit increases the plastic index (PI). Therefore, under acidic and alkaline conditions, the plastic index of the soil increases (Fig. 5). According to Fig. 5, the maximum plastic index is 32, which is related to the sample with initial pH 4, which has increased by 11 units compared to the natural marl sample.

According to the Unified Soil Classification System (USCS), marls are classified as clay of low plasticity (CL). By changing the initial pH of marl as well as particle size (Table 5) and Atterberg Limits (Fig. 5), soil classification changes and also changes the engineering behavior of marl. By decreasing the initial pH of marl to 6 and 4 through the increase in the liquid limit and plastic limit, according to the plastic diagram in Fig. 6, both samples are close to the A-Line, and the liquid limit of both samples is more than 50 units. Accordingly, soil classification with initial pH 4 and 6 has changed from the clay of low plasticity to the clay of high plasticity/silt of high plasticity (CH/MH). With decreasing pH = 2 and the disintegration of the soil structure due to the dissolution of alumina and, on the other hand, due to the increase in the percentage of particles of the same size as clay, the soil classification switches to silt with high plasticity (MH).

Fig. 6
figure 6

Changes in marl classification at different initial pHs according to the plastic diagram

In the alkaline environment (pH = 11), with the increase in the liquid limit and plastic limit, the classification of the soil changes to clay with low plasticity/silt with low plasticity (CL/ML) (Fig. 6). In fact, according to the SEM results, the soil structure has become scattered, due to which the water absorption of clay increases. As a result, the liquid limit and soil classification have also changed [44, 62, 63].

In general, it can be said that the increase or decrease in the initial pH has led to an increase in the liquid limit and plastic limit of marl and a change in soil classification. This change in classification can have a profound effect on the engineering and geoenvironmental behavior of soils.

3.6 Effect of Initial Soil pH Changes on Permeability Coefficient

Based on the results of the permeability test, the permeability coefficient of natural marl is 11.7 × 10–9 m/s. With decreasing the initial pH = 6, the permeability coefficient decreased to 6.7 × 10–9 m/s and this trend continued until the initial pH 4 and the permeability coefficient decreased to 0.61 × 10–9 m/s. Based on the results of XRD (Fig. 3) and titration (Fig. 2), with the decrease in pH with increasing particles of the same size as clay as well as the liquid limit and the formation of the complex structure (Fig. 4), the decrease in the permeability could be predicted [64, 65]. In fact, by reducing the particle size, the canals connecting the cavities became very small, and high capillary pressure in the walls of these canals prevented the passage of fluids [66]. In the marl sample with an initial pH 2, the permeability coefficient lowered compared to natural soil (pH = 8.5) and reached 0.99 × 10–9 m/s. It is worth noting that the permeability coefficient has increased slightly compared to the initial pH 4, which may be due to the disintegration of the kaolinite structure.

In the marl sample with an initial pH of 11, the permeability coefficient decreased compared to natural soil and reached 2.6 × 10–9 m/s. In fact, at pH = 11 (alkaline conditions) the edge of the clay platelet is negatively charged, and therefore, the soil structure is dispersed (Fig. 4e). Under these conditions, an important part of the water in the soil is absorbed by the clay particles, and therefore, their movement or displacement will become difficult. As a result, the permeability is reduced. On the other hand, the stability of palygorskite, sepiolite and kaolinite was another reason for the decrease in permeability coefficient [67, 68] (Fig. 7).

Fig. 7
figure 7

Changes in marl permeability coefficient at different initial pHs

3.7 Changes in Unconfined Compressive Strength of Marl at Different Initial pHs

An unconfined compressive strength test was performed on the samples to investigate the effect of pH, carbonate content and type of clay mineralization on soil resistance behavior. Based on the results, unconfined compressive strength has decreased with increasing and decreasing pH.

According to the results in Fig. 8, the unconfined compressive strength of the natural marl sample is equal to 0.87 MPa. Compressive strength at pHs 6 and 4 decreased by about 65% and 70% to 0.31 MPa and 0.26 MPa, respectively. The reduced carbonate content as a cementing agent between particles and the increased role and intensity of clay minerals in soil behavior are the main reasons for the reduced compressive strength. Based on the results of XRD analysis (Fig. 3) and SEM images (Fig. 4), by lowering the pH and under acidic conditions, the carbonate in the soil dissolves. In addition, the concentration of H+ ions is increased in the pore water of the soil, and due to leaching of soil samples, Ca2+ ions are washed out of the soil structure. Therefore, marl shows less resistance in an acidic environment [69].

Fig. 8
figure 8

Changes in unconfined compressive strength of marls at initial pHs

In the sample with the initial pH 2, the strength of marl increased 1.4 times compared to the sample with initial pH 4 and reached 0.37 MPa. According to the XRF results (Table 4), with increasing acid concentration and decreasing pH, SiO2 increases and Fe2O3 and Al2O3 decrease in the soil, which indicates a decrease in the soil’s clayey part and carbonate removal. This is the reason for increasing soil strength at this pH compared to a sample with an initial pH of 4 [70].

According to [71], it is also possible for iron oxide to be dissolved by acid, thereby reducing the bonding force between soil particles and the soil strength properties. The compressive strength of the marl sample with initial pH 11 is equal to 0.58 MPa. According to Fig. 3a, because palygorskite is stable under alkaline conditions, the compounds of this mineral have a divergent effect on the soil and a reducing effect on its compressive strength [72].

The presence of ions such as Al3+ and Fe3+ cause strong bonds between soil particles, and these cations may be leached from the soil during the leaching process. Therefore, the presence or absence of these ions affects the engineering properties of the soil so that in both acidic and alkaline environments, leaching of a high amount of Ca2+, Al3+ and Fe3+ ions from the soil can have a reducing effect on the unconfined compressive strength of the soil [69].

4 Conclusion

According to the microstructural analyzes and geotechnical experiments, the results of this study can be summarized as follows:

  1. (a)

    Changes in microstructural properties of marl are a function of pH, type of clay minerals and carbonate content.

  2. (b)

    In the 2 ≤ pH ≤ 11 range, the crystalline structure of palygorskite is stable.

  3. (c)

    By lowering the pH and under acidic conditions, by removing the carbonate coating (cementing agent between the particles), the contact of clay minerals with the pore water increases, and considering the stability of palygorskite mineral and the high retention capacity of the pore water in this clayey mineral, the liquid limit and plastic limit are increased.

  4. (d)

    The presence of ions such as Al3+ and Fe3+ cause strong bonds between soil particles, and due to the leaching of these cations which leave the soil structure in the leaching process, the unconfined compressive strength of the soil is reduced by about 70%.

  5. (e)

    The unconfined compressive strength of the natural marl sample is 0.87 MPa. Compressive strength at initial pH 4 decreased to about 70% and reached 0.26 MPa. The reduced carbonate content as a cementing agent between particles and the increased role and intensity of clay minerals in soil behavior are the main reasons for the reduced compressive strength.

  6. (f)

    According to the permeability test, the permeability coefficient of natural marl is 11.7 × 10–9 m/s, and by decreasing the pH to 4, the permeability coefficient is reduced 10 times to 0.99 × 10–9 m/s. In fact, by reducing the particle size of the canals connecting the cavities, they become very small, and high capillary pressure in the walls of these canals prevents the passage of fluids.

  7. (g)

    The increased or decreased initial pH has led to an increase in the liquid and plastic limit of marl and a change in soil classification. This classification change has a strong impact on the engineering and geoenvironmental behavior of soils.