Introduction

Groundwater is indispensable for various uses such as supporting agriculture, enhancing economic expansion, and spurring urban growth (Schlager 2006). It is especially valuable in arid regions where there is only limited availability of precipitation and surface water resources (Li et al. 2015). Groundwater during the past several decades, however, is undergoing relative shortage in quantity because of increasing demand of water for human survival and economic development, and deterioration in quality due to human activities and natural environmental change (Vaux 2011; Li 2014). For instance, groundwater contamination and decline of water levels due to mismanagement and over-exploitation have been reported in Jordan (El-Naqa and Al-Shayeb 2009), China (Han 1998; Wu and Sun 2015), USA (Ayotte et al. 2015; Rattray 2015), India (Ambast et al. 2006), Australia (McCallum et al. 2010) , South Africa (Nel et al. 2009), and among many others.

Irrigated land has been raised in the arid zones around the world because of the increase in human population and associated agricultural production (Goyal and Tripathi 2016). The insufficiency of freshwater for uses and the incentive of environmental protection have driven users to adopt treated wastewater as an additional source of water supply for various purposes (Yang and Abbaspour 2007). Irrigation is the main consumer of the reclaimed wastewater, as it requires large volumes of water but has low requirement to the water quality. Irrigation with reclaimed wastewater has a long history in many countries such as in France (Tarchouna et al. 2010), Spain (Candela et al. 2007), South Korea (Jang et al. 2013), Cyprus (Christou et al. 2014), Egypt (Shurvilin et al. 2010), Israel (Kassa et al. 2005; Schacht and Marschner 2015), China (Li et al. 2014a; Wu et al. 2013), and India (Masto et al. 2009). Irrigation with reclaimed wastewater, however, has long been a controversial issue. On one hand, reclaimed wastewater, as an additional water resource, may help to save the valuable fresh water resources and the nutrients contained in the reclaimed wastewater such as nitrogen and phosphorus can improve soil fertility if used properly (Li et al. 2014a). Irrigation with reclaimed wastewater can also help to reduce investment in sewage treatment plants (Zhao 2010). Whereas, improper wastewater irrigation may have various potential adverse effects on the environment on the other hand. It may cause heavy metal contamination to soil and groundwater and alter soil physical properties and structures. For example, it may have hydrophobic effects on soil surfaces, reducing initial sorptivity and promoting the formation of preferential flow paths (Schacht et al. 2014). Therefore, great care should be taken when using reclaimed wastewater for irrigation, and scientific research must be conducted to guide the practice of wastewater irrigation.

Assessment and hydrogeochemical characterization of groundwater quality have been a hot topic for the past decades as the awareness of groundwater quality protection arise. A large number of literatures regarding groundwater quality assessment and hydrochemical characterization of groundwater have been published over the world (for example, Bouzourra et al. 2015; Brindha et al. 2014; Li et al. 2013a, 2014b; Qian et al. 2012a; Sajil Kumar et al. 2014; Vetrimurugan and Elango 2015; Wu et al. 2014, 2015). Recently, Li et al. (2012) developed an integrated groundwater quality assessment model based on rough set and Technique for Order Preference by Similarity to an Ideal Solution (TOPSIS). This integrated model reduced the number of parameters for assessment and enhanced the capability of grading of water quality. Rajesh et al. (2015) assessed the suitability of groundwater for domestic and irrigation purposes in a shallow weathered rock aquifer of Southern India. Sarikhani et al. (2015) assessed the hydrochemcial characteristics of groundwater on the basis of concentrations of major elements, and found that the dissolution of halite resulted in the linear increase in sodium and chloride. The river recharge, dissolution of evaporated minerals intraformation, and agricultural returned water were responsible for groundwater salinity. There are also a limited number of literatures discussing the adverse impacts of wastewater irrigation on groundwater environment. For instance, Wang et al. (2008) and Li et al. (2007) reviewed the impacts of wastewater irrigation on groundwater, and proposed some measures to deal with the adverse effects. However, the mechanisms of contamination due to wastewater irrigation were not mentioned in their reviews. Kassa et al. (2005) investigated the differences in the impact of irrigation with freshwater and wastewater on groundwater quality in the Coastal Aquifer of Israel. Their research indicates that the composition of irrigation water, the lithology of unsaturated zone and land use are important factors determining the quality of the water that recharges groundwater (Kassa et al. 2005).

A forest covering over 100 km2 has been built in the southeast edge of the Tengger Desert, China since 2005 for the purpose of treating wastewater from a paper making industry (MCC Meili Paper Industry Co., Ltd.) by irrigation and in turn producing raw materials for the paper production. This forest together with the sediments is considered as a constructed wetland for wastewater treatment and recycling (Wu et al. 2013). It is, however, a controversial issue and has attracted much attention from the public. Local residents living downstream of the forest are anxious, because the wastewater might flow toward the urban drinking water source zone, contaminating drinking water and risking human health. The impacts of wastewater irrigation on soil fertility and groundwater quality in this area have been reported (Li et al. 2014a; Wu et al. 2013). However, the hydrogeochemical characteristics of groundwater and its evolution under the effects of wastewater irrigation have never been reported till now. Therefore, the purposes of this study are (1) to investigate the hydrogeochemical characteristics of shallow groundwater in and around the wastewater irrigated region and (2) to determine the main factors governing groundwater chemistry by statistical techniques, stable isotopes, and geochemical modeling. This research will be helpful in supervising the practice of irrigation with reclaimed wastewater and in enhancing groundwater quality protection.

Study Area

Location and Climate

The study area is located in the western part of the Weining plain, the second largest alluvial plain in Ningxia Hui Autonomous Region. The study area, geographically located between east longitude 105°04′–105°25′ and north latitude 37°27′–37°40′, covers about 400 km2 in total and is divided into mainly two parts: the alluvial plain in the south and the desert region in the north (Fig. 1). The alluvial plain is formed by the Yellow River, the second largest river of China that runs through the study area from west to east along the southern boundary, while the desert region is part of the Tengger Desert that is formed mainly by wind. The forest established as part of the integrated forest-paper production system by the MCC Meili Paper Industry is located in the desert region. The integrated forest-paper production system uses paper wastewater to irrigate the forest after mixing with the Yellow River water in a ratio of 1:1, and the forest in turn provides raw materials for the paper production (Wu et al. 2013). The forest can be further divided into two subzones: the east zone irrigated with the mixed wastewater (Zone A in Fig. 1) and the west zone irrigated by pure Yellow River water (Zone B in Fig. 1). The alluvial plain in the south of the study area is the main residential and agricultural region. The Zhongwei city and many towns are just situated in the plain and groundwater is the main source of water for domestic and industrial uses in the plain. A small portion of irrigation water also stems from groundwater. Therefore, groundwater is crucial for the survival of human beings and the development of economy in this study area.

Fig. 1
figure 1

Location of the study area and sampling sites

As is located in the inland of China, the study area is far from the sea and is characterized by a continental arid monsoon climate with a dust-laden spring, a short and hot summer, a very short autumn, and a long and very cold winter (Qian et al. 2012a). Annual precipitation here is small and is only 179.4 mm. However, the annual evaporation rate in this area is 1828.6 mm, which is over ten times of the annual precipitation and makes this area quite deficit of local water resources. The rainfall mainly occurs in June to September, amounts to 73.6 % of the total rainfall. Affected by global climate change, the study area is experiencing a rising temperature and a declining evaporation, but rainfall keeps relatively stable (Li 2014).

Hydrogeology

As silty clay is not present continuously over the study area, the entire study area is covered by single phreatic aquifer and there exist no confined aquifers here within the Quaternary layer (Li 2014; Zheng et al. 2014). According to borehole data, the Quaternary aquifer in the alluvial plain is usually less than 100 m in thickness. Gravels and sands are main media constituting the aquifer and loamy sands and silty clay form the aquitard. The permeability of the aquifer is relatively good with hydraulic conductivity ranging from 6 to 12 m/day. The aquifer located in the desert region is formed by fine sand, sand, and sandy clay, usually about 20 m in thickness. The permeability of the desert aquifer, with a hydraulic conductivity of 6 m/day, is smaller than that of the alluvial aquifer. Sand layer becomes thinner while gravel layer becomes thicker from northwest to southeast with the Yellow River approaches (Li 2014). According to our mineral analyses results, aquifer media in this area is rich in minerals such as dolomite, calcite, plagioclase (typically albite and anorthite), quartz, K-feldspar, gypsum, hornblende, illite, and chlorite. In addition, halite, montmorillonite, and kaolinite are also common in this area. With huge thickness and high permeability, aquifer in the alluvial plain can usually yield large volumes of groundwater for various uses (Zheng et al. 2014). It is estimated that the specific yield of wells ranges from 199.58 to 4845.31 m3/day as per different locations of the wells (Li 2014, Zheng et al. 2014).

Controlled by hydrogeological conditions and macroscopic topographic features, groundwater flows from north to south in the desert region, and then changes its flow direction toward the east in the alluvial plain (Fig. 1). In addition to the natural factors such as geology, topography, geologic structures, meteorology, hydrology, and hydrogeology that primarily govern the patterns of groundwater recharge, runoff, and discharge, groundwater budget is also influenced by anthropogenic factors such as groundwater abstraction and irrigation (Zheng et al. 2014). Typically, groundwater in the study area gets recharge from precipitation, irrigation, canal leakage, and lateral inflow, while is discharged by evaporation, artificial extraction, drain discharge, and lateral outflow (Li et al. 2014b). Based on groundwater budget calculated for the period from August 2011 to July 2012 (Jin 2013), total groundwater recharge during this period amounts to 204 million m3/a, while total groundwater discharge during the same period is 192 million m3/a, indicating that groundwater level may be subject to slight rise in the near future under current situations. Of the total groundwater recharge, canal leakage accounts for more than 66 %, irrigation infiltration amounts to 23 %, whereas lateral inflow and rainfall infiltration are of the order of 5 and 6 %, respectively (Jin 2013). With respect to the total groundwater discharge, evaporation, with 90 million m3/a, accounts for the greatest proportion (46 %) followed by artificial abstraction which accounts for about 32 % of the total discharge. Discharges through drains and lateral outflow are relatively small, accounting for only 18 and 4 % of the total discharge, respectively (Jin 2013; Zheng et al. 2014).

Materials and Methods

Sample Collection and Analysis

For this study, 84 groundwater samples were collected from monitoring wells, hand-pumping wells, and boreholes in October, 2011 for physiochemical analysis. Sampling locations were recorded using a potable GPS device, and are shown in Fig. 1. Prior to sampling, all wells were pumped for several minutes to eliminate the influence from stagnant water. Samples were collected in 2.5 L plastic bottles which had been rinsed and washed 3–4 times using the water to be sampled. After sampling, samples were labeled, stored, and transported to the laboratory for physiochemical analysis. Analyzed indices include Na+, K+, Ca2+, Mg2+, Cl, HCO3 , SO4 2−, NH4-N, NO3-N, NO2-N, fluoride (F), total hardness (TH), total dissolved solids (TDS), pH, and chemical oxygen demand (CODMn). Among these indices, pH was measured in situ using a portable pH meter. Cl, SO4 2−, HCO3 , and NH4-N were determined by routine titrimetric methods. Na+ and K+ were determined by flame atomic absorption spectrometry, and Ca2+, Mg2+, and TH were measured by EDTA titrimetric method. TDS was determined by drying and weighing. Samples were dried at 105 °C and then weighed with an analytical balance capable of weighing to 0.1 mg. F was measured using the ion-selective electrode method. NO3-N and NO2-N were determined by Ion Chromatography. Standard procedures recommended by Rice et al. (2012) were followed to ensure the reliability of the analysis results. Duplicates were also performed during the analysis for quality assurance and quality control (QA/QC).

To quantify the impacts of evaporation on groundwater chemistry, 19 groundwater samples were collected for analysis of stable hydrogen and oxygen isotopes (2H and 18O). All of these isotopic samples were collected from shallow wells (typically less than 30 m in depth), and groundwater is considered to have probably undergone evaporation. Isotopic analyses of 18O and 2H were carried out at the State Key Laboratory of Environmental Geochemistry, Institute of Geochemistry of Chinese Academy of Sciences. Duplicates were introduced in the analytical procedure for QA/QC. Isotopic ratios are expressed in per mil (δ).

Hydrogeochemical Modeling

Geochemical modeling is an important and useful tool for studying hydrochemical evolution mechanisms (Li et al. 2010). Inverse modeling is one of the most popular modeling approaches that have been adopted in various studies. In this paper, the PHREEQC (Parkhurst and Appelo 1999), a thermodynamic program, was applied to calculate saturation index (SI) and to perform the inverse geochemical modeling. To perform the modeling, the initial and final solutions (also known as end-member solutions) along a flow path must be first determined according to groundwater flow directions (Fig. 1). Inverse geochemical modeling is usually used to calculate the moles of minerals and gases that have dissolved in or precipitated/degassed from the solutions based on the rule of mass balance to explain the differences in compositions between the initial and final end-member solutions (Li et al. 2010; Parkhurst and Appelo 1999). The mass balance of the conceptual models can be expresses as follows (Li et al. 2010):

$$\sum\limits_{j = 1}^{n} {a_{ij} x_{j} = b_{i} }$$
(1)

where a ij is the stoichiometric number of element i in mineral j, x j is the molar number of minerals or gases that have dissolved or precipitated (degassed), and b i represents the increment of element i in the final water solution compared with the initial water solution (Li et al. 2010). Positive values of mass transfer indicate dissolution of minerals or gas, whereas negative values indicate precipitation or outgassing.

Another important term that has been widely used in hydrogeochemical studies is the SI, which describes the trend of dissolution or precipitation for a given mineral. SI can be defined by the following formula (Li et al. 2010):

$${\text{SI}} = { \log }\frac{\text{IAP}}{K}$$
(2)

where IAP represents the ion activity product of ions in a solution, and K is the equilibrium constant for a mineral at a certain temperature (Li et al. 2010). SI >0 indicates over-saturation and minerals may be subject to precipitation, SI <0 means under-saturation and minerals will dissolve, and SI = 0 suggests saturation and minerals are in equilibrium status with respect to the solution (Parkhurst and Appelo 1999). In the present study, the SI values for minerals concerned were calculated by PHREEQC.

Results and Discussion

General Groundwater Chemistry

Table 1 lists the statistical analysis results of the analyzed hydrochemical indices. Groundwater pH ranges from 7.00 to 8.86 in the desert region and is observed in the range of 7.14–8.18 in the alluvial plain, indicating neutral to slightly alkaline water over the study area. However, the mean groundwater pH in the desert region is higher than that in the alluvial plain, which may be explained by the percolation of paper wastewater whose pH typically ranges from 8.42 to 8.56. TDS and TH are important indicators of drinking water quality (WHO 2011). In this study, TDS and TH in the desert region are observed in the ranges of 298.45–4488.75 and 55.00–1780.14 mg/L, respectively, and those in the alluvial plain are, respectively, 604.00–3288.00 and 159.75–1979.17 mg/L (Table 1). The high salinity in the groundwater can be attributed to the dissolution of soluble salts and minerals, evaporation of groundwater as well as the infiltration of wastewater (Li 2014).

Table 1 Statistical analysis of groundwater samples

Cations and anions in groundwater show significant spatial variation in the study area. As shown in Table 1, the concentrations of Na+, K+, Ca2+, and Mg2+ in the groundwater are observed in the ranges of 35.46–923.00, 1.00–91.70, 12.50–574.00, 8.34–216.20 mg/L, respectively. Na+ has the highest abundance and followed by Ca2+ and Mg2+, and K+ has the lowest mean value. According to the mean values of cations, Na+ concentration in the desert region (374.66 mg/L) is much higher than that in the alluvial plain (116.81 mg/L), because Na+ concentration in the wastewater is very high and the infiltration of wastewater elevated the Na+ concentration in groundwater in the desert region. The concentrations of HCO3 , SO4 2−, and Cl in the study area range within 119.13–804.59, 3.39–2772.00, and 42.25–1131.14 mg/L with means of 446.55, 333.72, and 210.98 mg/L, respectively (Table 1). Because the Cl concentration in wastewater is high, its use as irrigation water results in the elevation of Cl in groundwater in the desert region. The concentration of SO4 2− in the groundwater of the alluvial plain exceeds that in the desert region due to the intense evaporation of shallow groundwater in the alluvial plain. According to the means, the abundance of anions for groundwater in the desert region is HCO3  > Cl > SO4 2−, and that for groundwater in the alluvial plain is HCO3  > SO4 2− > Cl.

Fluoride (F) is an essential element for human health (Currell et al. 2011; Li et al. 2014c; Wu et al. 2015). According to the World Health Organization (WHO), water with F higher than 1.5 mg/L is unsuitable for human consumption due to health concern (WHO 2011). In the present study, the concentration of F in groundwater over the study area is in the range of 0.19–21.10 mg/L with a mean of 2.12 mg/L (Table 1), suggesting a noticeable health risk. Especially, the mean concentration of F is much higher in the desert region than that in the alluvial plain. The occurrence of F is regulated by hydrogeological conditions and geochemical environment, and its enrichment is usually favored in alkaline environment (Currell et al. 2011; Li et al. 2014c). COD indicates the amount of organic matter, and higher values mean organic pollution of groundwater. In this study, the concentration of COD in groundwater is much higher in the desert region than that in the alluvial plain, which shows the negative impacts of wastewater irrigation on groundwater quality.

Groundwater nitrate contamination is now very common and has become a globally growing problem in many regions of the world because of point and non-point sources (Esmaeili et al. 2014). Many researchers have reported serious groundwater nitrate pollution in China (Chen et al. 2007; Fang et al. 2015; Qian et al. 2015; Zhang et al. 2013). In this study, the concentration of NO3-N in groundwater ranges within 0.08–137.00 mg/L with an average of 13.96 mg/L. Any value above 10 mg/L for nitrate is geochemically considered as pollution due to external factors (Karagüzel and Irlayici 1998). Therefore, groundwater is considered as seriously polluted by nitrate in the study area. NO2-N and NH4-N are also indicators of groundwater pollution. The ranges of their analyses vary within 0–0.44 and 0–3.72 mg/L, respectively (Table 1). It should also be noted that the concentrations of NH4-N and NO2-N in the desert region are greater than that in the alluvial plain as per their mean concentrations. However, because of different geological environments and a much longer history of fertilizer application in agriculture in the alluvial plain, groundwater nitrate pollution seems more severe in the alluvial plain than that in the desert region.

Durov diagram (Durov 1948) was generated to delineate the hydrochemical characteristics of groundwater (Fig. 2). Figure 2 reveals that about half of the water samples have TDS less than 1000 mg/L with HCO3 as the main anion. More than 35 % of the water samples are brackish water with TDS ranging from 1000 to 2000 mg/L. The concentrations of anions are close with each other for the brackish water, indicating mixed type of groundwater. A small portion of the water samples (ten samples) have TDS content greater than 2000 mg/L with high concentrations of SO4 2− and Na+. The TDS content in phreatic water varies spatially, and is closely related with the strong evaporation conditions and the quality of recharge water in the study area. Brackish water is usually found in the northeast regions of the study area where groundwater receives recharge from boundary inflow with high salinity. According to the Durov diagram (Durov 1948), groundwater in the study area is mainly of HCO3–Ca·Mg, SO4–Na, HCO3·Cl–Na·Ca, and HCO3·SO4·Cl–Na·Mg types.

Fig. 2
figure 2

Durov diagram of groundwater samples (Durov 1948)

Hydrogeochemical Transition Along Flow Direction

With groundwater flowing from upstream to downstream, a series of water–rock interactions will occur in the aquifers, thereby increasing the ion contents in groundwater (Li 2014). In addition, ions in groundwater may also undergo slight increase due to the influences from human activity and groundwater evaporation. Therefore, it is crucial to investigate the hydrogeochemical transition of groundwater along the flow direction for gaining a better understanding of the role of water–rock interactions and other factors in regulating groundwater chemistry. Chebotarev (1955) have found, by a large number of studies, that the major anions in a regional groundwater system follow the below sequence along the groundwater flow (Qian and Li 2011):

$${{\text{HCO}}_{3}}^{-} \rightarrow {{\text{HCO}}_{3}}^{-} + {{\text{SO}}_{4}}^{2-} \rightarrow {{\text{SO}}_{4}}^{2-} + {{\text{HCO}}_{3}}^{-} \rightarrow {{\text{SO}}_{4}}^{2-} + \text{Cl}^{-} \rightarrow \text{Cl}^{-} + {{\text{SO}}_{4}}^{2-} \rightarrow {\text{Cl}}^{-}$$

In the present study, a flow path is determined according to the hydrogeological settings and groundwater flow direction (Fig. 1). This flow path reflects the changes of hydrochemistry in accordance with the geomorphology. Three representative sampling sites are selected in this path: N01, N08, and S016. N01 is the groundwater monitoring well located in the uppermost north of the forest irrigated by wastewater. S016 is a hand-pumping well located in the center of the alluvial plain, while N08 is a monitoring well located in the transition belt of the two landforms. Hydrochemical types and the variation of major ions along the flow direction are delineated in Fig. 3 by Piper and Stiff diagrams (Piper 1944; Stiff 1951).

Fig. 3
figure 3

Piper and Stiff diagrams showing the transition of groundwater chemistry along the flow path

As shown in Fig. 3, along the flow path, higher Cl concentration is observed than other anions and Ca2+ is the dominant cation in the upstream groundwater (Stiff diagram in Fig. 3), making it a Ca–Cl type for the upstream groundwater (Piper diagram in Fig. 3). With groundwater flowing downstream, the concentration of Cl decreases significantly and HCO3 increases sharply, while cations show only minor variation, resulting in a transition of water type to HCO3·SO4–Ca type in the transition belt of the landforms. With groundwater flowing further downstream to the alluvial plain, almost all ions show great increase in their absolute contents. A noticeable increase of Na+, Mg2+, and Ca2+ has been observed in the downstream, and SO4 2− and HCO3 also increase a lot. The hydrochemical type of groundwater in the downstream of the flow path becomes HCO3·SO4–Ca·Mg type (Fig. 3).

Compared with the research results by Chebotarev (1955), it is found that the hydrogeochemical transition of groundwater in the study area does not follow the pattern revealed by Chebotarev (1955), because groundwater in the study area is influenced by local factors such as wastewater irrigation. There are generally three reasons that can explain the sharp increase of HCO3 and the dramatic decrease of Cl from N01 to N08. First, the irrigation of the forest increases the groundwater flow rate, taking away soluble salts (mainly Cl). Second, irrigation water for the forest contains relatively high HCO3 , and third, groundwater level depth is great in the forest region, making groundwater evaporation minimal. From N08 to S016, almost all ions show significant increase in their absolute contents, which may be due to the shallow water depth in the alluvial plain and strong groundwater evaporation. It is also interesting to note that the hydrogeochemical transition of groundwater in the study area also differs from that reported by Qian and Li (2011) in an adjacent plain with similar climate, hydrogeology, and hydrology. Types and extent of human interference to groundwater may be the main responsible reason for the differences.

The above discussion indicates that tremendous changes in groundwater chemistry have occurred because of long irrigation history and growing human activities in the study area, in addition to water–rock interactions. The spatial distribution of groundwater chemical compositions has also been altered. This further demonstrates that for the shallow groundwater environment in the study area, its natural property of formation and evolution has already been gradually weakened and human interference begins to act as a significant role in influencing groundwater quality.

Factors Governing Groundwater Chemistry

There are several factors that may be responsible for the hydrogeochemical transition of groundwater chemistry. Gaining a clear understanding of the main factors governing groundwater chemistry is important for various purposes such as groundwater quality protection and groundwater resources development. For studying the formation mechanisms of water, Gibbs (1970) proposed the well-known Gibbs diagrams (Fig. 4). The Gibbs diagrams include two sub-diagrams. One represents the relationship between TDS and the weight ratio of Na+ versus (Na+ + Ca2+), and the other one denotes the relationship between TDS and the weight ratio of Cl versus (Cl + HCO3 ). According to these diagrams, groundwater formation mechanisms include three types: rock dominance, evaporation dominance, and precipitation dominance (Gibbs 1970; Li et al. 2013a).

Fig. 4
figure 4

Gibbs diagrams indicating general mechanisms of groundwater evolution

As shown in Fig. 4, most of the samples are plotted in the middle part of the diagrams, indicating that rock weathering is the most important natural factor governing groundwater evolution. This is evidenced by the study results of Wu et al. (2008). A large amount of dissolvable minerals and salts occurs in the sediments and these sediments are the results of parent rock weathering. The soluble salts will enter groundwater along with the percolation of irrigation water and precipitation. Furthermore, their isotopic investigation indicates that the regional groundwater in the alluvial plain was formed over 5000 years ago (Wu et al. 2008). The residence time is long enough to incur a variety of water–rock interactions including mineral dissolution. Figure 4 also shows that some samples are influenced, to some degree, by evaporation. This is happening where there is shallow groundwater level depth, especially in the alluvial plain. According to field investigation, groundwater level depth in many parts of the alluvial plain is small (typically less than 3 m). High evaporation rate and shallow groundwater level depth have resulted in intense groundwater evaporation over the alluvial plain, and groundwater chemistry is therefore influenced also by evaporation.

Gibbs diagrams are useful to analyze major natural factors governing groundwater formation mechanisms (Marghade et al. 2012; Naseem et al. 2010). However, they are unable to analyze the impacts of human activities on groundwater chemistry, as the extent and degree of human activities are difficult to be quantified. Figure 4 suggests the major role of natural factors such as rock weathering and evaporation in the evolution of groundwater chemistry, but it does not necessarily mean that groundwater formation mechanisms are completely free from human interference. According to Li (2014), the impacts of human activities on the chemical compositions of groundwater can be divided into two categories: direct impacts and indirect impacts. Direct impacts of human activities are those that directly alter the contents of groundwater chemical compositions. On the contrary, indirect impacts do not alter the contents of groundwater chemical compositions directly, but they can indirectly influence the contents of groundwater chemical compositions by altering hydrodynamic conditions that may accelerate water–rock interaction processes and change groundwater evaporation intensity (Li 2014). For example, sewage infiltration can directly result in the increase of Cl and SO4 2− in groundwater, thus sewage infiltration is considered as a direct impact. Groundwater abstraction will lower groundwater level, which may alter the hydraulic relationships of adjacent aquifers and/or enhance the water–rock interactions within the aquifers, forcing the variation in the contents of groundwater chemical compositions. There are many factors that can have indirect impacts on groundwater. Particularly, policies about the establishment of groundwater governance regulations and groundwater management framework can have indirect impacts on groundwater quality. The policies on economic development and population growth can also impact the groundwater quality indirectly. For instance, the revival of the Silk Road economic belt which is quite a hot topic in China and middle Asian countries can indirectly influence groundwater development and groundwater quality in these countries (Li et al. 2015). In the present study, chemical compositions of groundwater are influenced by rock weathering and groundwater evaporation, as indicated by the Gibbs diagrams. However, with the increase of impacts from human activities, traditional Gibbs diagrams show some limitations as they are unable to identify the anthropogenic impacts on groundwater formation.

Rock Weathering

To further refine the geochemical interpretation of rock weathering, some composition diagrams and correlation analysis were performed (Fig. 5; Table 2). This allows a better understanding of the dominant water–rock interactions or source of the ions over the study area (Li et al. 2013b). Figure 5a shows that most samples are plotted along the 1:1 line, indicating that the dissolution of halite expressed as R1 is an important source of Na+ and Cl. This is also evidenced by the SI of halite (Fig. 6) and the significant correlation between Na+ and Cl (Table 2). Previous studies have shown that evaporite (such as halite) dissolution can contribute a large proportion of Na+ and Cl to the water in the Yellow River drainage (Zhang et al. 2015). However, cation exchange between Na+ and Ca2+ may be responsible for the deviation of plots from the 1:1. This will be discussed later. In addition, silicate hydrolysis may also add more Na+, but not Cl, in groundwater, making Na/Cl ratio greater than unity (Li et al. 2014b). For example, the dissolution of albite can increase the concentration of Na+ in groundwater, as expressed by R2.

Fig. 5
figure 5

Relationships between ions

Table 2 Pearson correlation for indices of collected groundwater samples
Fig. 6
figure 6

Variation of saturation indices of selected minerals

$${\text{NaCl}} \rightarrow {\text{Na}}^{ + } {\text{ + Cl}}^{ - }$$
(R1)
$$2 {\text{NaAlSi}}_{ 3} {\text{O}}_{ 8} + 2 {\text{CO}}_{ 2} + 1 1 {\text{H}}_{ 2} {\text{O}} \rightarrow {\text{Al}}_{ 2} {\text{Si}}_{ 2} {\text{O}}_{5} ({\text{OH}})_{ 4} + 4 {\text{H}}_{ 4} {\text{SiO}}_{ 4} + 2 {\text{Na}}^{ + } + 2 {\text{HCO}}_{ 3}^{ - }$$
(R2)

Most of the samples are plotted along the 1:1 line of Ca2+ versus SO4 2− graph (Fig. 5b), demonstrating that gypsum dissolution may be a contributing factor to these two ions in groundwater as expressed by R3 (Salem et al. 2015). Groundwater is under-saturated with respect to gypsum (Fig. 6) and thus gypsum can continue to dissolve in groundwater. However, some plots fall below the 1:1 line in Fig. 5b, which signifies that SO4 2− may also result from the dissolution of Glauber’s salt (NaSO4·10H2O), a common evaporite in the area. The dissolution of Glauber’s salt also elevates the content of Na+ in groundwater (R4).

$${\text{CaSO}}_{ 4} \cdot 2 {\text{H}}_{ 2} {\text{O }} \rightarrow {\text{Ca}}^{{ 2 { + }}} + {\text{SO}}_{ 4}^{{ 2 { - }}} + {\text{2H}}_{ 2} {\text{O}}$$
(R3)
$${\text{Na}}_{ 2} {\text{SO}}_{ 4} \cdot 1 0 {\text{H}}_{ 2} {\text{O }} \rightarrow 2{\text{Na}}^{ + } +{\text{SO}}_{ 4}^{{ 2 { - }}} + {\text{10H}}_{ 2} {\text{O}}$$
(R4)

The relationship between Ca2+ + Mg2+ and SO4 2− + HCO3 demonstrates the contribution of the dissolution of carbonates (such as calcite and dolomite) and sulfate minerals (such as gypsum) to groundwater chemistry. If the dissolution of carbonates and sulfate minerals is the sole source of these ions, plots should falls along the 1:1 line (Li 2014). As shown in Fig. 5c, most samples fall along the 1:1 line, signifying the contribution of the dissolution of carbonates and sulfate minerals to groundwater quality (R5 and R6). However, at the same time, majority of the samples fall above the 1:1 line in the Ca2+ + Mg2+ versus HCO3 diagram (Fig. 5d), suggesting less contribution of Ca2+ by the dissolution of carbonates. The low correlations of HCO3 with Ca2+ and Mg2+ and high correlation between TH and SO4 2− (Table 2) also support this statement. Furthermore, this is also evidenced by the saturation indices of calcite and dolomite which show that calcite and dolomite have already been oversaturated with respect to groundwater (Fig. 6), and no more these minerals can be dissolved in groundwater.

$${\text{CaCO}}_{ 3} + {\text{CO}}_{ 2} + {\text{H}}_{ 2} {\text{O}} \rightarrow {\text{Ca}}^{ 2+ } + 2 {\text{HCO}}_{ 3}^{ - }$$
(R5)
$${\text{CaMg }}\left( {{\text{CO}}_{ 3} } \right)_{ 2} + 2{\text{CO}}_{ 2} + 2{\text{H}}_{ 2} {\text{O}} \rightarrow {\text{Mg}}^{ 2+ } + {\text{Ca}}^{{ 2 { + }}} + 4 {\text{HCO}}_{ 3}^{ - }$$
(R6)

Cation Exchange

Cation exchange is another important natural process that can have significant impacts on the evolution of groundwater chemistry (Li et al. 2013a, b; Wu and Sun 2015). For studying the cation exchange occurring in groundwater system, two chloro-alkaline indices (CAI-1 and CAI-2) were proposed by Schoeller (Marghade et al. 2012; Schoeller 1965), which can be expressed as follows (Li et al. 2014d).

$${\text{CAI-1}} = \frac{{{\text{Cl}}^{ - } - {\text{(Na}}^{ + } + {\text{K}}^{ + } )}}{{{\text{Cl}}^{ - } }}$$
(3)
$${\text{CAI-2}} = \frac{{{\text{Cl}}^{ - } - {\text{(Na}}^{ + } + {\text{K}}^{ + } )}}{{{\text{HCO}}_{ 3}^{ - } + {\text{SO}}_{ 4}^{ 2- } + {\text{CO}}_{ 3}^{ 2- } + {\text{NO}}_{3}^{ - } }}$$
(4)

where all ions are expressed in meq/L. If positive values for the two indices are obtained, cation exchange expressed as R7 occurs, and if negative values for them are achieved, reverse reaction takes place (R8). The calculation results of the two chloro-alkaline indices are plotted in Fig. 7a.

Fig. 7
figure 7

Bivariate diagrams for studying cation exchange

$$2 {\text{Na}}^{ + } + {\text{CaX}}_{ 2} = {\text{Ca}}^{{ 2 { + }}} + {\text{2NaX}}$$
(R7)
$${\text{Ca}}^{{ 2 { + }}} + {\text{2NaX}} = {\text{2Na}}^{ + } + {\text{CaX}}_{ 2}$$
(R8)

The bivariate diagram between (Na+ + K+ − Cl) and [(Ca2+ + Mg2+) − (HCO3  + SO4 2−)] (Fig. 7b) is also widely used for studying the possibility of cation exchange in groundwater (Ahmed et al. 2013; Li et al. 2016). (Na+ + K+ − Cl) represents the increment of Na+ induced by processes excluding halite dissolution, and [(Ca2+ + Mg2+) – (HCO3  + SO4 2−)] indicates the increment or decrement of Ca2+ and Mg2+ caused by processes excluding the dissolution/precipitation of gypsum, calcite, and dolomite (Farid et al. 2013; Li 2014). If cation exchange is a main process affecting groundwater salinity, the relationship between them should be linear and the slope close to −1 (Li 2014).

As shown in Fig. 7a, Most of the water samples in the study area fall in the lower left corner of Fig. 6a, indicating that most of the groundwater in the area has undergone reverse cation exchange expressed as R8. The cation exchange process increases the Na+ content, while decreases the Ca2+ content in groundwater. However, Fig. 6a also shows that several water samples have undergone cation exchange expressed as R7, which is determined by specific hydrogeological and hydrogeochemcial environment. Figure 7b shows that the relationship of (Na+ + K+ − Cl) and [(Ca2+ + Mg2+) − (HCO3  + SO4 2−)] for water samples conforms the following linear formula (5):

$$Y = - 0.893X - 0.325 \, r = 0.742,$$
(5)

where the fitted slope of the linear formula is −0.893, being very close to the theoretical value of −1, indicating that cation exchange between Na+, Ca2+ and Mg2+ have occurred in groundwater. However, the difference between the fitted slope and theoretical value also indicates that cation exchange is not the only factor affecting the concentrations of Na+, Ca2+ and Mg2+ in groundwater, and their contents are also affected by other factors.

Evaporation

Evaporation is an important process influencing groundwater chemistry in the study area, especially in the alluvial plain. The isotopic relationship of δ2H and δ18O for shallow groundwater in the study area is shown in Fig. 8a. As shown in Fig. 8a, shallow groundwater in the study area falls below the local meteoric water line (LMWL) established by Qian et al. (2013), indicating strong evaporation of groundwater in the study area. Shallow groundwater samples conform to a groundwater evaporation line (GEL) expressed by Eq. (6).

Fig. 8
figure 8

Isotopic relationships of groundwater in the study area

$$\delta {}^{2}{\text{H}} = 3.89\delta {}^{18}{\text{O}} - 30.99$$
(6)

The GEL has a smaller slope than the LMWL, because evaporation tends to enrich heavy isotopes in waters (Qian et al. 2013). However, water–rock interactions have rare influences on their compositions below 60 °C if there is no evaporation, and isotopic compositions of groundwater can remain relatively stable (Qian et al. 2012b). This means that groundwater salinity due to evaporation can result in simultaneous increase in heavy isotopes. The GEL intersects LMWL at (−10.96, −73.62), and the values of −10.96 and −73.62 are estimated as baseline values for δ2H and δ18O in recharging rainfall, respectively (Fig. 8b, c). If samples are plotted above the lines, significant groundwater evaporation process can be confirmed. It is observed that all samples are plotted above the baselines (Fig. 8b, c) and this demonstrates that evaporation has significant contribution to groundwater salinity.

Human Activities

Groundwater quality variation due to human activities is a complex process that is difficult to interpret, because it involves too many factors and uncertainties. As NO3 is widely recognized as a contaminant from human activities such as fertilizer application and domestic wastes, its relationships with physiochemical indices were used to interpret the impacts of human activities on groundwater quality in this study. As shown in Fig. 9a, the correlation between NO3 and Cl confirms the similar source of the two ions (Marghade et al. 2012; Li et al. 2016). Cl is significantly influenced by wastewater in addition to halite dissolution, it is, therefore, logical to state that NO3 is also influenced by wastewater. This is supported by the high concentration of NO3 in wastewater (Zheng et al. 2014). The positive correlation of TDS with (NO3  + Cl)/HCO3 (Fig. 9b) also supports the anthropogenic inputs to groundwater (Marghade et al. 2012). The study area has a long history of agriculture and fertilizer application is prevalent in this area to guarantee the crop productivity. Therefore, NO3 pollution is a common phenomenon here. Serious nitrite pollution and nitrate pollution have previously been reported in this area (Zhang et al. 2012).

Fig. 9
figure 9

Relationships between NO3 and Cl/TDS

The above discussions show that groundwater in the study area is influenced by both natural and anthropogenic factors. These factors are interrelated, making the chemical evolution of groundwater complex. It, therefore, calls for more comprehensive research in this field and more scholars to devote to it.

Hydrogeochemical Modeling

Although influenced by human activity, water–rock interaction is assumed to be the principal mechanism for the evolution of water chemistry. Hydrogeochemical modeling was performed with PHREEQC (Parkhurst and Appelo 1999). According to regional hydrogeology and mineral content analyses, the following minerals are considered as the possible mineral phases for the geochemical modeling: calcite, albite, dolomite, gypsum, halite, quartz, fluorite, K-feldspar, kaolinite, anorthite, illite, chlorite, and kaolinite. As the phreatic groundwater system is an open system, CO2 is considered for the simulation. Cation exchange between Na+ and Ca2+ is also taken into account as it is an important process in the phreatic groundwater system (Li et al. 2014b). The same flow path as indicated in Fig. 1 was selected for the simulation. Table 3 lists the mole transfers of phases calculated by PHREEQC.

Table 3 Mineral transfer amount calculated by PHREEQC (unit: mmol/L)

For the upper section of the flow path (from N01 to N08), the dissolution of anorthite increases the concentration of Ca2+, while the precipitation of calcite as well as cation exchange forces the decline of Ca2+ concentration along the path. The cation exchange increases Na+ concentration, but the precipitation of albite lowers its concentration. As a consequence, the Na+ concentration declines along the flow path from N01 to N08. Along the path from N01 to N08, K-feldspar dissolves, but the precipitation of illite balances the increase of K+ in groundwater. Besides, the involvement of CO2 enhances the dissolution of minerals. Overall, the precipitation of calcite, albite and illite, the dissolution of K-feldspar, anorthite, chlorite, and CO2, as well as cation exchange between Na+ adsorbed on the particle surface and Ca2+ in the solution, are the main water–rock interactions influencing groundwater chemistry in the desert region. Hydrochemical type transits from Cl–Ca to HCO3·SO4–Ca types.

Water–rock interactions for the lower section of the flow path (from N08 to S016) show some small differences from that of flow path from N01 to N08. Hydrochemical type changes from HCO3·SO4–Ca to HCO3·SO4–Ca·Mg types. The dissolution of halite is the main process explaining the increase of Na+ and Cl in groundwater, while the dissolution of chlorite is the reason responsible for the increased Mg2+ concentration in groundwater. The dissolution of anorthite and gypsum is responsible for the elevation of Ca2+ concentration, forcing the precipitation of dolomite. In addition, the dissolution of anorthite induces the precipitation of kaolinite (Qian et al. 2012b), which can be expressed by chemical equation (R9). The involvement of CO2 can accelerate this process.

$${\text{CaAl}}_{ 2} {\text{Si}}_{ 2} {\text{O}}_{ 8} + 3{\text{H}}_{ 2} {\text{O + 2CO}}_{ 2} \rightarrow {\text{Al}}_{ 2} {\text{Si}}_{ 2} {\text{O}}_{ 5} \left( {\text{OH}} \right)_{ 4} + {\text{Ca}}^{{ 2 {+}}} + {\text{2HCO}}_{ 3}^{ - }$$
(R9)

The differences between the water–rock interactions occurred in the two sections of the flow path should be attributed to different geologic and hydrogeologic conditions in these two sections. The hydrogeochemical modeling demonstrates that water–rock interactions are the dominant factors regulating groundwater chemistry in this area. The reaction rate and intensity, however, are influenced by climate and human activities.

Conclusions

Groundwater is an important source of water for various purposes in arid and semiarid regions. In the present study, Statistical analysis, graphical approaches, isotopic techniques, and hydrogeochemical modeling were applied to investigate the hydrochemical characteristics and the major factors influencing its evolution. The following conclusions can be reached.

  • Statistical analysis demonstrates that the abundance of cations for groundwater in the study area follows the following order: Na+ > Ca2+ > Mg2+ > K+, while the abundance of anions for groundwater in the desert region is HCO3  > Cl > SO4 2−, and that for groundwater in the alluvial plain is HCO3  > SO4 2− > Cl. About half of the water samples are fresh water with TDS less than 1000 mg/L. HCO3 is the main anion for fresh water. Groundwater in the study area is mainly of HCO3–Ca·Mg, SO4–Na, HCO3·Cl–Na·Ca, HCO3·SO4·Cl–Na·Mg types. The concentrations of physiochemical parameters in the desert region are usually higher than those in the alluvial plain partially because of the impacts of wastewater irrigation.

  • Gibbs diagrams indicate that groundwater chemistry in the study area is mainly of rock dominance, with evaporation a significant influencing factor. Correlation analysis and graphic interpretation show that cation exchange and rock weathering such as dissolution of halite, albite, and carbonate minerals are important water–rock interactions governing the formation of groundwater chemistry. Stable isotopes suggest that shallow groundwater evaporation has occurred in the area and it is an important factor influencing groundwater quality. The occurrence of nitrate and its relationship with ions show that human activities have negative impacts on groundwater quality.

  • Hydrochemical type, indicated by Piper and Stiff diagram, transits from Ca–Cl to HCO3·SO4–Ca and then to HCO3·SO4–Ca·Mg type along the flow path under the integrated impacts of natural factors and human activities. Although the groundwater chemistry is still of rock dominance, its natural property has already been gradually weakened and human interference begins to act as a significant role in influencing shallow groundwater quality.

  • Hydrogeochemical modeling reveals that water–rock interactions for the upper and lower sections of the flow path show some small differences. For the upper section of the flow path, the precipitation of calcite, albite and illite, the dissolution of K-feldspar, anorthite, chlorite, and CO2, as well as cation exchange between Na+ adsorbed on the particle surface and Ca2+ in the solution, are the main water–rock interactions influencing groundwater chemistry. However, the dissolution of halite, chlorite, anorthite, and gypsum, and the precipitation of dolomite and kaolinite are the major water–rock interactions responsible for the variations of ions in shallow groundwater in the lower section of the flow path. The differences should be attributed to different geologic and hydrogeologic conditions in these two sections.