Introduction

The growing population has led to increasing demand for groundwater for drinking and irrigation usages. Hydrological and geochemical conditions represented in aquifer characteristics and geochemical processes control the groundwater quality. Recently, assessment of groundwater quality for drinking and irrigation usages in developing countries is important, since water quality is a fundamental aspect of groundwater management (Li et al. 2018; Wu et al. 2019). In addition, it identified the geochemical mechanisms affecting on the water chemistry (Ndoye et al. 2018; Subba Rao and Chaudhary 2019). The geochemical characteristics of groundwater depend mainly on recharge, aquifer materials, residence time, and some geochemical reactions such as leaching, mineral dissolution, and ion exchange. However, water quality management should be determined through comprehensive groundwater quality assessment and physicochemical characteristics of the groundwater. The quality of water is a function of its physicochemical parameters that reflect groundwater characteristics and factors controlling the quality of water (Joshi and Seth 2011; Hussein et al. 2017; Egbueri 2018; Zhang et al. 2018; Mgbenu and Egbueri 2019).

Therefore, the imitative techniques such as Piper trilinear diagram (Piper 1944), Chadah diagram (Chadha 1999), Gibbs diagram (Gibbs 1970), and hydrochemical facies evolution diagram (HFE) (Giménez-Forcada and San Román 2015) are applicable and widely used techniques for identifying the major geochemical processes that control the water evolution (Kumar et al. 2015), which were used to evaluate water quality and their controlling mechanisms in this study.

Correlation matrix (CM) is powerful tool to identify significant physicochemical parameters and the interrelations between these parameters to understand the main factors influencing the distribution of these parameters in groundwater resources (Singaraja et al. 2015; Kumar et al. 2018; Li et al. 2019b).

In addition, a geochemical modeling (NETPATH) is a significant method to assess groundwater quality and understand the main geochemical characteristics influencing groundwater quality. The minerals saturation index (SI) reflect the geochemical reactions; including rock-water interaction, dissolution reactions, solubility of salts, precipitation, evapotranspiration, ion exchange, and the anthropogenic activities; which depend on the groundwater physicochemical characters and the aquifer matrix (Bozdag and Goçmez 2013; Gad and Saad 2017; Khan et al. 2017; Gad et al. 2018; Li et al. 2019a).

In a groundwater system, the inverse method can be used according to a geochemical model to simulate the net geochemical mass balance transfer and reactions of possible minerals and gases. This model helps to calculate the amounts of chemical constituents in groundwater that are generated from the dissolution or precipitation of main mineral phases (El Osta et al. 2020).

In general, contamination by trace elements associated with farming affects not only human health but also plants, due to their toxic effects, especially in developing countries. The extensive use of fertilizers and pesticides in land reclamation areas leads to degradation of the groundwater quality, especially in the shallow groundwater aquifers (Bartzas et al. 2015; Dhanasekarapandian et al. 2016; Sharma et al. 2020).

Therefore, the physicochemical data and WQIs present a useful interpretation of groundwater quality for irrigation and drinking uses (Bora and Goswami 2017). The drinking water quality index (DWQI) is a powerful approach to reveal the cumulative influences of different physicochemical parameters, according to the weight and rate of each parameter, and express groundwater quality (Rana et al. 2018). Each physicochemical parameter has a weight based on its relative effect on the groundwater quality for drinking use (Chaurasia et al. 2018). The irrigation water quality index (IWQI) combines the effects of five hazard groups, which are integrated together to give a single value that reflects the quality of the groundwater for irrigation use (Chukwuma et al. 2016). These hazard groups are the permeability hazard, salinity hazard, specific ion toxicity, and miscellaneous hazards, according to the guidelines of Ayers and Westcot (1994). In addition, sodium absorption ratio (SAR) is an important index for determining the suitability of water for irrigation with respect to sodium hazard (Richards 1954), since it is more closely related to exchangeable sodium percentage in the soil (Tiwari and Manzoor 1988).

The main groundwater resource in El Fayoum Depression is a Quaternary aquifer, and it shows increasing signs of groundwater quality deterioration according to previous works (Abdel Kawy and Belal 2012; Gad and El-Zeiny 2016; Gad and El-Hattab 2019), which might be attributed to irrigation return flow and anthropogenic activities.

Groundwater chemistry focused on hydrochemical criteria provides preliminary information on water types, various geochemical processes, and water classification for drinking and irrigation usages. Therefore, the objectives of this work were (i) to investigate groundwater types, and geochemical facies evolution based on hydrogeological conditions and physicochemical parameters of the groundwater resources; (ii) to identify the geochemical controlling mechanisms affecting on water chemistry with help of a geochemical modeling; and (iii) to assess the suitability of the groundwater for drinking and irrigation purposes using WQIs.

The integration of physicochemical parameters, geochemical modeling, and WQIs with help of statistical analysis and GIS techniques provides a valuable framework for assessing patterns, defining particular environmental problems, and sharing knowledge on water resources, geochemical processes, and water quality.

Study area

El Fayoum Depression is a green, fertile area that is considered one of the most important agriculture sectors in Egypt, represents more than 5% of the total cultivated area of Egypt which, contributing about 20.54% to the country's gross domestic product (El Sheikh 2004; Ahmed 2012). The main crops cultivated in the investigated area are wheat, cotton, maize, sunflower, clovers, tomatoes, aromatic and medicinal plants, mangoes, olives, and citrus (Abd-Elmabod et al. 2019).

El Fayoum Depression is located at the semi-arid province in the western side of the Nile River. This depression lies between latitudes 29° 00′ and 29° 30′ N and longitudes 30° 20′ and 31° 10′ E, with an area of about 1200 km2 (Fig. 1). The depression is bounded by Qarun Lake that has an area of about 200 km2 in the northwestern side and the Nile River in the southeastern side with an elevation varies from 37 m (amsl) at the southern part to about − 49 m (bmsl) in the north with a slope gradient downward from south to north ranges from 0 to 7 (Gad and El-Zeiny 2016; Gad and El-Hattab 2019). According to the meteorological data, the climate is generally dry and warm with a mean rainfall of 10 mm/year and a mean temperature and evaporation rate ranging from 14.5 to 31.0 °C, and from 0.0088 to 0.03 mm/year, respectively (Abdel Kawy and Belal 2012; Baioumy et al. 2010; Khalil et al. 2017).

Fig. 1
figure 1

Location of the study area and measuring points

Geology and hydrogeology

The lithological succession in El Fayoum Depression ranges from Quaternary to Tertiary (Fig. 2). El Fayoum Depression is mostly covered by Quaternary sediments which extend in the subsurface with variable thicknesses, which are mainly of fluvio-lacustrine origin. The Quaternary lacustrine deposits are dominating in the south of Qaroun Lake, which are consisting of clay stone, gypsum, and calcareous materials intercalated with ferruginous sandy silt (Redwan and Elhaddad 2017). The Quaternary sediments overlay the Middle Eocene deposits, which are composed of limestone, marl, sand, and gypferrous shale that cropped out surrounding the depression (Metwaly et al. 2010). The Middle Eocene deposits overlay the Oligocene deposits, which are composed of fluvio-marine variegated sands and sandstone, with alternating shale, marls, and calcareous beds. The sediments of Lower Miocene are composed of continental sandstone and conglomerate, while sediments of Pliocene are composed of calcareous sandstone and limestone. Several distortion lines, such as faults, breaks, and some folds striking N-S and NW-SE, that affect El Fayoum Depression are dominant at the peripheries of the depression (El-Sayed et al. 2015). Based on a detailed analysis of the available lithological data, two geological cross sections (N–S and SW–NE) were constructed (Fig. 3).

Fig. 2
figure 2

Geological settings of El Fayoum Depression (Ahmed 2012)

Fig. 3
figure 3

Geological cross sections through El Fayoum Depression (Gad and El-Hattab 2019)

The surface water system is represented by Nile River, irrigation canals, and drains. Bahr Youssef and Bahr Hassan Wassef canals deliver the Nile River water to the depression. Generally, three groundwater aquifers were distinguished in El Fayoum Depression (Mohamed et al. 2015) including Quaternary aquifer, Eocene aquifer, and Nubian sandstone aquifer. Quaternary aquifer is a perched aquifer that is maintained by infiltration from canals, drains, and irrigated fields. Beneath this aquifer, the Eocene aquifer, which is composed of limestone and marls, and it, has high salinity. The Nubian sandstone aquifer is a very deep aquifer (> 1000 m), and the depth to water is too great to allow exploitation at a dynamic level of + 25 m (amsl) where their waters are originated from the Nubian aquifer (El Sheikh 2004; Attia et al. 2018).

The Quaternary aquifer has its maximum thickness (about 60 m) at the center of the depression while, the minimum thickness is less than 1 m along the depression peripheries due to local faulting (Ahmed 2012). The groundwater depths varied from few centimeters to 9.1 m, with groundwater level ranges from + 20 m (amsl) in the area near Nile River to − 50 m (bmsl) near Qarun Lake (Fig. 4). In addition, the groundwater flows from SE to N and NW in concordance with the general slope of the depression topography (Gad and El-Hattab 2019). The Quaternary aquifer is thought to be recharged by the seepage from surface irrigation canals, drains, and Nile River. In addition percolation from the underlying fractured limestone of the Eocene aquifer exists (El Sheikh 2004).

Fig. 4
figure 4

Groundwater flow directions in El Fayoum Depression (Gad and El-Hattab 2019)

Material and methods

Sampling and analyses

Thirty-eight groundwater samples from shallow wells (< 60 m) and 12 samples from irrigation drainage canals were collected during summer 2018 in refined plastic bottles, and the sample bottles were rinsed with deionized water before sampling. Two groups of samples were collected from each sampling site, where the first group is used for major ions analyses. The second group was collected for heavy metals analyses and was acidified with nitric acid to a pH less than 2. All samples were preserved at temperature less than 4 °C until analyzing processes as required by standard procedures. Groundwater samples were bottled 0.45 mm polypropylene filter membranes, and then, the chemical analysis was performed using different apparatus and techniques. The physical parameters, temperature, pH, TDS, and EC, were immediately measured in the field using a portable calibrated salinity multi-parameter instrument (Hanna HI 9811-5).

Major ions, Ca+2, Mg2+, Cl, HCO3, and CO32−, were analyzed by volumetric titration using a standard analytical method (APHA 2012). In addition, the ions of K+ and Na+ were analyzed using flame photometer (PFP7 U.K.). The UV/Visible spectrophotometer was used to analyze SO42− and NO3; in addition, silica (SiO2) was analyzed using ion chromatography. The analytical results of the trace elements including Al, Ba, Cu, Cr, Cd, Mn, Fe, Ni, Pb, Sb, and Se that published in Gad and El-Hattab (2019) were taken into consideration in calculation of saturation index (SI) of minerals and WQIs. The mineralogical composition of the aquifer materials from the collected core samples was analyzed using Bruker X-Ray Diffractometer (XRD), D2 PHASER 2nd Gen.

Data analysis and graphical approach

The groundwater data evaluation is carried out using statistical analysis (SPSS Inc., Chicago, IL, USA). The obtained analytical results were presented (Tables 1 and 2) and processed using ArcGIS version 10 to distribute the suitability of groundwater quality for drinking and irrigation usages. Hierarchical cluster analysis (HCA) was performed between groups linkage using SPSS with Euclidean distances as a measure of similarity to classify the similar water sampling sites according to the EC values.

Table 1 Statistical description of the measured physicochemical parameters in the groundwater samples and irrigation drain canals
Table 2 Statistical description of minerals saturation index (SI) and PCO2

A geochemical model, NETPATH software package v. 2.0 (Plummer et al. 1991), was applied for environmental simulation based on the physicochemical parameters of the collected groundwater samples to interpret the hydrochemistry of the groundwater resources depends on the equilibrium between mineral phases and water and is expressed by SI (Garrels and Christ 1965).

The imitative techniques including Piper diagram, Chadah diagram, Gibbs diagram, and HFE diagram were applied using Geochemist’s Workbench Student Edition 12.0 software for identifying groundwater facies, geochemical processes, and the dominant groundwater chemistry control factors.

Indexing approach

Chloro-alkaline indices

The cation exchange reactions in groundwater resources were estimated through Chloro-alkaline indices (CAI I and CAI II) to assess the ion exchange reactions between groundwater and aquifer matrix according to Eqs. (1) and (2) that are expressed in mill equivalents per liter (Schoeller 1967).

$$ \mathrm{CAI}\ \mathrm{I}=\frac{{\mathrm{Cl}}^{-}-\left({\mathrm{Na}}^{+}-{\mathrm{K}}^{+}\right)\kern1.5em }{{\mathrm{Cl}}^{-}}\kern1.75em $$
(1)
$$ \mathrm{CAI}\ \mathrm{II}=\frac{{\mathrm{Cl}}^{-}-\left({\mathrm{Na}}^{+}-{\mathrm{K}}^{+}\right)}{{\mathrm{SO}}_4^{2-}+{\mathrm{HCO}}_3^{-}+{\mathrm{CO}}_3^{2-}+{\mathrm{NO}}_3^{-}} $$
(2)

Mineral saturation indices

The saturation indices of the relevant minerals were estimated by simulating the net geochemical mass balance reactions to investigate thermodynamic influences on the composition of the groundwater (Ammar et al. 2014). The SI of particular minerals was estimated according to the following Eq. 3:

$$ \mathrm{SI}=\mathrm{Log}\ \left(\mathrm{IAP}/{K}_s\right) $$
(3)

where IAP is the ion activity product and Ks is the minerals solubility product.

The groundwater that is oversaturated for a mineral indicates SI is more than zero. Whereas SI is less than zero, indicates the sub-saturation state. The SI equals to zero indicates that a balance occurs between the minerals and groundwater. The SI of the collected groundwater samples was estimated using a net geochemical model, and the input data are the concentration of Na+, Mg2+, Ca+2, Cl, SO42−, HCO3, CO32−, NO3, Al, Ba, Cu, Cr, Cd, Mn, Fe, Ni, Pb, Sb, and Se in mg/L as constrains, and the considered mineral phases in the geochemical model are H4SiO4, CaCO3, Mg(OH)2, MgCO3, MgSO4, SiO2, FeCl2, FeSO4, MnSO4, AlOH4 and AlSO4, according to the mineral composition of the shallow aquifer materials. The number of minerals is dependent on the input data, including available chemical variables (major cations and anions), metals, TDS, and pH at 25 °C.

Water quality indices

Water quality indices, DWQI, IWQI, and SAR, are important indices for demarcating the groundwater validity for drinking and irrigation usages.

Drinking water quality index

The groundwater evaluation for drinking purposes is identified by mathematical methods (DWQI), which is considered the useful index to measure the total quality of groundwater for drinking use (Kachroud et al. 2019). The DWQI is calculated using arithmetic weight method (Table 3), according to Eq. (4):

$$ \mathrm{DWQI}={\sum}_{i=1}^n{q}_i{W}_i\kern1.5em $$
(4)

where qi is the sub quality index of each parameter, Wi is the weight unit of each parameter, and n is the number of parameters according to Eq. (5).

$$ {q}_i=\frac{V_i-{V}_o}{S_i-{V}_o}\times 100\kern1.25em $$
(5)
Table 3 Calculation method of drinking water quality index (DWQI)

Vi is a analyzed value of each parameter, S is the value of the standard permissible limit of each parameter, Vo is an the ideal value of each parameter, and Vo equals to zero for all parameters except for pH = 7.0 and DO = 14.6 mg/L (Tripaty and Sahu 2005).

Wi for each parameters is calculated according to the recommended standards (WHO 2017) by Eq. (6).

$$ {W}_i=K/{S}_i $$
(6)

where K is the proportionality constant

Irrigation water quality index

The groundwater suitability for irrigation purposes is determined by IWQI (Table 5), which is the cumulative effect of five hazard groups (Simsek and Gunduz 2007) by Eq. (7).

$$ \mathrm{IWQI}={\sum}_{i=1}^5{G}_i $$
(7)

where i is a cumulative index, G is the integration of 5 hazard components, and is calculated using Eq. (8).

$$ G=\frac{w}{n}{\sum}_{k=1}^n{r}_k $$
(8)

where:

$$ {G}_1={w}_1{r}_1 $$
(9)
$$ {G}_2={w}_2{r}_2 $$
(10)
$$ {G}_3=\frac{w_3}{3}{\sum}_{j=3}^3{r}_j $$
(11)
$$ {G}_4=\frac{w_4}{N}{\sum}_{k=1}^N{r}_k $$
(12)
$$ {G}_5=\frac{w_5}{3}{\sum}_{m=1}^3{r}_m $$
(13)

where G1 is the salinity hazard, G2 is the infiltration and permeability hazard, G3 is the specific ion toxicity, G4 is the trace element toxicity, G5 is the miscellaneous effects, w is the weight value of this group, r is the rating value of the parameter, k is a cumulative index, and n is the number of analyzed heavy metals.

Sodium absorption ratio

The SAR was estimated by a mathematical equation, which describes the water quality for irrigation usages according to Eq. (14), where all ions are expressed in meq/l (Richards 1954).

$$ \mathrm{SAR}=\left[{\mathrm{Na}}^{+}/{\surd}^{-}\left({\mathrm{Ca}}^{2+}+{\mathrm{Mg}}^{2+}/2\right)\times 100\right] $$
(14)

Results

Physicochemical properties

The statistical description of physicochemical parameters in the collected groundwater samples revealed that pH values are ranged from 6.4 to 8.9, with a mean of 7.5. The groundwater pH values indicate that groundwater is slightly acidic. The temperatures of the groundwater varied from 29.7 to 30.2 °C depending on the groundwater depths (Fig. 4). The electrical conductivity (EC) values varied from 959.84 to 13984.37 μs/cm, with a mean value of 4315.32 μs/cm. The values of TDS range from 614.3 to 8950 mg/L (Fig. 5), with a mean value of 2761.8 mg/L, where the groundwater quality belongs to brackish water type. The spatial distribution map of TDS was constructed as shown in Fig. 5. The salinity decreases toward the northeastern part of El Fayoum Depression and increases toward S, SW, NW, and WSW.

Fig. 5
figure 5

Spatial distribution map of salinity contents in El Fayoum Depression

Sodium, K+, Ca+2, Mg+2, HCO3, Cl, and SO42− had mean values of 566.1 mg/L, 32.4 mg/L, 200.7 mg/L, 94.1 mg/L, 393.6 mg/L, 665.1 mg/L, and 751.1 mg/L, respectively (Table 1). The mean values of cations and anions showed trends of Na+ > Ca2+ > Mg2+ > K+, and Cl > SO42− > HCO3 > NO3, respectively. Sodium is the main dominant cation which varied from 110 to 2094.8 mg/L. Calcium is the second most principal cation which varied from 46.4 to 602.4 mg/L with a mean value of 200.7 mg/L. The mean concentrations of magnesium and potassium were 94.1 and 32.4 mg/L, respectively. The concentration of nitrate varied from 3.5 to 178.8 mg/L with a mean of 55.6 mg/L. Spatial distribution map of nitrate contents indicated that NO3 content in 50% of groundwater samples exceeds the maximum acceptable value (45 mg/L) for drinking (Fig. 6). Chloride is the main dominant anion with a concentration ranging from 85 to 1992 mg/L, with a mean value of 665.1 mg/L. Sulfate is the second most available anion with a concentration ranging from 51.6 to 3370.2 mg/L and a mean value of 751.1 mg/L. The bicarbonate concentration varied from 72 to 787 mg/L with a mean value of 393.6 mg/L.

Fig. 6
figure 6

Spatial distribution map of nitrate (NO3) in El Fayoum Depression

For identifying the groundwater types for the studied aquifer, Piper’s trilinear diagram (1944) was applied (Fig. 7). According to the chemical composition of the analyzed groundwater samples, three groundwater types were presented by Na–Ca–HCO3, mixed Ca–Mg–Cl and Na–Cl.

Fig. 7
figure 7

Piper trilinear diagram showing groundwater types in the study area

Chadah’s classification is also applied to the collected groundwater samples to identify the hydrochemical processes and groundwater facies (Fig. 8). The groundwater samples can be related to fields 2, 3, and 4. Field 2 indicates reverse ion exchange process, field 3 reveals mixing with saline water, and field 4 shows base ion exchange process.

Fig. 8
figure 8

Geochemical controlling mechanisms and water facies (Chadha 1999)

Statistical analysis

The Correlation matrix (CM) was determined for the physicochemical parameters of the groundwater samples using Pearson’s correlation coefficient to measure the relationships between the analyzed groundwater physicochemical parameters. Correlation coefficient results (Fig. 9) revealed that TDS was strongly correlated with Na+, Cl, SO42, Ca+2−, Mg2+, NO3, HCO3, and K+ with correlation coefficients (r) of 0.96, 0.96, 0.95, 0.88, 0.87, 0.62, 0.56, and 0.55, respectively, which indicated a similar type of sources (Yang et al. 2016).

Fig. 9
figure 9

Pearson’s correlation analysis of major ions in the groundwater samples

The correlations between the major analyzed physicochemical components of the collected groundwater samples such as TDS, Na+, K+, Ca2+, Mg2+, Cl, SO42−, HCO3, and NO3 were identified through the geochemical processes and their controlling mechanisms that influenced the groundwater quality evolution (Fig. 10). Generally, the relation between Na+ vs. Cl is important for the mechanisms identification for acquiring salinity in semi-arid regions like the study area (Fig. 10a). The groundwater samples fell below halite dissolution line with a positive high correlation coefficient (R2 = 0.86) which they reflect ion exchange process or weathering of the silicate minerals. The concentrations of SO42− ions increased linearly vs. Cl ions concentrations (Fig. 10b), and the groundwater samples were distributed around the mixing line. The (Ca2+ + Mg2+)–(HCO3 + SO42−) vs. Na+–Cl plot revealed that the groundwater samples fell on a best fit line with a high correlation coefficient (R2 = 0.94) (Fig. 10c). The relationship between Na2+ vs. (Ca2+ + Mg2+) revealed that the groundwater samples fell around equimolar line (Fig. 10d). The relation of (SO42− + HCO3) vs. (Ca2+ + Mg2+) indicated that most of groundwater samples fall below equimolar line (Fig. 10e). The plot of Na+ vs. SO42− (Fig. 10e) showed a high positive correlation coefficient (R2 = 0.76).

Fig. 10
figure 10

Relationships between major ions and their ionic ratios for the collected groundwater samples

Groundwater mineralization processes

Cation exchange is one of interactions between water and aquifer materials which greatly affect groundwater's major ion compositions. Chloro-alkaline indices showed that most of groundwater samples (68%) were negative sign, while the rest of samples (32%) had positive sign.

The evolution of hydrochemical facies (HFE) diagram (Giménez-Forcada and San Román 2015) reveals processes influences such as dissolution of evaporite sediments from the salt marches, which they are rich in sulfate and chloride in the aquifer matrix (Fig. 11). Twelve groundwater samples located in the area of mixed water showed higher concentrations of calcium and sodium.

Fig. 11
figure 11

Hydrochemical facies evolution diagram (HFE) for the collected samples

The main controlling processes that drive the groundwater chemical composition are recognized using Gibb‘s diagram by plotting TDS vs. the ratios Na/(Na + Ca) and Cl/(Cl + HCO3). According to the plot of geochemical data on Gibbs diagram, the groundwater points were scattered in the rock and evaporation dominance fields (Fig. 12).

Fig. 12
figure 12

Gibbs diagram for the collected groundwater samples in El Fayoum Depression

The dendrogram of the sampling sites (Fig. 13) shows that there are two distinct groups. The first group consists of the groundwater sampling sites (1–38) that have EC ranges from 959.84 to 13984.38 μs/cm, while the second group consists of drainage water sites, which have EC ranges from 1017 to 3546 μs/cm.

Fig. 13
figure 13

Hierarchical cluster analysis (HCA) of the sampled waters

The SI was estimated using a geochemical model to improve understanding geochemical processes influencing the overall groundwater quality of the Quaternary aquifer. The obtained results presented SI of 9 minerals and partial pressure of CO2 for each groundwater sample. Statistical descriptions of the SI results were presented in Table 2. The SI of mineral are in the following order: kaolinite > Ca-montmorillonite > dolomite > gibbsite > calcite > quartz > aragonite > gypsum > anhydrite > partial pressure of CO2, with the mean SI of 3.68, 2.85, 1.45, 0.83, 0.69, 0.68, 0.59, − 1.01, − 1.21, and − 2.02, respectively. The geochemical model results revealed that the groundwater in the study area had a high tendency to precipitate the minerals of kaolinite (Al2Si2O5(OH)4), Ca-montmorillonite (Ca)0.33(Al, Mg)2(Si4O10)(OH)2·nH2O), dolomite (Ca, Mg(CO3)2, gibbsite (Al(OH)3, calcite (CaCO3),quartz(SiO2), and aragonite (CaCO3); in addition, the groundwater had the tendency to dissolve minerals of gypsum (CaSO4·2H2O) and anhydrite (CaSO4) from aquifer materials (Table 2; Figs. 14 and 15). The obtained values of SI indicated that the groundwater in the study area is supersaturated with calcite, aragonite, dolomite, and quartz, while it is unsaturated with gypsum and anhydrite; in addition, the partial pressure of CO2 has been negative in value (− 2.023) and below saturation states. The deduced minerals are classified according to the anion part into sulfates, silicates, carbonates, hydroxide, and evaporite minerals.

Fig. 14
figure 14

Box plot of the relevant minerals saturation index

Fig. 15
figure 15

Scattered plot of minerals saturation indices vs.TDS

Groundwater quality indices

The classification of the groundwater samples according to DWQI was presented in Table 4. The obtained results of DWQI showed that all the groundwater samples are not recommended for drinking uses, where about 58% of the groundwater samples have very poor quality for drinking, while the remaining samples (42%) are classified as unsuitable for drinking (Table 4). The spatial distribution of the obtained quality classes based on DWQI was presented in Fig. 16.

Table 4 Drinking water quality index (DWQI) classification according to arithmetic rating method
Fig. 16
figure 16

Spatial distribution map of DWQI according to arithmetic rating method

For irrigation use, the groundwater samples were classified using five hazard groups depending on the rates and weights of the physicochemical parameters (Tables 5, 6, and 7). The IWQI was calculated by a linear combination of these hazard groups, as presented statistically in Table 8. The IWQI values of the collected groundwater samples range from 26.1 to 36.1, indicating a medium class of quality for irrigation purposes (Table 9). The spatial distribution map of IWQI showed that the groundwater quality for irrigation decreased toward the northeastern and southern parts of the depression (Fig. 17). In addition, the SAR ranges from 1.89 to 48.71, with a mean value of 8.03. According to SAR classification, the SAR values revealed that about 79% of the groundwater samples fall in excellent class for irrigation usage (SAR: 2–10), and approximately 13% of samples fall in good class for irrigation (SAR: 10–18), while about 5% of samples fall in doubtful or fairly poor water for irrigation (SAR: 18–26) and the rest of samples about 3% fall in unsuitable class for irrigation usage (SAR: > 26).

Table 5 Groundwater suitability for irrigation according to the hazard groups classification based on rate and weight
Table 6 Infiltration and permeability hazard group classification according to rate
Table 7 Classification of trace element toxicity (Simsek and Gunduz 2007)
Table 8 Statistical description of irrigation water quality index (IWQI)
Table 9 Irrigation water quality index classification (Simsek and Gunduz 2007)
Fig. 17
figure 17

Spatial distribution map of IWQI according to arithmetic rating method

Discussion

Chemical analysis of the groundwater resources can be used to define and monitor geochemical processes influencing the composition of groundwater in the study area, such as dissolution, precipitation, and ion exchange reactions that reflects variation in water quality. For example, the relatively high values of TDS may be related to rock–water interaction, the recharge from the underlying fractured limestone of the Eocene aquifer, the irrigation return flow, and seepage from drains (El Sheikh 2004). As indicated by the spatial distribution map of salinity (Fig. 5), the TDS increases radially from the central part of the study area towards the peripheries that dissected by many drains, where the seepage from drains leads to increase the groundwater salinity, unlike the central part that is dissected by many canals. In addition, the decreasing of the Quaternary aquifer thickness radially from the central part towards the peripheries, where its minimum thickness is found, may also increase the groundwater salinity (Ahmed 2012).

The majority of the population in the study regions relies on agricultural practices for living, using various fertilizers for crop yields, suggesting that the influence of anthropogenic activities, consisting of irrigation, which tends to apply more of nitrate-based fertilizers, and domestic wastes in the study area (Adimalla et al. 2018). Debernardi et al. (2008) analyzed nitrate concentrations in groundwater and considered the substantial use of fertilizers as the main explanation for the elevated NO3 concentrations. Figure 6 indicated that the pollution by nitrate exceeded the acceptable limit for drinking (45 mg/L) around the periphery of and near Qarun Lake that may cause a high health risk to humans and harmful diseases.

Geochemical facies and controlling mechanisms

The major ion concentrations are powerful tools to detect the solute sources, where the wide ranges of the determined ions in the groundwater samples indicated the influence of various recharging sources, e.g., surface canals, drains and irrigation return flow, anthropogenic activities, and excessive use of fertilizers and pesticides (Jalali 2007).

The prevailing water types in the study area as shown by Piper diagram (Fig. 7) are Na–Cl, mixed Ca-Mg-Cl, and Na-Ca-HCO3 facies; in addition, the tendency of the groundwater to precipice calcite, aragonite (CaCO3), and dolomite (CaMg(CO3)2 and dissolve gypsum (CaSO4·2H2O) and anhydrite (CaSO4) (Table 2) indicated that the groundwater was affected by leaching, mineral dissolution, ion exchange, and evaporation processes (Bhat et al. 2016).

The results obtained from Piper diagram are in good agreement with the results of Chadha diagram (Fig. 8) and confirmed that the groundwater quality in the study is mainly controlled by the dissolved Na+ and K+ and reverse ion exchange processes between Ca2+ and Mg2+ in clay aquifer matrix due to irrigation return flow, seepage from drains, and water–rock interaction, where the study area is mostly covered by the Quaternary sediments that have a fluvio-lacustrine origin, and are composed of sand and gravel with silt and clay intercalations. The strong correlation between Na+, Cl, SO42, Ca+2−, Mg2+, NO3, HCO3, and K+ (Table 3) indicated similar sources for these ions (Yang et al. 2016).

The relation between Na+ vs. Cl (Fig. 10a) indicated that the groundwater samples fell below halite dissolution line reflecting the effect of the ion exchange process or weathering of the silicate minerals on the groundwater chemistry. The linear increasing of SO42− ions with Cl ion concentrations (Fig. 10b) reflects effect of the dissolution process of gypsum and anhydrite minerals. The plot of (Ca2+ + Mg2+)–(HCO32− + SO42−) vs. Na+–Cl (Fig. 10c) revealed that the ion exchange is a principal geochemical reaction in controlling the groundwater chemistry. The relation between Na2+ vs. (Ca2+ + Mg2+) (Fig. 10d) reflects the ion exchange process and oversaturation of calcite, aragonite, and dolomite minerals. The relation of (SO42− + HCO3) vs. (Ca2+ + Mg2+) reflects the carbonate and silicate weathering (Fig. 10e). The plot of Na+ vs. SO42− (Fig. 10e) reflects the intercalation between groundwater and aquifer materials. The irrigation return flow and the human activities could be the major source of high concentration of nitrate contents in the shallow groundwater resources, as a result of the oxidation of nitrogenous compounds within the aquifer materials and fixation through microorganisms and leguminous plants (Jalali 2005; Chica-Olmo et al. 2017).

The reverse ion exchange has a main role in controlling the groundwater chemistry as indicated by results of the Chloro-alkaline indices. The majority of the groundwater samples have negative CAI value, where the alkaline earth ions (Ca and Mg ions) dissolved in groundwater have been exchanged with alkaline metal ions (Na and K) in aquifer matrix as a process according to Eq. (15). However, the presence of clay and shale in aquifer matrix in contact with groundwater have adsorb Na and K ions, and thus, alkaline earth metals (Ca and Mg ions) are released into the groundwater indicating ion exchanges process affecting the groundwater samples with positive CAI values according to Eq. (16).

$$ \mathrm{N}{\mathrm{a}}^{+}\left(\mathrm{Groundwater}\right)+\frac{1}{2}\kern.5em \mathrm{C}{\mathrm{a}}^{2+}\left(\mathrm{Aquifer}\kern.5em \mathrm{matrix}\right)\to \mathrm{N}{\mathrm{a}}^{+}\left(\mathrm{Aquifer}\kern.5em \mathrm{matrix}\right)+\frac{1}{2}\kern.5em \mathrm{C}{\mathrm{a}}^{2+}\left(\mathrm{Groundwater}\right) $$
(15)
$$ \frac{1}{2}\kern.5em \mathrm{C}{\mathrm{a}}^{2+}\left(\mathrm{Groundwater}\right)+\mathrm{N}{\mathrm{a}}^{+}\left(\mathrm{Aquifer}\kern.5em \mathrm{matrix}\right)\to \frac{1}{2}\kern.5em \mathrm{C}{\mathrm{a}}^{2+}\left(\mathrm{Aquifer}\kern.5em \mathrm{matrix}\right)+\mathrm{N}{\mathrm{a}}^{+}\left(\mathrm{Groundwater}\right) $$
(16)

This review of CAI indicates that the cation/ion exchange is the key mechanism that influences the groundwater chemistry in the study area. It reveals that the cation exchange, such as potassium and sodium in groundwater, is replaced with magnesium and calcium from the water bearing formation during the contact time of water with the aquifer material (Xiao et al. 2012); hence, the reverse ion exchange happens between potassium and sodium in the formation with magnesium and calcium in the groundwater (Kawoa and Karuppannanb 2018). Therefore, cation exchange processes effects on evolution of groundwater quality in the study area, which confirmed with the prevailing water types in the study area such as, Na-Ca-HCO3, mixed Ca–Mg–Cl and Na–Cl facies as reported by Piper diagram. So, the two processes can be the variables that govern the area's chemical groundwater composition.

The obtained result of HFE diagram (Fig. 11) indicates the effect of two significant geochemical processes controlling groundwater geochemistry since high concentrations of bicarbonate and calcium ions indicated rock–water interaction processes, while high concentrations of chloride and sodium ions indicated evaporation processes (Giménez-Forcada and San Román 2015; Bouderbala and Gharbi Ben 2017; Kanagaraj et al. 2018).

Gibbs diagram (Fig. 12) indicated that most groundwater samples fall in rock dominant zone, and the chemistry of groundwater is influenced by rock dominance and rock water interaction. This indicates groundwater chemistry is influenced by rock dominance and the long time contact between rock and water.

In addition, the groundwater samples display a slight tendency towards the prevailing evaporation region, which suggests increased concentration of TDS and chloride in the groundwater as a result of the incremental effects of liquid wastes, seepage from drains, and irrigation return flow. Therefore, the groundwater samples can move towards the evaporation field from the rocky field. These mechanisms indicate that the quality of the original groundwater of geographic origin has become semi-salty water (brackish) due to the influence of human activities on the aquifer system.

According to the CA results, the cluster classifications varied with significance levels between groups I and II, which presented in Fig. 13. This is also confirmed by the significant differences in the mean values of EC among groundwater and drainage waters. The location of groundwater sites indicates that these sites have chemical characteristics similar to drainage waters. At some localities in Fayoum Depression, the mixing of drainage waters with groundwater causes dilution of the dissolved salts and consequently similar physicochemical chemical characteristics of the samples. According to groups I and II, the groundwater sample differs from the others in salinity, which might be due to the position of this site close to the irrigation drainage waters, in addition percolation from the underlying fractured limestone of the Eocene aquifer exists (El Sheikh 2004).

Geochemical modeling and mineralization processes

Rock-water interaction that affects the aquifers systems is inferred by the obtained results of the geochemical model (NETPATH). The SI of minerals indicated the presence of different hydrogeological environments (Figs. 14 and 15; Table 2). The positive SI values of carbonate minerals (dolomite, calcite, and aragonite) indicate that the groundwater was capable of precipitate from the groundwater, which account for the depletion of dissolved Al and SO4. Therefore, precipitations of such minerals are possible, which account for the depletion of the dissolved Ca and Mg ions. The negative values of SI of sulfate minerals (gypsum and anhydrite) indicate the ability of groundwater in the study area to dissolve those minerals and, consequently, they accept more Ca and SO4 constituents. The same water is oversaturated with gibbsite mineral phases, which accounts for the decrease of the dissolved Al and SO4 through the precipitation process.

The saturation indices of the relevant minerals reflected the effect of geochemical processes such as leaching, dissolution, precipitation, ion exchange in controlling of the evolution groundwater chemistry, and the hydrochemical properties of the aquifer system (El Kadi et al. 2011). The negative value of PCO2 reflects the recharge from the underlying aquifer, the irrigation return flow, and seepage from drains.

According to Fig. 14 and 15, precipitation is clearly proved as the carbonates were exaggeratedly saturated in all groundwater samples. Although the saturation process was obtained in limited samples regarding anhydrite and gypsum, revealing equilibrium, the evaporation process dominates the unsaturation state, especially halite, which reflects the dissolution of evaporation in most groundwater samples. With respect to this process, gypsum and anhydrite are continuously dissolved without precipitation, which results in increased Ca2+ concentration and a decrease in the concentrations of HCO3 and CO32− by precipitation of calcium carbonate. Thus, evaporation plays no important role in groundwater chemistry, while the dissolution of carbonates often affects water chemistry.

Groundwater quality assessment

The obtained results of DWQI showed that the groundwater in the study area cannot be recommended for drinking uses, since the groundwater samples come under the very poor to unsuitable water quality category for drinking (Table 4). Accordingly, the groundwater in the study area should be treated before it can be used for drinking purposes. For irrigation usages, the groundwater samples have a medium quality according to IWQI classification (Table 5). As indicated by SAR results, the high concentrations of Na+ in groundwater samples, compared with Ca2+ and Mg2+, are absorbed by the soil, causing the soil permeability decreasing, degradation of soil structure, and stunting plant growth (Richards 1954). Therefore, a special treatment is required before use according to the types of crops.

The groundwater quality is a result of chemical composition of recharge sources, mineral composition of aquifer formation, rock-water interaction, and the anthropogenic activities that lead to water quality deterioration for drinking and irrigation usages (Li et al. 2017). The deterioration of the groundwater quality for drinking and irrigation in the study area may be attributing to the poor drainage network and contamination by irrigation return flow and seepage from drains through some geochemical processes resulting from rock water interaction such as reverse ion exchange, leaching, dissolution and precipitation processes.

Conclusions

For evaluation of the geochemical processes regulating groundwater quality in the Quaternary aquifer of El Fayoum Depression, physicochemical parameters were determined for the collected groundwater samples. According to the obtained results, groundwater in the investigated area belongs to Na–Cl, mixed Ca–Mg–Cl, and Na–Ca–HCO3 water types. These compositions reflect the effects of leaching, dissolution of evaporite deposits, and anthropogenic activities in areas close to the Nile River. The SI of minerals indicated the presence of different hydrogeological environments. The SI of the relevant minerals reflected the effect of geochemical processes such as leaching of the aquifer materials and cation exchange processes.

The results of DWQI indicated that all the groundwater samples are not suitable for drinking. The IWQI results showed that all groundwater samples were in the medium quality class for irrigation suitability. The deterioration of the groundwater quality could be attributed to high mineralization processes resulting from aquifer materials; in addition, contamination by irrigation return flow through high application of agrochemical pesticides and the seepage from irrigation drainage canals.

Utilization of physicochemical parameters, geochemical modeling, and WQIs with the help of statistical analysis and GIS techniques is effective and applicable approach and gives a clear picture for the groundwater quality and controlling mechanisms