Professional Documents
Culture Documents
in der Helmholtz-Gemeinschaft
Wissenschaftliche Berichte
FZKA 7293
Juli 2007
Forschungszentrum Karlsruhe
in der Helmholtz-Gemeinschaft
Wissenschaftliche Berichte
FZKA 7293
Abstract
Greens function method and its application to verification of
diffusion models of GASFLOW code
To validate the diffusion model and the aerosol particle model of the GASFLOW
computer code, theoretical solutions of advection diffusion problems are developed
by using the Greens function method. The work consists of a theory part and an
application part. In the first part, the Greens functions of one-dimensional advection
diffusion problems are solved in infinite, semi-infinite and finite domains with the
Dirichlet, the Neumann and/or the Robin boundary conditions. Novel and effective
image systems especially for the advection diffusion problems are made to find the
Greens functions in a semi-infinite domain. Eigenfunction method is utilized to find
the Greens functions in a bounded domain. In the case, key steps of a coordinate
transform based on a concept of reversed time scale, a Laplace transform and an
exponential transform are proposed to solve the Greens functions. Then the product
rule of the multi-dimensional Greens functions is discussed in a Cartesian coordinate
system. Based on the building blocks of one-dimensional Greens functions, the
multi-dimensional Greens function solution can be constructed by applying the
product rule. Greens function tables are summarized to facilitate the application of
the Greens function. In the second part, the obtained Greens function solutions
benchmark a series of validations to the diffusion model of gas species in continuous
phase and the diffusion model of discrete aerosol particles in the GASFLOW code.
Perfect agreements are obtained between the GASFLOW simulations and the Greens
function solutions in case of the gas diffusion. Very good consistencies are found
between the theoretical solutions of the advection diffusion equations and the
numerical particle distributions in advective flows, when the drag force between the
micron-sized particles and the conveying gas flow meets the Stokes law about
resistance. This situation is corresponding to a very small Reynolds number based on
the particle diameter, with a negligible inertia effect of the particles. It is concluded
that, both the gas diffusion model and the discrete particle diffusion model of
GASFLOW can reproduce numerically the corresponding physics successfully. The
Greens function tables containing the building blocks for multi-dimensional
problems is hopefully able to facilitate the application of the Greens function method
to the future work.
Kurzfassung
Die Green-Funktion und ihre Anwendung zur berprfung von
GASFLOW-Diffusionsmodellen
Zur berprfung des vom GASFLOW-Rechenprogramm erstellten Diffusionsmodells
und des Aerosolpartikelmodells werden mit Hilfe der Green-Funktion theoretische
Lsungen von Advektions-/Diffusionsproblemen entwickelt. Die vorliegende Arbeit
gliedert sich in einen theoretischen und einen praktischen Teil. Im ersten Teil werden
die Green-Funktionen von eindimensionalen Advektions-/Diffusionsproblemen im
unendlichen, quasi-unendlichen und im endlichen Bereich unter Dirichlet-, Neumannund/oder Robin-Rahmenbedingungen gelst. Zur Bestimmung der Green-Funktionen
in einem quasi-unendlichen Bereich werden insbesondere fr Advektions/Diffusionsprobleme
effektive
Abbildungssysteme
neu
entwickelt.
Die
Eigenfunktionsmethode wird eingesetzt, um die Green-Funktionen in einem endlichen
Bereich zu ermitteln. Zur Lsung der Green-Funktionen wird eine
Koordinatentransformation auf der Grundlage einer umgekehrten Zeitskala, einer
Laplace-Transformation und einer exponentiellen Transformation vorgeschlagen.
Anschlieend wird die Produktregel der mehrdimensionalen Green-Funktionen in
einem kartesischen Koordinatensystem diskutiert. Mit Hilfe der Produktregel lsst
sich die Lsung der mehrdimensionalen Green-Funktion aus den Bestandteilen der
eindimensionalen Green-Funktionen ableiten. Die Green-Funktionstabellen werden
zusammengefasst, um die Anwendung der Green-Funktion zu erleichtern. Im zweiten
Teil der Arbeit werden die ermittelten Lsungen der Green-Funktion zur Validierung
des in GASFLOW erstellten Diffusionsmodells fr Gase in einer kontinuierlichen
Phase und des Diffusionsmodells fr diskrete Aerosolpartikel eingesetzt. Fr die
Gasdiffusion zeigen die GASFLOW-Simulationen eine perfekte bereinstimmung
mit den Lsungen der Green-Funktion. Sehr gute bereinstimmungen finden sich
ebenfalls
zwischen
den
theoretischen
Lsungen
der
Advektions/Diffusionsgleichungen und den numerischen Partikelverteilungen in advektiven
Strmungen, sofern die Zugkraft zwischen den Partikeln im Mikronbereich und der
Gasstrmung das Widerstandsgesetz von Stokes erfllt. Dieser Fall entspricht einer
sehr kleinen Reynoldszahl bezogen auf den Partikeldurchmesser, mit einem
vernachlssigbaren Trgheitseffekt auf die Partikel. Es zeigt sich, dass sowohl das
Gasdiffusionsmodell als auch das diskrete Partikeldiffusionsmodell in GASFLOW die
entsprechende Physik hervorragend numerisch modellieren. Somit sollten die GreenFunktionstabellen mit den Bestandteilen fr mehrdimensionale Probleme die
Anwendung der Green-Funktion in Zukunft erleichtern.
CONTENTS
1. INTRODUCTION ..............................................................................................................................1
2. MATHEMATICAL FUNDAMENTALS ......................................................................................... 2
2.1 DIRAC DELTA FUNCTION ................................................................................................................2
2.2 HEAVISIDE FUNCTION .....................................................................................................................2
2.3 FOURIER TRANSFORM .....................................................................................................................3
2.4 LAPLACE TRANSFORM ....................................................................................................................3
2.5 ERROR FUNCTION ...........................................................................................................................3
3. GREENS FUNCTION METHOD ................................................................................................... 5
3.1 GENERAL PARTIAL DIFFERENTIAL EQUATION .................................................................................5
3.2 ONE-DIMENSIONAL ADVECTION DIFFUSION EQUATION ...................................................................6
4. GREENS FUNCTION OF ADVECTION DIFFUSION EQUATION......................................... 9
4.1 DIRICHLET BOUNDARY ...................................................................................................................9
4.2 PRINCIPLE SOLUTION ....................................................................................................................10
4.3 REGULAR SOLUTION .....................................................................................................................13
4.4 NEUMANN AND ROBIN BOUNDARIES ............................................................................................16
5. GREENS FUNCTIONS OF FINITE DOMAINS......................................................................... 24
5.1 EIGENFUNCTION METHOD .............................................................................................................24
5.2 EIGENFUNCTION EXPANSION ........................................................................................................25
5.3 GREENS FUNCTION OF GENERAL ADVECTION DIFFUSION PROBLEM .............................................26
5.4 EXAMPLES ....................................................................................................................................31
5.4.1 Dirichlet- Dirichlet (D-D) boundaries.................................................................................31
5.4.2 Dirichlet- Robin (D-R) boundaries ......................................................................................33
5.4.3 Robin- Dirichlet (R-D) boundaries ......................................................................................36
5.4.4 Robin- Robin (R-R) boundaries ...........................................................................................37
5.4.5 Dirichlet- Neumann (D-N) boundaries ................................................................................41
5.4.6 Neumann- Dirichlet (N-D) boundaries ................................................................................42
5.4.7 Neumann- Neumann (N-N) boundaries................................................................................ 43
5.4.8 Neumann- Robin (N-R) boundaries .....................................................................................44
5.4.9 Robin- Neumann (R-N) boundaries .....................................................................................45
5.4.10 Dirichlet- Neumann (D-N) boundaries without advection................................................. 47
5.4.11 Neumann- Dirichlet (N-D) boundaries without advection................................................. 48
5.4.12 Neumann- Neumann (N-N) boundaries without advection ................................................ 48
6. MULTI-DIMENSIONAL GREENS FUNCTION .......................................................................50
6.1 DIRECT SOLUTION.........................................................................................................................50
6.2 PRODUCT SOLUTION .....................................................................................................................51
6.3 GREENS FUNCTION TABLES .........................................................................................................54
7. APPLICATIONS..............................................................................................................................65
7.1 VALIDATION OF GAS DIFFUSION MODEL OF GASFLOW...............................................................65
7.1.1 One-dimensional advection diffusion problem..................................................................... 65
7.1.2 Two-dimensional advection diffusion problem .................................................................... 68
7.1.3 Three-dimensional advection diffusion problem.................................................................. 72
7.2 VALIDATION OF PARTICLE MOBILIZATION MODEL OF GASFLOW ...............................................74
7.2.1 Point source in stagnant flow...............................................................................................74
7.2.2 Point source in advective flow .............................................................................................79
7.2.3 Line source in two-dimensional advective flow ...................................................................82
7.2.4 Line source in three-dimensional advective flow .................................................................85
7.2.5 Area source in two-dimensional advective flow...................................................................87
7.2.6 Area source in three-dimensional advective flow ................................................................88
7.2.7 Volumetric source in three-dimensional advective flow ......................................................91
8. CONCLUSIONS...............................................................................................................................93
ACKNOWLEDGMENTS....................................................................................................................95
REFERENCES .....................................................................................................................................96
ii
1. Introduction
Analytical solutions play import roles in validations and verifications for
Computational Fluid Dynamic (CFD) computer codes, besides of experimental data.
Diffusion problems with specified sources and /or boundary values are often
encountered in both engineering and code validations. Greens function method
(GFM) supplies a powerful tool to solve linear partial differential equations. A lot of
applications of the GFM can be found in literatures. For example, a problem of solute
transport in porous media is solved by using the GFM (Leij and Priesack et al., 2000);
the GFM is applied to model analytically the non-aqueous phase liquid dissolution
(Leij and van Genuchten, 2000); analytical solutions are made by utilizing the GFM
for contamination transport from multi-dimensional sources in finite thickness aquifer
(Park and Zhan, 2001); atmospheric diffusion equations with multiple sources and
height-dependent wind speed and eddy diffusions are solved by using the GFM (Lin
and Hildemann, 1996); a two dimensional analysis of advection diffusion problem is
carried out by using the GFM to understand the effluent dispersion in shallow tidal
waters (Kay, 1990). A systematic application of the GFM to heat conduction is
formed as a monograph by Beck and Cole et al. (1992). A more mathematical
monograph about Greens functions with applications is the work of Duffy (2001).
This report is engaged in applying the GFM to solve a series of diffusion and
advection diffusion equations (ADE) in various concerned domains like, infinite
(free), semi-infinite and bounded multi- dimensional regions, no matter the involved
background is about heat transfer, mass diffusion, particle dispersion and so on. These
solutions are utilized to make comparisons with numerical simulations, and to
benchmark computer code validations based on solving this sort of ADE problems. A
secondary aim of this work is to supply a kind of handbook on Greens functions to
facilitate readers to apply the GFM to their own problems.
In order to make it easier to understand, some necessary mathematical fundamentals
are presented at the beginning, including the basic knowledge about Dirac Delta
function, Heaviside function, Fourier transform and Laplace transform. Then the basic
idea of the GFM is illustrated in a general sense. In the next part concentrations are
focused on the detailed procedures to solve ADE problem with different boundary
conditions. The results are applied, as examples, to validate the diffusion solver and
dust motion (or particle model) of the GASFLOW computer code, which is widely
used in nuclear industries and developed in Research Center Karlsruhe.
Some figures exported from Mathcad or self-made C programs could appear in the
report to illustrate the results more explicitly.
- 1 -
2. Mathematical fundamentals
2.1 Dirac Delta function
Dirac function (or called, delta function) is used very often through the report.
Therefore, the basic concepts like the definition and the properties of the function are
presented here, although it is not the aim to repeat the content of math text book.
Delta function is defined as (James, 2002),
( x) = 0 unless x = 0 ,
(0) = ,
(x)dx = 1 .
(2-1-1)
The following useful properties (Duffy, 2001; James, 2002) should be kept in mind,
( x a ) = 0 unless x = a ,
(2-1-2)
(2-1-3)
and others,
(ax) =
1
( x ) , specially ( x) = ( x) ,
a
(2-1-4)
f ( x)( x a) = f (a)( x a) ,
(2-1-5)
( x ) = x' ( x) ,
(2-1-6)
x n ( m ) ( x) = 0 if 0 m < n ,
(2-1-7)
( x, y , z ) = ( x)( y )( z ) ,
(2-1-8)
(2-1-9)
1, x > a,
H( x a ) = 0.5, x = a,
0, x < a.
(2-2-1)
- 2 -
( x ) =
d
H( x ) .
dx
(2-2-2)
1
f ( x) = F [F( )] =
F( ) exp(ix)d ,
2
1
(2-3-1)
and
F( ) = F [f ( x)] =
f (x) exp(ix)dx .
(2-3-2)
Equality (2-3-2) is the Fourier transform of f ( x) , while (2-3-1) is the inverse Fourier
transform.
Some properties and useful Fourier transforms of functions (James, 2002) are listed
here, which are also used in the following sections.
F [f ' ( x )] = iF( ) ,
(2-4-1)
F [( x a )] = exp( ia ) .
(2-4-2)
(2-4-1)
L[H( x a)] =
(2-4-2
(2-4-3)
1
,s > a ,
sa
(2-4-4)
(2-4-5)
(2-4-6)
exp( t
)dt ,
(2-5-1)
- 3 -
exp(t
)dt .
(2-5-2)
(2-5-3)
erf ( x ) = erf ( x) ,
(2-5-4)
erfc( x ) = 2 erfc( x) .
(2-5-5)
- 4 -
Lu = Au xx + 2Bu xy + Cu yy + Du x + Eu y + Fu = ,
(3-1-1)
where L is the original differential operator, A,...F, are given functions of x and
y . Equation (3-1-1) holds over a prescribed region R with general linear boundary
conditions,
B(u ) = u + u n = f ,
(3-1-2)
on the boundary curve B of the domain R, where u n denotes the outward normal
u
, and ,, f may be functions defined on B, as shown in Figure 3-1-1.
derivative
n
y
j
n
i
Lu =
x
Figure 3-1-1 General boundary value problem
The GFM is applicable only when differential operator satisfies superposition
principle. In fact, most operators encountered in engineering can meet the basic
requirement, e.g., the diffusion equation, wave equation, Laplace equation, actually
all the linear second order partial differential equations and so on. The general second
order equation (3-1-1) is taken as an example to explain how the GFM works. First,
multiply Lu by an arbitrary function v , and make integration by parts,
where
d is the differential area on R,
- 5 -
(3-1-3)
(3-1-4)
(3-1-5)
(3-1-6)
then the second integration term of the right hand side of (3-1-3),
(3-1-7)
is the solution of (3-1-1). The last step proceeds by using the property of delta
function (2-1-9). This function v(, ; x, y ) is called Greens function, denoted as
G(, ; x, y ) , which is determined by,
L* G = ( x, y ) .
(3-1-8)
Substitute (3-1-7) into (3-1-3) with considering that Lu = , the expression of the
solution is obtained as,
u( x , y ) =
(3-1-9)
If the equation (3-1-8) about the Greens function G is solved successfully with
certain boundary conditions, then the solution of the problem (3-1-1) is explicitly
expressed by (3-1-9). This is the basic idea of the GFM.
2
+V
D 2 ,
t
x
x
(3-2-1)
where V stands for the advection velocity, D for diffusion coefficient, both are
assumed as constants for simplicity. The problem is formulated as,
Lu = u t + Vu x Du xx = ( x, t ) ,
(3-2-2)
- 6 -
t
n=j
t2
n=-i
t1
n=-j
n=i
x1
x2
vLud ,
x2 t 2
vLud = ( vu
R
(3-2-3)
x1 t1
( vu
x1 t1
x2
)dtdx = ( vu
x1
x2 t 2
t2
t2
t1
uv t dt )dx = ( vu
t1
t2
(Vvu x )dtdx =V ( vu
x1 t1
(Dvu
x1
x2
x2
x1
t1
x2 t 2
x2
xx
)dx uv t d ,
R
t2
uv x dx )dt = ( Vvu
x1
t1
t2
x1 t1
t2
t1
)dtdx = D [( vu x v x u )
t1
x2
x1
)dt Vuv x d ,
R
x2
x2
x1
+ uv xx dx]dt
x1
t2
t1
vLud = ( vu
R
x1
t2
t2
t1
)dx + [Vvu
x2
t1
t2
t1
x2
x1
x2
x1
(3-2-4)
L = V
D 2 .
x
t
x
*
(3-2-5)
(3-2-6)
- 7 -
t2
t
GLud = (Gu t12 )dx + [VGu
R
x1
t1
x2
x1
Applying the property of delta function and the equality of Lu = , then changing the
integration dummy variables from ( x, t ) to (, ) , we have the general expression of
solution of the problem (3-2-2),
u( x , t ) =
Gdd (Gu
R
2
1
)d [VGu 12 D(Gu G u ) 12 ]d .
(3-2-8)
According to the GFM, solving the original problem (3-2-2) is transferred to solving
the problem of (3-2-6) to seek the Greens function! The essential point of the GFM is
that the boundary value problem governing G is in general somewhat simpler than
the original one governing u . It is worth to mention that the running variables in
Greens functions are , instead of x, t . However the latter are active in the
function of u .
- 8 -
(4-1-1a)
u ( x ,0 ) = f ( x ) ,
(4-1-1b)
u(0, t ) = h(t ) .
(4-1-1c)
In the case, the function value is prescribed on the boundary. This type of condition is
called a Dirichlet boundary or first type of boundary. According to (3-2-8), the
solution of (4-1-1) can be expressed as,
u( x , t ) =
0 0
Gdd [(Gu)
(Gu ) =0 ]d
In order to identify G
, G = and G
infinite of Greens function have to be understood based on the physics that the
differential equation describes. Lets take the advection diffusion equation as an
example. The Greens function is determined by (3-2-6), and the adjoint operator L*
can be denoted in another way besides (3-2-5),
L* =
2
+ ( V ) D 2 .
(t )
x
x
(4-1-3)
- 9 -
u( x , t ) =
0 0
(4-1-4)
Keep in mind that u(,0) = f ( ) and u(0, ) = h( ) according to (4-1-1b) and (4-11b), so, in (4-1-4), only the term DG(0, )u (0, ) is unwelcome. In order to make it
vanish, one can have G(0, ) = 0 as a boundary condition for determining G . Then
(4-1-4) can be simplified further, based on the assumed conditions of G ,
u( x , t ) =
(4-1-5)
(4-1-6a)
G(0, ) = 0 .
(4-1-6b)
G (, ; x, t ) = U(, ; x, t ) + g(, ; x, t ) .
(4-2-1)
(4-2-2)
and,
L*g = g Vg Dg = 0 , < < , 0 < < ,
(4-2-3a)
g(0, ) = (G U ) = 0 ,
(4-2-3b)
respectively.
The main task of this subsection is to solve problem (4-2-2) to obtain the principle
solution U .
In order to solve equation (4-2-2), Fourier transform is performed on the equation
from to . Multiply exp( i )d on both sides of equation (4-2-2), and integrate
from to ,
- 10 -
( x, t ) exp( i )d
= ( t ) ( x ) exp( i )d
= ( t ) exp( ix) .
(4-2-4)
Define
(, )
U
U(, ) exp(i )d .
(4-2-5)
Apply the properties about Fourier transform to the left hand side of (4-2-4), it is
reduced to,
dU
+ D 2 U
= ( t ) exp( ix ) , namely,
iVU
d
dU
= ( t ) exp( ix) .
+ ( D 2 iV )U
d
(4-2-6)
According to definition of delta function, the right hand side of (4-2-6) is equal to
zero for > t and < t , namely,
dU
= 0 , if > t or < t .
+ ( D 2 iV )U
d
(4-2-7)
U=
A 2 exp[(D 2 iV)], if < t ,
(4-2-8)
t+0
t0
t+0
d = exp( ix ) ( t )d .
+ ( D 2 iV ) U
t 0
(4-2-9)
t 0
is
The second term on the left hand side of (4-2-9) is zero because the integrand U
finite anyhow and the interval is infinitesimal. Thus the singularity caused by the delta
function must be embodied on the first term. Using the property of delta function
t+0
again
t 0
(4-2-10)
- 11 -
A 2 = exp[ ix ( D 2 iV)t ] .
(4-2-11)
(4-2-12)
1
U( , ) =
U exp(i )d
2
H( t )
exp[i( x ) ( D 2 iV)(t )]d
H( t )
( x ) + V(t )
d .
exp D(t ) 2 i
D(t )
2
(4-2-13)
( x ) + V (t )
, namely,
D(t )
(4-2-14)
Let,
2c = i
c=i
( x) + V(t )
.
2D(t )
(4-2-15)
U( , ) =
H( t )
exp[ D(t )( 2 2c)]d
H( t )
=
exp{ D(t )[( c) 2 c 2 ]}d .
2
(4-2-16)
Let,
= D(t ) ( c) , then d =
1
d . Substitute them into (4-2-16),
D(t )
H( t )
1
U( , ) =
exp( 2 ) exp[D(t )c 2 ]
d
2
D(t )
H(t )
1
=
exp[D(t )c 2 ]
exp( 2 )d .
2
D(t )
(4-2-17)
exp(
)d = , then
U(, ; x, t ) =
[ x + V(t )]2
exp
.
4D(t )
4D(t )
H( t )
- 12 -
(4-2-18)
(4-3-1)
[x V(t )]2
exp
.
4D(t )
4D(t )
H( t )
(4-3-2)
g(0, ) =
(4-3-3a)
[x V(t )]2
exp
.
4D(t )
4D(t )
H( t )
(4-3-3b)
Inspection approach is of much importance and is widely used to solve the regular
solution in the GFM. It needs to understand the solutions in view of physics. Keep in
mind that, in physics, the principle solution about the Greens function, U(, ; x, t ) ,
of the advection diffusion equation describes the heat distribution at (, ) caused by
a positive unit heat pulse at ( x, t ) . In the specific problem (4-1-6), the Greens
function value is required to be zero at the origin. In order to satisfy the condition, an
image of negative heat source can be designed at ( x, t ) , as shown in Figure 4-3-1, to
compensate the positive value being diffused from ( x, t ) . The strength of the negative
source is unclear so far because of the reversed advection effects, but it can be
assumed as times of unit and may vary with (, ) , namely, = (, ) . Based
on the inspection, the solution of problem (4-3-3) is anticipated to be in the form of,
g(, ) = (, )U(, ; x, t ) .
(4-3-4)
t
t t
Reversed
advection
t 2t
G(0, ) = 0
U(0, ; x, t )
U(0, ; x, t )
t 2t
t t
t
Figure 4-3-1 Schematic image system for advection diffusion problem with
Dirichlet boundary condition
- 13 -
= (0, )
[x + V(t )]2
exp
4D(t )
4D(t )
H( t )
4D(t )
4D(t )
H( t )
[x V(t )]2
Vx
exp
(0, )
exp
4D(t )
4D(t )
D
H( t )
Vx
= g(0, ) exp
( 0, ) .
D
(4-3-5)
(4-3-6)
is a function defined on the (, ) plane, but the right hand side of (4-3-6) is
nothing about and at all, just a constant term. Thus it must be,
Vx
(, ) exp
.
D
(4-3-7)
[ + x + V(t )]2
Vx
exp
exp
.
4D(t )
4D(t )
D
H( t )
(4-3-8)
The solution (4-3-8) is obtained by inspection approach. Is it really the solution of (43-3)? The answer is definitely positive. It is proofed as follows.
First, it is obvious that (4-3-8) satisfies the boundary condition of (4-3-3b). Then, it
should be proofed to satisfy the differential equation of (4-3-3a) also.
Based on (4-3-8), we have,
+ x + V(t )
g = g
,
2D(t )
(4-3-9)
[ + x + V(t )]2
g = g
,
2
2
2D(t )
4D (t )
(4-3-10)
1
( + x) 2
V2
+
g = g
.
2
4D
2(t ) 4D(t )
(4-3-11)
Thus,
- 14 -
g Vg Dg
1
( + x) 2
V 2 V( + x) + V 2 (t )
= g {
+
2(t ) 4D(t ) 2 4D
2D(t )
+
[ + x + V(t )]2
1
}.
2
2(t )
4D(t )
(4-3-12)
Vx [ + x + V(t )]2
[ x + V(t )]2
exp
exp
4D(t )
4D(t )
4D(t )
D
(4-3-13)
H( t )
or in a succinct form,
Vx
G ( , ; x, t ) = U( , ; x, t ) exp
U( , ; x, t ) ,
D
(4-3-14)
4D(t ) 2D(t )
4D(t )
0
t
}d .
D
D
(
t
)
D
(
t
)
4
2
By using Mathcad, the analytical solutions at different values of t are plotted as solid
lines in Figure 4-3-2, while the symbols stand for the corresponding numerical
solutions. The high agreement between them supplies a good verification to the
Greens function obtained in this section.
- 15 -
GFM, t=1
GFM, t=2
GFM, t=3
GFM, t=4
GFM, t=5
Numerical, t=1
Numerical, t=2
Numerical, t=3
Numerical, t=4
Numerical, t=5
1.0
0.8
0.6
0.4
u(x,t)
0.2
0.0
-0.2
-0.4
-0.6
-0.8
-1.0
0
10
12
14
(4-4-1a)
u( x,0) = f ( x) ,
(4-4-1b)
(4-4-1c)
u( x , t ) =
0 0
(4-1-4)
u x (0, t ) =
1
[h(t ) u(0, t )] , namely,
(4-4-2)
- 16 -
1
[h( ) u(0, )] .
u (0, ) =
(4-4-3)
u( x , t ) =
0 0
1
+ {VG(0, )u(0, ) DG(0, ) [h( ) u(0, )] + DG (0, )u(0, )}d
0 0
+ {[(V +
0
(4-4-4)
(V +
u( x , t ) =
0 0
D
G(0, )h( )]d .
(4-4-5)
(4-4-6a)
(D + V )G(0, ) + DG (0, ) = 0 .
(4-4-6b)
G (, ; x, t ) = U(, ; x, t ) + g(, ; x, t ) .
(4-2-1)
- 17 -
( )
Figure 4-4-1 Schematic image system for advection diffusion problem with Robin
boundary condition
Based on the layout of source image, the regular solution can be in the form of,
x
(4-4-7)
(4-4-8)
Vx
= U(0, ; x, t ) + U(0, ; x, t ) exp
+ ( )U(0, ; , t )d .
D
(4-4-9)
So,
Vx
(D + V )G (0, ; x, t ) = U(0, ; x, t )(D + V )1 + exp
+
D
+ U(0, ; , t )(D + V )( )d .
(4-4-10)
G (0, ; x, t ) = U(0, ; x, t )
U(0, ; x, t )
x V
2D
x V
Vx
Vx V
exp
U(0, ; x, t ) exp
+
2D
D
D D
x
Vx
+ U(0, ; x, t ) exp
[ ( x)] + U(0, ; , t )' ( )d .
D
Then,
DG (0, ; x, t ) = U(0, ; x, t )
x V
Vx
D1 exp
2D
D
- 18 -
(4-4-11)
Vx
U(0, ; x, t ) exp
[ V + D( x)] + U(0, ; , t ) D' ( )d .
D
(4-4-12)
x V
1 +
2D
+ U(0, ; x, t ) 2 + U(0, ; , t ) 3d ,
(4-4-13)
Vx
1 = D1 exp
,
D
(4-4-14)
Vx
Vx
2 = (D + V )1 + exp
[ V + D( x)] ,
exp
D
D
(4-4-15)
3 = (D + V )( ) + D' ( ) .
(4-4-16)
According to boundary condition (4-4-6b), the left hand side of (4-4-13) is zero.
Because equality (4-4-13) holds for any , it must have 1 = 2 = 3 = 0 . This
results in three equations about and ( ) ,
Vx
D1 exp
= 0 ,
D
(4-4-14a)
Vx
Vx
(D + V )1 + exp
[ V + D( x)] = 0 ,
exp
D
D
(4-4-15a)
(D + V )( ) + D' ( ) = 0 .
(4-4-16a)
(4-4-17)
(4-4-18)
(4-4-19)
where A is an undetermined constant, and is determined by putting (4-4-18) and (44-19) together,
- 19 -
V
V 2
Vx
exp
( ) = x = A exp + x = ( x) = +
.
D
D
D
Thus,
V
V 2
Vx
exp
A = +
exp + x .
D
D
D
(4-4-20)
V 2
Vx
exp
( ) = +
exp + ( + x ) .
D
D
D
(4-4-21)
Substitute (4-4-17) about and (4-4-21) about ( ) back into (4-4-8), the solution
of Greens function is obtained as,
Vx
G ( , ; x, t ) = U(, ; x, t ) + exp
U(, ; x, t ) +
D
x
V
V 2
Vx
exp
+ +
exp + ( + x) U(, ; , t )d ,
D D
D
(4-4-22)
(4-4-23)
~ = t ,
(4-4-24)
and substitute (4-2-18) into the last term of (4-4-22), denoted as T3 , then have,
V x
V
V 2
Vx
exp
T3 = +
exp + x exp + U(, ; , t )d
D
D
D D
H( ~ )
V
= + 2 exp( x )
4D~
D
[ + V~ ]2
V
exp
exp
D 4D~ d
= ...
H( ~ )
V
= + 2 exp( x )
4D~
D
exp{
1
[( + V~ + 2D~ ) 2 + 4( D~ )( V~ + D~ )]}d
~
4D
H( ~ )
V
~ ) + V
exp
(
D
= + 2 exp( x)
D
4D~
D
- 20 -
x
( + V~ + 2D~ ) 2
exp
d .
4D~
(4-4-25)
Assume that,
=
+ V~ + 2D~
,
4D~
(4-4-26)
and that,
+ V~ + 2D~
0 =
4D~
=x
x + V~ + 2D~
,
4D~
(4-4-27)
then
d = 4D~ d .
(4-4-28)
V
H( ~ )
V
~
~
exp ( D ) + 4D exp( 2 )d
T3 = + 2 exp( x )
~
D
D
4 D
V
V
=
+ exp( x)H( ~ ) exp ( D~ ) + erfc( 0 )
D
2D
+ x ( V + 2D)~
V
V
~
~
= H( )
+ exp( x) exp ( D ) + erfc
.
D
4D~
2D
(4-4-29)
~
Substitute the third term of (4-4-22) with (4-4-29) and replace by (t ) ,
Vx
G ( , ; x, t ) = U(, ; x, t ) + exp
U(, ; x, t ) +
D
V
V
+ H(t )
+ exp( x) exp [ D(t )] +
D
2D
+ x ( V + 2D)(t )
erfc
.
4D(t )
(4-4-30)
The final solution of the Neumann or Robin boundary condition problem (4-4-1) can
be obtained by substituting the Greens function into (4-4-5).
u( x , t ) =
0 0
(4-4-5)
Here give an example to show how the final solution looks like. To make it easier, the
advection diffusion problem with only boundary value is considered, without source
term, namely, ( x, t ) = 0 and without non-zero initial value, i.e., f ( x ) = 0 . Then (4-45) is reduced as,
- 21 -
u( x , t ) = [
0
D
G(0, )h( )]d .
(4-4-31)
According to (4-4-30),
Vx
G (0, ) = U(0, ; x, t ) + exp
U(0, ; x, t ) +
D
x ( V + 2D)(t )
V
+ H(t )
+ exp( x) exp[(D 2 + V )(t )]erfc
4D(t )
2D
[x + V(t )]2
[x V(t )]2
Vx
+
exp
exp
exp
4D(t )
4D(t )
4D(t )
D
H( t )
x ( V + 2D)(t )
V
+ H(t )
+ exp( x) exp[(D 2 + V )(t )]erfc
4D(t )
2D
[x V(t )]2
exp
+
4
D
(
t
)
4D(t )
2 H( t )
x ( V + 2D)(t )
V
+ H(t )
+ exp( x) exp[(D 2 + V )(t )]erfc
.
4D(t )
2D
(4-4-32)
Substitute (4-4-32) into (4-4-31) and apply the commutative law about convolution,
t
t
( x V ) 2
D
2
exp
h(t )d
0 4D
4D
t
x ( V + 2D)
D V
+ exp( x) {exp[(D 2 + V ) ]erfc
h(t )}d .
2D
4D
(4-4-33)
If the parameters are specified as, D = 0.1, V = 2, = 0, = 1 , and h(t ) = sin(0.4t ) ,
i.e., a Neumann boundary of u x (0, t ) = sin( 0.4t ) , the analytical solutions at
different time are shown in Figure 4-4-2 as solid lines. In the figure, the symbol lines
are the computational results by solving the advection-differential equation
numerically. The high consistency between the analytical and numerical solutions
identifies the correctness of the solutions obtained by the GFM.
- 22 -
3.2
GFM, t=1
GFM, t=2
GFM, t=3
GFM, t=4
GFM, t=5
Numerical, t=1
Numerical, t=2
Numerical, t=3
Numerical, t=4
Numerical, t=5
3.0
2.8
2.6
2.4
2.2
2.0
u(x,t)
1.8
1.6
1.4
1.2
1.0
0.8
0.6
0.4
0.2
0.0
0
10
12
14
u(x,t)
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
-0.1
-0.2
-0.3
-0.4
-0.5
-0.6
-0.7
-0.8
-0.9
0
10
12
14
- 23 -
(5-1-1)
where u = u( x), p = p( x), w = w( x), f = f ( x) . Among the equations expressed as (5-11), the most commonly encountered in practice is in the form of,
[pu' ]'+ (q + r )u = f , a x b
(5-1-2)
where, like others, q = q( x), r = r( x) , is a parameter. (5-1-2) is called SturmLiouville equation. The eigenvalue problem is constructed by the homogenous SturmLiouville equation with linear homogeneous boundary conditions, i.e.,
[pu' ]'+ (q + r )u = 0 , a x b
(5-1-3a)
1u(a ) + 1u' (a ) = 0 ,
(5-1-3b)
2 u(b ) + 2 u' (b ) = 0 ,
(5-1-3c)
where 12 + 12 0 and 22 + 22 0 . Three distinct features of the regular SturmLiouville problem should be caught,
(i) a bounded finite interval [a, b] , where both a and b are neither nor ;
(ii) p, p' , q, r must be continuous;
(iii) p > 0, r > 0 must hold strictly for any x [a, b] .
Based on the principle of differential equation, the homogeneous Sturm-Liouville
problem (5-1-3) has nontrivial solutions only when equals to certain values. These
nontrivial solutions are called eigenfunctions, denoted as n ( x) , each of which is
corresponding to an eigenvalue n . Furthermore, the functions n ( x) , (n = 1,2,3,...) ,
are mutually orthogonal, namely,
b
r(x)
( x ) n ( x )dx = 0 , if m n .
(5-1-4)
r(x)
( x) n ( x)dx = 1 , if m = n .
(5-1-5)
- 24 -
f ( x) ~ a n n ( x) , a n =
n =1
f (x)
( x)r( x)dx ,
(5-1-6)
' '+ = 0 , 0 x a ,
(5-1-7a)
( 0 ) = 0 ,
(5-1-7b)
( a ) = 0 .
(5-1-7c)
n2 2
2 nx
sin
, n = 2 , (n = 1,2,3,...) .
a
a
a
(5-1-8)
It is actually the sine series of Fourier transform, which can be looked as, in a sense, a
particular case of eigenfunction expansions.
(5-2-1a)
g(0; x) = 0 ,
(5-2-1b)
g(a; x) = 0 ,
(5-2-1c)
2 n
g(; x) = a n ( x )
sin
,
a
a
n =1
(5-2-2)
- 25 -
where, a n ( x ) is to be determined.
Differentiate twice (5-2-2) on both sides,
n22
g' ' (; x ) = 2
a
n =1
2 n
a n ( x)
sin
.
a
(5-2-3)
2 n
sin
( x ) = b n ( x )
,
a
n =1
a
(5-2-4)
2 nx
sin
.
a
a
(5-2-5)
The last step proceeds by using the property of delta function (2-1-3).
Substitute (5-2-2), (5-2-3) and (5-2-4) into (5-2-1a),
n22
2
a
n =1
2 n
2 n
2
a n ( x)
sin
k
a n ( x)
sin
+
=
a
a
a
a
n
1
=
2 n
sin
= b n ( x)
.
a
n =1
a
Simplified as,
2 n
2 n
a n ( x)
sin
sin
.
= b n ( x)
a
a
a
a
n
1
=
2 n22
k 2
a
n =1
(5-2-6)
a n ( x) = b n ( x ) . Then,
a n ( x) = b n ( x)
a2
a2
=
k 2a 2 n 2 2 k 2a 2 n 2 2
2 nx
sin
.
a
a
(5-2-7)
g(; x ) =
(5-2-8)
- 26 -
(5-3-1a)
u( x,0) = f ( x) ,
(5-3-1b)
1u(0, t ) + 1u x (0, t ) = h1 (t ) ,
(5-3-1c)
2 u(a , t ) + 2 u x ( a , t ) = h 2 ( t ) ,
(5-3-1d)
u( x , t ) =
t a
0 0
Gdd + [(Gu) =0 ]d
t
(5-3-3a)
~
~ G (0, ) +
1
1G ( 0, ) = 0 ,
(5-3-3b)
~
~ G (a , ) +
2
2G (a, ) = 0 .
(5-3-3c)
~ ~ ~
~ ,
where
1
1 , 2 , 2 are determined by the values of 1 , 1 , 2 , 2 , V , D and so on
depending on different boundary conditions.
To handle the delta function in (5-3-3), it might be easier to appeal to Laplace
transform. According to Section 4, G = 0 if > t ; and G is a function if < t . In
another word, G might be nonzero if < 0 , although negative time does not mean
anything in physics. Therefore, in order to utilize Laplace transform, (referring to the
definition of Laplace transform in Section 2), it is necessary to reverse the time
coordinate, namely, to assume that,
~ = ,
(5-3-4)
~
then to denote G as G in the transformed time coordinate,
~
G(, ~ ; x, t ) = G (, ; x, t ) .
(5-3-5)
~
It is obvious that, after transformation, G = 0 if ~ < t . By the treatment and
considering that delta function is an even function, the problem (5-3-3) is transformed
as,
~
~
~
G ~ VG DG = ( x, ~ + t ) , 0 < < a , 0 < ~ <
(5-3-6a)
- 27 -
~ ~ ~~
~G
~
1 ( 0, ) + 1G ( 0, ) = 0 ,
(5-3-6b)
~ ~ ~ ~
~ G
~
2 (a , ) + 2 G ( a , ) = 0 .
(5-3-6c)
It is worth to mention that the reversed time ~ can be from to , in the light of
the broadened time concept. However, it is still defined as 0 < ~ < in (5-3-6a) for
~
symmetry, because G 0 when ~ < t and t is a positive constant here. Actually if
someone likes, it can be defined as t < ~ < .
So far Laplace transform can be performed on (5-3-6a) from ~ to s . Recovering the
properties about Laplace transform in Section 2, it is easy to obtain,
1
1G ( 0, s ) = 0 ,
(5-3-7b)
~
~ G (a, s ) +
2
2 G (a , s ) = 0 ,
(5-3-7c)
(5-3-7a)
~
~
where G (, s; x, t ) L[G (, ~ ; x, t )] = G (, ~ ; x, t ) exp( s~ )d~ .
0
G ( ) = g( )( ) .
(5-3-8)
(5-3-9)
Since the coefficient of the first derivative g' is not preferred by the form of SturmLiouville, it is demanded that,
2D'+ V = 0 .
(5-3-10)
(5-3-11)
g = exp
g' '+
+ ts ( x ) , namely,
2
D
4D
2D
- 28 -
(5-3-12)
V 2 4Ds
1
Vx
g = exp
g' '+
+ ts ( x )
2
D
4D
2D
(5-3-13a)
In the exponential term on the right and side, is replaced by x in the last step. This
is the direct result by using the property of delta function (2-1-5). The boundary
conditions (5-3-7b) and (5-3-7c) are transformed accordingly as,
V ~
~
~
1 g(0) + 1g' (0) = 0 ,
1
2D
(5-3-13b)
V ~
~
~
2 g(a) + 2g' (a) = 0 .
2
2D
(5-3-13c)
Fortunately they are still homogeneous after transformation. Equation (5-3-13a) and
boundary conditions (5-3-13b) and (5-3-13c) form the eigenvalue problem. The
associated Sturm-Liouville problem to (5-3-13) is formulated as,
' '+ = 0 ,
(5-3-14a)
V ~
~
~
1 (0) + 1' (0) = 0 ,
1
2D
(5-3-14b)
V ~
~
~
2 (a ) + 2 ' (a ) = 0 .
2
2D
(5-3-14c)
It should be emphasized that the boundary conditions for the associated SturmLiouville problem (5-3-14) should be identical to the original problem (5-3-13).
Assume that the solution of (5-3-14) is n ( ) corresponding to n (n = 1,2,3,...) . The
specific expressions or values depend on the specific boundary conditions. In view of
eigenfunction method, all the function in (5-3-13a), g , g' ' and ( x) can be
expanded as Fourier series on the complete set { n ( )} . Lets say,
g(; x ) = a n ( x) n ( ) .
(5-3-15)
n =1
(5-3-16)
n =1
(5-3-17)
g' ' (; x ) = ( n )a n ( x) n ( ) .
(5-3-18)
n =1
( x) is expanded as,
- 29 -
( x) = b n ( x) n ( ) ,
(5-3-19)
n =1
b n ( x ) = ( x ) n ( )d = n ( x) .
(5-3-20)
( x) = n ( x) n ( )
(5-3-21)
n =1
+
ts
a
(
x
)
(
)
exp
(
)
a
(
x
)
(
)
n ( x ) n ( )
n
n
n
n
n
D
4D 2
2D
n =1
n =1
n =1
2
V + 4Ds
1
Vx
n +
a n ( x ) n ( ) = exp
(5-3-22)
+ ts n ( x ) n ( )
2
4D
2D
n =1
n =1 D
V 2 + 4Ds
1
Vx
n +
a n ( x) = exp
+ ts n ( x) , namely,
2
D
4D
2D
a n ( x) =
4D
Vx
exp
+ ts n ( x ) .
2
2
4Ds + 4D n + V
2D
(5-3-23)
exp(ts)
Vx
exp
n ( x ) n ( )
2
V
2D
n =1
s + D n +
4D
(5-3-24)
exp(ts)
V( x )
exp
n ( x) n ( ) .
2
V
2D
n =1
s + D n +
4D
G (, s) =
(5-3-25)
V2 ~
~ ~
V( x)
~
( + t ) exp
G (, ; x, t ) = H( + t ) exp D n +
n ( x) n ( ) .
4D
2D
n =1
(5-3-26)
By recovering the original time coordinate based on (5-3-4), the solution of the
problem (5-3-3) is obtained as,
- 30 -
V2
V( x)
(t ) exp
G (, ; x, t ) = H(t ) exp D n +
n ( x) n ( ) ,
D
D
4
2
n =1
(5-3-27)
where, the eigenfunctions and corresponding eigenvalues { n ( ), n } are determined
by (5-3-14), i.e., the explicit expressions about { n ( ), n } are determined only by
the given boundary conditions. Once the Greens function G(, ; x, t ) is solved, the
final solution u( x, t ) of the original general problem (5-3-1) can be obtained by
substituting (5-3-27) into (5-3-2). If it is still abstract, we have to come to solve
specific problems as examples.
5.4 Examples
For a one-dimensional problem, the concerned interval has two boundaries, on each of
which one of three sorts of boundary conditions could be prescribed, the Dirichlet, the
Neumann or the Robin boundary, noted as D, N and R, respectively. It is simple to
know there are nine different combinations. Fortunately the Neumann type of
boundary can be handled somehow as a special case of the Robin boundary with
specifying i = 0 and i = 1 (i = 1or 2) in (5-3-1). In other words, combinations can
be reduced by handling only two types of boundaries, the Dirichlet and the Robin
boundaries. Therefore the four problems with D-D, D-R, R-D and R-R are solved as
four examples.
(5-4-1-1a)
u( x,0) = f ( x) ,
(5-4-1-1b)
u ( 0, t ) = h 1 ( t ) ,
(5-4-1-1c)
u( a , t ) = h 2 ( t ) .
(5-4-1-1d)
u( x , t ) =
t a
0 0
Gdd + [(Gu) =0 ]d
t
=a
- 31 -
(5-4-1-2a)
G (0, ) = 0 ,
(5-4-1-2b)
G (a, ) = 0 .
(5-4-1-2c)
t a
0 0
(5-4-1-3)
By comparing (5-4-1-2) to (5-3-3), it is obvious that,
~ ~
~ =
~ = 1,
= = 0.
1
(5-4-1-4)
By substituting the above values into (5-3-14), the eigenvalue problem for this case is
directly obtained as,
' '+ = 0 ,
(5-4-1-5a)
( 0 ) = 0 ,
(5-4-1-5b)
( a ) = 0 .
(5-4-1-5c)
( ) = A sin(
) + B cos(
) ,
(5-4-1-6)
n22
, n = 1,2,3,... .
a2
a = n ,
(5-4-1-7)
This is the eigenvalue of the problem (5-4-1-5). The corresponding eigenfunction is,
n
n ( ) = A sin
.
a
=
a = 1,
0
2 0
2
a
a
a
- 32 -
thus,
A=
2
.
a
2 n
.
sin
a
a
(5-4-1-8)
n22
V2
2
G (, ; x, t ) = H(t ) exp D 2 +
4D 2
n =1 a
a
V
(t )
( x )
2D
n n
x sin
sin
.
a a
V
.
2D
(5-4-1-9)
The following h in the text shares the same definition as here. Then the Greens
function can be expressed as,
n22
2
G(, ; x, t ) = H(t ) exp D 2 + h 2 (t ) h( x)
n =1 a
a
n n
x sin
sin
.
a a
(5-4-1-10)
The final solution u( x, t ) of the problem (5-4-1-1) with the Dirichlet- Dirichlet
boundary conditions can be obtained by substituting the Greens function into (5-4-13).
(5-4-2-1a)
u( x,0) = f ( x) ,
(5-4-2-1b)
u ( 0, t ) = h 1 ( t ) ,
(5-4-2-1c)
2 u(a, t ) + 2 u x (a, t ) = h 2 (t ) , ( 2 0) .
(5-4-2-1d)
t a
0 0
Gdd + [(Gu)
=0
]d
- 33 -
1
[h 2 (t ) 2 u(a, t )] , i.e.,
2
u (a , ) =
1
[h 2 ( ) 2 u(a, )] .
2
t a
0 0
Gdd + [(Gu) =0 ]d
t
{[(VG + 2 DG + DG )u
0
where, 2 =
D
Gh 2 ] = a [( VG + DG )u DGu ] = 0 }d ,
2
(5-4-2-2)
2
.
2
(5-4-2-3)
for
Greens
function
can
be
defined
as,
G =0 = 0
and
(5-4-2-4a)
G(0, ) = 0 ,
(5-4-2-4b)
(5-4-2-4c)
On the other hand, by applying the boundary conditions of G , the expression about
solution (5-4-2-2) can be simplified as,
u( x , t ) =
t a
0 0
(5-4-2-5)
By comparing (5-4-2-4) to (5-3-3), it is obvious that,
~
~
~ = 1,
~ = ( V + ),
= 0, = D .
1
(5-4-2-6)
By substituting the above values into (5-3-14), the eigenvalue problem for this case is
obtained as,
- 34 -
' '+ = 0 ,
(5-4-2-7a)
( 0 ) = 0 ,
(5-4-2-7b)
(h + 2 )(a) + ' (a ) = 0 ,
(5-4-2-7c)
( ) = A sin(
) + B cos(
) .
(5-4-1-6)
According to (5-4-2-7b),
(0) = A sin(0) + B cos(0) = B = 0 .
That is,
( ) = A sin( ) , thus, ' ( ) = A cos( ) .
According to (5-4-2-7c),
(h + 2 )(a ) + ' (a) = (h + 2 )A sin( a) + A cos( a ) = 0 , i.e.,
tan(a ) =
.
h + 2
(5-4-2-8)
Assume that the n th positive root of the above equation is n , which is the
eigenvalue of the problem. Then the eigenfunction is, accordingly,
n ( ) = A sin( n ) .
A2
A2
1
A
sin
(
)
d
=
[
cos(
)]
d
=
a
sin(
2
a
)
1
2
=
n
n
n
0
2 0
2
2 n
A2
h + 2
A2
1
=
sin( n a) cos( n a ) =
a
a +
=1
2
2
n + (h + 2 ) 2
n
n
h + 2
Thus,
A=
2[ n + (h + 2 ) 2 ]
.
a[ n + (h + 2 ) 2 ] + (h + 2 )
2[ n + (h + 2 ) 2 ]
sin( n ) .
a[ n + (h + 2 ) 2 ] + (h + 2 )
- 35 -
(5-4-2-9)
2[ n + (h + 2 ) 2 ]
G(, ; x, t ) = H(t )
2
n =1 a[ n + ( h + 2 ) ] + ( h + 2 )
(5-4-2-10)
The final solution about u of the problem (5-4-2-1) with the Dirichlet- Robin
boundary conditions can be obtained by substituting the Greens function into (5-4-25).
(5-4-3-1a)
u( x,0) = f ( x) ,
(5-4-3-1b)
1u(0, t ) + 1u x (0, t ) = h1 (t ) , ( 1 0) ,
(5-4-3-1c)
u( a , t ) = h 2 ( t ) .
(5-4-3-1d)
t a
0 0
Gdd + [(Gu) =0 ]d
t
u ( 0, ) =
t a
0 0
Gdd + [(Gu)
=0
]d
{[(VG + DG )u DGu ] = a [( VG + 1 DG + DG )u
0
where, 1 =
1
.
1
D
Gh1 ] = 0 }d ,
1
(5-4-3-2)
(5-4-3-3)
(5-4-3-4a)
( V + 1 D)G(0, ) + DG (0, ) = 0 ,
(5-4-3-4b)
- 36 -
G (a, ) = 0 .
(5-4-3-4c)
t a
0 0
D
G(0, )h1 ( )]d .
1
(5-4-3-5)
By comparing (5-4-3-4) to (5-3-3), we have,
~
~
~ = ( V + ),
~ = 1,
= D, = 0 .
1
(5-4-3-6)
By substituting the above values into (5-3-14), the corresponding eigenvalue problem
is obtained as,
' '+ = 0 ,
(5-4-3-7a)
(5-4-3-7b)
( a ) = 0 ,
(5-4-3-7c)
where h + 1 0 .
By solving the eigenvalue problem, the eigenvalues satisfies the equation of,
tan(a ) =
,
h + 1
(5-4-3-8)
2[ n + (h + 1 ) 2 ]
sin[ n ( a)] .
a[ n + (h + 1 ) 2 ] (h + 1 )
(5-4-3-9)
2
n =1 a[ n + ( h + 1 ) ] ( h + 1 )
G (, ; x, t ) = H(t )
The final solution of the problem (5-4-3-1) with the Robin- Dirichlet boundary
conditions can be obtained by substituting the Greens function into (5-4-3-5).
(5-4-4-1a)
u( x,0) = f ( x) ,
(5-4-4-1b)
1u(0, t ) + 1u x (0, t ) = h1 (t ) , ( 1 0) ,
(5-4-4-1c)
2 u(a, t ) + 2 u x (a, t ) = h 2 (t ) , ( 2 0) .
(5-4-4-1d)
- 37 -
u( x , t ) =
t a
0 0
Gdd + [(Gu) =0 ]d
t
1
1
[h1 (t ) 1u(0, t )] , u x (a, t ) =
[h 2 (t ) 2 u(a, t )] ,
1
2
t a
0 0
Gdd + [(Gu)
=0
{[(VG + 2 DG + DG )u
0
]d
D
D
Gh 2 ] = a [( VG + 1 DG + DG )u Gh1 ] = 0 }d
2
1
(5-4-4-2)
where, 1 and 2 are defined in (5-4-3-3) and (5-4-2-3), respectively. In this case,
the
unwelcome
terms
are
[( VG + 1 DG + DG )u] = 0
and
boundary
conditions
of
( VG + 1DG + DG ) =0 = 0
and
(5-4-4-3a)
( V + 1D)G(0, ) + DG (0, ) = 0 ,
(5-4-4-3b)
(5-4-4-3c)
By using (5-4-4-3b) and (5-4-4-3c), the expression of solution (5-4-4-2) becomes as,
u( x , t ) =
t a
0 0
D
D
G (a, )h 2 ( ) G (0, )h1 ( )]d .
2
1
(5-4-4-4)
By comparing (5-4-4-3) to (5-3-3), we have,
~ ~
~ = ( V + D),
~ = ( V + D),
= = D.
1
By applying these values into (5-3-14), the eigenvalue problem of this case is
obtained as,
' '+ = 0 ,
(5-4-4-5a)
(5-4-4-5b)
(h + 2 )(a ) + ' (a ) = 0 ,
(5-4-4-5c)
- 38 -
where (h + 1 ) 2 + (h + 2 ) 2 0 .
The eigenvalue problem is solved as follows,
( ) = A sin( ) + B cos( ) , thus,
' ( ) = A cos( ) B sin( ) ,
where A and B are undetermined constants. By using (5-4-4-5b), we have,
(h + 1 )(0) + ' (0) = (h + 1 )B + A = 0 .
By using (5-4-4-5c),
(h + 2 )(a ) + ' (a ) = (h + 2 )A sin( a ) + (h + 2 )B cos( a) +
+ A cos( a) B sin( a) = 0 .
Based on the above two equations, we have,
tan(a ) =
( 2 1 )
.
+ (h + 1 )(h + 2 )
(5-4-4-6)
Assume that the n th positive root of the above equation is n , n = 1,2,3... . n is the
eigenvalue of the problem. Then the eigenfunction is, accordingly,
~
n ( ) = A[ n cos( n ) (h + 1 ) sin( n )] ,
~
where, A is a constant, which is determined by the normalization of n ( ) .
a
2
n
~
( )d = A 2 [ n cos( n ) (h + 1 ) sin( n )]2 d
0
~
= A 2 [(h + 1 ) 2 sin 2 ( n ) + n cos 2 ( n ) n (h + 1 ) sin( 2 n )]d
0
=
=
=
=
~ a
A2
{(h + 1 ) 2 [1 cos( 2 n )] + n [1 + cos(2 n )] 2 n (h + 1 ) sin( 2 n )}d
2 0
~2
a
a
A
{[ n + (h + 1 ) 2 ]a + [ n (h + 1 ) 2 ] cos( 2 n )d 2 n (h + 1 ) sin( 2 n )d}
2
0
0
~2
A
1
{[ n + (h + 1 ) 2 ]a + [ n (h + 1 ) 2 ]
sin( n a) cos( n a ) 2(h + 1 ) sin 2 ( n a )}
2
n
~2
2
A
1 sin ( n a)
2
2
{[ n + (h + 1 ) ]a + [ n ( h + 1 ) ]
2(h + 1 ) sin 2 ( n a)}
2
n tan( n a )
Noting that,
tan(a n ) =
n ( 2 1 )
n + (h + 1 )(h + 2 )
, thus,
- 39 -
n ( 2 1 ) 2
sin (a n ) =
[ n + (h + 1 )(h + 2 )]2 + n ( 2 1 ) 2
2
2
n
( )d =
~
A2
=
{[ n + (h + 1 ) 2 ]a +
2
( 2 1 )[2n + n (h + 1 )( 2 1 ) (h + 1 ) 3 (h + 2 )]
+
[ n + (h + 1 )(h + 2 )]2 + n ( 2 1 ) 2
2 n (h + 1 )( 2 1 ) 2
}
[ n + (h + 1 )(h + 2 )]2 + n ( 2 1 ) 2
~
( 1 )[2n n ( h + 1 )( 2 1 ) ( h + 1 ) 3 (h + 2 )]
A2
=
{[ n + (h + 1 ) 2 ]a + 2
}
2
[ n + (h + 1 )(h + 2 )]2 + n ( 2 1 ) 2
~
A 2 2n + 3n
= 1,
2
1n
where,
1n = [ n + (h + 1 )(h + 2 )]2 + n ( 2 1 ) 2 ,
2n = a[ n + (h + 1 ) 2 ] 1n ,
(5-4-4-7)
3n = ( 2 1 )[2n n (h + 1 )( 2 1 ) (h + 1 ) 3 (h + 2 )] .
Therefore,
~
A=
21n
.
2n + 3n
21n
[ n cos( n ) (h + 1 ) sin( n )] .
2n + 3n
(5-4-4-8)
G (, ; x, t ) = H(t )
(5-4-4-9)
then the solution of problem (5-4-4-1) with the Robin- Robin boundary conditions can
be obtained by substituting the Greens function into (5-4-4-4).
As stated at the beginning of the subsection, the Neumann boundary condition can be
treated as a special case of the Robin boundary. Among the boundary combinations,
the Neumann- related are the D-N, N-D, N-N, N-R and R-N combinations. Although
- 40 -
The solution of D-N problem can be obtained by substituting the newly specified
parameters into the equations or solutions of the D-R problem.
The D-N problem is described as,
Lu = u t + Vu x Du xx = ( x, t ) , 0 < x < a , 0 < t < ,
(5-4-5-1a)
u( x,0) = f ( x) ,
(5-4-5-1b)
u ( 0, t ) = h 1 ( t ) ,
(5-4-5-1c)
u x (a , t ) = h 2 ( t ) .
(5-4-5-1d)
(5-4-5-2a)
G (0, ) = 0 ,
(5-4-5-2b)
VG(a, ) + DG (a, ) = 0 .
(5-4-5-2c)
' '+ = 0 ,
(5-4-5-3a)
( 0 ) = 0 ,
(5-4-5-3b)
(5-4-5-3c)
where h 0 . The solutions are obtained by substituting 2 = 0 into (5-4-2-8) and (54-2-9),
tan(a ) =
n () =
=
, and
h + 2
h
(5-4-5-4)
2[ n + (h + 2 ) 2 ]
sin( n ) =
a[ n + (h + 2 ) 2 ] + (h + 2 )
2( n + h 2 )
sin( n ).
a( n + h 2 ) + h
(5-4-5-5)
2
n =1 a( n + h ) + h
G (, ; x, t ) = H(t )
- 41 -
(5-4-5-6)
u( x , t ) =
t a
0 0
(5-4-5-7)
The solution of N-D problem can be obtained by substituting the newly specified
parameters into the equations or solutions of the R-D problem.
The N-D problem is described as,
Lu = u t + Vu x Du xx = ( x, t ) , 0 < x < a , 0 < t < ,
(5-4-6-1a)
u( x,0) = f ( x) ,
(5-4-6-1b)
u x ( 0, t ) = h 1 ( t ) ,
(5-4-6-1c)
u( a , t ) = h 2 ( t ) .
(5-4-6-1d)
(5-4-6-2a)
VG(0, ) + DG (0, ) = 0 ,
(5-4-6-2b)
G (a, ) = 0 .
(5-4-6-2c)
(5-4-6-3a)
(5-4-6-3b)
( a ) = 0 ,
(5-4-6-3c)
where h 0 . The solutions are obtained by substituting 1 = 0 into (5-4-3-8) and (54-3-9),
tan(a ) =
n () =
=
, and
=
h + 1
h
(5-4-6-4)
2[ n + (h + 1 ) 2 ]
sin[ n ( a)] =
a[ n + (h + 1 ) 2 ] (h + 1 )
2( n + h 2 )
sin[ n ( a)] .
a( n + h 2 ) h
2
n =1 a( n + h ) h
- 42 -
(5-4-6-5)
t a
0 0
The solution of N-N problem can be obtained by substituting the newly specified
parameters into the R-R problem.
The N-N problem is described as,
Lu = u t + Vu x Du xx = ( x, t ) , 0 < x < a , 0 < t < ,
(5-4-7-1a)
u( x,0) = f ( x) ,
(5-4-7-1b)
u x ( 0, t ) = h 1 ( t ) ,
(5-4-7-1c)
u x (a , t ) = h 2 ( t ) .
(5-4-7-1d)
(5-4-7-2a)
VG(0, ) + DG (0, ) = 0 ,
(5-4-7-2b)
VG(a, ) + DG (a, ) = 0 .
(5-4-7-2c)
' '+ = 0 ,
(5-4-7-3a)
(5-4-7-3b)
(5-4-7-3c)
n =
( 2 1 )
= 0 , thus,
+ (h + 1 )(h + 2 )
n 2 2
, n = 1,2,3... ,
a2
(5-4-7-4)
then,
1n = [ n + (h + 1 )(h + 2 )]2 + n ( 2 1 ) 2 = ( n + h 2 ) 2 ,
2n = a[ n + (h + 1 ) 2 ] 1n = a( n + h 2 ) 1n ,
- 43 -
(5-4-7-5)
3n = ( 2 1 )[2n n (h + 1 )( 2 1 ) (h + 1 ) 3 (h + 2 )] = 0 ,
thus,
n () =
21n
[ n cos( n ) (h + 1 ) sin( n )] =
2n + 3n
2
n
[ cos( n ) h sin( n )] =
2
a( n + h ) a
n
2a
n
n
cos
h sin
.
2 2
a h +n a
a
a
2
(5-4-7-6)
n 2 2 + a2h 2
2a
exp
D
2 2
2 2
a2
n =1 a h + n
G (, ; x, t ) = H(t )
(t ) h( x)
n
n
n
nx
nx n
cos
h sin
.
h sin
cos
a
a
a a
a
a
(5-4-7-7)
t a
0 0
(5-4-7-8)
The solution of N-R problem can be obtained by substituting the newly specified
parameters into the R-R problem.
The N-R problem is described as,
Lu = u t + Vu x Du xx = ( x, t ) , 0 < x < a , 0 < t < ,
(5-4-8-1a)
u( x,0) = f ( x) ,
(5-4-8-1b)
u x ( 0, t ) = h 1 ( t ) ,
(5-4-8-1c)
2 u(a, t ) + 2 u x (a, t ) = h 2 (t ) , ( 2 0) .
(5-4-8-1d)
(5-4-8-2a)
VG(0, ) + DG (0, ) = 0 ,
(5-4-8-2b)
(5-4-8-2c)
- 44 -
' '+ = 0 ,
(5-4-8-3a)
(5-4-8-3b)
(h + 2 )(a) + ' (a ) = 0 ,
(5-4-8-3c)
where h 2 + (h + 2 ) 2 0 . The solutions are obtained by substituting 1 = 0 into (54-4-6), (5-4-4-7) and (5-4-4-8),
tan(a ) =
( 2 1 )
2
=
,
+ (h + 1 )(h + 2 ) + h(h + 2 )
(5-4-8-4)
(5-4-8-5)
3n = ( 2 1 )[2n n (h + 1 )( 2 1 ) (h + 1 ) 3 (h + 2 )] =
= 2 [2n n h 2 h 3 (h + 2 )] ,
thus,
n () =
=
21n
[ n cos( n ) (h + 1 ) sin( n )] =
2n + 3n
21n
[ n cos( n ) h sin( n )] .
2n + 3n
(5-4-8-6)
G (, ; x, t ) = H(t )
(5-4-8-7)
The final solution about u is obtained on (5-4-4-4) with 1 = 1 ,
u( x , t ) =
t a
0 0
(5-4-8-8)
The solution of R-N problem can be obtained by substituting the newly specified
parameters into the R-R problem, and by somewhat transform or simplification.
The R-N problem is described as,
Lu = u t + Vu x Du xx = ( x, t ) , 0 < x < a , 0 < t < ,
- 45 -
(5-4-9-1a)
u( x,0) = f ( x) ,
(5-4-9-1b)
1u(0, t ) + 1u x (0, t ) = h1 (t ) , ( 1 0) ,
(5-4-9-1c)
u x (a , t ) = h 2 ( t ) .
(5-4-9-1d)
(5-4-9-2a)
( V + 1D)G(0, ) + DG (0, ) = 0 ,
(5-4-9-2b)
VG(a, ) + DG (a, ) = 0 .
(5-4-9-2c)
' '+ = 0 ,
(5-4-9-3a)
(5-4-9-3b)
(5-4-9-3c)
where (h + 1 ) 2 + h 2 0 . The solutions are obtained by substituting 2 = 0 into (54-4-6), (5-4-4-7) and (5-4-4-8),
tan(a ) =
( 2 1 )
1
,
=
+ (h + 1 )(h + 2 ) + h(h + 1 )
(5-4-9-4)
(5-4-9-5)
3n = ( 2 1 )[2n n (h + 1 )( 2 1 ) (h + 1 ) 3 (h + 2 )] =
= 1 [2n + n 1 (h + 1 ) h(h + 1 ) 3 ] ,
thus,
n ( ) =
21n
[ n cos( n ) (h + 1 ) sin( n )] .
2n + 3n
(5-4-9-6)
G (, ; x, t ) = H(t )
(5-4-9-7)
The final solution about u is obtained on (5-4-4-4) with 2 = 1 ,
t a
u( x , t ) =
()
D
G(0, )h1 ( )]d .
1
(5-4-9-8)
- 46 -
Example 5.4.1 through 5.4.9 summarize all possible boundary conditions for the
advection diffusion problems in a finite interval. In principle, the Greens functions in
the Example 5.4.1 through 5.4.9 can be shrunk into the solutions for the
corresponding problems without advection, simply by applying the equalities, V = 0
and/or h = 0 . However some exceptional cases are listed as follows. (The numberings
of the sub-titles and equations in the exceptional examples use the same as those in
the corresponding advection problems, but plus a prime.)
(5-4-5-1a)
u( x,0) = f ( x) ,
(5-4-5-1b)
u ( 0, t ) = h 1 ( t ) ,
(5-4-5-1c)
u x (a , t ) = h 2 ( t ) .
(5-4-5-1d)
(5-4-5-2a)
G (0, ) = 0 ,
(5-4-5-2b)
G (a , ) = 0 .
(5-4-5-2c)
' '+ = 0 ,
(5-4-5-3a)
( 0 ) = 0 ,
(5-4-5-3b)
' (a) = 0 .
(5-4-5-3c)
n () =
(5-4-5-4)
2
( 2n 1)
.
sin
a
2a
(5-4-5-5)
( 2n 1) 2 2
2
G (, ; x, t ) = H(t ) exp
D(t )
2
4a
n =1 a
( 2n 1) ( 2n 1)
x sin
sin
.
2a
2a
(5-4-5-6)
t a
0 0
(5-4-5-7)
(5-4-6-1a)
u( x,0) = f ( x) ,
(5-4-6-1b)
u x ( 0, t ) = h 1 ( t ) ,
(5-4-6-1c)
u( a , t ) = h 2 ( t ) .
(5-4-6-1d)
(5-4-6-2a)
G (0, ) = 0 ,
(5-4-6-2b)
G(a, ) = 0 .
(5-4-6-2c)
' '+ = 0 ,
(5-4-6-3a)
' (0) = 0 ,
(5-4-6-3b)
( a ) = 0 .
(5-4-6-3c)
n ( ) =
(5-4-6-4)
2
( 2n 1)
.
cos
a
2a
(5-4-6-5)
( 2n 1) 2 2
2
G (, ; x, t ) = H(t ) exp
D(t )
2
4a
n =1 a
( 2n 1)
( 2n 1)
x cos
cos
.
2a
2a
(5-4-6-6)
t a
0 0
- 48 -
(5-4-7-1a)
u( x,0) = f ( x) ,
(5-4-7-1b)
u x ( 0, t ) = h 1 ( t ) ,
(5-4-7-1c)
u x (a , t ) = h 2 ( t ) .
(5-4-7-1d)
(5-4-7-2a)
G (0, ) = 0 ,
(5-4-7-2b)
G (a , ) = 0 .
(5-4-7-2c)
(5-4-7-3a)
' (0) = 0 ,
(5-4-7-3b)
' (a) = 0 .
(5-4-7-3c)
1
a
n 2 2
, n = 1,2,3,... , and,
a2
(5-4-7-4)
2
n
.
cos
a
a
(5-4-7-5)
, n ( ) =
t a
0 0
- 49 -
(6-1-1a)
Bu = u + u n = f ,
(6-1-1b)
where, (6-1-1a) holds in a given domain R, which could be infinite or finite, and (6-11b) on the boundary B of R. Here the advection direction is defined in the x -direction
without losing any general sense. The following steps are just to repeat the idea or
procedure of the GFM to solve multi-dimensional problems.
First, multiply Greens function G(, , , ) on both sides of (6-1-1a), and integrate
by parts,
(6-1-2)
where,
L=
+V
D 2 , and,
x
t
(6-1-3)
V
D 2 .
t
x
(6-1-4)
L* =
(6-1-5)
with homogeneous boundary conditions that can make the unwelcome boundary
terms in (6-1-2) vanish. They are unwelcome because they contain boundary values
being not prescribed. Therefore the remaining terms are only those containing the
prescribed boundary values. In terms of (6-1-1a), (6-1-2) and (6-1-5), the solution can
be expressed as,
u( x , y , z , t ) =
(6-1-6)
in (, , ) space, and if the time is define as 0 < t < , then the boundary terms in
(6-1-2), created by integration by parts, can be expressed explicitly, i.e.,
t 2 2 2
2 2 2
0 1 1 1
1 1 1
- 50 -
t 2 2
+ [D(Gu G u )] 12 ddd +
0 1 1
t 2 2
+ [D(Gu G u )] 12 ddd ,
(6-1-7)
0 1 1
where, both the welcome and unwelcome terms are included. (In the process of the
integration by parts, a property of Greens function, G = = 0 is applied.) As
mentioned, the unwelcome terms can be eliminated by applying the homogeneous
boundary conditions of the Greens function. In case of two-dimension, (6-1-7) is
reduced as,
t 2 2
2 2
0 1 1
1 1
u( x, y , t ) = Gddd +
(Gu)
=0
dd +
t 2
t 2
0 1
0 1
- 51 -
G VG D(G + G + G ) = ( x, y , z , t ) ,
(6-2-1a)
(1i G + 1i G ) =i = 0 ,
(6-2-1b)
( 2i G + 2i G ) = i = 0 ,
(6-2-1c)
( 3i G + 3i G ) = i = 0 , (i = 1,2) ,
(6-2-1d)
where, as usual in the GFM, , , , are running variables and x, y , z , t are constants.
Lets recover the physical meaning of G in (6-2-1a). It stands for the heat distribution,
caused by a unit heat pulse released at ( x, y , z ) and at t , along a reversed time scale
and with a reversed advection direction. (The latter reversed nature is not concerned
here.) If the time is reversed and shifted by t , the physical meaning of Greens
function can be re-formulated as: it describes the heat distribution, initiated by a unit
heat pulse released at an initial time of zero, along a time axis with normal direction.
In other words, the original Greens function problem with point source (6-2-1) is
equivalent to an initial value problem without source term. By using mathematical
language, the transform about the time coordinate is defined as,
~ = + t .
(6-2-2)
~
Denoting the Greens function as G in the new time coordinate, the problem (6-2-1)
is transformed as,
~
~
~
~
~
G ~ VG D(G + G + G ) = 0 ,
(6-2-3a)
~
G ~ =0 = ( x, y , z ) ,
(6-2-3b)
~
~
(1i G + 1i G ) =i = 0 ,
(6-2-3c)
~
~
( 2i G + 2i G ) = i = 0 ,
(6-2-3d)
~
~
( 3i G + 3i G ) = i = 0 , (i = 1,2) .
(6-2-3e)
(6-2-4)
(6-2-5)
(6-2-6a)
~
~
Y~ DY = 0 ,
(6-2-7a)
~
~
Z ~ DZ = 0 .
(6-2-8a)
- 52 -
= ( x)( y )( z ) ,
(6-2-9)
where, the last step is the result by using the property of delta function (2-1-8).
Equality (6-2-9) can be satisfied if,
~
X ~ = 0 = ( x) ,
(6-2-6b)
~
Y ~ = 0 = ( y ) ,
(6-2-7b)
~
Z ~ =0 = ( z ) .
(6-2-8b)
(6-2-10)
(6-2-6c)
Similar equalities can be obtained by substituting (6-2-4) into (6-2-3d) and (6-2-3e),
respectively,
~
~
( 2i Y + 2 i Y ) = i = 0 ,
(6-2-7c)
~
~
( 3i Z + 3i Z ) = i = 0 ,
(6-2-8c)
where, i = 1,2 . Therefore, the initial value problem (6-2-3) is divided into three initial
value problems,
~
~
~
~
~
~
~
X ~ VX DX = 0
Y~ DY = 0
Z ~ DZ = 0
~
~
~
X ~ =0 = ( x)
Y ~ =0 = ( y )
Z ~ =0 = ( z )
~
~
~
~
~
~
(1i X + 1i X ) =i = 0
( 2 i Y + 2 i Y ) = i = 0
( 3 i Z + 3 i Z ) = i = 0
(i = 1,2)
(i = 1,2)
(i = 1,2)
(6-2-6)
(6-2-7)
(6-2-8)
Based on the splitting procedure described above, the product solution of the three
problems must satisfy the equation and the initial value and the boundary conditions
of (6-2-3). That is to say, the product solution must be the solution of (6-2-3). The
problems (6-2-6), (6-2-7) and (6-2-8) can be inversely transformed from ~
backwards to based on (6-2-2), and the initial value problems are re-formulated as
point source problems, respectively,
X VX DX = ( x, t )
(1i X + 1i X ) = i = 0
(i = 1,2)
(6-2-11)
- 53 -
Y DY = ( y , t )
( 2 i Y + 2 i Y ) = i = 0
(i = 1,2)
(6-2-12)
Z DZ = ( z , t )
(6-2-13)
( 3 i Z + 3 i Z ) = i = 0
(i = 1,2)
~
~
~
where, X(, ) = X(, ~ ) , Y( , ) = Y( , ~ ) , Z( , ) = Z( , ~ ) . Look at the three
problems, they are so familiar to us and appear many times in last sections. They are
all one-dimensional Greens function problem. The problems of (6-2-12) and (6-2-13)
are looked as special cases of (6-2-11) with the advection velocity V equal to zero. It
is obvious that the transform on time coordinate does not affect at all the conclusion
that, the product of the one-dimensional Greens functions determined by (6-2-11),
(6-2-12) and (6-2-13) are genuinely the solution of the multi-dimensional Greens
function of the problem (6-2-1), namely,
G (, , , ; x, y , z , t ) = X(, ; x, t )Y( , ; y , t )Z( , ; z , t ) .
(6-2-14)
- 54 -
B.C. of G
none none
none
B.C. of G
G(0, ) = 0
VG (0, ) + DG (0, ) = 0
(D + V )G (0, ) + DG (0, ) = 0 4
[
0
D
G (0, )h( )]d
B.C. of G
D-D
G(0, ) = 0
G(a, ) = 0
D-N
G(0, ) = 0
VG (a, ) + DG (a, ) = 0
D-R
G (0, ) = 0
VG (0, ) + DG (0, ) = 0
VG (0, ) + DG (0, ) = 0
VG (0, ) + DG (0, ) = 0
10
D
G (a, )h 2 ( ) + DG (0, )h1 ( )]d
2
VG (a, ) + DG (a, ) = 0
N-R
+ [
0
G(a, ) = 0
N-N
+ [
0
11
G(a, ) = 0
[DG (a, )h 2 ( ) +
0
- 55 -
D
G (a, )h 2 ( ) DG(0, )h1 ( )]d
2
D
G (0, )h1 ( )]d
1
R-N
12
VG (a, ) + DG (a, ) = 0
R-R
+ [DG(a, )h 2 ( )
0
13
+ [
0
D
G (0, )h1 ( )]d
1
D
D
G (a, )h 2 ( ) G (0, )h1 ( )]d
2
1
*iv =
V
, 1 = 1 , 2 = 2 , h =
1
2
2D
1[I]
[ x + V(t )]2
exp
4D(t )
4D(t )
H( t )
2[D]
[ x + V(t )]2
Vx [ + x + V(t )]2
exp
exp
4D(t )
4D(t )
4D(t )
3[N]
[ x + V(t )]2
Vx [ + x + V(t )]2
exp
+ exp
+
4D(t )
4D(t )
4D(t )
H( t )
H( t )
+ x V(t )
V
V
+ H(t )
exp erfc
4D(t )
D
2D
4[R]
[ x + V(t )]2
Vx [ + x + V(t )]2
exp
+ exp
+
4D(t )
4D(t )
4D(t )
D
H( t )
V
+ H(t )
+ exp( x) exp [ D(t )] +
D
2D
+ x ( V + 2D)(t )
erfc
4D(t )
n n
n22
2
x sin
5[D-D] H(t ) exp D 2 + h 2 (t ) h( x ) sin
n =1 a
a
a a
- 56 -
2( n + h 2 )
6[D-N] H(t )
exp[ D( n + h 2 )(t ) h( x )]
2
n =1 a( n + h ) + h
sin( n x ) sin( n ) ,
where, tan(a ) =
2[ n + (h + 2 ) 2 ]
7[D-R] H(t )
2
n =1 a[ n + ( h + 2 ) ] + ( h + 2 )
where, tan(a ) =
h + 2
2( n + h 2 )
exp[ D( n + h 2 )(t ) h( x )]
2
n =1 a( n + h ) h
8[N-D] H(t )
where, tan(a ) =
n2 2 + a2h 2
2a
exp
D
2 2
2 2
a2
n =1 a h + n
9[N-N] H(t )
(t ) h( x )
n
n
n
nx n
nx
cos
h sin
cos
h sin
a
a
a a
a
a
21n
exp[ D( n + h 2 )(t ) h( x)]
n =1 2 n + 3n
10[N-R] H(t )
where, tan(a ) =
2
,
+ h( h + 2 )
1n = [ n + h(h + 2 )]2 + n 22 ,
2n = a( n + h 2 ) 1n ,
3n = 2 [2n n h 2 h 3 (h + 2 )]
2[ n + (h + 1 ) 2 ]
2
n =1 a[ n + ( h + 1 ) ] ( h + 1 )
11[R-D] H(t )
- 57 -
where, tan(a ) =
h + 1
21n
exp[ D( n + h 2 )(t ) h( x)]
n =1 2 n + 3n
12[R-N] H(t )
where, tan(a ) =
1
,
+ h( h + 1 )
1n = [ n + h(h + 1 )]2 + n 12 ,
2n = a[ n + (h + 1 ) 2 ] 1n ,
3n = 1 [2n + n 1 (h + 1 ) h(h + 1 ) 3 ]
21n
exp[ D( n + h 2 )(t ) h( x)]
n =1
2n
3n
13[R-R] H(t )
where, tan(a ) =
( 2 1 )
,
+ (h + 1 )(h + 2 )
1n = [ n + (h + 1 )(h + 2 )]2 + n ( 2 1 ) 2 ,
2n = a[ n + (h + 1 ) 2 ] 1n ,
3n = ( 2 1 )[2n n (h + 1 )( 2 1 ) (h + 1 ) 3 (h + 2 )] .
- 58 -
B.C. of G
none none
none
B.C. of G
G(0, ) = 0
G (0, ) = 0
G (0, ) + G (0, ) = 0
[
0
D
G (0, )h( )]d
B.C. of G
D-D
G(0, ) = 0
G(b, ) = 0
D-N
G(0, ) = 0
G (b , ) = 0
D-R
G (0, ) = 0
G (0, ) = 0
G (0, ) = 0
G (0, ) = 0
1G (0, ) + G (0, ) = 0
10
2 G (b , ) + G (b , ) = 0
R-D
D
G (b, )h 2 ( ) + DG (0, )h1 ( )]d
2
G (b , ) = 0
N-R
+ [
0
G(b, ) = 0
N-N
2 G (b , ) + G (b , ) = 0
N-D
+ [
0
11
G(b, ) = 0
[DG (b, )h 2 ( ) +
0
- 59 -
D
G (b, )h 2 ( ) DG(0, )h1 ( )]d
2
D
G (0, )h1 ( )]d
1
R-N
1G (0, ) + G (0, ) = 0
12
G (b , ) = 0
R-R
1G (0, ) + G (0, ) = 0
+ [DG(b, )h 2 ( )
0
13
2 G (b , ) + G (b , ) = 0
+ [
0
D
G (0, )h1 ( )]d
1
D
D
G (b, )h 2 ( ) G (0, )h1 ( )]d
2
1
, 1 = 1 , 2 = 2 .
1
2
1[I]
( y ) 2
exp
4D(t )
4D(t )
H( t )
2[D]
( y ) 2
( + y ) 2
exp
exp
4D(t )
4D(t )
4D(t )
3[N]
( y ) 2
( + y ) 2
+
exp
exp
4D(t )
4D(t )
4D(t )
4[R]
( y ) 2
[ + y ]2
exp
+
exp
+
4D(t )
4D(t )
4D(t )
H( t )
H( t )
H( t )
+ y 2D(t )
+ H(t ) exp[ [ + y D(t )]] erfc
4D(t )
n22
2
5[D-D] H(t ) exp D 2
n =1 b
b
n n
(t ) sin
y sin
b b
( 2n 1) 2 2
( 2n 1) ( 2n 1)
2
6[D-N] H(t ) exp
D(t ) sin
y sin
2
4b
2b
n =1 b
2b
2( n + 22 )
7[D-R] H(t )
exp[ D n (t )] sin( n y ) sin( n ) ,
2
n =1 b( n + 2 ) + 2
- 60 -
where, tan(b ) =
( 2n 1) 2 2
2
( 2n 1)
( 2n 1)
8[N-D] H(t ) exp
D(t ) cos
y cos
2
4b
2b
2b
n =1 b
1 2
n n
n22
y cos
9[N-N] H(t ) + exp 2 D(t ) cos
b b
b
b n =1 b
2( n + 22 )
exp[ D n (t )] cos( n y ) cos( n ) ,
2
n =1 b( n + 2 ) + 2
10[N-R] H(t )
where, tan(b ) =
2( n + 12 )
exp[ D n (t )]
2
n =1 b( n + 1 ) 1
11[R-D] H(t )
sin[ n ( y b )] sin[ n ( b )] ,
where, tan(b ) =
2( n + 12 )
exp[ D n (t )]
2
n =1 b( n + 1 ) 1
12[R-N] H(t )
cos[ n ( y b )] cos[ n ( b )] ,
where, tan(b ) =
21n
exp[ D n (t )]
n =1 2 n + 3n
13[R-R] H(t )
where, tan(b ) =
( 2 1 )
,
+ 1 2
1n = ( n + 1 2 ) 2 + n ( 2 1 ) 2 ,
2n = b( n + 12 ) 1n ,
3n = ( 2 1 )[2n n 1 ( 2 1 ) 13 2 ] .
- 61 -
B.C. of G
none none
none
B.C. of G
G(0, ) = 0
G (0, ) = 0
G (0, ) + G (0, ) = 0
[
0
D
G (0, )h( )]d
B.C. of G
D-D
G(0, ) = 0
G(c, ) = 0
D-N
G(0, ) = 0
G ( c, ) = 0
D-R
G (0, ) = 0
G (0, ) = 0
G (0, ) = 0
G (0, ) = 0
1G (0, ) + G (0, ) = 0
10
2 G ( c, ) + G (c , ) = 0
R-D
D
G (c, )h 2 ( ) + DG (0, )h1 ( )]d
2
G ( c, ) = 0
N-R
+ [
0
G(c, ) = 0
N-N
2 G ( c, ) + G (c , ) = 0
N-D
+ [
0
11
G(c, ) = 0
[DG (c, )h 2 ( ) +
0
- 62 -
D
G (c, )h 2 ( ) DG(0, )h1 ( )]d
2
D
G (0, )h1 ( )]d
1
R-N
1G (0, ) + G (0, ) = 0
12
G ( c, ) = 0
R-R
1G (0, ) + G (0, ) = 0
+ [DG (c, )h 2 ( )
0
13
2 G ( c, ) + G (c , ) = 0
+ [
0
D
G (0, )h1 ( )]d
1
D
D
G (c, )h 2 ( ) G (0, )h1 ( )]d
2
1
*iv =
, 1 = 1 , 2 = 2 .
1
2
1[I]
( z ) 2
exp
4D(t )
4D(t )
H( t )
2[D]
( + z ) 2
( z ) 2
exp
exp
4D(t )
4D(t )
4D(t )
3[N]
( z ) 2
( + z ) 2
exp
+ exp
4D(t )
4D(t )
4D(t )
4[R]
[ + z ] 2
( z ) 2
exp
+
+ exp
4D(t )
4D(t )
4D(t )
H( t )
H( t )
H( t )
+ z 2D(t )
+ H(t ) exp[ [ + z D(t )]] erfc
4D(t )
n22
2
5[D-D] H(t ) exp D 2
n =1 c
c
n n
(t ) sin
z sin
c c
( 2n 1) 2 2
( 2n 1) ( 2n 1)
2
6[D-N] H(t ) exp
D(t ) sin
z sin
2
4c
2c
n =1 c
2c
2( n + 22 )
exp[ D n (t )] sin( n z ) sin( n ) ,
2
n =1 c( n + 2 ) + 2
7[D-R] H(t )
- 63 -
where, tan(c ) =
( 2n 1) 2 2
2
8[N-D] H(t ) exp
D(t )
2
4c
n =1 c
( 2n 1)
( 2n 1)
cos
z cos
2c
2c
1 2
n22
n n
z cos
9[N-N] H(t ) + exp 2 D(t ) cos
c
c
c
c
c
=1
n
2( n + 22 )
exp[ D n (t )] cos( n z ) cos( n ) ,
2
n =1 c( n + 2 ) + 2
10[N-R] H(t )
where, tan(c ) =
2( n + 12 )
11[R-D] H(t )
exp[ D n (t )]
2
n =1 c( n + 1 ) 1
where, tan(c ) =
2( n + 12 )
12[R-N] H(t )
exp[ D n (t )]
2
n =1 c( n + 1 ) 1
where, tan(c ) =
21n
exp[ D n (t )]
n =1 2 n + 3n
13[R-R] H(t )
where, tan(c ) =
( 2 1 )
,
+ 1 2
1n = ( n + 1 2 ) 2 + n ( 2 1 ) 2 ,
2n = c( n + 12 ) 1n ,
3n = ( 2 1 )[2n n 1 ( 2 1 ) 13 2 ] .
- 64 -
7. Applications
7.1 Validation of gas diffusion model of GASFLOW
GASFLOW is a multi-dimensional fluid dynamics field computer code, which is
widely applied in flow and safety analyses in nuclear industry (Travis et al., 1998).
The original ideal of the work about Greens functions is to validate the diffusion
solver of GASFLOW based on the theoretical solutions obtained by using the GFM.
To exclude any adverse effects such as buoyancy and chemistry, a problem of
nitrogen diffusing into an advective air flow is designed to verify purely the diffusion
solver. The advection diffusion problems in 1D, 2D and 3D are simulated,
respectively, by using GASFLOW; the computational results are compared with the
Greens function solutions accordingly.
(7-1-1-1a)
u( x,0) = 0 ,
(7-1-1-1b)
u(0, t ) = 1 .
(7-1-1-1c)
Nitrogen
Air
u( x , t ) =
0
[x V(t )]2
{[x V(t )] exp
+
4D(t )
16D(t )3
Vx [x + V(t )]2
+ [x + V(t )] exp
}d ,
4D(t )
D
u( x , t ) =
0
( x V ) 2
Vx ( x + V ) 2
+
+
(
x
V
)
exp
(
x
V
)
exp
d .
4D
4D
16D 3
D
1
(7-1-1-2)
- 65 -
1.0
2
Mass fraction
0.8
0.6
0.4
0.2
0.0
0
10
15
20
25
x, cm
- 66 -
1.0
2
Mass fraction
0.8
0.6
0.4
0.2
0.0
8.0
8.5
9.0
9.5
10.0
10.5
11.0
11.5
12.0
x, cm
(a)
1.0
2
Mass fraction
0.8
0.6
0.4
0.2
0.0
8.0
8.5
9.0
9.5
10.0
10.5
11.0
11.5
12.0
x, cm
(b)
Figure 7-1-1-3 One-dimensional advective diffusion with different cell sizes
1.0
t=5s
2
GFM,D=0.001cm /s
2
Gasflow,D=0.001cm /s
2
GFM,D=0.01cm /s
2
Gasflow,D=0.01cm /s
2
GFM,D=0.1cm /s
2
Gasflow,D=0.1cm /s
2
GFM,D=1cm /s
2
Gasflow,D=1cm /s
Mass fraction
0.8
0.6
0.4
0.2
0.0
0
10
15
20
25
x, cm
- 67 -
The comparisons between the GASFLOW simulations and the Greens function
solutions are also made for different diffusion coefficients ranging from 0.001 cm2/s
to 1 cm2/s, as shown in Figure 7-1-1-4. Perfect agreements are obtained between the
GFM and GASFLOW in the different cases except that of D = 1 cm2/s, which has a
slight deviation, but within an acceptable limit. Figure 7-1-1-4 clearly manifests that a
bigger D results in a wider nitrogen front, or a bigger diffusion distance.
(7-1-2-1a)
u ( x , y ,0 ) = 0 ,
(7-1-2-1b)
1, if , y [y 0 , y1 ],
u ( 0, y , t ) =
0, otherwise.
(7-1-2-1c)
y
y1
Nitrogen
reservoir
y0
Advection
velocity, V
2 2
0 1 1
1 1
u( x, y , t ) = Gddd +
(Gu)
=0
dd +
t 2
t 2
0 1
0 1
0 0
u( x , y , t ) =
t
Gddd + (Gu)
+ [D(Gu G u ) VGu]
0
=0
=
=0
dd +
t
dd + [D(Gu G u )] == dd .(7-1-2-2)
0 0
- 68 -
u( x, y , t ) = [D(Gu G u ) VGu]
=
=0
dd + [D(Gu G u )] == dd .
0 0
(7-1-2-3)
Considering the homogenous boundary conditions of the Greens function at infinite,
namely,
G = = 0 , G = = 0 , (G ) = = 0 , (G ) = = 0 ,
(7-1-2-4)
u( x, y , t ) = [D(Gu G u ) VGu] =0 dd ,
(7-1-2-5)
u( x, y , t ) = [D(G u )] =0 dd .
(7-1-2-6)
(7-1-2-7)
thus,
G (, , ) =
X(, ) Y( , ) .
(7-1-2-8)
u( x , y , t ) = [ D
0
= {D
0
X( 0, ) Y( , ) u(0, , )]dd =
(7-1-2-9)
By using the Greens function tables, Table 6-3-1 and Table 6-3-2, we can find the
proper directional Greens functions according the domain and the boundary
condition,
X(, ) =
Vx [ + x + V(t )]2
[ x + V(t )]2
H(t )
exp
,
exp
D
(
t
)
D
D
(
t
)
4
4
4D(t )
Y( , ) =
( y )2
H( t )
exp
.
4D(t )
4D(t )
- 69 -
Thus,
X(0, ) =
4D(t ) 2D(t )
4D(t )
}.
4D(t ) 2D(t )
D
By bringing them into (7-1-2-9) and applying (7-1-2-1c), the solution becomes as,
t
u( x , y , t ) =
0
4
D
(
t
)
2
D
(
t
)
4D(t )
( y )2
Vx [x + V(t )]2 [x + V(t )] 1
1
}
exp
+ exp
d d .
4
D
D
(
t
)
D
(
t
)
D
(
t
)
4
2
4
D
(
t
)
y0
y
u( x , y , t ) =
0
[x V(t )]2
{[x V(t )] exp
+
4D(t )
64D(t )3
y y1
y y 0
Vx [x + V(t )]2
d
+ [x + V(t )] exp
erfc
}
erfc
D
D
(
t
)
4
D
(
t
)
D
(
t
)
4
4
u( x , y , t ) =
0
Vx ( x + V ) 2
( x V ) 2
(
x
V
)
exp
+
+
( x V ) exp
4D
4D
64D 3
D
y y1
y y 0
(7-1-2-10)
erfc
erfc
d .
4D
4D
This is the final solution of the nitrogen mass fraction distribution in the advective air
flow. If D = 0.1 cm2/s, V = 2 cm/s, y 0 = 0.5 cm, y 1 = 0.5 cm, a 3D view of the
nitrogen mass fraction distribution at t = 10 s is shown in Figure 7-1-2-2, which is
drawn based on (7-1-2-10) by using Mathcad, a mathematics compute program.
On the other hand, GASFLOW is applied to simulate the advection diffusion problem
accordingly, with a grid size of 0.2 cm. Figure 7-1-2-3 presents the mass fraction
distribution along the central line of the plume in the advection direction at different
times of 2s, 4s, 6s, 8s and 10s, to depict the developing front of the diffusing
concentration.
The mass fraction distributions in the transverse direction at x = 10 cm and at
different times are shown in Figure 7-1-2-4, which shows a Gaussian distribution with
a growing amplitude on time. In the light of the figure, the upstream diffusion front
arrives here at about 4 s, and grows up to be mature at about 6 s. The fastest growing
occurs at about 5 s, simply because the advection front arrives here at this moment
and dominates the mixing process. The high consistency between the theoretical
solutions and the numerical solutions manifests that GASFLOW can reproduce
numerically the advection diffusion process in a quite satisfactory way.
- 70 -
1.0
Gasflow,2s
Gasflow,4s
Gasflow,6s
Gasflow,8s
Gasflow,10s
GFM,2s
GFM,4s
GFM,6s
GFM,8s
GFM,10s
0.9
0.8
Mass fraction
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
0
10
12
14
16
18
20
22
24
x, cm
- 71 -
0.40
0.30
Mass fraction
Gasflow,4.00s
Gasflow,4.25s
Gasflow,4.50s
Gasflow,4.75s
Gasflow,5.00s
Gasflow,5.25s
Gasflow,5.50s
Gasflow,5.75s
Gasflow,6.00s
GFM,4.00s
GFM,4.25s
GFM,4.50s
GFM,4.75s
GFM,5.00s
GFM,5.25s
GFM,5.50s
GFM,5.75s
GFM,6.00s
0.35
0.25
0.20
0.15
0.10
0.05
0.00
-5
-4
-3
-2
-1
y, cm
(7-1-3-1a)
u( x, y , z ,0) = 0 ,
(7-1-3-1b)
1, if y [y 0 , y1 ] and z [z 0 , z1 ],
u ( 0, y , z , t ) =
0, otherwise.
(7-1-3-1c)
Advection
z
y
x
u( x , y , z , t ) =
[D(G u)]
=0
d d d =
- 72 -
z1 y1
y1
z1
z0 y0
y0
z0
u( x , y , z , t ) =
0
y1
y0
=
0
Vx ( x + V ) 2
( x V ) 2
(
x
V
)
exp
+
+
( x V ) exp
D 4D
4D
16D 3
1
( z )2
( y )2
1
1
exp
d
exp
d d =
4D
4D
4D
4D
z0
( x V ) 2
Vx ( x + V ) 2
( x V ) exp
+
+
(
x
V
)
exp
4D
4D
256D 3
D
1
z z 0
z z1
y y 0
y y1
d .(7-1-3-3)
erfc
erfc
erfc
erfc
4D
4D
4D
4D
This is the formula the nitrogen mass fraction should satisfy. By using Mathcad, the
mass fraction distributions along the x -axis at t = 2s, 4s, 6s and 10s are plotted as
solid lines in Figure 7-1-3-2, where D = 0.1 cm2/s, V = 2 cm/s, y 0 = z 0 = 0.5 cm,
y1 = z1 = 0.5 cm. In the figure, the symbols stand for the GASFLOW simulation with
a grid size of 0.2 cm. The mass fraction distributions at transverse directions ( y and z )
at x = 10 cm and at t = 6 s are also compared with the theoretical solution in Figure 71-3-3. Perfect agreements are obtained between the GFM and GASFLOW in both
figures.
1.0
Gasflow,2s
Gasflow,4s
Gasflow,6s
Gasflow,8s
Gasflow,10s
GFM,2s
GFM,4s
GFM,6s
GFM,8s
GFM,10s
0.9
0.8
Mass fraction
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
0
10
12
14
16
18
20
22
24
x, cm
- 73 -
0.16
Gasflow-Y,6s
Gasflow-Z,6s
GFM,6s
0.14
Mass fraction
0.12
0.10
0.08
0.06
0.04
0.02
0.00
-5
-4
-3
-2
-1
y or z, cm
r
r
r
4D
[ erf 1 ( 1 ) i erf 1 ( 2 ) j erf 1 ( 3 )k ] ,
t
(7-2-0-1)
where D is the particle diffusion coefficient, t is the time step of the numerical
scheme, 1 , 2 , 3 are three random numbers within [0,1] , the sign is also
r r r
randomly determined, i , j, k stand for unit vectors in the three coordinate directions,
respectively, erf 1 () is the inversed error function (Xu et al., 2007). The factor of the
turbulence is accounted in the coefficient D . In principle, the stochastic
representation (7-2-0-1) satisfies the Ficks law about diffusion. In other word, the
particle distribution, say, the concentration should converge to the continuous solution
by solving the diffusion equations analytically, if the particle sample number is
sufficiently big. This subsection is contributed to verify the particle model of
GASFLOW fundamentally and systematically, based on the developed Greens
function solutions in Section 6. Since particles could be released instantaneously or
continuously, from ideal points, two-dimensional areas or three-dimensional cubes,
into stagnant or advective flows, a series of diffusion problems are discussed in the
following subsections.
- 74 -
in case of 1D, 2D and 3D, with instantaneous and continuous particle releases,
respectively.
I. Instantaneous point source
Mathematically, a one- or multi-dimensional Dirac delta function is applied to
formulate the instantaneous particle release as a point source term with a constant
coefficient to stand for the strength of the particle source. It can be assumed that the
particles are released instantaneously at t = 0 , and at the very center (origin) of an
infinite 1D pipe, a 2D square or a 3D cube. The 1D, 2D and 3D problems are
formulated as, respectively,
u t D(u xx ) = Q1( x, t ) , < x < , 0 < t < ,
(7-2-1-1)
(7-2-1-2)
(7-2-1-3)
where Q N ( N = 1,2,3) is the total number of the released particles, or called source
strength. By applying the GFM, and noting the properties of delta function and the
product rule about Greens functions, the solutions can be expressed as,
t
t
(7-2-1-4)
u( x , y , t ) = Q 2
= Q 2 X(, ; x, t )( )d Y( , ; y , t )( )d ( )d =
0
(7-2-1-5)
u( x , y , z , t ) = Q 3
= Q 3 X( , ; x, t )( )d Y( , ; y , t )( )d Z( , ; z , t )( )d ( )d =
0
(7-2-1-6)
where X, Y, Z stand for the directional Greens functions. By looking up the Greens
functions in Table 6-3-2 or Table 6-3-3, the solutions can be obtained explicitly for
the 1D, 2D and 3D, respectively,
- 75 -
u( x , t ) = Q 1
x2
,
exp
4Dt
4Dt
1
(7-2-1-7)
x2
y2
1
exp
,
exp
u( x, y , t ) = Q 2
Dt
Dt
4
4
4Dt
(7-2-1-8)
x2
y2
z2
1
exp
exp
.
exp
u( x, y , z , t ) = Q 3
4Dt
4Dt
4Dt
4Dt
(7-2-1-9)
If the distance to the origin is denoted as r , the above three formulas can be united
into one expression by noting that r 2 = x 2 , r 2 = x 2 + y 2 or r 2 = x 2 + y 2 + z 2 ,
u( r , t ) =
r2
,
exp
4
Dt
( 4Dt ) N
QN
(7-2-1-10)
velocities of the gas and the particle, respectively. In this case, the drag force of the
conveying gas on the tiny particles satisfies the Stokes law, and the Stokes
coefficient s = 18 g / p d p2 = 7.2 10 5 s-1. The particle diffusion coefficient is
- 76 -
GFM,1s
Gasflow,1s
GFM,5s
Gasflow,5s
1D,dx=1mm,
instantaneous point
source at origin
5
at t=0,Q1=2x10
-4 -3 -2 -1
1.0
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
2D,dx=dy=1mm,
instantaneous point
source at origin
6
at t=0,Q2=10
-4 -3 -2 -1
x, cm
0.6
at t=0,Q3=4x10
3D,dx=dy=dz=1mm,
instantaneous point
source at origin
GFM,1s
Gasflow-x,1s
Gasflow-y,1s
Gasflow-z,1s
0.5
0.4
0.3
0.2
0.1
0.0
-3
-2
-1
(b)
Norm. particle concentration,1/cm
0.7
x or y, cm
(a)
0.8
GFM,1s
Gasflow-x,1s
Gasflow-y,1s
GFM,5s
Gasflow-x,5s
Gasflow-y,5s
3D,dx=dy=dz=1mm,
instantaneous point
GFM,5s
Gasflow-x,5s
Gasflow-y,5s
Gasflow-z,5s
x, y or z, cm
x, y or z, cm
(c)
(d)
(7-2-1-11)
u( x , y , z , t ) = q 3
= q 3 X(, ; x, t )( )d Y( , ; y , t )( )d Z( , ; z , t )( )d d =
0
= q 3 X( 0, ; x, t )Y(0, ; y , t )Z(0, ; z , t )d .
(7-2-1-12)
The directional Greens functions are the same as in the instantaneous case. By
substituting them into the above expression, we have,
- 77 -
2
2
1
exp x + y + z d .
u( x , y , z , t ) = q 3
4D(t )
4D(t )
0
u( x , y , z , t ) = q 3
0
r
r2
q3
,
d =
erfc
exp
3
4 D r
( 4D )
4D
4Dt
(7-2-1-13)
u( x , y , t ) = q 2
0
r2
q2 r2
,
d =
exp
Ei
4D 4Dt
( 4D ) 2
4D
1
(7-2-1-14)
exp( )d , ( < 0) .
u(r , t ) = q1
0
r2
1
d =
exp
4
D
( 4D )
t
r
r2 r
,
= q1
exp
erfc
D
4
Dt
2
D
Dt
4
(7-2-1-15)
- 78 -
0.5
q1=5x10 /s,injection
0.4
GFM,5s
Gasflow,5s
GFM,10s
Gasflow,10s
1D,dx=1mm,
continuous point
source at origin,
-4
interval 2x10 s
0.6
0.3
0.2
0.1
0.0
-4
-3
-2
-1
x, cm
0.6
0.5
2D,dx=dy=1mm,
continuous point
source at origin,
0.4
interval 2x10 s
q2=10 /s,injection
-4
0.3
0.2
0.1
0.0
-3
-2
-1
x or y, cm
(a)
Norm. particle concentration,1/cm
GFM,1s
Gasflow-x,1s
Gasflow-y,1s
GFM,10s
Gasflow-x,10s
Gasflow-y,10s
(b)
2.0
1.5
GFM,0.2s
Gasflow-x,0.2s
Gasflow-y,0.2s
Gasflow-z,0.2s
GFM,4s
Gasflow-x,4s
Gasflow-y,4s
Gasflow-z,4s
3D,dx=dy=dz=1mm,
continuous point
source at origin,
5
q3=2.4x10 /s,
injection interval
-4
2.5x10 s
1.0
0.5
0.0
-1.0
-0.5
0.0
0.5
1.0
x, y or z, cm
(c)
Figure 7-2-1-2 Particle diffusion from continuous point source in quiescent flows
in one-, two- and three-dimension
(7-2-2-1)
(7-2-2-2)
- 79 -
where the u denotes the particle concentration. The expressions of the solutions are
also similar to those listed in (7-2-1-4) through (7-2-1-6), except that the Greens
functions in x -direction (advection direction) are replaced by the advective Greens
functions fund in Table 6-3-1. By the replacements, the solutions for 1D, 2D and 3D
can be obtained as,
( x Vt ) 2
Q1
exp
,
4Dt
4Dt
u( x , t ) =
u( x , y , t ) =
(7-2-2-4)
( x Vt ) 2 + y 2
exp
,
4Dt
( 4Dt ) 2
Q2
(7-2-2-5)
( x Vt ) 2 + y 2 + z 2
exp
.
4Dt
( 4Dt )3
Q3
u( x , y , z , t ) =
(7-2-2-6)
1.0
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
1D,dx=1mm,instantaneous point
4
Gasflow,1s
Gasflow,3s
GFM,1s
GFM,3s
9 10
x, cm
(a)
2D,dx=dy=1mm,instantaneous point
6
Gasflow,1s
Gasflow,3s
GFM,1s
GFM,3s
(b)
- 80 -
5
x, cm
9 10
1.0
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
3D,dx=dy=dz=1mm,instantaneous point
6
Gasflow,1s
Gasflow,2s
GFM,1s
GFM,2s
9 10
x, cm
(c)
Figure 7-2-2-1 Particle diffusion from instantaneous point source in advective
flows in one-, two- and three-dimension
II. Continuous point source
By applying the GFM, the theoretical particle concentrations caused by continuous
point sources in infinite domains with advective flows can be simply obtained as,
( x V ) 2
q1
exp
d ,
4D
4D
u( x , t ) =
0
(7-2-2-7)
( x V ) 2 + y 2
exp
d ,
4D
( 4D ) 2
q2
u( x , y , t ) =
0
u( x , y , z , t ) =
0
( x V ) 2 + y 2 + z 2
exp
d ,
4D
( 4D )3
q3
(7-2-2-8)
(7-2-2-9)
for 1D, 2D and 3D, respectively, where q N is the particle release rate. The
comparisons between the GFM solutions and the GASFLOW simulations are
presented in Figure 7-2-2-2. In the simulations the continuous sources are defined as:
the total particle number is 10 6 and the injection interval time 2.5 10 4 s for 1D, 2D
and 3D, the total injection time is 3 s for 1D and 2D, but 2 s for 3D. The other
parameters are the same as the previous cases. The numerical simulations agree well
with the corresponding Greens function solutions according to the figure, which also
shows that, a minor part of particles diffuse from the origin (release place) backward
to the upstream while the major are transported away along the advection direction. In
Figure 7-2-2-2 (c), the concentration in the neighborhood of the origin is not shown. It
is not concerned and is infinite at the origin theoretically.
- 81 -
0.20
1D,dx=1mm,continuous point
5
source at origin,q =3.33x10 /s,
0.18
-4
injection interval 2.5x10 s
0.16
0.14
Gasflow,1s
0.12
Gasflow,2s
0.10
Gasflow,3s
0.08
GFM,1s
0.06
GFM,2s
0.04
GFM,3s
0.02
0.00
-1 0 1 2 3 4 5 6 7 8 9 10
1
x, cm
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
2D,dx=dy=1mm,continuous point
5
Gasflow,1s
Gasflow,2s
Gasflow,3s
GFM,1s
GFM,2s
GFM,3s
x, cm
(a)
Norm. particle concentration,1/cm
(at y=z=0)
(b)
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
3D,dx=dy=dz=1mm,continuous point
5
Gasflow,1s
Gasflow,2s
GFM,1s
GFM,2s
x, cm
(c)
Figure 7-2-2-2 Particle diffusion from continuous point source in advective flows
in one-, two- and three-dimension
y0
x0
(I)
x1
Advection
y1
y
Advection
(II)
- 82 -
(7-2-3-1)
where < x, y < , 0 < t < , q l is the strength of the line source, i.e., the
released particle number in unit time and from unit length. This is purely a source
problem. Based on equality (6-1-8), the solution can be expressed as,
t
t y1
0 y0
u( x , y , t ) =
t y1
y1
0 y0
y0
u( x , y , t ) =
0
=
0
( x V ) 2
ql
y y 0
y y1
exp
d . (7-2-3-3)
erfc
erfc
4D
16D
4D
4D
u( x , y , t )
.
q l l ength T
(7-2-3-4)
- 83 -
0.18
2D,dx=dy=1mm,line source
6
(x=0,-0.5<y<0.5),ql=10 /cms,
0.14
0.16
-4
Gasflow,1s
Gasflow,2s
Gasflow,3s
GFM,1s
GFM,2s
GFM,3s
0.12
0.10
0.08
0.06
0.04
0.02
0.00
0
10
x, cm
(7-2-3-4)
where < x, y < , 0 < t < , q l is the strength of the line source. Similar to the
last case, the Greens function solution can be expressed as,
t
t x1
0 x0
u( x , y , t ) =
t x1
x1
0 x0
x0
u( x , y , t ) =
0 x0
=
0
y2
( x + V ) 2
1
ql
exp
exp
d
4D d =
4D
4D
4D
ql
16D
y2
x V x 0
x V x1
exp
erfc
erfc
d .(7-2-3-6)
4D
4D
4D
0.30
2D,dx=dy=1mm,line source
6
(-0.5<x<0.5,y=0),ql=10 /cms,
0.25
-4
injection interval 10 s
0.20
Gasflow,1s
Gasflow,2s
Gasflow,3s
GFM,1s
GFM,2s
GFM,3s
0.15
0.10
0.05
0.00
-1
10
x, cm
y0
x0
x1
(I)
Advection
y1
y
Advection
(II)
(7-2-4-1)
where < x, y , z < , 0 < t < . In terms of the GFM, Greens functions are like
building blocks, and the higher dimensional solutions can be created easily on the
basis of lower dimensional ones. Lets take this problem as an example. Based on the
equality (7-2-3-2), the 3D solution can be obtained simply by using the product rule
and appending a factor of the Greens function in z -direction, and by utilizing the
property of delta function,
- 85 -
y1
y0
u( x, y , z , t ) = q l X( 0, ; x, t ) Y( , ; y , t )dZ(0, ; z , t )d .
(7-2-4-2)
By bringing the Greens functions into the above equality and making a little
simplification, the solution becomes,
( x V ) 2 + z 2
y y1
y y0
ql
erfc
exp
erfc
0 8D
4D
4D
4D
u( x , y , z , t ) =
d .
(7-2-4-3)
The normalized solution and the numerical simulation are presented in Figure 7-2-4-2
for comparison, where y 0 = 0.5 cm and y1 = 0.5 cm. It is obvious that GASFLOW
can reproduce numerically the particle diffusion in a good way.
1.2
3D,dx=dy=dz=1mm,line source
6
(x=z=0,-0.5<y<0.5),ql=2x10 /cms,
1.0
-4
Gasflow,1s
Gasflow,2s
GFM,1s
GFM,2s
0.6
0.4
0.2
0.0
0
x, cm
(7-2-4-4)
erfc
erfc
d .
8D
4D
4D
4D
0
t
u( x , y , z , t ) =
(7-2-4-5)
- 86 -
If x 0 = 0.5 cm and x1 = 0.5 cm, the theoretical curves and the GASFLOW simulation
points are shown in Figure 7-2-4-3, where the concentrations distribute along the line
of y = z = 0.1 cm instead of the x -axis. According to the figure, the simulating points
fit the analytical curves in a satisfactory way.
3D,dx=dy=dz=1mm,line source
6
(-0.5<x<0.5,y=z=0),ql=2x10 /cms,
0.6
0.7
-4
0.5
Gasflow,1s
Gasflow,2s
GFM,1s
GFM,2s
0.4
0.3
0.2
0.1
0.0
-1
x, cm
(7-2-5-1)
where < x, y < , 0 < t < , q a denotes the released particle number in unit
area and in unit time.
y1
x1
x0
y0
Advection
- 87 -
t y1 x1
x1
y1
0 y 0 x0
x0
y0
(7-2-5-2)
By substituting the Greens functions found in Table (6-3-1) and Table (6-3-2), the
solution is obtained as,
t
u( x , y , t ) =
0
qa
4
x V x 0
x V x1
erfc
erfc
4D
4D
y y1
y y0
erfc
erfc
4D
4D
d .
(7-2-5-3)
0.050
0.045
Gasflow,dx=dy=1cm,t=5s
Gasflow,dx=dy=1cm,t=10s
Gasflow,dx=dy=1/3cm,t=5s
Gasflow,dx=dy=1/3cm,t=10s
Gasflow,dx=dy=1/5cm,t=5s
Gasflow,dx=dy=1/5cm,t=10s
GFM,t=5s
GFM,t=10s
0.040
0.035
0.030
0.025
0.020
0.015
0.010
0.005
0.000
-2
10
12
14
16
18
20
22
24
x, cm
Figure 7-2-5-2 Advection diffusion from continuous particle area source in twodimensional domain
- 88 -
y0
z0
y1
x0
y0
(I)
x1
Advection
y1
y
Advection
z1
(II)
(7-2-6-1)
where < x, y , z < , 0 < t < , q a denotes the released particle number in unit
area and in unit time.
According to the GFM and applying the property of delta function, the solution is in
the form as,
t
y1
z1
y0
z0
u( x, y , z , t ) = q a X( 0, ; x, t ) Y( , ; y , t )d Z( , ; z , t )dd =
t
=
0
( x V ) 2
qa
y y 0
y y1
erfc
exp
erfc
4
D
64D
4
4
D
D
z z 0
z z1
erfc
d
erfc
4
4
D
D
(7-2-6-2)
The solid curves based on the formula, as shown in Figure 7-2-6-2, stand for the
normalized particle concentrations along the x -axis at t = 1 s and t = 2 s, respectively,
if y 0 = z 0 = 0.5 cm and y1 = z1 = 0.5 cm. The different symbols are the GASFLOW
simulating points, which are coincident with the theoretical curves except slight
deviations on some points caused by statistical effects.
- 89 -
0.30
3D,dx=dy=dz=1mm,area source
6
2
(x=0,-0.5<y,z<0.5),qa=2x10 /cm s,
0.25
-5
Gasflow,1s
Gasflow,2s
GFM,1s
GFM,2s
0.15
0.10
0.05
0.00
-1
x, cm
(7-2-6-3)
where < x, y , z < , 0 < t < . The solution can be obtained simply,
t
x1
y1
x0
y0
u( x, y , z , t ) = q a X(, ; x, t )d Y( , ; y , t )dZ(0, ; z , t )d =
t
=
0
qa
x V x 0
x V x1
erfc
erfc
64D
4D
4D
z2
y y 0
y y1
erfc
exp
erfc
d .
4D
4D
4D
(7-2-6-4)
- 90 -
0.40
3D,dx=dy=dz=1mm,area source
6
2
(-0.5<x,y<0.5,z=0),qa=2x10 /cm s,
0.35
-4
0.30
Gasflow,1s
Gasflow,2s
GFM,1s
GFM,2s
0.25
0.20
0.15
0.10
0.05
0.00
-1
x, cm
x0
y0 z0
y1
x1
Advection
where < x, y , z < , 0 < t < , q v stands for the number of particles released in
unit volume and in unit time. The solution is expressed as, according to the GFM,
t
x1
y1
z1
x0
y0
z0
u( x, y , z , t ) = q v X(, ; x, t )d Y( , ; y , t )d Z( , ; z , t )dd =
qv
x V x 0
x V x1
erfc
erfc
8
4
4
D
D
0
t
- 91 -
z z 0
z z1
y y 0
y y1
d . (7-2-7-2)
erfc
erfc
erfc
erfc
4D
4D
4D
4D
Figure 7-2-7-2 depicts the comparison between the Greens function solution and the
GASFLOW simulations, while x 0 = y 0 = z 0 = 0.5 cm and x1 = y1 = z1 = 0.5 cm. As
can be seen from the figure, the concentrations along the x -axis, i.e., the advection
direction, agree to each other between the theory and the numerical calculation at the
different times.
0.25
3D,dx=dy=dz=1mm,volume source
6
3
(-0.5<x,y,z<0.5),qv=3x10 /cm s,
0.20
-4
injection interval 10 s
Gasflow,1s
Gasflow,2s
GFM,1s
GFM,2s
0.15
0.10
0.05
0.00
-1
x, cm
- 92 -
8. Conclusions
The Greens function method has been applied to solve the one- and multidimensional advection diffusion partial differential equations in infinite, semi-infinite
and finite domains with the Dirichlet (first type), the Neumann (second type) and/or
the Robin (third type) boundary conditions. A novel image system (Figure 4-3-1) for
an advection diffusion problem is created to solve the Greens function solution in the
case of semi-infinite domain with the Dirichlet boundary condition, and an extended
image system (Figure 4-4-1) is made in the case with the Neumann or the Robin
boundary condition. The obtained Greens functions are proofed to be the right
solutions mathematically. The eigenfunction method is utilized to solve the Greens
function when the advection diffusion problem is defined in a finite domain. In
solving the problem, a coordinate transform based on a reversed time scale, a
Laplace transform and an exponential transform (details in Section 5.3) are performed
sequentially to adapt the original Greens function problem to a standard SturmLiouville problem, which is necessary to apply the eigenfunction method. The
Greens function in the case is found to be a sum of an infinite sequence of
eigenfunctions with certain coefficients, which vary on the prescribed boundary
conditions of the bounded domain. The advection diffusion Greens function
problems are solved with nine different boundary condition combinations. A small
library of one-dimensional Greens functions for advection diffusion problems in
different domains with different boundaries is summarized in form of tables (Table 63-1 through 6-3-3), to supply building blocks to construct the multi-dimensional
Greens function solutions of any other linear advection diffusion problems, based on
the product rule of the Greens function method in a Cartesian coordinate system.
Initial value problems and source problems are not formulated separately, because an
arbitrary initial value and/or an arbitrary source distribution are default configurations
in the boundary value problems presented in the report.
The mathematical Greens function solutions have been utilized to validate the two
diffusion models of gas species in a continuous phase and aerosol particles in a
discrete phase in the GASFLOW computer code. As for the gas diffusion model, it is
found that the second-order van Leer numerical scheme can produce more accurate
results than the first-order. The validation calculations indicate that the diffusion
equations are solved numerically in a right way in GASFLOW, therefore, that high
consistencies between the GASFLOW simulations and the Greens function solutions
are obtained in one- and multi-dimensional cases. The particle model in GASFLOW
is verified systematically in cases of 1D, 2D and 3D, diffusing from instantaneous
and/or continuous point, line, area and/or volume sources of particles in prescribed
advective and/or stagnant flows. The numerical solutions about the normalized
particle concentration distributions in the GASFLOW simulations are compared to the
corresponding Greens function solutions. It is very interesting that agreements are
obtained between the numerical solutions about the diffusion of discrete particles and
the mathematical solutions about the diffusion of continuous media, if the drag force
of the conveying gas flow on the moving particles satisfies the Stokes law for
resistance. The assumption is true when the Reynolds number based on the particle
diameter in microns is much less than unit so that the particle inertia effects can be
neglected. The series of validations manifest that the particle diffusion model can
reproduce numerically the physical process of the particle movement. Meanwhile, the
high consistencies of the comparisons between the numerical simulations and the
- 93 -
Greens function solutions have also proved the correctness of the particle transport
model in GASFLOW apart from the particle diffusion model itself.
The Greens function solutions of the advection diffusion problems accommodate a
host of benchmark test cases for validating CFD computer codes like GASFLOW. It
should be mentioned that the Greens function method can do much more than what it
does in the report. The Greens function method is a powerful mathematical tool and
being widely used in many other fields like neutron transport, wave propagation and
so on.
- 94 -
Acknowledgments
This work, supported by the European Communities under the contract of Association
between EURATOM and Forschungszentrum Karlsruhe, was carried out within the
framework of the European Fusion Development Agreement. The views and opinions
expressed herein do not necessarily reflect those of the European Commission. The
authors appreciate all the members, for supporting the work, of the GASFLOW group
of IKET, FZK.
- 95 -
References
[1] Beck, J.V., Cole, K.D., Haji-Sheikh, A., Litkouhi, B., Heat Conduction Using
Greens Functions, Hemisphere Publishing Corporation, 1992.
[2] Bronshtein, I.N., Semendyayev, K.A., Musiol, G., Muehlig, H., Handbook of
Mathematics, 4th edition, Springer-Verlag Berlin Heidelberg, 2004.
[3] Duffy, D.G., Greens Functions with Applications, Chapman & Hall/CRC, 2001.
[4] Green, George (1793-1841), An Essay on the Application of Mathematical
Analysis to the Theories of Electricity and Magnetism, Nottingham, 1828.
[5] Greenberg, M.D., Application of Greens Functions in Science and Engineering,
Prentice-Hall, Inc., Englewood Cliffs, New Jersey, 1971.
[6] James, J.F., A Student Guide to Fourier Transforms with Applications in Physics
and Engineering, second edition, Cambridge University Press, 2002.
[7] Kay, A., Advection-diffusion in reversing and oscillating flows: 1. the effect of a
single reversal, IMA Journal of Applied Mathematics (1990) 45, 115-137.
[8] Leij, F.J., Priesack, E., Schaap, M.G., Solute transport modeled with Greens
functions with application to persistent solute sources, Journal of Contaminant
Hydrology 41 (2001) 155-173.
[9] Leij, F.J., van Genuchten, M.T., Analytical modeling of non-aqueous phase
liquid dissolution with Greens functions, Transport in Porous Media 38: 141166, 2000.
[10] Lin, J.S., Hildemann, L.M., Analytical solutions of the atmospheric diffusion
equation with multiple sources and height-dependent wind speed and eddy
diffusivities, Atmospheric Environment Vol. 30, No. 2, pp. 239-254, 1996.
[11] Park, E., Zhan, H., Analytical solutions of contaminant transport from finite one-,
two-, and three-dimensional sources in a finite-thickness aquifer, Journal of
Contaminant Hydrology 53 (2001) 41-61.
[12] Roach, G.F., Greens Functions, second edition, Cambridge University Press,
1982.
[13] Stakgold, I, Greens Functions and Boundary Value Problems, second edition,
John Wiley & Sons, Inc., 1998.
[14] Travis, J.R., et al., GASFLOW-II: A Three Dimensional Finite-Volume Fluid
Dynamics Code for Calculating the Transport, Mixing and Combustion of
Flammable Gases and Aerosols in Geometrically Complex Domains, Vol. 1:
Theory and Computational Model, FZKA-5994, LA-13357-M, October 1998.
[15] Tychonov, A.N., Samarski, A.A., Partial Differential Equations of Mathematical
Physics, Volume II, Holden-Day, Inc., 1967.
[16] Xu, Z., Breitung, W., Travis, J.R., Necker G., Development and validation of
particle transport and diffusion models for dust explosion simulation in ITER,
Annual Meeting on Nuclear Technology, Karlsruhe, Germany, May 2007.
- 96 -