Understanding How an Aquifer Pathway Works

An Aquifer pathway actually performs its computations by creating a temporary set of linked Cell elements during the simulation (while in Run Mode), which are subsequently removed at the end of the simulation. However, while in Run Mode, the pathways exist (and if you pause the model, can actually be viewed).

In most cases, there is no need for you to be aware of how this is done, or to view the temporary Cell pathways that are created. For those that are interested, however, this topic discusses these operations in more detail.

To illustrate this, and to explain how the various inputs for an Aquifer are mapped onto and treated within the temporary Cell network, we will consider a simple example. In this example, an Aquifer has been defined. Its key properties are as follows:

   The Number of Cells used to discretize the pathway is equal to five.

   The Aquifer contains an Infill Medium (Sand).

   The Aquifer has a single outflow (Q) to a downstream Cell.

While in Run Mode, an Aquifer pathway takes on some characteristics of a Container so that the temporary Cells can be viewed.  In this example, if we pause the model during the simulation, the Aquifer pathway will look like this (i.e., like a Container, it has a small triangle in the upper left-hand corner of the element indicating that you can “look inside”):

Diagram

Description automatically generated

If we click on the triangle to “look inside” the Aquifer, we see the following:

Icon

Description automatically generated

As can be seen, five temporary Cells have been created (named “_pathwayname_Celln”). Opening the first Cell, we can see how the Media are defined:

A screenshot of a cell phone

Description automatically generated

The media quantities are automatically computed based on the Aquifer properties (e.g., Length, Area, Saturation, Number of Cells) and media properties (density, porosity). 

In effect, GoldSim has discretized the system into these five finite volumes.

To simulate advection and dispersion/diffusion through the linked Cells, GoldSim automatically creates a number of advective and diffusive flux links.  For example, here is the Outflows tab from the second Cell:

There is an Outflow from Cell2 to Cell3.  Note, however, that the Flow Rate that was specified when defining the element has been adjusted.  The Flow Rate (downstream) from Cell2 to Cell3 is now defined as Q*(1+DispFactor), where

DispFactor = (n α / L) – 0.5

In this equation, α is the specied dispersivity (dimensions of L), L is the pathway length (dimensions of L), and n is the number of cells.

Note that there is another Outflow in the Outlflows tab, and it is from Cell2 to Cell1 (upstream!).  If we were to look at this, we would see that this upstream Flow Rate was defined as Q*DispFactor.  That is, in addition to the downstream flow that we would expect (Q), GoldSim has added two “fictitious” flows equal to Q*DispFactor (one upstream and one downstream). Note that since one fictitious flow is downgradient and one is upgradient, the net of these two flows is zero.  However, they have the effect of representing longitudinal dispersion in the pathway.

In effect, what GoldSim is doing is using the Cells (the finite volumes) to solve the governing equation describing one-dimensional advective/dispersive transport. We can solve this equation numerically using finite differences.  When we do so, we find that the rate of change of mass in, for example, Cell2, accounting for both advection and dispersion, can be approximated as follows:

Mass Rate of Change in Cell2 = - Q*C2*(1 + 2*DispFactor)

 + Q*C1*(1 + DispFactor)

 + Q*C3*DispFactor

where:

Q is the specified flow rate in the Aquifer;

C1 is the concentration in Cell1;

C2 is the concentration in Cell2; and

C3 is the concentration in Cell3.

The derivation of this finite difference approximation is discussed in Appendix B of the Contaminant Transport User’s Guide.

We can now see what the various Outflows that GoldSim automatically created represent. The first term represents the mass flows leaving Cell2.  This consists of the advective flow downstream to Cell3 (equal to Q*C2) and two dispersive flows (equal to Q*C2*DispFactor), one upstream to Cell2 and one downstream to Cell3.

The second term is the mass flow entering Cell2 from Cell1 (an advective flow equal to Q*C1 and a dispersive flow equal to Q*C1*DispFactor).

The third term is the mass flow entering Cell2 from Cell3 (a dispersive flow equal to Q*C3*DispFactor).

   Note: Even in the absence of the dispersive terms, a network of linked Cells simulating advective transport will inevitably exhibit a degree of numerical dispersion that is a function of the number of Cells (the degree of discretization). In particular, the equivalent numerical dispersivity is equal to L/2n. As a result, if the number of Cells is less than the pathway length divided by twice the dispersivity, that is,  n<L/(2α), then the numerical dispersivity will exceed the specified dispersivity. If this occurs, GoldSim records a warning in the Run Log (indicating that you either need to use more Cells or increase the dispersivity to accurately model longitudinal dispersion along the pathway).

GoldSim also automatically adds diffusive connections between the Cells to account for diffusion through the pathway (which in most cases is likely to be negligible).

Several other details should also be noted regarding how the temporary Cells are defined:

   All mass input to the Aquifer pathway (advective inflows, diffusive influxes, boundary conditions and discrete changes) are “lumped” together and treated as a Cumulative Input to the first Cell.  The one exception to this rule is if a non-zero Source Term Length is specified.  In this case, the mass is spread uniformly over the Cells representing the Source Term.

   By default, the temporary Cells are all of the same size.  However, if a non-zero Source Term Length is defined, the size of the Cells are adjusted so that the Source Zone is accurately represented. In particular, the boundary of the Cell closest to the edge of the Zone is moved, and then all of the Source Cells upstream of the boundary are adjusted and assigned equal sizes.  The remainder of the pathway (downstream of the Source Zone) is then divided equally among the remaining Cells.

   The user controls whether in addition to the advective outflux there is a dispersive/diffusive component of mass transport from the Aquifer to the receiving pathway(s), via the checkbox Enable dispersive and diffusive outfluxes to downstream pathway(s)on the element’s property page. The default behavior does not include such fluxes (the check box is cleared), and only allows for advective transport out of the pathway.  Note, however, that it does include diffusion and dispersion (if specified) along the length of the pathway.  If the dispersive/diffusive discharge component is enabled it assumes a concentration of zero in the receiving pathway, which is generally a good approximation only if the pathway represents a rapidly-flowing “clean” aquifer or surface water pathway. Note that this mechanism can increase the outflux rate significantly for diffusively-dominated systems. 

   If the pathway length changes by more than a small amount (one part in one thousand) during a simulation (e.g., due to erosion) then the existing Cell elements are modified to reflect the new geometry, and the distribution of contaminant masses is mapped onto the new geometry.  This approach works for either shortening or lengthening of the pathway. When the pathway is shortened, the mass that was present in the truncated portion of the pathway is treated as part of the outflux for the corresponding time step.

   Note: When the pathway’s length changes, there may be some irregularities in the outflux rates due to mapping of the prior spatial distribution of species masses onto the new Cell geometry.  In general, users should use a larger number of Cells when modeling varying-length Aquifer pathways.

Once the model enters Result Mode, the temporary Cells are removed and can no longer be viewed.

When viewing the results of an Aquifer, the Mass in Pathway output represents the total mass in the pathway (the sum of the masses in all temporary Cells); the Concentration output represents the concentration in the Reference Fluid in the final temporary Cell. If a suspended solid is present, the concentration represents the total concentration (including the load on suspended solids).

Related Topics…

Learn more about: