Introduction

Groundwater contamination is an important concern due to the problem of soil contamination. Currently, groundwater is identified as the largest available freshwater source and which is under serious risk on maintaining its quality and quantity because of various anthropogenic activities (El Alfy 2012; Rahnama and Zamzam 2013). The nitrogen species concentration released from the wastewater- or fertilizer-applied agricultural fields can potentially affect the subsurface in terms of groundwater contamination and possible risk associated with the human health (Chen et al. 2007). Ammonium nitrogen, nitrite nitrogen, nitrate nitrogen and nitrogen gas are the major nitrogen species present in the aqueous phase. Additional nitrate nitrogen in drinking water may cause methaemoglobinaemia, called blue baby disease in new born infants (Lin and Wu 1996; Akosman and Ozdemir 2010). The state-of-the-art modelling of nitrogen species in soil is accounted by the classical transport parameters such as advection, diffusion and reaction. Among the transport parameters, sorption is recognized as a most efficient, promising and a predominant process in transport of nitrogen species in soil (Antonopoulos 1993; Lee et al. 2006). Modelling efforts to conceptualize the fate and their transport of nitrogen species in the unsaturated soil system depends largely on understanding the leading mass transfer mechanism, particularly sorption (Cahn et al. 1992; Sharifnia et al. 2016).

Sorption process considers a solid phase and liquid phase interaction to adsorb the sorbate species (liquid phase) onto the solid and bound thereby different mechanisms due to higher affinity. The partitioning (sorption or desorption) of any contaminant between aqueous and sorbed phases is described by the solid–liquid phase distribution (partition) coefficient (Liu et al. 1991). The accurate description of the sorption process of a contaminant is important to access the movement of solute in the subsurface and groundwater due to the sorption process. A general method for resembling solute retardation by sorption in subsurface system is the linear equilibrium model, which is the simplest sorption model (Faust and Mercer 1980; Pinder 1984). The first-order reversible kinetic model (Lapidus and Amundson 1952) and the two-region/two-site model (Karickhoff 1980) have been used effectively to describe the transport of various solutes that interact with porous media. The effect of sorption characteristics is carried out earlier on heterogeneous porous formation also (Sekhar et al. 2006; Suresh Kumar et al. 2008; Suresh Kumar 2009).

Adsorption equilibrium (the ratio between the adsorbed amount and the remaining in the solution) is recognized when an aqueous phase has been contacted with the solid phase for adequate time (Kumar and Sivanesan 2007; Ghiaci et al. 2004). A wide range of equilibrium isotherm models have been formulated based on three fundamental approaches such as kinetic equilibrium, thermodynamics and potential theory (Langmuir 1916; 1968; Myers and Prausnitz 1965; Dubinin 1960). Langmuir, Freundlich, Brunauer–Emmett–Teller (BET), Redlich– Peterson, Dubinin–Radushkevich, Temkin, Toth, Koble–Corrigan, Sips, Khan, Hill, Flory–Huggins and Radke–Prausnitz are some of the equilibrium isotherms (Malek and Farooq 1996). There are few models such as Sips, Toth, Koble Corrigan, Khan, Radke Prausnitz isotherms developed based on the combination equilibrium isotherms (Vijayaraghavan et al. 2006; Sips 1948; Toth 1971; Koble and Corrigan 1952; Khan et al. 1997). A number of researchers have been promoted to examine the applicability of linear and nonlinear isotherm models in describing the adsorption of various contaminants (Foo and Hameed 2010). Hence, the choice of the sorption model describing the partition between the soil and the pollutant of a specific site and the type of contaminant may have a great influence on the transport modelling results.

Generally, ammonium anion can be restrained due to the adsorption process with negatively charged cation such as sediment and soil particles as compared with other nitrogen species (Lee et al. 2006; Berlin et al. 2014a, b; Almasri and Kaluarachchi 2007). Many research studies show that the ammonium nitrogen sorption is followed by the linear adsorption isotherm (Mehran et al. 1984; Matschonat and Matzner 1995; Lunn et al. 1996; Morell et al. 1996; Birkinshaw and Ewen 2000; Saadi and Maslouhi 2003; Jellali et al. 2010; Ranjbar and Jalali 2013). Similarly, few studies confirm that the ammonium sorption can be followed by linear Freundlich-type isotherm (Lafolie 1991; Rahil and Antonopoulos 2007; Eturki et al. 2012; Moradzadeh et al. 2014; Sharifnia et al. 2016; Buragohain et al. 2013; Kizito et al. 2015). Few studies further suggest that the ammonium sorption may follow the Langmuir isotherm also (DeSimone and Howes 1998; Eturki et al. 2012; Sharifnia et al. 2016; Buragohain et al. 2013; Kizito et al. 2015). Even though the nitrate has less sorption affinity with soil particles due to negative charge, some studies have proved that it can get adsorbed by soil particles. Generally, the nitrate sorption phenomena may follow Freundlich isotherm (Cahn et al. 1992; Ozturk and Bektas 2004; Akosman and Ozdemir 2010). In essence, the ammonium nitrogen is following linear, Freundlich and Langmuir isotherms and nitrate nitrogen is frequently following Freundlich isotherm. Although many experimental studies show evidence that the above isotherms are critically influencing the concentration of all nitrogen species, the influence of various sorption isotherms on all nitrogen species in the unsaturated zone using mathematical modelling has not been analysed extensively. Therefore, this paper examines the impact of various sorption isotherms on the transport of nitrogen species in unsaturated porous media using one-dimensional numerical modelling technique.

Materials and methods

Mathematical model

In order to study the impact of various sorption isotherms on nitrogen species transport in a wastewater-applied agricultural field, coupled flow and transport models are used to simulate the near-field scenario. The vertical movement of water under unsaturated condition in one-dimensional domain can be defined by Richard’s model as articulated in Eqs. (1)–(3) (Soleimani et al. 2009).

$$ C\left( h \right)\frac{\partial h}{\partial t} = \frac{\partial }{\partial z}K\left( {\frac{\partial h}{\partial z}} \right) - \frac{\partial K}{\partial z} , $$
(1)
$$ K = K_{s} S_{e}^{1/2} \left[ {1 - \left( {1 - S_{e}^{1/\eta } } \right)^{\eta } } \right]^{2} , $$
(2)
$$ \theta_{w} = \theta_{r} + \frac{{\theta_{s} - \theta_{r} }}{{\left( {1 + \left| {\alpha h} \right|^{\beta } } \right)^{\eta } }} , $$
(3)

where \( S_{e} = \frac{{\theta_{w} - \theta_{r} }}{{\theta_{s} - \theta_{r} }} \), \( C\left( h \right) = \frac{{\partial \theta_{w} }}{\partial h} \) is the specific moisture capacity (1/L); h is the pressure head (L); K is the unsaturated hydraulic conductivity (L/T); t is the time (T); z is the vertical depth (L) positive downward; Ksat is the saturated hydraulic conductivity (L/T); \( \theta_{w} \) is the water content (L3/L3); \( \theta_{s} \) is the saturated water content; \( \theta_{r} \) is the residual water content; and \( \alpha , \beta {\text{and }}\eta \) are fitting parameters.

Since the diffusive movement of oxygen in gas phase and its mass transfer to aqueous phase are key processes in the unsaturated zone (Reible et al. 1989), the air phase oxygen concentration can be simulated using one-dimensional transport (Simunek and Suarez 1994) as expressed in Eq. (4).

$$ \theta_{g} \left[ {\frac{\partial }{\partial t}\left( {{\text{O}}_{2,g} } \right)} \right] = \theta_{g} D_{0} \frac{\partial }{\partial z}\left[ {\tau \frac{{\partial {\text{O}}_{2,g} }}{\partial z}} \right] + \omega \left( {{\text{O}}_{2} - \frac{1}{H}{\text{O}}_{2,g} } \right). $$
(4)

The tortuosity factor (τ) is a function of the air-filled porosity θa and the total porosity θs is estimated using the expression provided by Millington (1959) and the same is represented by Eq. (5).

$$ \tau = \frac{{\theta_{a}^{7/3} }}{{\theta_{s} }} . $$
(5)

Moreover, the mass transfer between gaseous phase and water phase can be expressed by Henry’s equilibrium law (Alfnes et al. 2004) as shown in Eq. (6).

$$ \theta_{w} \left[ {\frac{\partial }{\partial t}\left( {{\text{O}}_{2} } \right)} \right]_{\text{exchange}} = - \omega \left( {{\text{O}}_{2} - \frac{1}{H}{\text{O}}_{2,g} } \right) , $$
(6)

where O2 is the concentration of dissolved oxygen (ML−3); H is the Henry law constant; ω is the first-order mass transfer rate (T−1); O2,g is the concentration of oxygen in the gas phase (ML−3); θg = θsθw, is the air content; and D0 is the coefficient of gas diffusion (L2T−1).

Figure 1a illustrates the nitrogen transformation pathways with the subsoil environment in an agricultural field. In this study, various sorption isotherms of nitrogen species are considered along with different processes such as nitrogen transformation by microbes, variation of dissolved organic carbon (DOC) and dissolved oxygen (DO). Equations for nitrogen species and DOC due to nitrification and denitrification processes are expressed by Eqs. (7)–(10) (Reddy and Patrick 1975; Lee et al. 2006).

Fig. 1
figure 1

a Conceptual model for nitrogen cycle in subsurface system (Berlin et al. 2013). b Procedure to solve the coupled water flow, air flow and transport of nitrogen species, DOC and DO models in unsaturated porous media

$$ r_{1} : {\text{NH}}_{4}^{ + } + \frac{3}{2}{\text{O}}_{2} \left( {\text{aq}} \right) \to {\text{NO}}_{2}^{ - } + {\text{H}}_{2} {\text{O}} + 2{\text{H}}^{ + } , $$
(7)
$$ r_{2} : {\text{NO}}_{2}^{ - } + \frac{1}{2}{\text{O}}_{2} \left( {\text{aq}} \right) \to {\text{NO}}_{3}^{ - } , $$
(8)
$$ r_{3} : {\text{CH}}_{2} {\text{O}} + \frac{4}{5}{\text{NO}}_{3}^{ - } \to \frac{2}{5}{\text{N}}_{2} + \frac{4}{5}{\text{HCO}}_{3}^{ - } + \frac{1}{5}{\text{CO}}_{2} \left( {\text{aq}} \right) + \frac{1}{5}{\text{H}}_{2} {\text{O}} , $$
(9)
$$ {\text{r}}_{4} : {\text{CH}}_{2} {\text{O}} + {\text{O}}_{2} \left( {\text{aq}} \right) \to {\text{CO}}_{2} \left( {\text{aq}} \right) + {\text{H}}_{2} {\text{O}} . $$
(10)

The dynamic form of the above reaction equations is provided by Eqs. (11)–(14) (Lee et al. 2006).

$$ r_{1} = \mu_{ \rm{max} }^{{{\text{nit}}1}} X_{1} \left[ {\frac{{k_{b1} }}{{k_{b1} + {\text{X}}_{1} }}} \right]\left[ {\frac{{{\text{NH}}_{ 4} {\text{ - N}}}}{{K_{{ ( {\text{NH}}_{ 4} {\text{ - N)}}}} + {\text{NH}}_{4} - {\text{N}}}}} \right]\left[ {\frac{{{\text{O}}_{2} }}{{K_{{O_{2} }} + {\text{O}}_{2} }}} \right] , $$
(11)
$$ r_{2} = \mu_{ \rm{max} }^{{{\text{nit}}2}} X_{2} \left[ {\frac{{k_{b2} }}{{k_{b2} + {\text{X}}_{2} }}} \right]\left[ {\frac{{{\text{NO}}_{2} - {\text{N}}}}{{K_{{({\text{NO}}_{2} - {\text{N}})}} + {\text{NO}}_{2} }}} \right]\left[ {\frac{{{\text{O}}_{2} }}{{K_{{{\text{O}}_{2} }} + {\text{O}}_{2} }}} \right] , $$
(12)
$$ r_{3} = \mu_{ \rm{max} }^{\text{denit}} X_{3} \left[ {\frac{{k_{b3} }}{{k_{b3} + {\text{X}}_{3} }}} \right]\left[ {\frac{{k_{{{\text{O}}_{2I} }} }}{{k_{{{\text{O}}_{2I} }} + {\text{O}}_{2} }}} \right]\left[ {\frac{{{\text{CH}}_{2} {\text{O}}}}{{K_{{{\text{CH}}_{2} {\text{O}}}} + {\text{CH}}_{2} {\text{O}}}}} \right]\left[ {\frac{{{\text{NO}}_{3} - {\text{N}}}}{{K_{{({\text{NO}}_{ 3} - {\text{N}})}} + {\text{NO}}_{3} - {\text{N}}}}} \right] , $$
(13)
$$ r_{4} = \mu_{\rm{max} }^{\text{oxid}} X_{3} \left[ {\frac{{k_{b3} }}{{k_{b3} + X_{3} }}} \right]\left[ {\frac{{CH_{2} O}}{{K_{{CH_{2} O}} + CH_{2} O}}} \right]\left[ {\frac{{O_{2} }}{{K_{{O_{2} }} + O_{2} }}} \right] , $$
(14)

where r1 is the substrate utilization rate by ammonium oxidation process (mg/(l day)); r2 the substrate utilization rate by nitrite oxidation process (mg/(l day)); \( \mu_{ \rm{max} }^{{{\text{nit}}1}} \) the maximum substrate utilization rate for nitrification (l/day); \( \mu_{ \rm{max} }^{{{\text{nit}}2}} \) the maximum substrate utilization rate for nitrification (l/day); X1 the ammonia-oxidizing autotrophic biomass concentration (mg/l); X2 the nitrite-oxidizing autotrophic biomass concentration (mg/l); \( K_{{({\text{NH}}_{4} - {\text{N}})}} \), \( K_{{({\text{NO}}_{2} - {\text{N}})}} \) and KO2 the half saturation constants for \( {\text{NH}}_{4}^{ + } - {\text{N}} \), \( {\text{NO}}_{2}^{ - } - {\text{N}} \) and O2 (mg/l); kb1 and kb2 are the ammonia-oxidizing and nitrite-oxidizing biomass inhibition constants (mg/l); r3 is the substrate utilization rate by denitrification (mg/(l day)); \( \mu_{ \rm{max} }^{\text{denit}} \) the maximum substrate utilization rate by denitrification (l/day); KCH2O and \( K_{{({\text{NO}}_{3} - {\text{N}})}} \) the half saturation constants for CH2O and \( {\text{NO}}_{3}^{ - } - {\text{N}} \) (mg/l); X3 the heterotrophic biomass concentration (mg/l); kb3 and kO2I are the heterotrophic biomass and oxygen inhibition constants (mg/l); r4 is the substrate utilization rate by denitrification (mg/(l day)); and \( \mu_{ \rm{max} }^{\text{oxid}} \) the maximum substrate utilization rate for organic carbon oxidation (l/day).

The coupled transport equations for ammonium nitrogen, nitrite nitrogen, nitrate nitrogen, nitrogen gas and dissolved organic carbon in the agricultural field described by the above reaction kinetics and the respective partial differential equations are provided in Eqs. (15)–(19) (Lee et al. 2006).

$$ R_{{{\text{NH}}_{4} - {\text{N}}}} \frac{{\partial \left[ {{\text{NH}}_{4} - {\text{N}}} \right]}}{\partial t} = \frac{\partial }{\partial z}\left( {D\frac{{\partial \left[ {{\text{NH}}_{4} - {\text{N}}} \right]}}{\partial z}} \right) - \frac{{\partial \left( {v\left[ {{\text{NH}}_{4} - {\text{N}}} \right]} \right)}}{\partial z} - r_{1} , $$
(15)
$$ R_{{{\text{NO}}_{2} - {\text{N}}}} \frac{{\partial \left[ {{\text{NO}}_{2} - {\text{N}}} \right]}}{\partial t} = \frac{\partial }{\partial z}\left( {D\frac{{\partial \left[ {{\text{NO}}_{2} - {\text{N}}} \right]}}{\partial z}} \right) - \frac{{\partial \left( {v\left[ {{\text{NO}}_{2} - {\text{N}}} \right]} \right)}}{\partial z} + \left[ {y_{{({\text{NO}}_{2} - {\text{N}})/({\text{NH}}_{4} - {\text{N}})}} } \right]r_{1} - r_{2} , $$
(16)
$$ R_{{{\text{NO}}_{3} - {\text{N}}}} \frac{{\partial \left[ {{\text{NO}}_{3} - {\text{N}}} \right]}}{\partial t} = \frac{\partial }{\partial z}\left( {D\frac{{\partial \left[ {{\text{NO}}_{3} - {\text{N}}} \right]}}{\partial z}} \right) - \frac{{\partial \left( {v\left[ {{\text{NO}}_{3} - {\text{N}}} \right]} \right)}}{\partial z} + \left[ {y_{{({\text{NO}}_{3} - {\text{N}})/({\text{NO}}_{2} - {\text{N}})}} } \right]r_{2} - r_{3} , $$
(17)
$$ R_{{{\text{N}}_{2} }} \frac{{\partial \left[ {{\text{N}}_{2} } \right]}}{\partial t} = \frac{\partial }{\partial z}\left( {D\frac{{\partial \left[ {{\text{N}}_{2} } \right]}}{\partial z}} \right) - \frac{{\partial \left( {v\left[ {{\text{N}}_{2} } \right]} \right)}}{\partial z} + \left[ {y_{{{\text{N}}_{2} /({\text{NO}}_{3} - {\text{N}})}} } \right]r_{3} , $$
(18)
$$ R_{{{\text{CH}}_{2} {\text{O}}}} \frac{{\partial \left[ {{\text{CH}}_{2} {\text{O}}} \right]}}{\partial t} = \frac{\partial }{\partial z}\left( {D\frac{{\partial \left[ {{\text{CH}}_{2} {\text{O}}} \right]}}{\partial z}} \right) - \frac{{\partial \left( {v\left[ {{\text{CH}}_{2} {\text{O}}} \right]} \right)}}{\partial z} - r_{4} , $$
(19)

where \( \left[ {{\text{NH}}_{4} - {\text{N}}} \right], \left[ {{\text{NO}}_{2} - {\text{N}}} \right], \left[ {{\text{NO}}_{3} - {\text{N}}} \right] \) and \( \left[ {{\text{N}}_{2} } \right] \) represent the concentration of nitrogen species 1 (ammonium–nitrogen), species 2 (nitrite–nitrogen), species 3 (nitrate–nitrogen) and species 4 (nitrogen gas) (mg/l), respectively; \( R_{{{\text{NH}}_{4} - {\text{N}}}} \), \( R_{{{\text{NO}}_{2} - {\text{N}}}} \), \( R_{{{\text{NO}}_{3} - {\text{N}}}} , \) and \( R_{{{\text{N}}_{2} }} \) are the retardation factors for the various nitrogen species; \( y_{{({\text{NO}}_{2} - {\text{N}})/({\text{NH}}_{4} - {\text{N}})}} \), \( y_{{({\text{NO}}_{3} - {\text{N}})/({\text{NO}}_{2} - {\text{N}})}} \) and \( y_{{{\text{N}}_{2} /({\text{NO}}_{3} - {\text{N}})}} \) are the ratios of secondary substrate to primary substrate consumed, as determined by stoichiometry (mg/mg); [CH2O] represents the DOC concentration (mg/l); and \( R_{{{\text{CH}}_{2} {\text{O}}}} \) is the retardation factor of DOC.

The one-dimensional transport equation for dissolved oxygen (DO) in unsaturated zone can be described (Lee et al. 2006; Alfnes et al. 2004; Berlin et al. 2015) as shown in Eq. (20).

$$ R_{{{\text{O}}_{2} }} \frac{{\partial \left[ {{\text{O}}_{2} } \right]}}{\partial t} = \frac{\partial }{\partial z}\left( {D\frac{{\partial \left[ {{\text{O}}_{2} } \right]}}{\partial z}} \right) - \frac{{\partial \left( {v\left[ {{\text{O}}_{2} } \right]} \right)}}{\partial z} - \left[ {y_{{{\text{O}}_{2} /({\text{NH}}_{4} - {\text{N}})}} } \right]r_{1} - \left[ {y_{{{\text{O}}_{2} /\left( {{\text{NO}}_{2} - {\text{N}}} \right)}} } \right]r_{2} - \left[ {y_{{{\text{O}}_{2} /{\text{CH}}_{2} {\text{O}}}} } \right]r_{4} - \frac{\omega }{{\theta_{w} }}\left( {{\text{O}}_{2} - {\text{O}}_{2,g} } \right), $$
(20)

where [O2] represents the dissolved oxygen concentration (mg/l); \( R_{{{\text{O}}_{2} }} \) the retardation factor for dissolved oxygen; \( y_{{{\text{O}}_{2} /({\text{NH}}_{4} - {\text{N}})}} \), \( y_{{{\text{O}}_{2} /({\text{NO}}_{2} - {\text{N}})}} \) and \( y_{{{\text{O}}_{2} /{\text{CH}}_{4} {\text{O}}}} \) are the ratios of secondary substrate to primary substrate consumed as determined by stoichiometry (mg/mg); O2,a the term which relates the oxygen solubility in water from air and oxygen partial pressure \( P_{{{\text{O}}_{ 2} }} \); and \( v = \frac{q}{{\theta_{w} }} \) is the pore water velocity and \( q = - {\text{K}}\left[ {\frac{{\partial \left( {h - z} \right)}}{\partial z}} \right] \) is Darcy’s water flux (L/T).

The equations for the death rate and growth rate of autotrophic and heterotrophic bacteria are provided in Eqs. (21)–(23) (Lee et al. 2006).

$$ \frac{{{\text{d}}X_{1} }}{{{\text{d}}t}} = Y_{1} r_{1} - X_{1} d_{1} , $$
(21)
$$ \frac{{{\text{d}}X_{2} }}{{{\text{d}}t}} = Y_{2} r_{2} - X_{2} d_{2} , $$
(22)
$$ \frac{{{\text{d}}X_{3} }}{{{\text{d}}t}} = Y_{3} \left( {r_{3} + r_{4} } \right) - X_{3} d_{3} , $$
(23)

where Y1, Y2 and Y3 are the yield coefficients for the autotrophic ammonia-oxidizing bacteria, autotrophic nitrite-oxidizing bacteria and heterotrophic bacteria (milligrams of biomass/milligrams of substrate), respectively, and d1, d2 and d3 are death or maintenance rate constants (l/day) of the ammonia-oxidizing, nitrite-oxidizing and heterotrophic biomass.

Sorption isotherms

A simple approach considering the local equilibrium assumption for sorption of the contaminant has been validated by the long contact time taken to establish solid–liquid partition. The effect of equilibrium sorption isotherm can be linear or nonlinear according to the variation in the interaction of the associated hydro-geological conditions (Sekhar and Suresh Kumar 2006; Sekhar et al. 2006; Suresh Kumar 2009; Vasudevan et al. 2015; Natarajan and Suresh Kumar 2015). On the other hand, the composite model for sorption is based on the assumption that both linear and nonlinear sorption can occur as the instantaneous response of the heterogeneous nature of the soil (Allen-King et al. 2002; Maraqa et al. 2011).

Many studies show that the ammonium nitrogen sorption is followed by the linear adsorption isotherm (Jellali et al. 2010; Ranjbar and Jalali 2013), Freundlich-type isotherm (Moradzadeh et al. 2014; Sharifnia et al. 2016; Buragohain et al. 2013; Kizito et al. 2015) and Langmuir isotherm (Buragohain et al. 2013; Kizito et al. 2015). Although the nitrate has less sorption affinity with soil particles due to negative charge, few studies have proved that nitrate follows Freundlich sorption isotherm (Cahn et al. 1992; Ozturk and Bektas 2004; Akosman and Ozdemir 2010). Hence, the sorption process has been considered for ammonium nitrogen and nitrate nitrogen in this study. The expressions and retardation factors for linear, Freundlich, Langmuir and the composite isotherms are given in Table 1.

Table 1 Expressions for sorption isotherms and corresponding retardation factors (Vasudevan et al. 2015)

Numerical solution

The systems of coupled partial differential equations describing unsaturated water flow, air transfer, microbial and nitrogen species along with the equilibrium sorption models, subjected to their initial and boundary conditions, are discretized by finite difference method and are solved using Thomas algorithm associated with the tri-diagonal matrix. The popular method to solve the water flow equation has been the implicit, finite difference with explicit linearization of K(h) and C(h) as shown in Eq. (24) (Van dam and Feddes 2000).

$$ \frac{{h_{i}^{j + 1} - h_{i}^{j} }}{{\Delta t^{j} }} = \frac{{K_{{i - \left( {1/2} \right)}}^{j} \left( {\frac{{\Delta h_{{i - \left( {1/2} \right)}}^{j + 1} }}{\Delta z} + 1} \right) - K_{{i + \left( {1/2} \right)}}^{j} \left( {\frac{{\Delta h_{{i + \left( {1/2} \right)}}^{j + 1} }}{\Delta z} + 1} \right)}}{{C_{i}^{j} \Delta z}} , $$
(24)

where subscript i is the node number and superscript j is the time level. The values of the hydraulic conductivity K and differential water capacity were taken at the old time level (explicit linearization). The spatial averages of K were calculated using geometrical mean as the magnitude of unsaturated hydraulic conductivity varies over several orders of magnitude. This approach can be solved in the absence of involving iterations. Similarly, the air flow, nitrogen species transport and transformation model along with the sorption isotherms are solved by the fully implicit finite difference method. The resulting tri-diagonal systems of linear algebraic equations are solved using the Thomas algorithm. The total simulation time is divided into a finite number time intervals (Δt). The value of cell width in the vertical direction (Δz) is assumed to be 0.5 cm, and the time interval (Δt) is assumed to be 100 s in order to meet the numerical stability criteria. Firstly, the unsaturated flow model is solved to obtain the pressure head distribution in the unsaturated soil. Further, the air flow model is solved to obtain the air phase oxygen concentration. The obtained values of pressure head h(z,t) are used to find θ(z,t), D(z,t) and q(z,t),which appear in the mass transport of nitrogen species model. Then, the system of nitrogen species, dissolved oxygen in aqueous phase, dissolved organic carbon and microbial reaction equations are solved for the given initial and boundary conditions to get the concentration of nitrogen species in the vadose zone. Figure 1b shows the numerical coupling of water flow, air flow, transport of nitrogen species, dissolved organic carbon and dissolved oxygen in the porous system.

Initial and boundary conditions

In the water flow model, the initial and bottom boundary pressure head value is taken as − 1000 cm and the top boundary pressure head value as − 75 cm (Mitchell and Mayer 1998). Similarly, for the air flow model representing the oxygen transport in an unsaturated zone, the initial and top boundary concentrations are 75.8 and 288 mg/l (Alfnes et al. 2004), respectively. The zero flux is used as the bottom boundary condition for oxygen. The initial concentration of all nitrogen species, dissolved organic carbon and dissolved oxygen is assumed to be 0 mg/l. Similarly, the top boundary (soil surface) concentrations are fixed at 20.0, 0, 5.0, 0, 20 and 0 mg/l for ammonium nitrogen, nitrite nitrogen, nitrate nitrogen, nitrogen gas, dissolved organic carbon and dissolved oxygen, respectively. The nitrifying and denitrifying biomass concentrations are assumed to be 0.565 mg/l at the top boundary as well as initial condition (Lee et al. 2006). The concentration gradient is fixed to be zero for the bottom boundary condition for all nitrogen species, dissolved organic carbon, dissolved oxygen and all type of biomass (Lee et al. 2006).

Results and discussion

The effect of various isotherms on nitrogen species transport in unsaturated soil on wastewater-applied agricultural field is very important due to the groundwater quality concern. The present study focuses on the linear and nonlinear combinations of equilibrium and kinetic sorption in nitrogen species using a one-dimensional numerical modelling approach. The van Genuchten parameters (α, β, η) and other soil hydraulic parameters used for this study are given in Table 2. The bio-kinetic parameters required for the estimation of transformation rates and other parameters are given in Table 3. The developed numerical model is first validated with the experimental/numerical data from Bailey et al. (2013). It is observed from Fig. 2 that the simulated concentrations of nitrogen species from the present model with linear sorption are in good agreement with Bailey et al. (2013).

Table 2 Hydrodynamic properties and transport parameters for an unsaturated zone
Table 3 Summary of Monod kinetics reaction parameters used for the present study
Fig. 2
figure 2

Validation of nitrogen species transport model for ammonium, nitrite and nitrate nitrogen concentration in unsaturated porous media

Influence of ammonium nitrogen sorption on nitrogen species

Figure 3 shows the effect of sorption and biodegradation on ammonium nitrogen and nitrate nitrogen in the wastewater-applied agricultural field. It is observed that in the absence of sorption and biodegradation process (base case) the transport of ammonium nitrogen reaches the maximum depth (Fig. 3a). Conversely, after introducing the sorption process the transport is retarded significantly. This shows that the affinity of ammonium nitrogen in the soil particles is predominant and in due course a significant reduction in the movement of the aqueous phase is observed. Further, the effect of biodegradation is also investigated in the absence of sorption process. The result shows that the degradation resulting from nitrification is highly inducing the availability of aqueous phase ammonium nitrogen. However, the combined effect of sorption and biodegradation is relatively similar to the effect with biodegradation alone. The effect of ammonium sorption is negligible as compared with biodegradation. Similarly, the effect of sorption and biodegradation on nitrate nitrogen is shown in Fig. 3b. It is observed that the individual effect of sorption and biodegradation of nitrate nitrogen is fairly similar to the ammonium nitrogen. But the synergistic effect of sorption and biodegradation is influencing more as compared with ammonium nitrogen. Hence, it can be concluded that the effects of sorption and biodegradation process become highly interrelated and essential when analysing the ammonium and nitrate nitrogen transport in unsaturated porous media.

Fig. 3
figure 3

Influence of sorption and biodegradation in a ammonium nitrogen and b nitrate nitrogen at the end of 10 days of wastewater application (refer to Tables 2 and 3 for other data)

Figure 4 provides the spatial variation of ammonium nitrogen concentration due to the sorption of ammonium nitrogen explained by linear, Freundlich, Langmuir isotherms and combined isotherms in the wastewater-applied agricultural field. It is observed that the linear sorption isotherm shows a least adsorption capacity as compared with Freundlich and Langmuir isotherms. The available concentration of 20 mg/l ammonium nitrogen at the soil surface has become 0 mg/l at 40 cm depth during linear isotherm. On the other hand, Freundlich and Langmuir isotherms produce higher sorption capacity and yield very high retardation on ammonium nitrogen concentration. Hence, the concentration of ammonium nitrogen reaches up to 25 cm depth for Freundlich isotherm and 16 cm depth for Langmuir isotherm. However, Langmuir isotherm has high influence on ammonium nitrogen sorption as compared with Freundlich as well as linear isotherm. This is mainly due to various partition coefficients of ammonium nitrogen with soil with the effect of corresponding isotherms. The linear isotherm partition coefficient (0.34 × 10−6 l/mg) value has one order lower than Freundlich isotherm partition coefficient (0.5445 × 10−5 l/mg) and four orders lower than Langmuir isotherm (0.84 × 10−2 l/mg). Moreover, Freundlich isotherm constant (nf) and Langmuir sorption capacity (Q0) are playing a predominant role on the retardation of ammonium nitrogen. The concentration profile of ammonium nitrogen reaches 0 mg/l at 30 cm depth from 20 mg/l at soil surface, implying that the combined effect of linear and Freundlich isotherms receives the effective (average) concentrations as compared with its individual concentration. A similar trend is also observed for linear and Langmuir isotherm mixture. Hence, it can be concluded that the effect of Langmuir isotherm has high sorption capacity than Freundlich and linear isotherm, while the combined effect does not have much influence on the variation of ammonium nitrogen.

Fig. 4
figure 4

Concentration profile for ammonium nitrogen with linear, Freundlich and Langmuir isotherms at the end of 50 days of wastewater application (refer to Tables 2 and 3 for other data)

Figure 5 shows the spatial variation of nitrate nitrogen concentration due to the sorption of ammonium nitrogen described by linear, Freundlich, Langmuir isotherms and combination of isotherms in the wastewater-applied agricultural field. The nitrate nitrogen concentration is increasing from 5 mg/l which is applied at the soil surface to 12, 15 and 25 mg/l with Langmuir, Freundlich and linear isotherms, respectively, and decreasing thereafter with respect to the depth in all isotherm scenarios. The initial increase in all cases is due to the two-step nitrification process, where the ammonium nitrogen is converting to nitrate nitrogen. A close observation between linear and all other isotherms at a depth of 50 cm implies that there is a strong reduction in the production of nitrate nitrogen for all isotherms except linear isotherm. This high concentration (25 mg/l) in nitrate nitrogen during linear isotherm is due to the plenty of available aqueous phase ammonium nitrogen, which is shown in Fig. 4. The reduced aqueous concentration of ammonium nitrogen during the Freundlich and Langmuir isotherms is directly affecting the production of nitrate nitrogen concentration, which is shown in Fig. 5. Further, the results show that the concentration of nitrate nitrogen due to the combined isotherms follows a similar trend which is observed in ammonium nitrogen concentration. As depth increases, the concentration of nitrate nitrogen is decreasing for Freundlich and Langmuir isotherms. For example, the concentration of nitrate nitrogen reaches 11.5 and 15 mg/l at 100 cm depth, 10 and 12.5 mg/l at 300 cm depth and 7 and 10 mg/l at 500 cm depth for Freundlich and Langmuir isotherms. However, there is not much reduction observed for linear isotherm with respect to depth due to the sufficiently available ammonium nitrogen for transformation. Thus, the Freundlich and Langmuir isotherms are serving better for reduction in groundwater contamination, especially at the large depths. From Figs. 4 and 5, it can be concluded that the linear sorption isotherm tends to overestimate the depth of penetration of ammonium nitrogen species in an unsaturated vertical soil system with reference to Freundlich and Langmuir sorption isotherms, while the Langmuir sorption isotherm is associated with the least penetration depth of ammonium nitrogen species and subsequently indicates the maximum adsorption of ammonium species in the unsaturated system during its vertical downward migration. However, it is also noted that the overall adsorption pattern of ammonium nitrogen species nearly remains the same for all the sorption isotherms considered. It is interesting to note that the behaviour of Freundlich sorption isotherm and the coupled effect of linear and Langmuir sorption isotherms nearly remain the same. Thus, one can use Langmuir sorption exponent along with the linear isotherm in the absence of Freundlich sorption exponent. Linear sorption isotherm, in general, overestimates the concentration of ammonium nitrogen species at a given depth, and hence, nonlinear sorption isotherms using Freundlich and Langmuir need to be based on the nature of soil associated with the unsaturated system.

Fig. 5
figure 5

Concentration profile for nitrate nitrogen with linear, Freundlich and Langmuir isotherms at the end of 50 days of wastewater application (refer to Tables 2 and 3 for other data)

Figure 6 provides the spatial variation of ammonium nitrogen, nitrite nitrogen, nitrate nitrogen and nitrogen gas concentrations due to the sorption of ammonium nitrogen by linear, Freundlich and Langmuir isotherms in the wastewater-applied agricultural field. It is observed from Fig. 6 that the ammonium nitrogen concentration from 20 mg/l at soil surface is reduced to 0 mg/l at the depth of 40 cm in the presence of linear sorption. This ammonium nitrogen concentration reaches its asymptoticity after a depth of 40 cm, implying that there is no addition or removal of mass from the nitrite nitrogen. At the same time, the nitrite nitrogen concentration reached the maximum concentration up to 4 mg/l at the depth of 30 cm. This increase in concentration is due to the first stage of nitrification process due to the nitrifying bacteria in the presence of dissolved oxygen. It is also observed from Fig. 6 that the quantum of nitrate nitrogen keeps increasing with depth until it reaches its peak value followed by its asymptotic nature. The maximum concentration of 25 mg/l is observed after the depth of 50 cm due to the second-stage nitrification process in the presence of nitrifying bacteria with high dissolved oxygen concentration. Since the mass transfer of oxygen from air phase to water phase is high, the oxic condition allows the ammonium nitrogen to get fully transformed to nitrate nitrogen after the depth of 50 cm. Conversely, no variation is observed for nitrogen gas profile due to the sufficient dissolved oxygen availability. Even though the heterotrophic bacteria are available in the system, the denitrification rate is diminished by the large dissolved oxygen concentration.

Fig. 6
figure 6

Concentration profile for different nitrogen species with linear, Freundlich and Langmuir isotherms at the end of 50 days of wastewater application (refer to Tables 2 and 3 for other data)

Further, the numerical results show that the ammonium nitrogen concentration becomes 0 mg/l at the depth of 25 cm in the presence of Freundlich isotherm. This shows a strong reduction in migration of ammonium nitrogen due to Freundlich isotherm as compared with linear isotherm (0 mg/l at 40 cm depth). Similarly, the peak nitrite nitrogen is observed at the depth of 15 cm and reduced to 0 mg/l at the depth of 40 cm. Further, the results show that the nitrate nitrogen concentration reaches its maximum value (16 mg/l) at the depth of 35 cm in the presence of Freundlich isotherm, whereas the concentration reaches 25 mg/l after the depth of 50 cm. This shows that the available amount of ammonium nitrogen in aqueous phase is very high in the linear isotherm; in turn, a large amount of nitrate nitrogen is produced. In contrast, the sorbed concentration of ammonium nitrogen is increased in the case of Freundlich isotherm and finally the concentration of aqueous phase ammonium nitrogen is reduced. Therefore, the nitrate nitrogen production is diminished in the presence of Freundlich isotherm. However, there is no variation observed in nitrogen gas profile due to the highly oxic condition.

It is also observed from Fig. 6 that the ammonium nitrogen concentration reaches 0 mg/l at the depth of 18 cm in the presence of Langmuir isotherm. This is the least depth of penetration by ammonium nitrogen as compared with linear and Freundlich isotherms, which shows that Langmuir isotherm plays a predominant role on ammonium sorption between aqueous and solid phase. The complex interplay between the aqueous and solid phase of ammonium nitrogen shows the associate reduction in nitrite nitrogen and nitrate nitrogen concentration. This can be confirmed by penetration of nitrate nitrogen up to the depth of 25 cm in the presence of Langmuir isotherm. Further, it is noticed that a drastic deduction in depth (30 cm) of movement on nitrate nitrogen is also observed in the presence of Langmuir isotherm. It can be concluded from Fig. 6 that the peak concentration of nitrate nitrogen has reduced to 36% for Freundlich isotherm as compared with linear isotherm and 54% has been observed for Langmuir as compared with linear isotherm. This reduction indicates that the Langmuir isotherm is performing well on nitrate nitrogen reduction at deeper depths and the groundwater contamination by nitrate nitrogen is averted. Moreover, it is keenly observed from Fig. 6 that the ammonium nitrogen becomes zero after the depth of 40, 25 and 18 cm for linear, Freundlich and Langmuir isotherms and the peak values of nitrate nitrogen concentration are observed at the depth of 50, 53 and 25 cm. Additionally, it is observed that the ammonium nitrogen reduction and nitrate nitrogen increase are directly influenced by the nitrification process and the depth of penetration is directly correlated by the linear adsorption rate on ammonium nitrogen and the reduction in nitrate nitrogen concentration with depth is relatively fast in the case of Freundlich isotherm as compared with linear isotherm.

Figure 7 shows the sensitivity analysis for linear, Freundlich and Langmuir isotherm coefficients of ammonium nitrogen and its transport in the wastewater-applied agricultural soil. The linear partition coefficient value of 0.34 × 10−6 l/mg (base value) allows the concentration of ammonium nitrogen to travel up to 40 cm depth. The concentration of ammonium nitrogen becomes zero after 40 cm depth from 20 mg/l at the soil surface. It is also observed from Fig. 7 that there is a similar observation for ammonium nitrogen when the linear partition coefficient is reduced to one order as compared with the base value. Conversely, a strong reduction in aqueous phase ammonium nitrogen is identified for one-order higher linear partition coefficient than the base value. This is due to the higher sorption rate, which implies that the sorbed concentration of ammonium nitrogen in soil is increased when the partition coefficient is increased. The base value of Freundlich isotherm coefficient (0.5445 × 10−5 l/mg) allows the ammonium nitrogen concentration to travel up to 25 cm depth. This reduction is identified mainly due to the high sorption rate as compared with the linear partition coefficient and the corresponding Freundlich isotherm constant (nf = 1.193). Furthermore, one-order lower value and one-order higher value of Freundlich isotherm coefficient from base value permit the ammonium nitrogen concentration to travel up to 35 and 10 cm depth, respectively. It also observed from Fig. 7 that the concentration of ammonium nitrogen reaches 0 mg/l at the depth of 18 cm due to base value of 0.0084 l/mg Langmuir isotherm coefficient. This is the lowest depth observed for ammonium nitrogen penetration as compared with linear and Freundlich isotherms. Further, the concentration ammonium nitrogen reaches 7 and 37 cm depth for one-order higher and one-order lower Langmuir isotherm coefficient from the base value. It can be concluded from Fig. 7 that the transport depth of ammonium nitrogen is reduced to 37% by Freundlich isotherm and 55% by Langmuir isotherm as compared with linear isotherm.

Fig. 7
figure 7

Sensitivity analysis of linear, Freundlich and Langmuir isotherm coefficients for ammonium nitrogen concentration (refer to Tables 2 and 3 for other data)

Influence of ammonium nitrogen and nitrate nitrogen sorption on nitrogen species

In addition to the sorption characteristics by ammonium nitrogen, the impact of nitrate nitrogen sorption is also introduced to analyse the fate and transport of nitrogen species in this section.

Figure 8 provides the spatial variation of ammonium nitrogen in the presence of various isotherms due to ammonium nitrogen and nitrate nitrogen in wastewater-applied agricultural field. In the first scenario, the Freundlich isotherm of nitrate nitrogen is introduced without ammonium sorption. The result shows that the ammonium nitrogen concentration reaches 0 mg/l at the depth of 40 cm. The second scenario (linear isotherm of NH4–N and Freundlich isotherm of NO3–N) also follows the same trend followed by the nitrate nitrogen sorption in the absence of ammonium nitrogen sorption. This shows that the nitrate nitrogen isotherm does not have any impact on ammonium nitrogen transport since the ammonium nitrogen is only transformed into nitrate nitrogen. The third scenario of Freundlich isotherms of both ammonium nitrogen and nitrate nitrogen plays a significant role on the transport of ammonium nitrogen concentration. The third scenario result shows that the ammonium nitrogen concentration spreads up to 25 cm depth. Similarly, the fourth scenario (Langmuir isotherm of NH4–N and Freundlich isotherm of NO3–N) also significantly reduces the depth of movement of ammonium nitrogen up to 18 cm depth. However, the critical observation between Figs. 4 and 8 clearly confirmed that none of the profiles have the impact of nitrate nitrogen sorption on ammonium nitrogen transport.

Fig. 8
figure 8

Concentration of ammonium nitrogen in the presence of various isotherms by ammonium nitrogen and nitrate nitrogen (refer to Tables 2 and 3 for other data)

The result shows that the Freundlich isotherm of nitrate nitrogen and the combination of linear isotherm of ammonium nitrogen and Freundlich isotherm of nitrate nitrogen have similar trend in the nitrate nitrogen concentration except in the depth between 100 and 200 cm. This small delay in the combined profile (linear isotherm of NH4–N and Freundlich isotherm of NO3–N) is due to the addition of linear ammonium nitrogen sorption and the variation which is negligible. Similar reduced trend of nitrate nitrogen concentration profile is found for the combination Freundlich NH4–N sorption with Freundlich NO3–N sorption and Langmuir NH4–N sorption with Freundlich NO3–N sorption. Interestingly, the close observation between Figs. 5 and 9 shows that the concentration of nitrate nitrogen is initially increasing from 5 mg/l to 24 mg/l and further reduced to 0 mg/l in the presence of nitrate nitrogen sorption alone and the addition of linear ammonium sorption, whereas there is no major reduction in concentration observed when only the ammonium sorption is considered. Moreover, the peak value of nitrate nitrogen itself reduced consistently in all the cases of ammonium nitrogen and nitrate nitrogen sorption as compared with the absence of nitrate nitrogen sorption. For example, 4% peak concentration reduction is experienced for linear NH4–N sorption alone compared with the combination of linear NH4–N sorption with Freundlich NO3–N sorption, 7% peak concentration reduction is experienced for Freundlich NH4–N sorption alone compared with the combination of Freundlich NH4–N sorption with Freundlich NO3–N sorption, and 12.5% peak concentration reduction is experienced for Langmuir NH4–N sorption alone compared with the combination of Langmuir NH4–N sorption with Freundlich NO3–N sorption. This shows that the nitrate nitrogen sorption isotherm (Freundlich) has a significant impact on nitrate nitrogen transport. Hence, it can be concluded from Fig. 9 that the combined effect of ammonium nitrogen and nitrate nitrogen sorption isotherms serves to mitigate the nitrate nitrogen contamination of groundwater resource more effectively than the single effect of ammonium nitrogen sorption.

Fig. 9
figure 9

Concentration of nitrate nitrogen in the presence of various isotherms by ammonium nitrogen and nitrate nitrogen (refer to Tables 2 and 3 for other data)

Limitation and uncertainties of the present study

Numerical experiments have been carried out to study the nitrogen species transport in an agricultural field in the presence of various sorption behaviours such as linear, Langmuir and Freundlich isotherms. Generally, the parameters of each sorption model are depending on adsorbent type and type of contaminant. However, the present numerical experiments of nitrogen species transport in the presence of various sorption isotherms could not be performed with the same adsorbent due to unavailability of laboratory or field data in the literature. The linear and Freundlich parameters for ammonium nitrogen and nitrate nitrogen were selected such a way that the adsorbent soil has relatively high sand content (Lee et al. 2006; Ranjbar and Jalali 2013), whereas the Langmuir parameters were selected from the soil which has high clay content (Buragohain et al. 2013). Generally, the availability of manganese, sulphur and iron in the soil environment can act as electron donors to autotrophic bacteria (Korom 1992; Ayraud et al. 2006; Tesoriero and Puckett 2011) during denitrification process. Hence, the denitrification due to autotrophic bacteria is also to be considered for more realistic field condition. Hence, the results achieved in this study are based on the chosen parameters. However, it is possible to perform the transport of nitrogen species in an agricultural field in the presence of sorption by using the generalized developed model when the different sorption parameters are estimated from same adsorbent.

Conclusions

In the present study, a numerical model is developed to describe transport of nitrogen species in the wastewater-applied agricultural field in the presence of various isotherms due to ammonium nitrogen and nitrate nitrogen. In order to simulate the one-dimensional coupled water flow, oxygen diffusive transport, nitrogen species transport, microbial reaction models and sorption kinetics, the implicit finite difference scheme was adopted. The linear, Freundlich and Langmuir isotherms are considered for ammonium nitrogen, and Freundlich isotherm is considered for nitrate nitrogen. From the above study, the following conclusions were arrived:

  1. 1.

    The ammonium nitrogen concentration movement is prevented drastically in the presence of Langmuir isotherm of ammonium nitrogen as compared with Freundlich and linear isotherms. Similarly, a significant reduction in peak concentration of nitrate nitrogen is observed for Langmuir isotherm of ammonium nitrogen as compared with Freundlich and linear isotherms. This is mainly due to the Langmuir parameters which are estimated from the clay soil and the other isotherm parameters which are selected from relatively high sand content soil.

  2. 2.

    In the presence of Langmuir isotherm of ammonium nitrogen, the peak as well as depth of transport is considerably reduced for nitrite nitrogen and nitrate nitrogen as compared with Freundlich and linear isotherms. However, the Freundlich isotherm has relatively higher impact than linear isotherm on nitrite nitrogen and nitrate nitrogen.

  3. 3.

    Since the mass transfer of oxygen from air phase to aqueous phase is high and the system is completely under oxic condition, the nitrogen gas concentration variation is completely independent from all kinds of sorption isotherms.

  4. 4.

    The downward transport of nitrate nitrogen from agricultural field with wastewater results in higher concentrations at larger depth in the presence of ammonium nitrogen sorption, whereas considerable reduction in concentration is observed when the effect of nitrate nitrogen sorption is included. However, the transport of ammonium nitrogen is completely independent of nitrate nitrogen sorption.

  5. 5.

    The combination of Langmuir isotherm of ammonium nitrogen and Freundlich isotherm of nitrate nitrogen is identified as a best combination of isotherm scenario, which mitigates the nitrate nitrogen contamination in groundwater resources in greater depth.

Essentially, the linear, Freundlich and Langmuir isotherms of ammonium nitrogen and Freundlich isotherm of nitrate nitrogen help to mitigate the movement of all nitrogen species in soil. Particularly, the nitrate nitrogen contamination can be minimized in the groundwater by the combination of Langmuir isotherm of ammonium nitrogen and Freundlich isotherm of nitrate nitrogen.