Numerical Simulation of Groundwater Pollution Problems Based on Convection Diffusion Equation

The analytical solution of the convection diffusion equation is considered by two-dimensional Fourier transform and the inverse Fourier transform. To get the numerical solution, the Crank-Nicolson finite difference method is constructed, which is second-order accurate in time and space. Numerical simulation shows excellent agreement with the analytical solution. The dynamic visualization of the simulating results is realized on ArcGIS platform. This work provides a quick and intuitive decision-making basis for water resources protection, especially in dealing with water pollution emergencies.


Introduction
Numerical simulations of groundwater pollution problems have been given increased emphasis in recent years.Groundwater is often contaminated by, for example, the sewage out of factories or mines and the chemical fertilizer and pesticide in agriculture, in particular, nitrate pollution of groundwater in rivers basins and agricultural watersheds are going from bad to worse all over the world [1].Groundwater protection is an issue with both social and economic significant (e.g., Chen et al. [2]), so to simulate the movement of the contaminated groundwater, lots of mathematical models have been applied extensively and the use of numerical simulations seems to be inevitable.
Generally, analytical solutions can not be derived for most classical models, consequently, the development of numerical solutions is required.S. Hasnain and M. Saqib originate results with finite difference schemes to approximate the solution of the classical Fisher Kolmogorov Petrovsky Piscounov (KPP) equation from population dynamics, their results show that Crank-Nicolson is very efficient and reliably numerical scheme for solving one-dimension fishers KPP equation [3].During the last three decades, numerous transport problems have been solved numerical [4], theoretical numerical models are necessary tools were presented [5], the technique of intimating the movement of groundwater flow is improved greatly, see [6] [7] [8] and the references therein.Dillon gave many mathematical models and numerical methods for solving the groundwater problems [6].Li and Jiao derived the analytical solutions of tidal groundwater flow in coastal two-aquifer system [7].Sun applied a sort of numerical methods to simulate the movement of contaminants in groundwater [8].
At present, the researches on groundwater pollution problems are mainly divided into two categories at home and abroad [9] [10].On one hand, people generally study various discrete numerical schemes of mathematical models (i.e. the corresponding partial differential equations) for groundwater pollution, by doing lots of related works, the numerical solution is obtained and the convergence is analyzed, Lin, L. et al. [9] derived a simplified numerical model of groundwater and solute transport.On the other hand, people develop the simulation software of groundwater numerical [11] [12] [13], particularly, numerical simulation software of groundwater system has been developed, which is widely used because of its modularity, visualization, interaction and diversification, such as, the popular GIS, which is used to provide the visualization methods and approaches of groundwater pollution diffusion simulation.Qin, R. et al. [11] presented a GIS-based software for forecasting pollutant drift on coastal water surfaces using fractional Brownian motion, it can be used to study on red tide drift.Valocchi, A. J. et al. [12] developed a series of interactive web simulation models to help students understand the coupled physical, chemical, and microbiological processes that affect the transport and fate of pollutants in groundwater.Li, J. et al. [13] mentioned that HYDRUS-1D software can simulate different concentrations of pollutants reaching the shallow aquifer under some vadose zone conditions, he presented a method for quantitative groundwater pollution assessment based on grey relational analysis (GRA).
A lot of research literatures about the former have been represented in China.
In recent years, with the wide application of new technology and new method, many scholars have made innovations in theory and methodology, by means of the combination of theory and research direction of numerical model theory, they combine the theory of numerical model with the related acknowledges, so as to improve the reliability of simulation results [10].However, most of the previous literatures only simulate the surface water.By studying the literature [11] [12] [13], we found that the visual simulation of the actual problems of groundwater pollution is rare.If the above two were combined, it will not only in theory and application of important values, but also innovative, advanced and applied.
In book [14], Kovarik, K. sets his sights on reviewing the whole group of numerical methods from the oldest (the finite differences method), and discusses the basic equations of a groundwater flow and of the transport of pollutants in a porous medium.Therefore, we would like to use the finite difference method to study the numerical simulation methods about mathematical models with seepage of groundwater pollution.In order to improve the accuracy in the temporal direction, we propose a second-order scheme which based on centered Crank-Nicolson finite difference scheme [15]- [20].And we simulate the water pollution problems in a certain area and verify the validity and practicability of the model and its algorithm.Meanwhile, the dynamic visualization of simulation results is realized on ArcGIS platform.We hope that our work can provide an important basis for water pollution accident emergency response and decision-making, and can be used for environmental protection personnel to deal with water pollution emergencies.
The paper is organized as follows.In Section 2, we give the analytical solution of the Equations ( 1)-( 5) by two-dimensional Fourier transform and the inverse Fourier transform.In Section 3, we introduce some notations, present the Crank-Nicolson finite difference discretization of the governing equation and derive the truncation error.Numerical experiment is given, exact solution comparisons with numerical solution are also discussed in Section 4. Visualization of simulation results based on GIS (ArcGIS figures) is presented in Section 5. Finally, conclusions and suggestions are drawn in Section 6.

Analytical Solution
In this paper, we consider the following physical problem.The leakage of the sewage pool in a paper mill causes the seepage of sewage, and the concentration of some substance in any point in the underground water is a function of space coordinate and time, i.e. ( ) C x y t .We take an micro-body in the underground water, the concentration change of it is caused by two aspects: One is diffusion, including molecular diffusion and osmotic dispersion, another is the mass flux caused by the average liquid motion.In this problem, we assume that the seepage area is an infinite plane, and the groundwater flow is a one-dimensional one, the diffusion of pollutants is a two-dimensional dispersion, and the medium is a porous medium.
We take O as the coordinate origin (pollution source), take the infinite plane as the plane O-xy, the flow direction and the x axis direction are consistent.
Then, our problem can be illustrated by the following two-dimensional parabolic equation with convection term ( ) , 0 , 0 , L. Y.
Problem ( 1)-( 5) arises in the mathematical modeling of transport processes that exhibit diffusion, in which, the unknown C stands for the concentration of a solute, x and y are the horizontal coordinates, t is the time, x D and y D are the longitudinal and transversal dispersion coefficients respectively (namely, x D and y D are the aquifer transmissivity, subscripts x and y indicate the respective directions).m is the instantaneous injected solute mass per unit length of porous medium, v is the mean pore velocity, and n indicates the effective porosity.At the initial stage, we suppose, there is no contaminant in the river, and when 0 t ≥ the concentration at There are different approaches to solve two-dimensional parabolic equation, a series of analytical solutions derived from the basic physical principles have been presented which are mostly suitable under special boundary conditions [21].In this part, we give the analytical solution of the Equations ( 1)-( 5) by using two-dimensional Fourier transform and the inverse Fourier transform.
First of all, we give the definition of the two-dimensional Fourier transform and the inverse Fourier transform and some properties to be used in the following.The Fourier transform of ( ) the definition of the inverse Fourier transform for ( ) and the derivative properties of the Fourier transform are We do Fourier transformation of x and y (this transformation has no effect on the independent variables, so there is no Fourier transformation for t, so it has nothing to do with the t to the Equation (1) firstly.
deal with the conditional Eqution (3), we have Then, we do the Fourier transformation to the initial condition Eqution (2), by Eqution (9), we have it is called the Dirac function, also called the generalized function.We denote it can be easily to proved ( ) Notice Eqution ( 8) is a separable equation, so we have integrate the both sides of the Eqution ( 14) about variable t, we have where 0 C is a constant and it has nothing with other variables (the same below).So, we get the general solution of Eqution ( substitute 0 for t in formula ( 16), using Eqution (10), we obtain ( ) ( ) in fact, by Equtions (( 16) and ( 17)) we have the solution of Eqution (8) Next, for Eqution (16), we do the inverse Fourier transform And because ( ) therefore, take Equation ( 19) into account, we have where ( ) − is a constant, using Equaiton (20), then Equaiton ( 21) can be written to ( ) similarly, we have If we plug Equation (19) and Equation ( 22) back into Equation ( 23), we obtain it follows from the above equations that , , exp .4 4 4π As mentioned above, for Equation (19), taking two-dimensional Fourier transform and the inverse Fourier transform of both sides, its analytical solution Using MATLAB software to program, under the condition of 0 : 30 , we give the figures of analytical solution when the diffusion coefficient is 1    As shown in Figure 1, we can see that the concentration becomes smaller when the diffusion coefficient becomes larger at the same time.From the Figure 2, we can see that when the diffusion coefficient is constant, the concentration decreases as time increases.The results as what we have anticipated.

Numerical Methods
In this section, we study the structures and the properties of the numerical methods.As stated in the Section 1 and 2, Equation ( 1) is employed widely in the problem of contaminant in groundwater flow, or the water flow with any chemical solute.In general, the analytical solution for the above problem is not available, so many numerical methods can be used to solve Equation ( 1), this is one of the most significant problem.Numerical modeling of the groundwater flow in an aquifer is adopted from the detailed study of Prickett and Lonnquist [22], similarly, we develop finite difference equations for the advectivedispersive contaminant transport.Here to simulate the law of movement about pollutant in the medium, we present a second-order scheme to discretize the governing equation, which is based on centered Crank-Nicolson finite difference scheme [15]- [20], moveover, the discretization of the physical domain for contaminant transport and the groundwater flow is given in figures [23].
For the presentation of our finite difference method, we first introduce some notations which will be used later.Let region of interest be [ ] and the boundary of Ω be ∂Ω , we denote temporal increment by tau.For the spatial approximation, take two positive integers , respectively.In this way, the spatial nodes can be denoted by ( ) x y , ( ) . In addition, we define

Derivation of the Difference Scheme
In this part, we mainly consider the difference scheme and give preliminary results for the numerical approximation of the following equations ( ) , , , 0, where ( ) ( ) . We assume that ( ) , , x y t φ is known smooth functions, and the diffusion coefficients , For any , h u v∈  , introduce the following notations of difference quotients ( ) ( ) and similarly for the y direction , , , . It is easy to observe that The aim of the present part is to improve the accuracy in the temporal direction, so for the advection term of (27), we employ the average of the time level of 1 n + and n , which guarantees that the discrete scheme for ( 27) is unconditionally stable and second-order accurate in space and time.
For the time approximation, we take a positive integer N, let  , where τ is the time grid stepsize.Let , , , ,  ) ( )

Local Truncation Error
A numerical method used in the derivation of the finite difference equations, for groundwater contaminant transport, can be described as a flux conserving scheme which also proved that the equations don't contain spatial error with respect to the model it mentioned [24].However truncation errors exist, due to the approximations used to describe the flow of groundwater contaminant.Truncation errors might cause significant solution inaccuracies for the numerical models, especially for the advective dispersive contaminant transport case.We know the fact that when advective terms in the advection-dispersion equation become dominant, the equation behaves more like a hyperbolic than a parabolic [25].But in our paper, the advective terms in our model is very small and not dominant, so it can be seem as a classic two-dimensional parabolic equation.
We denote n ij C as the solutions of (27), and take Taylor formula in to account, applying the Taylor expansion for (30), it generates where ( ) is truncation errors, and it is easy to obtain ( ) ( ) which show that this scheme is second order accurate in time and space.

Crank-Nicolson Scheme
From the initial and boundary condition Equations ( 27)-( 29), we have Ignoring the higher order terms  27)-( 29), a Crank-Nicolson finite difference scheme ( ) we take the preceding sign into Equation (31), we have Based on the formulation (38) we can get the concentration distribution of pollutants and obtain the important data of velocity, pressure and so on.In order to solve the above Crank-Nicolson difference equation, we introduce ) ( ) , Extracting the coefficient of c − from both sides of the above Equation (39), collection the like terms, we get ( ) .

S S c S S c S S c S c c S S c S S c S S c S c c
As shown in Figure 3, Equaiton (40) involves unknown concentrations of five grid nodes center around ( ) , i j at the moment 1 n t + and n t , we may easily give Equaiton (40) according to all of the the interior grids.Using the known initial conditions and boundary conditions, we get a five diagonal equations, and for each advancing time step, a set of such equations must be solved.
We assumption that the pollutants follow the flow faithfully, we can get 0 c can be obtained by layer by layer.However, when the n layer is calculated by the 1 n + layer, it is necessary to solve the system of linear algebraic equations (because the coefficient matrix is strictly diagonally dominant, the equations can be uniquely solved), the distribution of the network as shown in Figure 4.
For simplicity of presentation, the entries of matrix A and matrix B are given by matrix 1 P , matrix 1 Q , matrix 2 P and matrix 2 Q .
the M-by-M matrix 1 P is

Numerical Simulation
In this part, we will give an experiments to test our Crank-Nicolson difference scheme (40).The numerical results will be presented to illustrate the efficiency and order of accuracy of the algorithm.In the following numerical experiments, we use the same number of uniform subintervals in both x and y directions.
Before conducting numerical experiments, we first make three hypotheses.Firstly, the main direction of the dispersion of the material in the groundwater is in the same direction as the coordinate axis.Secondly, the main seepage direction of groundwater is also consistent with the coordinate axis.Thirdly, the diffusion coefficient and permeability coefficient are constant in the axis direction.
So, we can choose the following parameters in the numerical experiment  , , 0, 0, , 0, , Using MATLAB software, we can get the function figures of the numerical solution and analytical solution, as indicated in Figure 5 and Figure 6.It proves that the degree of numerical solutions is approximating the exact solutions in different grid points.
Numerical experiments are performed to show the efficiency of the Crank-Nicolson schemes, which is reliably for solving two-dimensional parabolic equation with convection term, it is apparent from the Figure 5 and Figure 6 that the exact solution and numerical solution are better fitted with mesh generation encrypting, it turns out that the difference scheme we used can be a good approximate to analytical solution.

Visualization of Simulation Results Based on GIS (ArcGIS Figures)
The result of water pollution simulation is a large amount of data stored in the form of documents.It is the basic purpose of water pollution diffusion simulation to analyze and study these data, so as to master the law of water quality change, using the traditional method to deal with the simulation results, although the method is feasible, but it is extremely time-consuming.We are going to use programs to carry out numerical simulation of groundwater pollution problems and realize the time and concentration prediction of pollutants transport.
In this section, a new system concluding the design of the visual area and the dispersion of simulation interval has been developed within the framework of ArcGIS based on two dimensional groundwater pollution simulations, it also provides a perfect interface which allows construction of user defined criteria, such as running computations and visualization of the results.At the same time, we can make a conclude that the use of GIS feature layer demonstrate that the GIS-based two dimensional groundwater pollution simulations system can provide the user better decision making aid.

The Design of the Visual Area and the Dispersion of the Simulation Interval
Geographic information system (GIS) has the ability to express strong geographic data, is a powerful tool for water pollution simulation results visualization.In the simulation of groundwater pollution, there are various barrier and recharge boundaries, a river, and a contaminant source.The aquifer domain is uniformly discretized with a grid interval of certain a feet we defined according our needed.The initial heads in both the aquifer and groundwater contamination are set to zero, so we view port to rectangle region, x axis to plane, y axis to formation height, point ( ) 0, 0 to source of pollution, we can get the simulation of the discrete interval, as shown in Figure 7.

ArcGIS Visualization of Density Images at Different Time
The calculation results of MATLAB along the river equidistant distribution grid, each grid point according to the time sequence of stored information of the coordinates of the concentration of pollutants.According to our information and grid coordinate information, create the space layer, and into the ArcMap.
To the data at every moment in the MATLAB, constantly modify the value of t, we import the concentration matrix of each time t into the EXCEL file every 20 time points.From the time point corresponding to the EXCEL file derived concentration coordinates table, the concentrations of each column were , x y .
Import the final five EXCEL tables into ArcMap, the concentration image at each moment can be obtained.
Because the distribution of pollutant concentration is a continuous field of three-dimensional space, and the calculation results for the spatial discretization of the grid point distribution, in order to achieve the pollutant concentration diffusion field visualization continuous two-dimensional representation, with a certain height h as the observation height, the leakage of space in parallel to the O-xy plane in the direction of cutting, with a height of h δ + and h δ − ( δ is error tolerance) for planes in space, between the two cut point set as h height of the data source, extract t (diffusion time) in highly h data source point deduction collection time.Taking Galerkin spatial interpolation, the reduced leakage of discrete space the expression for a continuous space, we can get h height, pollutant concentration distribution of the t moment.
Based on the numerical experiments in Section 4, we import the pollution concentration spatiotemporal distribution data (1 -5 hours) into the ArcMap platform to realize two-dimensional visualization of pollution diffusion.The figures of ArcMap display intuitively the concentration distribution and dynamic changes of pollutants at different times and locations.Figures 8-12 indicate diffusion changes after pollution flows into the river 1 h, 2 h, 3 h, 4 h and 5 h, respectively.In Figures, the pollutant concentration is divided into grade 1grade 5 according to the degree of risk from high to low, pollutant concentration range were >900, 601 -900, 301 -600, 101 -300 and <100 mg/m 3 , we render the different areas in red, orange, yellow, green and blue, respectively.
We set the level of concentration range in terms of the needed, and divide the contours into different regions, such as lethal areas, dangerous areas, warning area and safety area etc.We define different color values in different regions, which can represent the spatial distribution of pollutant concentration at each moment, thus we achieve two-dimensional visualization of the simulation results of river water pollution.
The present study shows risk and uncertainty analysis based on twodimensional numerical simulation results, GIS can significantly improve the accuracy of groundwater pollution hazard assessment.This approach efficiently assists in evaluation and ranking of groundwater pollution control management strategies, and future design of groundwater pollution proofing works.The American Journal of Computational Mathematics     accuracy of predictions can probably be improved by taking into account other detailed information provided by two-dimensional groundwater pollution modeling, such as groundwater pollution velocity and duration.Further research is needed to develop such improved damage relationships.

Conclusion and Suggestions
Numerical simulation of water quality is a powerful tool to study groundwater pollution.In this paper, we give analytical solution of the Equations ( 1)-( 5) by two-dimensional Fourier transform and the inverse Fourier transform firstly.Next, we design an efficient second-order finite difference scheme for solving a class of groundwater problem and simulate the migration of pollutants and get the concentration distribution of pollutants, theoretically analysis shows that the proposed scheme is second-order accurate in time and space.Then, exact solution comparisons with numerical solution are also discussed, it observes that the computed results show excellent agreement with the analytical solution, and the MATLAB software is used to simulate the numerical simulation of groundwater flow problem, which can be used to predict the time and concentration of contaminant transport.Finally, we present the development process and technical methods of visual expression of water pollution simulation based on GIS technology, we visualize the simulation results (ArcGIS figures) to study the temporal and spatial variation of water pollution problems.The simulation system is stable, fast, no jumping, and the results are intuitive and reasonable.It provides technical support and guarantee for the comprehensive management and management of water environment.
respectively.The the height value represents the size of concentration in Figure1and Figure2.

Figure 1 .
Figure 1.Figures show results of the analytic solution with different diffusion coefficient ( 1 x y D D = = and 2 x y D D = = ) when groundwater has been polluted 1 h (i.e.

Figure 2 . 1 T = and 2 T
Figure 2. Figures show results of the analytic solution with diffusion coefficient ( 1 x y D D = = ) when groundwater has been polluted 1 h and 5 h (i.e.

1 M and 2 M
introduce some notations as follows

(
solution, at the start of each time step, predictions for the principal unknowns, which are based on the response of the model at previous time steps, are performed.Combined with boundary condition Equation (4), n ij

Figure 3 .
Figure 3.The grid points which two dimensional difference schemes connected.

Figure 4 .
Figure 4. Dot distribution of finite difference scheme with six point symmetric (Crank-Nicolson) scheme.

Figure 5 .Figure 6 .
Figure 5. Figures show comparison results of numerical solution and analytic solution with Crank-Nicolson difference scheme when groundwater has been polluted 10 h, by fixing the parameters

Figure 8 .
Figure 8. Figure shows the simulations results when groundwater has been polluted 1 h.

Figure 9 .
Figure 9. Figure shows the simulations results when groundwater has been polluted 2 h.

Figure 10 .
Figure 10. Figure shows the simulations results when groundwater has been polluted 3 h.

Figure 11 .
Figure 11. Figure shows the simulations results when groundwater has been polluted 4 h.

Figure 12 .
Figure 12. Figure shows the simulations results when groundwater has been polluted 5 h.