Introduction

Groundwater is the primary source of water supply in irrigation areas. Understanding the changing laws of the groundwater environment plays a vital role in irrigation, life, and healthy ecological development in irrigation areas (Aksever et al. 2016; Feng et al. 2020). The reduction of water diversion from the Yellow River and excessive groundwater exploitation led to the deterioration of the groundwater environment in irrigated areas (Abdalla et al. 2012; Bodrud-Doza et al. 2016; Liu et al. 2022a, b). In addition, the accumulation of surface soil salinity during the dry seasons and the leaching of soil salinity during the wet seasons further lead to the deterioration of the groundwater environment (Li et al. 2017). The hydrochemical characteristics are the concentrated expression of the groundwater environment (Aragaw et al. 2021; Heleika et al. 2021; Yang et al. 2020), controlled by multiple factors, including water–rock processes, precipitation, irrigation from the Yellow River, and artificial exploitation. Therefore, groundwater hydrochemical evolution in the irrigation area has the characteristics of complexity, fuzziness, and uncertainty (Khanoranga et al. 2019; Lecomte et al. 2016; Zhang et al. 2019a, b, c).

The evolution of groundwater hydrochemical characteristics largely depends on natural processes, such as hydrogeological conditions, lithology, and water–rock interactions (Cheng et al. 2021; El Alfy et al. 2019; Ran et al. 2018). The hydrochemistry of shallow groundwater in alluvial plains is primarily affected by water–rock interactions with evaporative concentration and ion exchange, also having a significant influence on the groundwater's chemical properties (Ahmad et al. 2020; Ma et al. 2021). Local climate change and human activities also play an irreplaceable role in the evolution of groundwater hydrochemistry (Okkonen et al. 2012; Zhang et al. 2017). Precipitation influences regional groundwater hydrochemistry mainly through two mechanisms. The greater the rainfall amount, the greater the groundwater recharge. As the ion concentration in the precipitation is low with the increased precipitation recharge, the groundwater ion concentration will decrease. On the other hand, the surface soil soluble salt components will enter the aquifer with rain, thus affecting the chemical composition of groundwater (Li 2014; Sharma et al. 2018). The People's Victory Canal Irrigation Area is a Yellow River diversion irrigation area. The groundwater chemical composition in the irrigation area is affected by the magnitude of the Yellow River diversion. Irrigation by the Yellow River will infiltrate and recharge the groundwater, affecting the groundwater quality. Leakage from the Yellow River irrigation also impacts groundwater quality (Asmael et al. 2014; Ben Ammar et al. 2016). In addition, artificial exploitation is the primary groundwater discharge in irrigated areas. The groundwater amount that is exploited is mainly used for agricultural irrigation, followed by livestock watering in rural areas. With variable exploitation, the dynamic field of groundwater will inevitably change, affecting the evolution of groundwater's hydrochemical composition. Thus, the dynamic groundwater environment is resulting in a complex evolution of groundwater hydrochemistry.

The evolution of groundwater hydrochemistry has been extensively studied previously (Wang et al. 2021a, b; Xiong et al. 2020). Many researchers have modeled the aquifer hydrochemistry evolution using multivariate statistical analysis and mineral weathering models in different hydrogeological systems (Keesari et al. 2021; Tyagi et al. 2009; Wang et al. 2018). However, changes in groundwater recharge and discharge conditions could also affect the evolution of groundwater hydrochemistry. So far, few studies have investigated the effects of atmospheric precipitation, water diversion irrigation, and artificial exploitation on groundwater hydrochemical evolution. Frequently they analyze the influence of only a single factor on groundwater hydrochemistry. Thus, there is a lack of comprehensive studies on the impact of recharge and discharge on hydrochemistry evolution. The association between atmospheric precipitation, water diversion irrigation, artificial exploitation, and groundwater hydrochemical evolution in longer time frames is still unclear.

Therefore, in this study, we focused on the groundwater in the People's Victory Canal Irrigation Area as the research objective. We analyzed the hydrochemical evolution characteristics and the differences between primary ion sources. Our results revealed the influence of atmospheric precipitation, Yellow River diversion irrigation, and artificial exploitation on groundwater chemical evolution in the irrigation area. This paper uses multivariate statistical theory to identify differences or similarities in groundwater hydrochemistry properties. The Gibbs diagram and ion proportionality coefficient method were employed to analyze the natural origin of ion components in groundwater. The influence of precipitation on groundwater hydrochemical components in different areas of study was evaluated by comparing ion concentrations in wet and dry seasons. The correlation between the water amount by the Yellow River diversion, the groundwater depth, and groundwater ion concentration in the longer time frames was investigated. As a result, the mechanisms by which the Yellow River diversion and artificial exploitation influence groundwater chemical evolution in irrigated areas were further assessed.

Study area

The People's Victory Canal Irrigation Area is a typical agricultural irrigation area in the middle and lower reaches of the Yellow River. It is located between Latitude 35° 00 N–35° 30 N and Longitude 113° 31 E–114° 25 E (Fig. 1), and it covers a 1486.84 km2 area. The study area consists of the alluvial plain of the Yellow River and the Taihang Mountains piedmont alluvial fan plain. The terrain elevation is higher in the southwest and lowers in the east. The climate in the irrigated area is characterized as a warm temperate continental monsoon. The annual average temperature is 58.1 °F, the annual mean precipitation is 581.2 mm, and the average evaporation is 1864 mm. Precipitation mainly occurs from July to September, which accounts for more than 70% of the total annual rainfall.

Fig. 1
figure 1

Study area map

Affected by the continuous changes in the Yellow River bank topography, the irrigation area has formed different topographic features such as depressions, floodplains, and river channels. These mainly include the low-lying plain of the original extension, the ancient Yellow River beach, the ancient Yellow River back depressions, the Taihang piedmont handover depression, the fortress of Sion, and the Yellow River old road sand dune sand monopoly, Yellow River beach and Yellow River back river depression. Initially, during the previous decades, the water used for irrigation was mainly from the Yellow River, and groundwater was used as a supplementary water source. More recently, the water from the Yellow River decreased due to restrictions on the diversion gate height and other factors. The area upstream of the irrigation canal could still use the water from the Yellow River to irrigate farmland. In contrast, groundwater irrigation is primarily used in the downstream area. Since April 1952, the People's Victory Canal Irrigation Area has been operating for 70 years, diverting 39 billion m3 of water from the Yellow River, with a designed irrigation area of 1228.67 km2 and an effective irrigation area of 922 km2. The crop planting scheme is a winter wheat-summer corn rotation. The irrigation method adopts traditional border irrigation, with a 1200–1800 m3/hm2 irrigation volume. The average depth of the canals in the first year of the irrigation area is about 1–4 m, and the average groundwater depth in the northwest area is about 2–7 m. In 2003, the G33 sampling point in the middle of the irrigation area formed a depression cone, with the average groundwater depth in this area at about 15 m. The average depth was 4–7 m and 9–14 m before and after 2013, respectively.

Materials and methods

Sampling and measurement

The data used in this paper are the groundwater chemistry monitoring data from 1996 to 2013 and 2016 and 2021 in the People's Victory Canal Irrigation Area. The groundwater hydrochemical data from 1989, 1990, 1996 to 2013 were obtained from the monitoring database of the People's Victory Canal Irrigation Administration of Henan Province. The water chemistry data were collected by our research team in 2016 and 2021 using the 425 discrete interval sampler (Solinst, Canada). They were sent to the First Geological and Environmental Survey Institute of Henan Province for testing within four days. Our research team collected samples for the hydrogen and oxygen isotope data in 2021. The samples were sent to the Isotope Analysis Laboratory, Institute of Geographic Sciences and Natural Resources Research, Chinese Academy of Sciences, for isotope analyses. The soil data used were obtained from the monitoring database of the People's Victory Canal Irrigation Administration of Henan Province from 1993 to 2013. The Yellow River water data were obtained from the sampling data of the People's Victory Canal Irrigation Administration of Henan Province and our research group. The main indicators analyzed in this study were: \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{Ca}}^{2 + }\), \({\text{Mg}}^{2 + }\), \({\text{SO}}_{4}^{2 - }\), \({\text{HCO}}_{3}^{ - }\), \({\text{Cl}}^{ - }\), electrical conductivity (EC) and total dissolved solids (TDS). The concentration of \({\text{Na}}^{ + }\) and \({\text{K}}^{ + }\) in water samples was determined by flame atomic absorption spectrometry. The concentrations of \({\text{Ca}}^{2 + }\) and \({\text{Mg}}^{2 + }\) were determined by EDTA titration, \({\text{SO}}_{4}^{2 - }\) and \({\text{Cl}}^{ - }\) ion concentrations were meaasured by ICS-1100 ion chromatography, and \({\text{HCO}}_{3}^{ - }\) ion concentrations were obtained using acid–base titration with an automatic titrator. All samples passed the charge balance test (≤ 5%), with the accuracy of each index meeting the quality requirements. All TDS and conductivity data points were measured using portable instruments. Hydrogen and oxygen (δD and δ18O) stable isotopic compositions were determined by a liquid water isotope analyzer (LGR, USA). The measurement accuracy of δD and δ18O were 0.6‰ and 0.2‰, respectively. The sampling point distribution in the study area is summarized in Fig. 2.

Fig. 2
figure 2

Location map showing sampling site of the study area

Analysis of geochemical processes

A Piper diagram was used to study groundwater types and analyze hydrochemical composition processes (Liu et al. 2018a, b; Piper 1944). The Gibbs diagram can identify the composition and variation trends of hydrochemical ions in natural water and determine the degree of hydrochemical formation controlled by precipitation, rock weathering, or evaporation concentration (Qu et al. 2019). To reflect the hydrochemical evolution process and characteristics, one year was chosen for every five years from 1996 as a representative year. Five years in total were selected to analyze the evolution process of groundwater hydrochemistry in the study area.

Hierarchical cluster analysis

Hierarchical Cluster Analysis classified the groundwater chemical composition using a multivariate statistical analysis approach (Azevedo et al. 2021; Chang et al. 2018; Rahman et al. 2017). All eight hydrogeochemical parameters measured (TDS, EC, \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{Ca}}^{2 + }\), \({\text{Mg}}^{2 + }\), \({\text{SO}}_{4}^{2 - }\), \({\text{HCO}}_{3}^{ - }\), \({\text{Cl}}^{ - }\)) were implemented in the cluster analysis (Tirumalesh et al. 2010). To prevent the sample distance from being affected by parameter magnitude differences, the Z-score was used to standardize groundwater data. Ward's linkage method and Euclidean distance were used to classify groundwater samples. Then the average values of various groundwater physical and chemical parameters were calculated (Cui et al. 2020; Huang et al. 2021).

Isotope mixing model

Stable isotope technology is cam accurately indicate the material source and the geochemical processes experienced by the geological body. We used a Bayesian mixture model (MixSIAR version 3.1.10) to quantify the contribution ratio of different groundwater recharge sources in the study area (Cui et al. 2021; He et al. 2020; Rodriguez et al. 2016; Tran et al. 2019). The principle is as follows:

$$\begin{aligned} & X_{ij} = \sum\nolimits_{n = 1}^{n} {P_{k} } \left( {S_{jk} + C_{jk} } \right)\varepsilon_{ij} \\ & S_{jk} \sim N\left( {\mu_{jk} ,\omega_{jk}^{2} } \right) \\ & C_{jk} \sim N\left( {\lambda_{jk} ,\tau_{jk}^{2} } \right) \\ & \varepsilon_{ij} \sim N\left( {0,\sigma_{j}^{2} } \right) \\ \end{aligned}$$

where Xij is the jth isotope value in the ith mixture water sample (i,j = 1,2,3,…,n), and k is the potential isotope source; Sjk is the jth isotope value of the kth endmember, μjk, ωjk are the mean and standard deviation of Sjk; Pk is the contribution ratio of each source, that is calculated by the model; Cjk is the fractionation factor of the kth endmember on the j isotope, λjk is the mean of the fractionation factor, τjk is the standard deviation; εjk is the residual error, which represents the undetermined variable between different single mixtures, the mean is 0, and the standard deviation is σjk.

Atmospheric precipitation, irrigation from the Yellow River, and artificial exploitation differentially affect the groundwater chemical evolution in the high, and low salinity areas. Representative points were selected in both areas to analyze the differences in the degree of influence. G06 and G11 groundwater sampling points represented low salinity areas, while G09 and G13 groundwater sampling points represented high salinity areas. G06 and G09 are located far from the canal, and G11 and G13 are located far from the canal. However, since the volume of groundwater exploited and used for agricultural irrigation in the study area is not measured, studies so far have shown that the main factor affecting the groundwater depth is artificial exploitation, with the groundwater level declining year by year, showing characteristics of artificial exploitation (Liu et al. 2018a, b). Therefore, this study reveals the influence of exploitation on groundwater hydrochemistry by evaluating the relationship between groundwater depth and hydrochemical composition.

The Hierarchical Cluster Analysis and correlation analysis were carried out using SPSS 22. The Stuff diagram, Piper diagram, Gibbs diagram, and ion ratio diagram were performed in Origin 2021. The study area's geographical positioning and the sampling points distribution map were drawn by ArcGIS 10.3.

Results and discussion

Hydrochemical characteristics of groundwater in the irrigation areas

The relationship of cationic concentration in the study area groundwater was as follows: \({\text{Na}}^{ + } + {\text{K}}^{ + }\) > \({\text{Ca}}^{2 + }\) > \({\text{Mg}}^{2 + }\) (Fig. 3). The highest \({\text{SO}}_{4}^{2 - }\) concentration was observed in the northwest region, while the \({\text{HCO}}_{3}^{ - }\) concentration was higher in the other regions. The lowest ion concentration in groundwater sampling sites was observed in 1996. The \({\text{Na}}^{ + } + {\text{K}}^{ + }\) mean concentration was 100 mg/L, the mean \({\text{HCO}}_{3}^{ - }\) concentration was 288.87 mg/L, and the mean TDS value was 673.51 mg/L. The highest concentration of ions in groundwater sampling sites was observed in 2021. The average \({\text{Na}}^{ + } + {\text{K}}^{ + }\) concentration was 206.08 mg/L, the average \({\text{HCO}}_{3}^{ - }\) concentration was 595.96 mg/L, and the average TDS concentration was 1516.36 mg/L, which were about twice the average values of 1996 (Table 1). The spatial concentration distribution of each ion and TDS was not uniform in the study area. \({\text{SO}}_{4}^{2 - }\), \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{Cl}}^{ - }\), \({\text{Mg}}^{2 + }\) and TDS concentrations were higher in the northwest region than in other regions. The average TDS of groundwater sampling points in the northwest region in 2016 was 3203 mg/L, while in other regions, it was 942 mg/L.

Fig. 3
figure 3

The spatial distribution of ion concentrations in groundwater in the study area: a 1996, b 2001, c 2006, d 2011, e 2016, f 2021

Table 1 The statistical characteristics of groundwater hydrochemical parameters. All sample concentrations are in mg/L

Spatial clustering characteristics of groundwater in irrigation areas

Q-mode hierarchical cluster analysis divided groundwater samples into two clusters, A and B. Cluster A was further divided into three subsets, A1, A2, and A3 (Fig. 4). The samples in cluster A had a low TDS, with an average of 935.32 mg/L and a range from 194.83 to 2280.10 mg/L. Cluster A groundwater had an extensive distribution area in the study's middle and lower parts and the eastern region. The landform features were mainly the ancient Yellow River beach and Yellow River old road sand dune sand monopoly. Cluster B groundwater had a high TDS, with an average of 3347.16 mg/L and a range from 2596.60 to 4431.50 mg/L. Cluster B groundwater was mainly distributed in the northwest area, and the landform features were the ancient Yellow River back depression and the Taihang piedmont handover depression. After combining cluster analysis results and geomorphological features, the study area was divided into high and low salinity regions (Fig. 5).

Fig. 4
figure 4

Dendrogram of the Q-mode hierarchical cluster analysis

Fig. 5
figure 5

The spatial distribution maps of high and low salinity area

The cluster A1 groundwater sampling points were mostly from the low salinity area in 2016 and 2021 and were mainly the HCO3 water type. The Cluster A3 groundwater sampling points were from the low salinity area from 1996 to 2011 and had a low ion concentration. The relative ratios of hydrochemical ions in Cluster A3 and Cluster A1 groundwater were similar. The ionic abundance followed the order: \({\text{Na}}^{ + } + {\text{K}}^{ + }\) > \({\text{Mg}}^{2 + }\) > \({\text{Ca}}^{2 + }\) and \({\text{HCO}}_{3}^{ - }\) > \({\text{SO}}_{4}^{2 - }\) > \({\text{Cl}}^{ - }\). Cluster A2 groundwater comprised the G04, G08, G09 and G10 groundwater sampling points from 1996 to 2011. Compared with the A1 and A3 clusters, the A2 cluster samples \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{SO}}_{4}^{2 - }\), \({\text{Cl}}^{ - }\) concentration was higher. The G24 groundwater sampling site formed cone of depression at 2001, and the A2 cluster groundwater was affected by groundwater flow from the high salinity area to the low salinity area, increasing the concentration of hydrochemical ions (Liu et al. 2022a, b). Cluster B comprised the G13, and G12 groundwater sampling points from 1996 to 2011 and included the G14, and G23 groundwater sampling points in 2016 and 2021. The ionic abundance followed the order: \({\text{Na}}^{ + } + {\text{K}}^{ + }\) > \({\text{Mg}}^{2 + }\) > \({\text{Ca}}^{2 + }\) and \({\text{SO}}_{4}^{2 - }\) > \({\text{Cl}}^{ - }\) > \({\text{HCO}}_{3}^{ - }\). This area was characterized as a saline-alkali land, and the groundwater salinity was higher than in other areas.

Groundwater hydrochemical types

The groundwater hydrochemical types in the low salinity area were slightly different from year to year, while in the high salinity area remained stable across the whole period (Fig. 6). The percentage of alkaline-earth metal ions (\({\text{Ca}}^{2 + }\) + \({\text{Mg}}^{2 + }\)) was lower compared to the alkaline metal ions (\({\text{Na}}^{ + } + {\text{K}}^{ + }\)) in most groundwater samples in 1996, 2001, and 2011. The 1996, 2001, and 2011 groundwater samples from the low salinity area were dominated by the HCO3·Cl–Na·Mg water type. On the other hand, the hydrochemical type of the high salinity area was SO4–Na·Mg. \({\text{Ca}}^{2 + }\) + \({\text{Mg}}^{2 + }\) concentration in groundwater samples in 2006 and 2016 and 2021 was higher than in 2001 and 2011. The percentage of alkaline earth metal ions (\({\text{Ca}}^{2 + }\) + \({\text{Mg}}^{2 + }\)) was greater compared to the alkaline metal ions (\({\text{Na}}^{ + } + {\text{K}}^{ + }\)). In 2006 and 2016, the groundwater hydrochemical type in the low salinity areas was HCO3–Na·Ca, while in the high salinity areas was SO4·Cl–Na·Mg. The Yellow River water chemical types were HCO3·Cl–Na·Ca and HCO3·SO4–Ca·Na. In the enlarged view of Fig. 6, the chemical water types of groundwater sampling points near the irrigation canal were similar to the Yellow River water. The canal system's effective utilization coefficient in the irrigation area was only 0.4–0.5, and the Yellow River water leakage was relatively large. The sampling points similar to the Yellow River hydrochemical types were distributed at the head of the canal, indicating that the water leakage and recharge from the Yellow River have a profound impact on groundwater hydrochemistry.

Fig. 6
figure 6

The groundwater sample piper map of the study area

δD and δ18O characteristics of study area water groups and recharge of groundwater

Hydrogen–oxygen stable isotope relationships are essential for groundwater recharge sources and migration processes (Fan et al. 2017; Guo et al. 2022; Liu et al. 2021; Wang et al. 2019; Xu et al. 2022). To analyze the precipitation recharge of groundwater, long-term monthly-scale atmospheric precipitation isotope data from the Zhengzhou Observatory were obtained from the International Atomic Energy Agency. The hydrogen and oxygen stable isotope values in monthly precipitation at Zhengzhou Station varied greatly. The variation ranges of δD and δ18O were − 92.8‰ ~ − 4‰ and − 13.15‰ ~ − 0.21‰, respectively, and the weighted averages were − 55.11‰ and − 7.31‰, respectively. Hydrogen and oxygen isotope data in precipitation were used to calculate the local atmospheric precipitation line equation (LMWL): δD = 6.748δ18O − 2.71. Its slope was smaller than the global atmospheric precipitation line equation (GMWL): δD = 8.13δ18O + 10.8. The Yellow River water is vital in recharging groundwater in the irrigation area. The Yellow River water δD and δ18O values were − 9.17‰ and − 65.79‰, respectively. The average values of δD and δ18O in groundwater were − 62.7‰ and − 8.9‰, and the range was − 73.1‰ ~ − 56.4‰ and − 10.66‰ ~ − 7.47‰, respectively. Most groundwater samples were below the LMWL (Fig. 7), similar to the Yellow River water's hydrogen and oxygen isotopic composition. This indicated that the water recharge from the Yellow River and the atmospheric precipitation are the primary sources of groundwater recharge.

Fig. 7
figure 7

Hydrogen and oxygen isotopic compositions of various water bodies and the proportion of Yellow River water recharge in groundwater

The atmospheric precipitation and the Yellow River water were selected as the two endmembers of groundwater sources. The atmospheric precipitation endmember δD and δ18O composition values were − 55.11‰ and − 7.31‰, and the Yellow River water endmember values were − 62.7‰ and − 8.9‰, respectively. According to the MixSIAR Bayesian mixed model results, the groundwater in the high and low salinity areas was affected by the Yellow River water recharge. The Yellow River water recharge accounted for 50–80% in most sampling points, while the atmospheric precipitation was also a major source of groundwater recharge in the low salinity area.

Hydrogeochemical processes

Understanding the formation mechanism of groundwater hydrochemistry is essential to discussing the relationship between groundwater and aquifer lithology in the study area (Sun et al. 2019; Wu et al. 2018; Yuan et al. 2022; Zhang et al. 2019a, b, c). In groundwater flow, a series of reactions with the surrounding environment will result in changes in the hydrochemical composition. Yellow River water and groundwater in the low salinity area are mainly distributed in the rock weathering range (Fig. 8), indicating that rock weathering is the main factor controlling groundwater hydrochemistry. The groundwater samples in the high salinity area are close to evaporation, indicating that this process has a specific influence on salt accumulation (Chen et al. 2020; Qian et al. 2020).

Fig. 8
figure 8

Gibbs plot for groundwater samples in the study area and Yellow River

Endmember diagrams were constructed to further analyze the rock types involved in the rock weathering processes driving groundwater hydrochemistry. They are composed of the \({\text{Ca}}^{2 + }\)/\({\text{Na}}^{ + }\) ratio against the weighted ratio of \({\text{Mg}}^{2 + }\)/\({\text{Na}}^{ + }\) and \({\text{HCO}}_{3}^{ - }\)/\({\text{Na}}^{ + }\). Weathered sources generally include carbonate, silicate, and evaporite (Peng et al. 2021; Zhang et al. 2022). Most of the groundwater samples in the study area were located in the weathered endmembers of silicate (Fig. 9a), indicating that silicate weathering mainly affected groundwater's chemical composition. As shown in Fig. 9b, the groundwater samples in the high salinity area were clustered to the evaporite, indicating that silicate and evaporite weathering was affecting the groundwater in the high salinity area (Wang et al. 2021a, b).

Fig. 9
figure 9

The ratio of \({\text{Mg}}^{2 + }\)/\({\text{Na}}^{ + }\) to \({\text{Ca}}^{2 + }\)/\({\text{Na}}^{ + }\), \({\text{HCO}}_{3}^{ - }\)/\({\text{Na}}^{ + }\) to \({\text{Ca}}^{2 + }\)/\({\text{Na}}^{ + }\) in groundwater in the study area and Yellow River

The \({\text{Ca}}^{2 + }\) and \({\text{Mg}}^{2 + }\) in natural water mainly come from carbonate weathering and the dissolution of gypsum (Fang et al. 2021; Giri et al. 2022; Zhang et al. 2019a, b, c). When the \(\left( {{\text{Ca}}^{2 + } /{\text{Mg}}^{2 + } } \right)\)/\({\text{HCO}}_{3}^{ - }\) ration is 1, it indicates that \({\text{Ca}}^{2 + }\) and \({\text{Mg}}^{2 + }\) in groundwater are derived from carbonate. Most groundwater samples exhibited \(\left( {{\text{Ca}}^{2 + } /{\text{Mg}}^{2 + } } \right)\)/\({\text{HCO}}_{3}^{ - }\) = 1 (Fig. 10a), indicating that they were mainly affected by carbonate weathering. The groundwater samples in the high salinity area deviated higher than the 1 ratio, indicating that \({\text{Ca}}^{2 + }\) and \({\text{Mg}}^{2 + }\) in the high salinity area were not only from carbonate weathering, but also from evaporite, such as gypsum. Water–rock interactions play an essential role in groundwater hydrochemistry. The \({\text{Na}}^{ + }\)/\({\text{Cl}}^{ - }\) ratio is close to 1 if \({\text{Na}}^{ + }\) originates mainly from halite. When \({\text{Na}}^{ + }\)/\({\text{Cl}}^{ - }\) > 1, it means that either silicate weathering or cation exchange occurs (Lin et al. 2021; Zhao et al. 2007). Most of the groundwater samples in the study area had \({\text{Na}}^{ + }\)/\({\text{Cl}}^{ - }\) ratio valus above 1 (Fig. 10b), indicating that the groundwater was mainly affected by silicate weathering. The \(\left( {{\text{Ca}}^{2 + } /{\text{Mg}}^{2 + } } \right)\)/\({\text{HCO}}_{3}^{ - }\) to \(\left( {{\text{SO}}_{4}^{2 - } /{\text{HCO}}_{3}^{ - } } \right)\) ratios can be used to further analyze the carbonic acid and sulfuric acid participation in the weathering of carbonate in groundwater. When the ratio is 1, carbonic acid is responsible for the weathering of carbonate, and when the ratio is 2, sulfuric acid is responsible for the weathering of carbonate minerals (Wang et al. 2020). As shown in Fig. 10c, the groundwater sample had ratio values between 1 and 2, indicating that both carbonic acid and sulfuric acid participate in weathering groundwater carbonate. The groundwater will exchange material with the surrounding rocks during its flow. The cations in the groundwater will be adsorbed on the rock surface due to its negative charge, releasing the original cations into the groundwater. The alternating adsorption of cations is very important to groundwater chemical evolution (Chen et al. 2021; Gao et al. 2022; Liu et al. 2022a, b). The ratio of \(\left( {{\text{Ca}}^{2 + } + {\text{Mg}}^{2 + } - {\text{SO}}_{4}^{2 - } - {\text{HCO}}_{3}^{ - } } \right)\)/\(\left( {{\text{Na}}^{ + } + {\text{K}}^{ + } + {\text{Cl}}^{ - } } \right)\) reflects the alternating adsorption of cations. If cation exchange occurs, the above ratio is negative. Most of the groundwater sample points were distributed along a straight line with a slope of − 1 (Fig. 10d), indicating a profound cation exchange reaction in the groundwater.

Fig. 10
figure 10

Ionic relationships in groundwater in the study area and Yellow River

Therefore, from the above observations, it can be concluded that the groundwater ionic components in the low salinity area were mainly derived from silicate and carbonate weathering. On the other hand, the groundwater ionic components in the high salinity area were mainly affected by silicate and evaporate weathering. The alternating adsorption of cations has an effect on the ionic composition of groundwater in the high and low salinity areas.

Effects of atmospheric precipitation on groundwater hydrochemistry

In the low salinity area, precipitation recharge significantly affected the variation in groundwater hydrochemical composition (Fig. 11a). The \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{Cl}}^{ - }\), \({\text{HCO}}_{3}^{ - }\) concentration and TDS in the wet season were lower than in the dry season. The mean \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{Cl}}^{ - }\), \({\text{HCO}}_{3}^{ - }\) and TDS concentrations of the G11 groundwater sampling point in the wet season were 101.96 mg/L, 59.15 mg/L, 314.51 mg/L, and 423.20 mg/L, respectively. On the other hand, these concentrations in the dry season were 118.24 mg/L, 66.97 mg/L, 409.57 mg/L, and 506.71 mg/L, respectively. Thus, the ion concentration during the wet season was significantly lower compared to the dry season. Notably, the average annual precipitation from 1996 to 2003 was 616.81 mm, and the average precipitation from 2004 to 2013 was lower at 511.97 mm. In a similar trend, the average concentrations of other ions except for \({\text{Ca}}^{2 + }\) in the G06 groundwater sampling point were lower from 1996 to 2003, than from 2004 to 2013. From 1996 to 2003, the mean \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{Cl}}^{ - }\), \({\text{HCO}}_{3}^{ - }\) and TDS concentrations were 77.97 mg/L, 70.74 mg/L, 325.28 mg/L, 380.24 mg/L, respectively, compared with 135.80 mg/L, 70.74 mg/L, 391.45 mg/L, and 532.72 mg/L from 2004 to 2013, respectively. The groundwater ion concentration decreased significantly during the years with higher precipitation. Therefore, the decrease in groundwater ion concentration through recharge by precipitation in the low salinity area is the main contributor to its chemical composition.

Fig. 11
figure 11

Comparison of ion concentrations in groundwater during wet and dry seasons. All sample concentrations are in mg/L

In the high salinity area, the variability trends between the wet and dry periods significantly differed from the low salinity area (Fig. 11b). The mean \({\text{Na}}^{ + } + {\text{K}}^{ + }\) and \({\text{SO}}_{4}^{2 - }\) and TDS concentrations in the G13 groundwater sampling point during the wet season were 361.45 mg/L, 1153.39 mg/L, and 2450.19 mg/L, respectively. The values measured during the dry season were 372.17 mg/L, 1194.04 mg/L, and 2446.25 mg/L, respectively, with the average ion concentration during the wet season being similar compared to the dry season. It shows that precipitation was not the major driver for the change in groundwater hydrochemical composition. The variation of soil average ion concentration during the wet and dry seasons in the high salinity area is presented in Table 2. The high salinity area had a significantly higher average soil ion concentration than the low salinity area (Table 3). Furthermore, the average soil ion concentration in the dry season was higher than that in the wet season in the high salinity area. This indicates that in the high salinity area, soil soluble salts are leached into the aquifer with precipitation, decreasing the content of soluble salts in the soil significantly, while the concentration of solute components in groundwater increases. Therefore, the soil soluble salts leaching with precipitation into the aquifer is the main driver of the hydrochemical composition of groundwater in the high salinity area.

Table 2 Variation of soil ion concentration in wet and dry seasons in high salinity area. All sample concentrations are in mg/L
Table 3 Variation of soil ion concentration in wet and dry seasons in low salinity area. All sample concentrations are in mg/L

In conclusion, the groundwater recharge by precipitation in the low salinity areas and the ion concentration decrease are the main effects on groundwater hydrochemical composition. The soil soluble salt content was high in the high salinity area, and the soluble soil salts leaching into the aquifer with the precipitation during the wet period significantly affected the hydrochemical composition.

Effects of yellow river irrigation on groundwater hydrochemistry

In the low salinity areas, the groundwater sampling points in proximity to the canal are affected by the direct recharge of the Yellow River. As a result, the hydrochemical composition of groundwater is comparable to that of the Yellow River. Groundwater sampling points farther away from the canal were less affected by the Yellow River. The analysis of multiple groundwater sampling points in the low salinity area far and near the canal was in accord with the above trends. The G06 and the G11 groundwater sampling points were selected as the representative points in proximity and farther away from the canal. From 1989 to 1990, the ion concentration of the G06 groundwater sampling point was relatively similar to that of the G11 groundwater sampling point (Table 4). In the G06 groundwater sampling point. the mean \({\text{Mg}}^{2 + }\), \({\text{SO}}_{4}^{2 - }\), and \({\text{HCO}}_{3}^{ - }\) concentrations were 49.23 mg/L, 42.80 mg/L, and 497.23 mg/L. Similarly, in the G11 groundwater sampling point, the mean \({\text{Mg}}^{2 + }\), \({\text{SO}}_{4}^{2 - }\), and \({\text{HCO}}_{3}^{ - }\) ion concentrations were 51.38 mg/L, 74.08 mg/L, and 496.80 mg/L, respectively. From 1996 to 2013, the groundwater ion concentration of the G06 groundwater sampling point gradually reached the concentration levels of the Yellow River. On the other hand, the ion concentration of the G11 groundwater sampling point differed significantly (Fig. 12a, b). The mean \({\text{Mg}}^{2 + }\), \({\text{SO}}_{4}^{2 - }\), and \({\text{HCO}}_{3}^{ - }\) concentrations in the G06 groundwater sampling point were 27.38 mg/L, 127.24 mg/L, and 222.13 mg/L, respectively; 35.10 mg/L, 61.67 mg/L, 362.04 mg/L in the G11 sampling point, and 27.81 mg/L, 128.07 mg/L, and 221.33 mg/L in the Yellow River, respectively. Secondly, from 1989 to 1990, the hydrochemical types of the G06 groundwater were similar to the G11 sampling point, which were HCO3–Na·Mg·Ca and HCO3–Mg·Na·Ca. From 1996 to 2013, the G06 groundwater sampling point hydrochemical types were mainly HCO3·Cl–Na·Ca and HCO3·SO4–Na·Mg. The hydrochemical types of the Yellow River sampling points were HCO3·Cl–Na·Ca, and HCO3·SO4–Ca·Na, while in the G06 groundwater sampling point, they were similar to those of the Yellow River. The G11 groundwater sampling point hydrochemical types were mainly HCO3–Na·Mg·Ca, and HCO3·Cl–Na·Mg, which differed from the hydrochemical types of the Yellow River and the G06 groundwater sampling points. Therefore, the Yellow River directly recharges the groundwater in the low salinity area close to the canal, resulting in ion concentrations similar to that of the Yellow River.

Table 4 Comparison of ion concentration in Yellow River water and groundwater sampling points in low salinity areas. All sample concentrations are in mg/L
Fig. 12
figure 12

The relationship between the concentration of groundwater ions and the irrigation amount of the Yellow River in the high and low salinity area. All sample concentrations are in mg/L

The water is diverted from the Yellow River in the high salinity area, effectively desalinating the groundwater close to the canal. When the water volume diverted from the Yellow River is large, the groundwater sampling points closer to the canal are more affected by this desalination process. On the other hand, when a lower volume of water is diverted, the desalination effect of the Yellow River water on the high salinity area is significantly reduced. The ion concentration of the G09 groundwater sampling point from 1996 to 2013, closer to the canal, was slightly lower than that of G13 (Fig. 12c, d). Especially in 1996–2003, when the volume of water diverted from the Yellow River was large, the ion concentration of the G09 groundwater sampling point was significantly lower than that of the G13 (Table 5). The \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{Cl}}^{ - }\) and TDS concentration in the G09 groundwater sampling point were 0.34%, 0.56%, and 0.23% lower than the G13 groundwater sampling point. When the volume of water diverted from the Yellow River is small, the recharge volume to the groundwater is similarly small. To conclude, the Yellow River water is not the main factor affecting the groundwater hydrochemistry in the high salinity area. Therefore, when the Yellow River water recharge is large in the high salinity area, it recharges the groundwater in proximity to the canal to reduce its ion concentration, significantly reducing the groundwater hydrochemical composition. The Yellow River recharge is not the main factor affecting groundwater ion concentration when the recharge volume is small.

Table 5 Comparison of ion concentrations in groundwater sampling points in high salinity areas. All sample concentrations are in mg/L

The Yellow River significantly impacts groundwater near the irrigation canal. In the low salinity area, the Yellow River recharge affects the ion concentration in the groundwater close to the canal, making it similar to the Yellow River. In the high salinity area, as the Yellow River ion concentration is lower than the groundwater, its recharge reduces the groundwater ion concentration closer to the canal.

Effects of groundwater exploitation on groundwater hydrochemistry

In the low salinity area, before the landing funnel formation at the G24 sampling point in 2003, the ion concentration at the G01 sampling point was low (Fig. 13a). The mean concentration of \({\text{Na}}^{ + } + {\text{K}}^{ + }\)., \({\text{SO}}_{4}^{2 - }\) ions and TDS were 65.80 mg/L, 52.78 mg/L, and 362.00 mg/L, respectively, at the G01 groundwater sampling sites from 1996 to 2003. These concentrations increased gradually after the formation of a depression at the G24 groundwater sampling site in 2003. The mean concentration of \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{SO}}_{4}^{2 - }\) ions and TDS increased 134.63 mg/L, 166.57 mg/L, and 622.04 mg/L, respectively, at the G01 groundwater sampling sites from 2004 to 2013. The mean concentration of \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{SO}}_{4}^{2 - }\) ions and TDS during 2004–2013 increased by 104%, 215%, and 71%, respectively, compared with those during 1996–2003. The increase of exploitation near the G24 groundwater sampling point leads to the formation of a depression cone, causing the direction of groundwater flow to change. The groundwater from the high salinity area flows to the G24 sampling point, increasing groundwater ion concentration in the low salinity area.

Fig. 13
figure 13

Interannual variation of groundwater ion concentration and groundwater depth in high and low salinity area

In the high salinity area, the ion concentration in the G13 groundwater sampling point before 2003 was relatively high (Fig. 13b). The mean concentration of \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{SO}}_{4}^{2 - }\) ions and TDS were 456.37 mg/L, 1593.40 mg/L, and 3134.84 mg/L, respectively, in the G13 groundwater sampling sites from 1996 to 2003. \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{SO}}_{4}^{2 - }\) and TDS concentration at the G13 groundwater sampling sites decreased after 2003. The mean ion and TDS concentrations of the G13 groundwater sampling sites from 2004 to 2013 were 295.16 mg/L, 837.96 mg/L, and 1898.93 mg/L, respectively. Mean \({\text{Na}}^{ + } + {\text{K}}^{ + }\), \({\text{SO}}_{4}^{2 - }\) and TDS concentration were decreased by 35%, 47%, and 39%, respectively. After 2003, the groundwater in the high salinity area flowed to a regional drawdown funnel, the flow rate increased, and the groundwater ion concentration in the high salinity area decreased.

In conclusion, the groundwater production increase causes a change in the flow direction and has a significant impact on local groundwater chemistry. As the groundwater flows through the high salinity area, it increases the groundwater ions concentration in the low salinity area. On the other hand, the groundwater of the high salinity area flows to the funnel area, and the flow rate increases, which results in a groundwater ion concentration decrease in the high salinity area.

Conclusion

The groundwater ion concentration in the study area had prominent spatial zoning characteristics. Specifically, it was divided into two areas: the high salinity northwest area, while the other areas had low salinity. The groundwater in the high salinity area had a higher concentration of \({\text{Na}}^{ + }\), \({\text{Cl}}^{ - }\), and \({\text{SO}}_{4}^{2 - }\), the water type was SO4·Cl–Na·Mg, while in the low salinity area, the water type was HCO3·Cl–Na·Mg and HCO3–Na·Ca.

The study area mainly originated from rock weathering processes. Specifically, they mainly originated from silicate and carbonate weathering in the low salinity area. In the high salinity area, silicate and evaporite weathering were the main sources of groundwater ions.

The variation of groundwater ion concentration in the low salinity area was mainly affected by the Yellow River water, atmospheric precipitation, and partially by the amount of exploitation. The soil soluble salt content was low in the low salinity area. The main effect of precipitation on groundwater chemical composition is to reduce the ion concentration by recharge. The groundwater ion concentration near the canal was similar to that of the Yellow River. The G24 groundwater sampling point in 2003 formed a landing hopper of groundwater, and the groundwater flow direction changed, resulting in an increase in groundwater ion concentration in the area passing through the groundwater flow from the high-salinity area to the low-salinity area.

The groundwater ion concentration changes in the high salinity areas were due to more complex processes, with the leaching of soluble soil salts being the dominant factor causing the change in groundwater chemistry. In addition, precipitation, Yellow River water diversion, and exploitation affected the groundwater ion concentration. The soil soluble salt concentration in the high salinity area was high, and they were leached into the aquifer by precipitation during the wet period. This process increased the concentration of solute components in the groundwater. The Yellow River recharge decreased the groundwater ion concentration near the canal. After 2003, the groundwater in the high salinity area flowed to the funnel area, and its flow rate increased, resulting in a decreased groundwater ion concentration in the high salinity area.