- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

Mathematical Problems in Engineering

Volume 2011 (2011), Article ID 491317, 15 pages

http://dx.doi.org/10.1155/2011/491317

## A Numerical Treatment of Nondimensional Form of Water Quality Model in a Nonuniform Flow Stream Using Saulyev Scheme

^{1}Department of Mathematics, Faculty of Science, King Mongkut's Institute of Technology Ladkrabang, Bangkok 10520, Thailand^{2}Centre of Excellence in Mathematics, Commission on Higher Education (CHE), Si Ayutthaya Road, Bangkok 10400, Thailand

Received 11 April 2011; Revised 21 June 2011; Accepted 6 July 2011

Academic Editor: Delfim Soares Jr.

Copyright © 2011 Nopparat Pochai. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

The stream water quality model of water quality assessment problems often involves numerical methods to solve the equations. The governing equation of the uniform flow model is one-dimensional advection-dispersion-reaction equations (ADREs). In this paper, a better finite difference scheme for solving ADRE is focused, and the effect of nonuniform water flows in a stream is considered. Two mathematical models are used to simulate pollution due to sewage effluent. The first is a hydrodynamic model that provides the velocity field and elevation of the water flow. The second is a advection-dispersion-reaction model that gives the pollutant concentration fields after input of the velocity data from the hydrodynamic model. For numerical techniques, we used the Crank-Nicolson method for system of a hydrodynamic model and the explicit schemes to the dispersion model. The revised explicit schemes are modified from two computation techniques of uniform flow stream problems: forward time central space (FTCS) and Saulyev schemes for dispersion model. A comparison of both schemes regarding stability aspect is provided so as to illustrate their applicability to the real-world problem.

#### 1. Introduction

Field measurement and mathematical simulation are methods to detect the amount of pollutant in water area. For the shallow water mass transport problems that presented in [1], the method of characteristics has been reported as being applied with success, but it presents in real cases some difficulties. In [2], the finite element method for solving a steady water pollution control to achieve a minimum cost is presented. The numerical techniques for solving the uniform flow of stream water quality model, especially the one-dimensional advection-diffusion-reaction equation, are presented in [3–7]. A two-dimensional model for natural convection in shallow water that reduces to a degenerated elliptic equation for the pressure, an explicit formula for horizontal components of the velocity and a vertical diffusion for the vertical component, is derived [8]. In [9], a rigorous nonlinear mathematical model is used to explain the seasonal variability of plankton in previous shallow coastal lagoons. The particle trajectories in a constant vorticity shallow water term flow over a flat bed as periodic waves propagate on the water’s free surface are investigated in [10].

The most of nonuniform flow model requires data concerned with velocity of the current at any point and any time in the domain. The hydrodynamics model provides the velocity field and tidal elevation of the water. In [11–13], they used the hydrodynamics model and convection-diffusion equation to approximate the velocity of the water current in a bay, a uniform reservoir, and a channel, respectively.

The numerical techniques to solve the nonuniform flow of stream water quality model, one-dimensional advection-diffusion-reaction equation, is presented in [14] by using the fully implicit schemes: Crank-Nicolson method system of hydrodynamic model and backward time central space (BTCS) for dispersion model.

The finite difference methods, including both explicit and implicit schemes, are mostly used for one-dimensional problems such as in longitudinal river systems [15]. Researches on finite difference schemes have considered on numerical accuracy and stability. There are several high quality numerical schemes, such as QUICK/QUICKest schemes, Lax-Wendroff scheme, Crandall scheme, and Dufort-Frankel scheme have been developed to enhance model performances. These schemes have outstanding stability and high-order accuracy. They are requirements for advection-dominated systems. Although these schemes need boundary and initial conditions that make them difficult to use. They need more computing effort since iterations for more grids are involved in each computation step. For example, the QUICKest scheme uses a three-point upstream-weighted quadratic interpolation and needs the stop criteria controlled iterations for each grid in order to enhance accuracy. The scheme carries out a heavy computing load. Since it involves two upstream points, the upper boundary conditions need to be defined carefully before starting computation [4].

The simple finite difference schemes become more inviting for general model use. The simple explicit schemes include Forward-Time/Centered-Space (FTCS) scheme and the Saulyev scheme. These schemes are either first-order or second-order accurate [4] and have the advantages of simplicity in coding and time effectiveness in computing without losing too much accuracy and thus are preceding for several model applications.

In this paper, we will use more economical computation techniques than the method in [14]. For numerical techniques, we used the Crank-Nicolson method to the system of hydrodynamic model and the explicit schemes to the dispersion model. The revised explicit schemes are modified from two computation techniques of uniform flow stream problems: forward in time/central in space (FTCS) and Saulyev schemes.

The results from hydrodynamic model are data of the water flow velocity for advection-diffusion-reaction equation which provides the pollutant concentration field. The term of friction forces due to the drag of sides of the stream is considered. The theoretical solution of the model at the end point of the domain that guaranteed the accurate of the approximate solution is presented in [13, 14].

The stream has a simple one-space dimension as shown in Figure 1. Averaging the equation over the depth, discarding the term due to Coriolis force, it follows that the one-dimensional shallow water and advection-diffusion-reaction equations are applicable. We use the Crank-Nicolson method and the forward in time/central in space (FTCS) and Saulyev schemes to approximate the velocity and the tidal elevation and the concentration from the foresaid models, respectively.

#### 2. Mathematical Model

##### 2.1. The Hydrodynamic Model

The continuity and momentum equations are governed by the hydrodynamic behavior of the stream. If we average the equations over the depth, discarding the term due to Coriolis parameter, shearing stresses, and surface wind [11, 13, 14, 16], we obtain the one-dimensional shallow water equations: where is longitudinal distance along the stream (m), is time (s), is the depth measured from the mean water level to the stream bed (m), is the elevation from the mean water level to the temporary water surface or the tidal elevation (m/s), and is the velocity components (m/s), for all .

Assume that is a constant and . Then (2.1) leads to We will consider the equation in dimensionless problem by letting , , , and . Substituting them into (2.2) leads to We now introduce a damping term into (2.3) to represent frictional forces due to the drag of sides of the stream, thus with the initial conditions at and being specified: and . The boundary conditions for are specified: at and at . The system of (2.4) is called the damped equation. We solve the damped equation by using the finite difference method. In order to solve (2.4) in , for convenient using for and , respectively, with the initial conditions , at and the boundary conditions and at .

##### 2.2. Dispersion Model

In a stream water quality model, the governing equations are the dynamic one-dimensional advection-dispersion-reaction equations (ADREs). A simplified representation by averaging the equation over the depth is shown in [3–5, 7, 14] as where is the concentration averaged in depth at the point and at time , is the diffusion coefficient, is the mass decay rate, and is the velocity component, for all . We will consider the model with following conditions. The initial condition at for all . The boundary conditions at and at , where is a constant.

#### 3. Numerical Experiment

The hydrodynamic model provides the velocity field and elevation of the water. Then the calculated results of the model will be input into the dispersion model which provides the pollutant concentration field.

##### 3.1. Crank-Nicolson Method for the Hydrodynamic Model

We will follow the numerical techniques of [13]. To find the water velocity and water elevation from (2.5), we make the following change of variable, , and substituting them into (2.5), we have Equation (3.1) can be written in the matrix form That is, where with the initial condition at . The left boundary conditions for , are specified: and , and the right boundary conditions for , are specified: and .

We now discretize (3.3) by dividing the interval into subintervals such that and the interval into subintervals such that . We can then approximate by , value of the difference approximation of at point and , where and , and similarly defined for and . The grid points are defined by for all and for all in which and are positive integers. Using the Crank-Nicolson method [17] to (3.3), the following finite difference equation can be obtained: where is the unit matrix of order 2 and . Applying the initial and boundary conditions given for (3.1), the general form can be obtained where where , , and for all . The Crank-Nicolson scheme is unconditionally stable [15, 17].

##### 3.2. The Explicit Schemes for the Advection-Diffusion-Reaction Equation

We can then approximate by , the value of the difference approximation of at point and , where and . The grid points are defined by for all and for all in which and are positive integers.

###### 3.2.1. Forward Time Central Space Explicit Finite Difference Scheme

Taking the forward time central space technique [17] into (2.6), we get the following discretization: Substituting (3.9) into (2.6), we get for and . Leting and , (3.10) becomes For , plugging the known value of the left boundary to (3.11) in the right-hand side, we obtain For , substituting the approximate unknown value of the right boundary by [4], we can let and by rearranging, we obtain The forward time central space scheme is conditionally stable subject to constraints in (3.10). The stability requirements for the scheme are [4, 18] where is the diffusion number (dimensionless) and is the advection number or Courant number (dimensionless). It can be obtained that the strictly stability requirements are the main disadvantage of this scheme.

The finite difference formula (3.11) has been derived in [19] that the truncation error for this method is .

###### 3.2.2. Saulyev Explicit Finite Difference Scheme

The Saulyev scheme is unconditionally stable [6]. It is clear that the nonstrictly stability requirement of Saulyev scheme is the main of advantage and economical to use. Taking Saulyev technique [6] into (2.6), it can be obtained the following discretization: Substituting (3.15) into (2.6), we get for and . Leting and , (3.16) becomes For , plugging the known value of the left boundary to (3.17) in the right-hand side, we obtain For , substituting the approximate unknown value of the right boundary by [20], we can let and by rearranging, we obtain Using Taylor series expansions on the approximation, [21] has shown that the truncation error is or .

From (3.16) to (3.19), it can be obtained that the technique does not generate the system of linear equations. It follows that the application of the technique is economical computer implementation.

#### 4. The Accuracy of the Hydrodynamic Approximation

It is not hard to find the analytical solution in (2.5) with . By changing of variables, and for some and substitute into (2.5). Using a separable variables technique, we can obtain a solution [14] where and . Anyhow, it is not easy to find the analytical solution of (2.5). We use the solution obtained in (4.1) to verify to our approximate solution obtained by the Crank-Nicolson method (3.7). Actually when using the Crank-Nicolson method, we get the approximate solution both and . We assume that when we get a good approximation for this implied that the method gives a good approximation for . The verification of the approximate solution is shown in Table 1 and Figure 2.

Figure 2 shows the comparison between the analytical solutions and the approximate solutions only at the end of the domain. Table 1 shows that an estimate of the maximum error is less than .

Unfortunately, the analytical solutions of hydrodynamic model could not found over entire domain. This implies that the analytical solutions of dispersion model could not carry out at any points on the domain as well.

#### 5. Application to the Stream Water Quality Assessment Problem

Suppose that the measurement of pollutant concentration (Kg/m^{3}) in a uniform stream at time (sec) is considered. A stream is aligned with longitudinal distance, 1.0 km total length, and 1.0 m depth. There is a plant which discharges waste water into the stream, and the pollutant concentration at discharge point is Kg/m^{3} at for all and Kg/m^{3} at . The elevation of water at the discharge point can be described as a function m for all , and the elevation is not changed at km. The physical parameters of the stream system are diffusion coefficient m^{2}/s, and a first-order reaction rate s^{−1}. In the analysis conducted in this study, meshes the stream into 20, 40, 80, and 160 elements with , respectively, and time increment are 3.2, 1.6, 0.8, 0.4, 0.2, 0.1 s with , respectively. Using (3.7), it can be obtained the water velocity on Table 2 and Figure 3. Next, the approximate water velocity can be plugged into the finite difference equations of FTCS and Saulyev schemes on (3.11)–(3.13) and (3.17)–(3.19), respectively. The comparison of concentration of the FTCS method and Saulyev method is presented in Figure 5 for two different instants. We then have the stabilities of both schemes for each and in Table 5 that are consistence with (3.14). The approximation of pollutant concentration of both schemes are shown in Tables 3 and 4 and Figure 4. The concentration along a stream at only 24 min with varied diffusion coefficients is shown in Figure 6. These imply that the Peclet number was , which indicated the stream system was advection not dominated [15].

#### 6. Discussion and Conclusions

The approximation of the pollutant concentrations from the FTCS technique is shown in Tables 3 and 5; it can be concluded that stability requirements is one of the disadvantages of the technique. The real-world problems require a small amount of time interval in obtaining accurate solutions. We can see that the FTCS scheme is not good agreement for real application. In Table 4, it can be obtained that the Saulyev technique has an advantage over compared to FTCS. It is unconditionally stable, easy, and economical to implement.

By Figure 6, we can see that the diffusion coefficients of pollutant matter can reduce the concentration in a nonuniform stream. If sewage effluent with a low diffusion coefficient has discharged into a nonuniform flow stream, then the water quality will be lower than a discharging of high diffusion coefficients of other pollutant matters.

In this paper, it can be combined the hydrodynamic model and the convection-diffusion-reaction equation to approximate the pollutant concentration in a stream when the current which reflects water in the stream is not uniform. The technique developed in this paper the response of the stream to the two different external inputs: the elevation of water and the pollutant concentration at the discharged point. The Saulyev technique can be used in the dispersion model since the scheme is very simple to implement. By the Saulyev finite difference formulation, we obtain that the proposed technique is applicable and economical to be used in the real-world problem as aresult of the simplicity of programming and the straight forwardness of the implementation. It is also possible to find tentative better locations and the periods of time of the different discharged points to a stream.

#### Acknowledgments

This paper is supported by the Centre of Excellence in Mathematics, the Commission on Higher Education, Thailand. The author greatly appreciates valuable comments received from the referees.

#### References

- A. Garzon and L. D’Alpaos, “A modified method of the characteristic technique combined with Gelerkin finite element method to solve shallow water mass transport problems,” in
*Proceedings 23rd International Conference in Coastal Engineering*, vol. 3, pp. 3068–3080, 1992. - N. Pochai, S. Tangmanee, L. J. Crane, and J. J. H. Miller, “A mathematical model of water pollution control using the finite element method,”
*Proceedings in Applied Mathematics and Mechanics*, vol. 6, no. 1, pp. 755–756, 2006. View at Google Scholar - J. Y. Chen, C. H. Ko, S. Bhattacharjee, and M. Elimelech, “Role of spatial distribution of porous medium surface charge heterogeneity in colloid transport,”
*Colloids and Surfaces A*, vol. 191, no. 1-2, pp. 3–15, 2001. View at Publisher · View at Google Scholar - G. Li and C. R. Jackson, “Simple, accurate, and efficient revisions to MacCormack and Saulyev schemes: high Peclet numbers,”
*Applied Mathematics and Computation*, vol. 186, no. 1, pp. 610–622, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - E. M. O'Loughlin and K. H. Bowmer, “Dilution and decay of aquatic herbicides in flowing channels,”
*Journal of Hydrology*, vol. 26, no. 3-4, pp. 217–235, 1975. View at Google Scholar - M. Dehghan, “Numerical schemes for one-dimensional parabolic equations with nonstandard initial condition,”
*Applied Mathematics and Computation*, vol. 147, no. 2, pp. 321–331, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - A. I. Stamou, “Improving the numerical modeling of river water quality by using high order difference schemes,”
*Water Research*, vol. 26, no. 12, pp. 1563–1570, 1992. View at Publisher · View at Google Scholar - S. Marušić, “Natural convection in shallow water,”
*Nonlinear Analysis: Real World Applications*, vol. 8, no. 5, pp. 1379–1389, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - A. Dube and G. Jayaraman, “Mathematical modelling of the seasonal variability of plankton in a shallow lagoon,”
*Nonlinear Analysis: Theory, Methods & Applications*, vol. 69, no. 3, pp. 850–865, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - D. Ionescu-Kruse, “Particle trajectories beneath small amplitude shallow water waves in constant vorticity flows,”
*Nonlinear Analysis: Theory, Methods & Applications*, vol. 71, no. 9, pp. 3779–3793, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - P. Tabuenca, J. Vila, and J. Cardona, “Finite element simulation of dispersion in the Bay of Santander,”
*Advances in Engineering Software*, vol. 28, no. 5, pp. 313–332, 1997. View at Google Scholar - N. Pochai, “A numerical computation of the non-dimensional form of a non-linear hydrodynamic model in a uniform reservoir,”
*Nonlinear Analysis: Hybrid Systems*, vol. 3, no. 4, pp. 463–466, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - N. Pochai, S. Tangmanee, L. J. Crane, and J. J. H. Miller, “A water quality computation in the uniform channel,”
*Journal of Interdisciplinary Mathematics*, vol. 11, no. 6, pp. 803–814, 2008. View at Google Scholar - N. Pochai, “A numerical computation of a non-dimensional form of stream water quality model with hydrodynamic advection-dispersion-reaction equations,”
*Nonlinear Analysis: Hybrid Systems*, vol. 3, no. 4, pp. 666–673, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - S. C. Chapra,
*Surface Water-Quality Modeling*, McGraw-Hill, New York, NY, USA, 1997. - H. Ninomiya and K. Onishi,
*Flow Analysis Using a PC*, CRC Press, Boca Raton, Fla, USA, 1991. - A. R. Mitchell,
*Computational Methods in Partial Differential Equations*, John Wiley & Sons, London, UK, 1969. - W. F. Ames,
*Numerical Methods for Partial Differential Equations*, Computer Science and Scientific Computing, Academic Press, Boston, Mass, USA, 2nd edition, 1977. - M. Dehghan, “Weighted finite difference techniques for the one-dimensional advection-diffusion equation,”
*Applied Mathematics and Computation*, vol. 147, no. 2, pp. 307–319, 2004. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - W. Zeng,
*A model for understanding and managing the impacts of sediment behavior on river water quality*, Ph.D. thesis, University of Georgia, Athens, Ga, USA, 2000. - L. Lapidus and G. F. Pinder,
*Numerical Solution of Partial Differential Equations in Science and Engineering*, John Wiley & Sons, New York, NY, USA, 1982.