IJRIT International Journal of Research in Information Technology, Volume 2, Issue 1, January 2014, Pg: 17-24

International Journal of Research in Information Technology (IJRIT) www.ijrit.com

ISSN 2001-5569

Simulation of Water Pollution by Finite Difference Method M. M. Rahaman1, L. S. Andallah2 1

Assistant Professor, Department of Mathematics, Patuatkhali Science and Technology University, Dumki, Patuakhali, Bangladesh E-mail: [email protected] 2

Professor, Department of Mathematics, Jahangirnagar University, Savar, Dhaka, Bangladesh, E-mail: [email protected]

Abstract

The paper presents a simple mathematical model for water pollution. We consider the advection diffusion equation as an Initial Boundary Value Problem (IBVP) for the estimation of water pollution. For the numerical solution of the IBVP, the derivation of an explicit central difference scheme is presented. By implementing a finite difference scheme for the IBVP, we estimate and analyze the extent of water pollution at different times and different points in a one dimensional spatial domain. The pollutant concentration is increased in a fixed position with respect to time, finally.

Keywords: Advection Diffusion Equation, Finite difference scheme, Initial Boundary Value Problem, Water Pollution.

1. Introduction Water pollution is a major problem in the wide-reaching context. It is the contamination of water bodies such as lakes, rivers, oceans, and groundwater caused by human activities, which can be harmful to organisms and plants that live in these water bodies. It occurs when pollutants are discharged directly into water bodies without treating it first. Problems of environmental pollution

17 M. M. Rahaman et al, IJRIT

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 1, January 2014, Pg: 17-24

(for rivers, coasts, groundwater and the atmosphere) can be reduced to the solution of a mathematical model of diffusion-dispersion. The mathematical model describing the transport and diffusion processes is the one dimensional advection diffusion equation. Many researchers are involved for solving the model equation (ADE) by using the finite difference scheme. Authors studied on the numerical treatment of the mathematical model for water pollution. This work was examined by various mathematical models involving water pollutant. They used the implicit centered difference scheme in space and a forward difference method in time for the evaluation of the generalized transport equation (Agusto and Bamigbola, 2007). Using Laplace transformation technique, researchers (Kumar et. al 2009) presented an analytical solution of one dimensional advection diffusion equation with variable coefficients in a finite domain. In this study the analytical solution was compared with the numerical solution in case the dispersion is proportional to the same linearly interpolated velocity. In the work, (Park et. al 2008) performed an analytical solution of the advection diffusion equation for a ground level finite area source using superposition method. The authors compared some Numerical Methods for the Advection-Diffusion Equation, reported the finite difference methods (FTCS, Crank Nicolson) provide better point-wise solutions than the spline methods (Thongmoon and Mckibbin, 2006). In (Romao et. al 2009), presented the finite difference methods to investigate error in the numerical solution of 3D convection diffusion equation. With the above discussion in view, our intention is to investigate mathematical models and subsequent numerical methods for the estimation of the pollutants at different times and different points of water bodies. In section 2, the governing equation of a water pollution model is treated as ADE. An explicit finite difference scheme for this model with two sided boundary conditions is expressed in section 3. The problem of computer simulation techniques of the pollution model has become an important area in the field of numerical solution method. In section 4, an algorithm for the numerical solution is developed and the implementation of the numerical scheme is done by MATLAB 10. The extent of water pollution at different times and different points through advection diffusion equation as water pollution model is illustrated, in section 5.

2. Governing equation and its description In this study we consider the governing equation as water pollution model

c c  2c u D 2 t x x

(1)

c is the concentration at the point x at the time t u is the fluid velocity and t is the time.

, D is the diffusive constant in the

x

direction,

With appropriate initial and boundary condition with I.C B.C

c(t 0 , x)  c0 ( x); a  x  b c(t , a)  ca (t ); t 0  t  T c(t , b)  cb (t )

18 M. M. Rahaman et al, IJRIT

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 1, January 2014, Pg: 17-24

3. Numerical Methods for Governing equation We consider the specific one dimensional water pollution model problem as an initial and boundary value problem.

c c  2c u D 2 t x x

(2)

With I.C

c(t 0 , x)  c0 ( x); a  x  b

B.C

c(t , a)  c a (t ); t 0  t  T c(t , b)  cb (t )

Finite difference techniques for solving the one dimensional advection diffusion equation can be considered according to the number of spatial grid points involved, the number of time levels used, whether they are explicit or implicit in nature. In Mathematics, the finite difference methods are numerical methods for approximating the solutions to differential equations using finite difference equations to approximate derivatives. Our goal is to approximate solutions to differential equations. i,e. to find a function(or some discrete approximation to this functions) which satisfies a given relationship between various of its derivatives on some given region of space /and or time , along with some boundary conditions along the edges of this domain. In general this is a difficult problem and only rarely can an analytic formula be found for the solution. A finite difference method proceeds by replacing the derivatives in the differential equation by the finite difference approximations. This gives a large algebraic system of equations to be solved in place of the differential equation, something that is easily solved on a computer.

3.1 Explicit centered difference scheme Consider the model problem

c c  2c u D 2 t x x

(3)

In order to develop the scheme, we discretize the x  t plane by choosing a mesh width h  x space and a time step k  t . The finite difference methods we will develop produce approximations

c in  R n to the solution c ( xi , t n ) at the discrete points by

xi  ih , i  0,1,2,3..... t n  nk , n  0,1,2,3..... n

n

Let the solution c ( xi , t n ) be denoted by C i and its approximate value by c i .

19 M. M. Rahaman et al, IJRIT

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 1, January 2014, Pg: 17-24

Simple approximations to the first derivative in the time direction can be obtained from

c C in 1  C in   o ( t ) t t

(4)

Centered difference discretization in spatial derivative:

c Cin1  C in1   o ( x 2 ) x 2 x

(5)

 2c is obtain from second order centered difference in space. x 2  2 c C in1  2C in  C in1   o ( x 2 ) 2 2 x x Discretization of

(6)

We obtain the difference methods

cin1  cin cn  cn c n  2cin  cin1  u i 1 i 1  D i 1 t 2 x x 2 => cin 1  (

D t u t n Dt Dt ut n  )ci 1  (1  2 2 )c in  ( 2  )ci 1 2 x 2 x x x 2 x

   (  )c in1  (1  2 )c in  (  )c in1 2 2  n 1  n 1 n n 1 => c i  (  )c i 1  (1  2 )c i  (  )c i 1 2 2 n 1

=> c i

Where   u

(7) (8) (9) (10)

t t ,  D x x 2

3.2 Lemma: Stability of the explicit centered difference scheme (8) is given by the conditions

0u

t  1, x

0D

t 1  2 2 x

Proof: The explicit centered difference scheme for (3) is given

cin 1  ( n 1

=> ci

Dt ut n Dt Dt ut n  )ci 1  (1  2 2 )cin  ( 2  )ci 1 2 2x 2x x x x

   (  )cin1  (1  2 )cin  (  )cin1 2 2 Where

 u

t , x

D

(11)

t x 2

20 M. M. Rahaman et al, IJRIT

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 1, January 2014, Pg: 17-24

The equation (11) implies that if

 0    1 2 0  1 2  1  0    1 2 Then the new solution is a convex combination of the two previous solutions. That is the solution at new time-step

( n  1) at a spatial node i is an average of the solutions at the previous time-step at

the spatial-nodes i  1 , i and i  1 . This means that the extreme value of the new solution is the average of the extreme values of the previous two solutions at the three consecutive nodes. In our model the characteristics speed

Then we have

u

 

must be positive in the positive

x  direction.

u t 0 x

We can conclude that the explicit centered difference scheme (11) is stable for

Where

0 u

t 1 x

and

0 D

t 1  2 2 x

4. Algorithm for the numerical solution To find the numerical solution of the model, we have to accumulate some variables which are offered in the following algorithm. Input:

nx and nt

tf

the number of spatial and temporal mesh points respectively.

, the right end point of

(0, T )

( xd ) , the right end point of (0, b)

C0 , the initial concentration density, apply as a initial condition Ca , Left hand boundary condition

Cb , Right hand boundary condition 21 M. M. Rahaman et al, IJRIT

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 1, January 2014, Pg: 17-24

D , Diffusion rate

u , velocity Output:

c ( x, t )

the solution matrix

T 0 , the temporal grid size nt

Initialization: dt 

b0 , the spatial grid size nx

dx 

gm  u *

dt , the courant number dx

ld  D *

dt ( dx) 2

Step1. Calculation for concentration profile of explicit centered difference scheme For

n  1 to nt

i2

For

to

nx

C(n 1,i)  (   / 2) *C(n, i 1)  (1 2*) *C(n, i)  (   / 2) *C(n, i 1) end end Step2; Output

c ( x, t )

Step3: Figure Presentation Step4: Stop

5. Numerical results and discussion: In this section, the numerical simulation results at different time and position is illustrated. Consider the initial

concentration

c(0, x)  0

and

the

constant

boundary

value

c (t ,0)  1

and

c (t ,100)  0 22 M. M. Rahaman et al, IJRIT

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 1, January 2014, Pg: 17-24

The concentration profile is demonstrated in figure 5.1, considering the concentration distribution at different time, distance and concentration parameter.

Figure 5.1: Concentration distribution at different time The curve marked by “solid line” shows the concentration profile for 4 minutes and the curve visible by “dash-dot line” represents the concentration profile for 8 minutes. The curve “solid line (red)” shows the concentration profile for 12 minutes and the curve visible by “dash line” represents the concentration profile for 16 minutes. The “dot line” curve shows the concentration profile for 24 minutes. We have seen that the pollutant concentration is increasing with respect to time.

Figure 5.2: Concentration distribution at different position

In figure 5.2, the curve marked by “solid line (blue)” demonstrates the concentration profile for initial position and curve “dot line” represents the concentration profile for 6 meters. The curve distinguished by “dash dot line” shows the concentration profile for 12 meters and evident “solid line” curve

23 M. M. Rahaman et al, IJRIT

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 1, January 2014, Pg: 17-24

represents the concentration profile for 40 meters. The curve identified by “dash line” shows the concentration profile for 100 meters. It has been shown that the pollutant concentration is increased in a fixed position with respect to time

6. Conclusion This research has been done the numerical solution of advection diffusion equation. We have investigated the explicit central difference scheme in space and forward difference method in time for the estimation of the generalized transport equation as advection diffusion equation.

7. References [1].

F.B. Agusto and O.M. Bamigbola, “Numerical Treatment of the Mathematical Models for Water Pollution”, Research Journal of Applied Sciences 2(5): 548-556, 2007.

[2].

Atul Kumar, Dilip Kumar Jaiswal and Naveen Kumar, “Analytical solution of one dimensional Advection diffusion equation with variable coefficients in a finite domain”, J.Earth Syst. Sci.118, No.5, pp. 539-549, October 2009.

[3].

Young-San Park, Jong-Jin Baik,”Analytical solution of the advection diffusion equation for a ground level finite area source”, Atmospheric Environment 42, 9063-9069, 2008.

[4].

M.Thongmoon and R.Mckibbin, “A comparison of some numerical methods for the advection Diffusion equation”, Inf.Math.Sci. Vol.10, pp49-52, 2006.

[5].

L.F. Leon, P.M.Austria, “Stability Criterion for Explicit Scheme on the solution of Advection Diffusion Equation”, Maxican Institute of Water Technology.

[6].

John A.Trangestein, “Numerical Solution of Partial Differential Equation”.

[7].

L.S.Andallah,“Finite Difference Method-Explicit centered Difference Scheme”, lecturer note, Department of Mathematics, Jahangirnagar University, 2008.

[8].

Randall J.Le Veque, “Numerical methods for conservation law”, second edition, Springer, 1992.

[9].

Romao, Silva and Moura, “Error analysis in the numerical solution of 3D convection diffusion equation by finite difference methods”, Thermal technology, vol-08, p-12-17, 2009.

[10]. Halil Karahan, “Solution of weighted finite difference techniques with Advection Diffusion Equation using spreadsheets”, Department of civil engineering, Pamukkale University, Denizli, Turkey, 2006.

24 M. M. Rahaman et al, IJRIT

Simulation of Water Pollution by Finite Difference Method

IJRIT International Journal of Research in Information Technology, Volume 2, .... discrete approximation to this functions) which satisfies a given relationship ...

153KB Sizes 2 Downloads 175 Views

Recommend Documents

Simulation of Water Pollution by Finite Difference Method
The paper presents a simple mathematical model for water pollution. We consider the advection diffusion equation as an Initial Boundary Value Problem (IBVP) for the estimation of water pollution. For the numerical solution of the IBVP, the derivation

Simulation of Water Pollution by Finite Difference Method
IJRIT International Journal of Research in Information Technology, Volume 2, .... discrete approximation to this functions) which satisfies a given relationship ...

Full-wave finite-difference time-domain simulation of ...
the broadband cloaking using sensors and active sources near the surface of a region [20] etc. ... In comparison to these different approaches, Pendry's cloak is.

Practical Aspects of Finite Element Simulation - PDFKUL.COM
development which enables design engineers and architects to generate and explore structurally efficient concepts in the earliest phases of the design process. A 3D conceptual design environment which empowers designers to swiftly capture and evolve

Decentralization and Water Pollution Spillovers
Nov 30, 2008 - Yale School of Management ... cross different numbers of counties in different years. .... Decentralization has been one of the “buzz-words” promoted by many ... made loans aimed at localization of projects, designed technical.

Poroelastic finite difference modeling of seismic ...
that controls the degree of mesoflow between the two phases. Expressions for the real .... porosity and dual-permeability materials. I. Governing equations and.

Finite-Difference Model of Cell Dehydration During ...
recovery of viable cells after cryopreservation. Since then .... cell cytosol, to penetrate the internal organelles, as well as to partition into the lipid phase of the cell ...

board. Water pollution is the contamination of ... Accounts
proposed paper is to obtain the water monitoring system with high pervasiveness, high mobility, and​ ​low​ ​powered. Keywords-WSN,​ ​PIC​ ​18F4525​ ...

Traceable 2D finite-element simulation of the whispering-gallery ...
Abstract—This paper explains how a popular, commercially- available software package for solving partial-differential- equations (PDEs), as based on the finite-element method (FEM), can be configured to calculate, efficiently, the frequencies and f

Traceable 2D finite-element simulation of the ...
fields of the whispering-gallery (WG) modes of axisymmetric ... ters from experimental data is a lack of traceability: significant ..... post-processing features.

accelerated simulation method involving markovian ...
packet network traffic. Recent studies had led to the conclusion that the Ethernet, ATM traffic, telnet,. FTP and variable-bit-rate (VBR) video traffic can be more ...

Simulation of Markovian models using Bootstrap method
Business. ▻ Computer science and telecommunication ... Queueing Networks (QN) [Little61, Basket et al. ... Stochastic Automata Networks (SAN) [Plateau84].

Simulation of Markovian models using Bootstrap method
equally important role when examining complex systems. There are ... Although numerical solution produces reliable results, it is .... transition matrix storage [9].

Full-wave parallel dispersive finite-difference time ...
the free space propagations, as well as pulse broadening and blue-shift effects. ... (FEM) based commercial simulation software COMSOL MultiphysicsTM has ...... [3] W. Cai, U.K. Chettiar, A.V. Kildishev, V.M. Shalaev, Optical cloaking with ...

A Radially-Dependent Dispersive Finite-Difference Time-Domain ...
time-domain (FDTD) method is proposed to simulate electromag- ... trator matched with free space has been discussed in [21] and ...... Lett., vol. 100, p. 063903, 2008. [29] D. Schurig, J. B. Pendry, and D. R. Smith, “Calculation of material.

A Radially-Dependent Dispersive Finite-Difference ...
of General Relativity and conformal mapping procedures. After .... fields to three components. , and ... For more accurate results, the overlined field components.

Zero Mach Number Diphasic Equations for the Simulation of Water ...
for the Simulation of Water-Vapor High Pressure Flows. Stéphane ... Montréal C.P. 6128, Succ. Centre-Ville, Montréal QC, H3C 3J7 ... We call the resulting set of ...