Professional Documents
Culture Documents
International Journal of Heat and Mass Transfer: Svetislav Savovic, Alexandar Djordjevich
International Journal of Heat and Mass Transfer: Svetislav Savovic, Alexandar Djordjevich
a r t i c l e i n f o a b s t r a c t
Article history: One-dimensional advection–diffusion equation with variable coefficients in semi-infinite media is solved
Received 1 March 2012 using explicit finite difference method for three dispersion problems: (i) solute dispersion along steady
Accepted 29 March 2012 flow through inhomogeneous medium, (ii) temporally dependent solute dispersion along uniform flow
Available online 18 April 2012
through homogeneous medium, and (iii) solute dispersion along temporally dependent unsteady flow
through inhomogeneous medium. The continuous point source of uniform nature is considered at the
Keywords: origin of the medium. Results are compared to analytical solutions reported in the literature and good
Advection–diffusion equation
agreement was found. We have shown that explicit finite difference method is effective and accurate
Finite difference method
for solving advection–diffusion equation with variable coefficients in semi-infinite media, which is espe-
cially important when arbitrary initial and boundary conditions are required.
Ó 2012 Elsevier Ltd. All rights reserved.
0017-9310/$ - see front matter Ó 2012 Elsevier Ltd. All rights reserved.
http://dx.doi.org/10.1016/j.ijheatmasstransfer.2012.03.073
4292 S. Savović, A. Djordjevich / International Journal of Heat and Mass Transfer 55 (2012) 4291–4294
As already stated, the EFDM is applied to solve the diffusion Eq. The initial condition (4) and boundary conditions (5) and (6) can in
(13). The central difference scheme was used to represent the term the finite difference form be expressed by Eqs. (16)–(18),
ð@ 2 Cðx; tÞ=@x2 Þ and ð@Cðx; tÞ=@xÞ and a forward difference scheme for respectively.
the derivative term ð@Cðx; tÞ=@tÞ [15]. With these substitutions, If, on the other hand, f1(x, t) = f(mt) = (1 + mt)1, then Eq. (12) in
Eq. (13) transforms into: its final-difference form can be expressed as:
C i;jþ1 ¼ ðEi F i ÞC i1;j þ ð1 2Ei GÞC i;j þ ðEi þ F i ÞC iþ1;j ð14Þ C i;jþ1 ¼ ðM i;j Ni;j ÞC i1;j þ ð1 2Mi;j Pj ÞC i;j þ ðMi;j
where indexes i and j refer to the discrete step lengths Dx and Dt for þ Ni;j ÞC iþ1;j ð23Þ
the coordinate x and time t, respectively, and where
where
D0 ð1 þ axi Þ2 Dt ð2aD0 u0 Þð1 þ axi ÞDt
Ei ¼ ; Fi ¼ ; G ¼ u0 aDt ð15Þ
Dx2 2Dx D0 ð1 þ axi Þ2 Dt ð2aD0 u0 Þð1 þ axi ÞDt
M i;j ¼ ; Ni;j ¼ ;
Eq. (14) represents a formula for Ci,j+1 at the (i, j + 1)th mesh point in ð1 þ mt j ÞDx2 ð1 þ mt j Þ2Dx
ð24Þ
terms of known values along the jth time row. The truncation error u0 aDt
Pj ¼
for the difference Eq. (5) is O(Dt, Dx2). Using a small-enough value ð1 þ mt j Þ
of Dt and Dx, the truncation error can be reduced until the accuracy
The initial condition (4) and boundary conditions (5) and (6) in the
achieved is within the error tolerance [15].
finite difference form in this case are given by Eqs. (16)–(18),
The initial condition (4) for Eq. (13) can be expressed in the
respectively.
finite difference form as:
C i;0 ¼ 0; x P 0; t¼0 ð16Þ
4. Numerical and analytical results
Boundary conditions (5) and (6) rewritten in the finite difference
form are: Numerical solutions of the first problem obtained by solving Eq.
(13) using EFDM are shown in Fig. 1 for the same set of input data
C 0;j ¼ C 0 ; x ¼ 0; t>0 ð17Þ previously used by Kumar et al. [11] C0 = 1.0, D0 = 0.71 km2/year,
C N;j ¼ C N1;j ; x ! x1 ; tP0 ð18Þ u0 = 0.60 km/year and a = 1 km1. The concentration values are
shown in longitudinal region 0 6 x 6 1 km at different times. In
where N = x1/Dx is the grid dimension in the x direction and x1 is
Eq. (18), we used x1 = 20 km as the distance at which there is no
the distance in direction x at which oC/ox = 0 (x1 replaces x ? 1
further change in the concentration C(x, t) (the same value for x1
in Eq. (3)).
is used for all three problems analyzed). Increasing x1 further
affected the solution only slightly but greatly increased the grid
3.2. Temporally dependent dispersion along uniform and steady flow
size and, therefore, the computation time. In the numerical calcu-
lations, the step lengths Dz = 0.1 km and Dt = 0.0001 year have
In the case with a temporally dependent solute dispersion from
been used to achieve the stability of the finite difference scheme.
a continuous uniform point source along a uniform and steady flow
In Fig. 1, filled squares represent analytical solution (7) of the
in a longitudinal semi-infinite homogeneous and initially solute
advection–diffusion Eq. (2). A good agreement between the numer-
free medium, the following form of the advection–diffusion equa-
ical and analytical solution is obtained. The deviations are less than
tion (12) is obtained considering that f1(x, t) = f(mt) = exp(mt) in (8)
0.05% (the same accuracy has been achieved in all the three prob-
[11]:
lems analyzed).
@Cðx; tÞ @Cðx; tÞ @ 2 Cðx; tÞ Fig. 2 shows the numerical solution for the second problem ob-
¼ u0 þ D0 expðmtÞ ð19Þ
@t @x @x2 tained by solving Eq. (13) using EFDM. The input data was C0 = 1.0,
D0 = 1.71 km2/year, u0 = 1.60 km/year and m = 0.1 year1 [11]. In
Eq. (19) in the finite difference form can be written as:
the numerical calculations, the step lengths Dz = 0.1 km and
C i;jþ1 ¼ ðHj IÞC i1;j þ ð1 2Hj ÞC i;j þ ðHj þ IÞC iþ1;j ð20Þ Dt = 0.00001 year have been used to achieve the stability of the fi-
nite difference scheme.
where
Fig. 3 shows the numerical solution for the third problem ob-
D0 expðmtj ÞDt u0 Dt tained by solving Eq. (13) using EFDM, where f(mt) = 1 sin(mt)
Hj ¼ ; I¼
Dx2 2Dx is assumed. The concentration values are shown in longitudinal
The initial condition (4) and boundary conditions (5) and (6) in the region 0 6 x 6 1 km for different times. The following input data
finite difference form in this case are given in Eqs. (16)–(18),
1.0
respectively.
0.9
0.8 t=0.7 (yr)
3.3. Dispersion along unsteady flow through inhomogeneous medium t=1.0 (yr)
0.7
t=1.3 (yr)
0.6
Assuming an unsteady flow through an inhomogeneous med-
c/c0
ium that varies with time as f1(x, t) = f(mt) = (1 sin(mt)), for the 0.5
linear and quadratic relations defined by (3) [11,16], Eq. (12) can 0.4
t=0.1 (yr) t=0.4 (yr)
be written in its final-difference form as: 0.3
0.2
C i;jþ1 ¼ ðJ i;j K i;j ÞC i1;j þ ð1 2J i;j Lj ÞC i;j þ ðJ i;j þ K i;j ÞC iþ1;j ð21Þ
0.1
where 0.0
0.0 0.2 0.4 0.6 0.8 1.0
2
D0 ð1 þ axi Þ ð1 sin mt j ÞDt ð2aD0 u0 Þð1 þ axi Þð1 sin mt j ÞDt x (km)
J i;j ¼ ; K i;j ¼ ;
D x2 2Dx
Fig. 1. Numerical solution for the solute dispersion with uniform input along a flow
Lj ¼ u0 að1 sin mt j ÞDt
of velocity u = u0(1+ax) and D / u2, for a = 1.0 km1. Solid squares represent
ð22Þ analytical solution.
4294 S. Savović, A. Djordjevich / International Journal of Heat and Mass Transfer 55 (2012) 4291–4294
0.4
t=0.05 (yr) and f2(x, t) may be employed in Eq. (2) in place of the ones used
above to illustrate the explicit finite difference approach to model-
0.3
ing of three problems of hydro-dynamic dispersion.
0.2
0.1
0.0 5. Conclusion
0.0 0.2 0.4 0.6 0.8 1.0
x (km) Numerical solutions using explicit finite difference method are
obtained for one-dimensional advection–diffusion equation with
Fig. 2. Numerical solution for the temporally dependent dispersion from a uniform
variable coefficients in semi-infinite media for three dispersion
input and along a uniform flow for f(mt) = exp(mt), for m = 0.1 year1. Solid squares
represent analytical solution. problems: (i) solute dispersion along steady flow through inhomo-
geneous medium, (ii) temporally dependent solute dispersion along
uniform flow through homogenous medium, and (iii) solute disper-
1.0
sion along temporally dependent unsteady flow through inhomoge-
0.9
neous medium. The continuous point source of uniform nature is
0.8 t=0.8 (yr)
t=1.1 (yr) considered at the origin of the medium. Results are compared to ana-
0.7 lytical solutions reported in the literature and good agreement was
t=1.4 (yr)
0.6 found. The explicit finite difference method used in this work for
0.5 solving advection–diffusion equation with variable coefficients in
c/c0
0.4 semi-infinite media can be used with arbitrary initial and boundary
t=0.2 (yr) t=0.5 (yr)
0.3 conditions as well as with variations of dispersion and velocity.
0.2
0.1
Acknowledgment
0.0
0.0 0.2 0.4 0.6 0.8 1.0
The work described in this paper was supported by the Serbian
x (km)
Ministry of Education and Science under Grant No. 171011.
Fig. 3. Concentration distribution pattern of uniform continuous input along a
sinusoidally varying, unsteady flow f(mt) = 1 sin(mt), for m = 10.0 year1, through
References
inhomogeneous medium. Solid squares represent analytical solution.
[1] C.S. Rao, Environmental Pollution Control Engineering, 3rd reprint, 1995, Wiley
Eastern Ltd., New Delhi.
1.0
[2] E.H.Ebach, R. White, Mixing of fluids flowing through beds of packed solids, J.
0.9 Am. Inst. Chem. Eng. 4 (1958) 161–164.
0.8 [3] V.A. Fry, J.D. Istok, R.B. Guenther, Analytical solutions to the solute transport
equation with rate-limited desorption and decay, Water Resour. Res. 29 (1993)
0.7 3201–3208.
t=0.8 (yr)
0.6 t=1.1 (yr) [4] C. Lin, W.P. Ball, Analytical modeling of diffusion-limited contamination and
decontamination in a two-layer porous medium, Adv. Water Resour. 21 (1998)
0.5
c/c0