*This post is intended to illustrate how to calculate the water age in a volume (3D model) or surface (2D model) based in the methodology proposed by Goode D.J. (1996).*

*The implementation in Comsol Multiphysics can be done in two different ways, namely **by means of transient or steady-state simulations. These two different approaches have been applied and compared.*

A simple 2D domain has been used to explore the methodology for implementing the water age calculation.

Figure 1 shows the geometry, parameters and boundary conditions of the example. It can be seen that groundwater will enter the domain by the upper left part (left red segment) and discharge through the upper right part (right red segment).

Figure 1. Sketch of the model.

For this model, a simple transport equation of an instant pulse of tracer (entering the domain) must be solved. Then, the equation that must be solved to computed groundwater age was proposed by Goode D.J.,1996:

Where A is the “Water age”, t is the time, C is the concentration of tracer and Ƭ is the total duration of the tracer pulse.

The transport boundary condition is a prescribed concentration on the recharge zone (hydraulic head=1), and open boundary in the discharge zone (hydraulic head=0). No flux is prescribed in the rest of the boundaries.

The required instant pulse of tracer was implemented by using the Comsol capability to create a time function associated to the boundary condition. This step function could be used as time function “step(t)” in the solute transport physics. A prescribed concentration boundary condition, associated to the time function “step(t)” was used to generate the pulse, as shown in Figure 2 and 3.

Figure 2. Example of step function in Comsol.

The model is then solved in a transient mode until all tracer concentration exits the model domain.

Figure 3. Implementing the step function in the transpor boundary conditions.

The time integration equation is implemented in the results section using the function timeint(from,to,variable) where from and to are t=0 and the time when all tracer exits the domain, respectively. In this case the expression needed is:

**timei****nt(t _{0},T,c*t)/timeint(t_{0},T,c) **

Where t_{o} and T is the initial and final time respectively for the integral and c is the solute concentration.

The result of use this expression is a surface showing the computed water age, as shown in Figure 4.

Figure 4.Results of transient method. Time in days.

The equation solved for steady state method is:

Where A is the water age (seconds), q is the Darcy flux (m/s), D is the dispersion tensor (m^{2}/s), (Theta) is the porosity, ρ is the density (kg/m^{3}) and F is the source term (equal to 0 in the conceptual model). In steady state the temporal term dA/dt is equal to 0.

In this method the transport boundary conditions are open boundary for zones with prescribed hydraulic head and no flux for the rest of boundaries. Also a source term in all domain is needed to obtain the water age, the value of the source term is equal to one in the equation, if we use Darcy flux (q) and effective diffusion coefficient the source term must be the porosity, as shown in Figure 5.

Figure 5. Solute source condition with a value equal to porosity.

The computed water age is shown in Figure 6. It can be seen that computed results with the steady-state methodology is almost identical to what was computed at the transient approach (Figure 4).

Figure 6.Results of steady-state method. Time in days.

Two different approaches have been implemented in Comsol Multiphysics for calculating the water age in an aquifer. The steady-state methodology is easier, more accurate and much faster than the transient approach.

**Goode D J, (1996)**. Direct simulation of groundwater age. Water resources research, vol 32.n No.12, pages 289-296

Diego Sampietro is a Geologist with a “postgraduate” diploma in Hydrogeology (FCHIS-UPC). He is now working as interim consultant at AMPHOS 21 and finishing his MSc degree in Hydrogeology at UPC (Barcelona Tech). He is collaborating in different projects in relation with groundwater modelling.

My more sincere thanks to Elena Abarca by her guidance and good advices and to Paolo Trinchero by his help to solve the steady state approach.

comments powered by Disqus