Center for Advanced Decision Support for Water and Environmental Systems,
University of Colorado, Boulder
Disclaimer: The online document displayed is based on the final draft provided to the editor. Minor discrepancies between the online document and the published version may therefore exist.
Transient storage occurs in small streams when portions of the transported solute become isolated from the main channel in small pools and in the gravel underbed. As a result of this storage phenomenon, the magnitude of a typical solute tracer pulse is attenuated and its position delayed. To account for attenuation, two distinct zones are considered. The first zone represents the main channel that is usually considered when modeling advective surface-water systems. Processes influencing solute concentrations in this zone include advection, dispersion, lateral inflow, transient storage, and chemical reaction. A second area, the storage zone, represents recirculating pools, underflow channels and other areas that are immobile relative to flow in the main channel. Only the processes of storage and chemical reaction are considered in the storage zone. The zones are linked by an exchange term that acts to transfer mass between the two regimes.
The transient-storage equations presented herein are generally applicable to streams and rivers in which one-dimensional solute transport may be assumed. As described by Fischer et al. [1979], one-dimensional analysis is valid for systems in which solute mass is uniformly distributed over the stream's cross-sectional area. Although this uniformity rarely occurs in nature, it is a reasonable assumption for streams of small to moderate width and depth.
Although numerous applications of the transient storage equations may be found in the literature, little attention has been paid to the numerical aspects of the approach. Of particular interest is the coupled nature of the equations describing mass conservation for the stream channel and the storage zone. This paper details an implicit finite difference technique that decouples the governing equations. Additional numerical issues are also discussed.
(2)
where
A stream channel cross-sectional area [L2]
AS storage zone cross-sectional area [L2]
C in-stream solute concentration [M L-3]
CL solute concentration in lateral inflow [M L-3]
CS storage zone solute concentration [M L-3]
D dispersion coefficient [L2T-1]
Q volumetric flowrate [L3T-1]
qLIN lateral inflow rate [L3T-1L-1]
t time [T]
x distance [L]
storage zone exchange coefficient [T-1]
in-stream first-order decay coefficient [T-1]
S storage zone first-order decay coefficient [T-1]
Boundary and initial conditions are given by:
where
l main channel length [L]
Cbc in-stream solute concentration at the upstream boundary [M L-3]
Cinit initial in-stream background concentration [M L-3]
CSinit initial storage zone background concentration [M L-3]
To solve (1) and (2) for the general case in which the parameters vary in time and space, numerical solution techniques are employed. In the development that follows, central divided-differences are used to approximate the spatial derivatives. It should be noted, however, that the following discussion is equally applicable when backward or arbitrary differences are used. In any event, (1) becomes:
(8)
Application of the Crank-Nicolson approach proceeds as follows. To achieve second-order accuracy, difference equations are developed for the midpoint of a time step. Letting j denote an initial time and j+1 denote an advanced time, the main channel equation [Equation (7)] is formulated for time j+1/2. The right-hand-side of (7) at time j+1/2 is simply the average of the term at times j and j+1. In addition, the time derivative, dC/dt, is estimated using a centered difference approximation:
Fortunately, decoupling is easily achieved by noting a fundamental difference between the two equations. First, (13) is a Crank-Nicolson expression for a partial differential equation (PDE) containing spatial derivatives [Equation (1)]. As such, it is not possible to solve explicitly for the dependent variable, Cj+1. In contrast, (19) is a Crank-Nicolson approximation of an ordinary differential equation (ODE), wherein a spatial derivative is lacking [Equation (2)]. This allows one to solve explicitly for the dependent variable, CSj+1 [Equation (20)]. It is therefore possible to substitute (20) into (13), thereby eliminating CSj+1. This effectively decouples the Crank-Nicolson expressions. One may easily envision other sets of mixed equations (ODEs and PDEs) where this procedure is equally applicable.
Decoupling of the transient storage equations proceeds as follows. In Equation (20) the storage concentration is a function of two known quantities, Cj and CSj, and one unknown quantity, Cj+1. Substitution of (20) into (17) provides a new expression for R:
(24)
where
[M] tridiagonal coefficient matrix of dimension N by N
{C} vector of length N representing the unknown solute concentrations
{R} forcing function vector of length N, as given by Equation (24)
N number of segments in the stream network
Due to the tridiagonal nature of matrix [M], Equation (25) may be solved for {C} using the Thomas Algorithm [Thomas, 1949]. This approach exploits the tridiagonal structure of [M] by eliminating useless operations on zero elements. Although this leads to great computational savings, the algorithm is frequently presented in a format that confounds operations on the coefficient matrix [M] with those on the right-hand-side vector {R} [e.g. Cheney and Kincaid, 1985; Press et al., 1986). This leads to redundant computations when applied to cases involving an invariant coefficient matrix [M] and multiple right-hand-side vectors.
Increased efficiency can be obtained by formulating the Thomas Algorithm as an LU decomposition method [Chapra and Canale, 1988; Burden and Faires, 1988]. This method decomposes the coefficient matrix into `lower' and `upper' diagonal matrices. This `decomposition' is followed by `substitution' steps involving {R} that provide the solution for {C}.
The primary advantage of the LU Decomposition approach is the ability to efficiently evaluate multiple right-hand side vectors ({R}). Because the first step, decomposition, involves only the coefficient matrix, [M], it need not be repeated for each vector {R} . As a result, solutions for multiple right-hand side vectors may be obtained using a single decomposition step in conjunction with multiple substitution steps.
For the case at hand, there are multiple right-hand side vectors, as {R} is a function of the time-varying solute concentrations. Given a steady flow regime, the coefficient matrix remains constant throughout the simulation. A decomposition step is therefore not required for each time step. This considerably reduces the number of operations required to complete a given simulation.
For conservative substances, the coefficient matrix is a function of the model's physical parameters, i.e. [M] is not specific to a given solute. Due to this solute independence, the decomposition phase for the Thomas Algorithm is completed only once for each set of physical parameters (i.e. given steady flow conditions, only one decomposition step is required for the entire simulation). A substitution phase, meanwhile, is required for each solute at each time step, as {R} is a function of the solute concentrations at the current time level [see Equation (24)].
Unlike the conservative case, the coefficient matrix for nonconservative solutes is a function of both physical and chemical parameters. Matrix decomposition is therefore required for each solute being modeled, as the values of the chemical parameters vary between solutes. For steady flow regimes, the number of decomposition steps equals the number of solutes. As with conservative substances, the substitution step is required for each solute at each time step.
In summary, the solution of (25) is dependent on the types of solutes being modeled. Specifically, the coefficient matrix is solute-independent for conservative substances, while it is solute-specific for non-conservative solutes.
Using the three computer codes, a series of benchmark runs were conducted. Simulation parameters for the benchmark runs are shown in Table 1. In each run, the transport of five conservative constituents was simulated under steady flow conditions (i.e. Q, A, qLIN and CL were time invariant). Solute concentrations were determined for a thirty-hour period using an integration time step of 0.01 hours. The five hundred meter stream was modeled as a linear reach comprised of one meter segments. All runs were completed on a SUN Sparc 2 workstation.
Figure 1 summarizes the results from the benchmark simulations. Two conclusions may be drawn from the figure. First, judicious use of the Thomas Algorithm leads to a small, but not insignificant, decrease in run-time. Second, decoupling of the transport equations leads to a significant decrease in computational expense. This decrease is directly attributable to the fact that decoupling eliminates the need for the iterative approach in which the Crank-Nicolson equations are solved more than once during each time step. Given the system configuration and the parameters chosen for the benchmark runs, the iterative approach converges after two iterations. As such, the decoupling results in a 50 percent decrease in run time. It is important to note that situations may arise in which more than two iterations would be required for the iterative scheme. In this instance the decoupling will lead to an even greater decrease in run time. Ongoing research is underway to evaluate this issue.
As discussed previously, the decoupling procedure described here is relevant to other types of fate and transport models. Specifically, the method may be applied to the equations describing toxic substances in one-dimensional streams and estuaries underlain by stationary sediment beds. Thomann and Mueller [1987] have developed a similar decoupling approach for computing steady-state distributions with a matrix-based method. Our technique provides a means to efficiently simulate the dynamics of toxicants for such systems with stable implicit methods.
In addition, other applications are possible. For example, the approach is applicable to solute transport in porous media [e.g. Hornberger et al., 1992]. Research efforts are presently underway to generalize the decoupling procedure and to further define its performance and applicability.
Although computer run time may no longer seem to be the critical issue it was in the past, computations of the type described here still require efficiency for two reasons. First, the transient-storage solute-transport equations are presently being coupled with large chemical equilibrium models. For such applications, computational savings are critical for keeping total simulation times within reasonable bounds. Second, computer models are increasingly being integrated into decision-support systems. For such cases, the ability to implement interactive computations hinges on efficient model run times. The present paper has been directed toward making such applications feasible.
Bencala, K.E., D.M. McKnight and G.W. Zellweger, Characterization of transport in an acidic and metal-rich mountain stream based on a lithium tracer injection and simulations of transient storage, Water Resour. Res., 26(5), 989-1000, 1990.
Burden, R.L. and J.D. Faires, Numerical Analysis, 4th Edition, pp. 373-376, PWS-Kent Publishing company, Boston, 1988.
Chapra, S.C. and R.P. Canale, Numerical Methods For Engineers, Second Edition, pp. 271-290, McGraw-Hill, New York, 1988.
Cheney, W. and D. Kincaid, Numerical Mathematics and Computing, pp. 232-234, Brooks/Cole Publishing Company, Monterey, CA, 1985.
Fischer, H.B., E.J. List, R.C.Y. Koh, J. Imberger and N.H. Brooks, Mixing in Inland and Coastal Waters, pp. 263-276, Academic Press, San Diego, 1979.
Hornberger, G.M., A.L. Mills, and J.S. Herman, Bacterial transport in porous media: Evaluation of a model using laboratory observations, Water Resour. Res., 28(3), 915-938, 1992.
Isaacson, E., and H.B. Keller, Analysis of Numerical Methods, pp. 508-512, John Wiley & Sons, New York, 1966.
Jackman, A.P., R.A. Walters and V.C. Kennedy, Transport and concentration controls for chloride, strontium, potassium and lead in Uvas Creek, a small cobble-bed stream in Santa Clara County, California, U.S.A., 2. Mathematical Modeling, J. Hydrol., 75, 111-141, 1984.
Kim, B.K., A.P. Jackman and F.J. Triska, Modeling Transient Storage and Nitrate Uptake Kinetics in a Flume Containing a Natural Periphyton Community, Water Resour. Res., 26(3), 505-515, 1990.
Nordin, C.F. and B.M. Troutman, Longitudinal dispersion in rivers: the persistence of skewness in observed data, Water Resour. Res., 16(1), 123-128, 1980.
Press, W.H., B.P. Flannery, S.A. Teukolsky, and W.T. Vetterling, Numerical Recipes: The Art of Scientific Computing, pp. 40-41, Cambridge University Press, Cambridge, U.K., 1986.
Runkel, R.L. and R.E. Broshears, One dimensional transport with inflow and storage (OTIS): A solute transport model for small streams, CADSWES Technical Report 91-01, University of Colorado, Center for Advanced Decision Support for Water and Environmental Systems, Boulder, Colorado, 1991.
Thackston, E.L. and P.A. Krenkel, Longitudinal mixing in natural streams, J. San. Engr. Div., ASCE, 93(SA5), 67-90, 1967.
Thackston, E.L. and K.B. Schnelle, Predicting effects of dead zones on stream mixing, J. San. Engr. Div., ASCE, 96(SA2), 319-331, 1970.
Thomann, R.V., and J.A. Mueller, Principles of Surface Water Quality Modeling and Control, p. 581, Harper & Row, New York, 1987.
Thomas, L.H., Elliptic problems in linear difference equations over a network, Watson Scientific Computing Laboratory Report, Columbia University, New York, 1949.
Valentine, E.M. and I.R. Wood, Longitudinal dispersion with dead zones, J. Hydraul. Div., ASCE, 103(HY9), 975-990, 1977.
Parameter | Value |
---|---|
Number of Solutes | |
Type of Solute | Conservative |
Flow Regime | |
Integration Time Step [hours] | |
Simulation Period [hours] | |
Number of Segments | |
Segment Length [meters] |