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

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 onedimensional 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.


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 onedimensional 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.

The Hydrodynamic Model
The continuity and momentum equations are governed by the hydrodynamic behavior of the stream.

Mathematical Problems in Engineering
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 t 0 and 0 ≤ X ≤ 1 being specified: Z 0 and U 0. The boundary conditions for t > 0 are specified: Z e it at X 0 and ∂Z/∂X 0 at X 1.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 0, 1 × 0, T , for convenient using u, d for U and Z, respectively, with the initial conditions u 0, d 0 at t 0 and the boundary conditions d 0, t f t and ∂d/∂x 0 at x 1.

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 C x, t is the concentration averaged in depth at the point x and at time t, D is the diffusion coefficient, K is the mass decay rate, and u x, t is the velocity component, for all x ∈ 0, 1 .We will consider the model with following conditions.The initial condition C x, 0 0 at t 0 for all x > 0. The boundary conditions C 0, t C 0 at x 0 and ∂C/∂x 0 at x 1, where C 0 is a constant.

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.

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, v e t u, and substituting them into 2.5 , we have ∂v ∂t e −t ∂d ∂x 0, ∂d ∂t e −t ∂v ∂x 0.

3.1
Equation 3.1 can be written in the matrix form That is,

3.4
with the initial condition d v 0 at t 0. The left boundary conditions for x 0, t > 0 are specified: d 0, t sin t and ∂v/∂x −e t cos t, and the right boundary conditions for x 1, t > 0 are specified: ∂d/∂x 0 and v 0, t 0. We now discretize 3.3 by dividing the interval 0, 1 into M subintervals such that MΔx 1 and the interval 0, T into N subintervals such that NΔt T .We can then approximate d x i , t n by d n i , value of the difference approximation of d x, t at point x iΔx and t nΔt, where 0 ≤ i ≤ M and 0 ≤ n ≤ N, and similarly defined for v n i and U n i .The grid points x n , t n are defined by x i iΔx for all i 0, 1, 2, . . ., M and t n nΔt for all n 0, 1, 2, . . ., N in which M and N are positive integers.Using the Crank-Nicolson method 17 to 3.3 , the following finite difference equation can be obtained: where I is the unit matrix of order 2 and λ Δt/Δx.Applying the initial and boundary conditions given for 3.1 , the general form can be obtained where

The Explicit Schemes for the Advection-Diffusion-Reaction Equation
We can then approximate C x i , t n by C n i , the value of the difference approximation of C x, t at point x iΔx and t nΔt, where 0 ≤ i ≤ M and 0 ≤ n ≤ N. The grid points x n , t n are defined by x i iΔx for all i 0, 1, 2, . . ., M and t n nΔt for all n 0, 1, 2, . . ., N in which M and N are positive integers.

Forward Time Central Space Explicit Finite Difference Scheme
Taking the forward time central space technique 17 into 2.6 , we get the following discretization: 3.9 Substituting 3.9 into 2.6 , we get

3.11
For i 1, plugging the known value of the left boundary C n 0 C 0 to 3.11 in the right-hand side, we obtain

3.12
For i M, substituting the approximate unknown value of the right boundary by 4 , we can let C n M 1 2C n M − C n M−1 and by rearranging, we obtain

3.13
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 γ n i 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 O{ Δx 2 , Δt}.

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:

3.17
For i 1, plugging the known value of the left boundary C n 1 0 C 0 to 3.17 in the right-hand side, we obtain

3.18
For i M, substituting the approximate unknown value of the right boundary by 20 , we can let M−1 and by rearranging, we obtain

3.19
Using Taylor series expansions on the approximation, 21 has shown that the truncation error is O{ Δx 2 Δt 2 Δt/Δx 2 } or O{2, 2, 1/1 2 }.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.where α 2 1/4 cos 3π/8 and β 2 1/4 sin 3π/8 .Anyhow, it is not easy to find the analytical solution u x, t of 2.5 .We use the solution d 1, t 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 d x, t and u x, t .We assume that when we get a good approximation for d x, t this implied that the method gives a good approximation for u x, t .The verification of the approximate solution d 1, t is shown in Table 1 and Figure 2.

The Accuracy of the Hydrodynamic Approximation
Figure 2 shows the comparison between the analytical solutions d 1, t and the approximate solutions d 1, t only at the end of the domain.Table 1 shows that an estimate of the maximum error is less than 7.0%.
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.

Application to the Stream Water Quality Assessment Problem
Suppose that the measurement of pollutant concentration C Kg/m 3 in a uniform stream at time t sec is considered.A stream is aligned with longitudinal distance, 1.0 km total 0 100 200 300 400 500 600 700 800 900 1000  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 C 0, t C 0 1 Kg/m 3 at x 0 for all t > 0 and C x, 0 0 Kg/m 3 at t 0. The elevation of water at the discharge point can be described as a function d 0, t f t sin t m for all t > 0, and the elevation is not changed at x 1.0 km.The physical parameters of the stream system are diffusion coefficient D 0.05 m 2 /s, and a first-order reaction rate 10 −5 s −1 .In the analysis conducted in this study, meshes the stream into 20, 40, 80, and 160 elements with Δx 0.05, 0.025, 0.0125, 0.00625, respectively, and time increment are 3.2, 1.6, 0.8, 0.4, 0.2, 0.1 s with Δt 0.01, 0.005, 0.0025, 0.00125, 0.000625, 0.0003125, respectively.Using 3.7 , it can be obtained the water velocity u x, t 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 Δx and Δt in Table 5 that are consistence      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 Pe U n i Δx/D < 10, which indicated the stream system was advection not dominated 15 .

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 convectiondiffusion-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.

Figure 1 :
Figure 1: The shallow water system.

2Figure 2 :
Figure 2: Comparison of analytical solution for height of water elevation with results obtained by numerical technique at the end point of the domain.

Figure 5 :
Figure 5: The comparison of concentration at two different time instants of the FTCS and Saulyev methods.

1 6 dFigure 6 :
Figure 6: The pollutant concentration C x, t for each diffusion coefficients at t 24 min.

Table 2 :
The velocity of water flow u x, t .