# Lesson 9 – Introduction to the Pipe Pathway

In the previous Lessons in this Unit we have described the use of the Aquifer pathway for solving the one-dimensional advection-dispersion equation.  As we discussed, this element spatially discretizes the pathway (into Cells) and uses a finite difference approximation to solve the equation.

GoldSim also provides an alternative way to solve the one-dimensional advection-dispersion equation. In particular, the Pipe pathway can be thought of as an analytical approach to solving the equation.  It uses Laplace transforms, which solve differential equations by converting them into algebraic equations. We won’t go into any further detail in this Course on how Laplace transforms do this (you can read about this in any differential equations textbook if you are curious).  For the purposes of this Course, you can simply view it as an approach that solves the equation without requiring use of spatial discretization. The details, of course, are also provided in Appendix B of the Contaminant Transport Module User’s Guide.

In this Lesson, we are going to introduce the Pipe element, and compare and contrast it with the Aquifer element. To do so, we are going to walk through the simple system we described in Lesson 3: a horizontal tube filled with saturated sand.

Recall that the tube has cross-sectional area A and length L, and is filled with a porous medium (sand with porosity n and bulk density rho) and is completely saturated with water.  Water enters at one end and exits at the other end (at a flow rate of Q). The water introduced at the upstream end of the tube (uniformly across the entire cross-sectional area) contains two species (X and Y) at a constant concentration S. One of the species (Y) partitions onto the sand, while the other does not. The degree of dispersion is quantified in terms of the (longitudinal) dispersivity (alpha).

Go to the “Examples” subfolder of the “Contaminant Transport Course” folder you should have downloaded and unzipped to your Desktop, and open a model file named ExampleCT26_Aquifer_Pipe.gsm.  The model looks like this: As you can see, it includes two different tubes: one simulated using an Aquifer and one simulated using a Pipe.

Let’s first open the Aquifer element to refresh our memory on what it looks like: Now open the Pipe element: As you can see, the two elements share the following inputs:

• Length
• Area
• Dispersivity
• Infill Medium
• Fluid Saturation
• Discrete Changes
• Input Rate
• Source Term Length
• A button for defining Suspended Solids

The Inflows and Outflow tabs are also identical.

How are the two pathways different?  They are different in the following ways:

• The Aquifer pathway requires the Number of Cells.  This is not required by the Pipe, since it uses a completely different solution method (it does not discretize the tube into a series of Cells).
• The Aquifer pathway has a checkbox to specify the downstream boundary condition.  The Pipe pathway does not have this option, since it uses a different downstream boundary condition (that we will discuss in detail below).
• The Pipe pathway has an input named Perimeter.  As we will discuss in detail in the next Lesson, this is used to simulate a process called matrix diffusion (a process that cannot be simulated by an Aquifer).  In this simple model, however, we are not simulating this process (and hence the input is not being used).
• The Pipe pathway has a number of buttons for defining optional advanced features (CoatingMatrix Diffusion Zones and Stagnant Zone). These features (which we will discuss in the next Lesson) are not available for Aquifer elements.  None are being used in this Example.

In this Example model we want to compare these two pathways.  As mentioned above, there are several features that are provided by the Pipe that are not provided by the Aquifer.  However, none of those features are used in this Example.  The only difference (other than the solution method) is the downstream boundary condition. As noted in Lesson 7, the Aquifer has two options for the downstream boundary condition:

• If Enable dispersive and diffusive outfluxes to downstream pathway(s) is cleared (the default), only advective transport out of the pathway is allowed.  This is most appropriate if the downstream concentration is similar to the concentration leaving the pathway.  In this case, the concentration gradient is small (and hence the dispersive and diffusive fluxes would be small).
• If the box is checked, a zero concentration in the receiving pathway is assumed, and dispersive and diffusive transport into downstream pathways is allowed. This is most appropriate if the  downstream pathway concentration is significantly lower than the concentration leaving the pathway (e.g., the downstream pathway represents a rapidly-flowing, “clean” pathway).

The downstream boundary condition for the Pipe pathway, however, is as follows:

Concentration goes to 0 as x goes to infinity.

Effectively, this allows dispersive/diffusive outfluxes, with a downstream concentration that is not set to zero (as is the case for the Aquifer if the box is checked), but is actually quite close to the concentration leaving the Pipe (resulting in a low dispersive outflux). If you think carefully about this, you will realize that the Pipe boundary condition is close (but not identical) to the default Aquifer boundary condition (no dispersive flux).

If you run the model and open the “Concentration Leaving Tube” you can see that the results for the Aquifer (using the default boundary condition) and the Pipe are effectively identical: Given this information, you may wonder when you should use an Aquifer and when you should use a Pipe. Because Pipe pathways have a number of limitations (that we have not discussed), for most applications, an Aquifer pathway should be used instead of a Pipe pathway.

However, there is one set of systems that cannot be simulated using Aquifers, but can be simulated using Pipes: those involving transport through fractures. In particular, contaminant transport through fractures typically includes some specialized processes that can be readily represented using Pipes (but not by Aquifers). We will discuss this in the next Lesson.