Professional Documents
Culture Documents
AN INTRODUCTION TO THE
GREEN’S FUNCTION METHOD
Lu ( x ) − γ u ( x ) = f ( x ) . (C.1)
Lu ( x ) − γ u ( x ) = 0,
Lun ( x ) − γ n un ( x ) = 0.
Any function u(x), including the forcing function f(x), can be expanded in
terms of the eigenfunctions
u (x) = ∑ c u ( x),
n
n n (C.2a)
f (x) = ∑ d u ( x).
n
n n (C.2b)
273
274 APPENDIX C AN INTRODUCTION TO THE GREEN’S FUNCTION METHOD
dn = un ⋅ f = un f = ∫Ω
un* ( x ′ ) f ( x ′ ) dx ′.
The Ω just means over the domain of the integral. Substituting Equation C.2a
and C.2b back into Equation C.1 gives
L ∑ c u ( x) − γ ∑ c u ( x) = ∑ d u ( x),
n
n n
n
n n
n
n n
∑ c (γ
n
n n − γ ) un ( x ) = ∑ d u ( x).
n
n n
Since the un(x) are linearly independent, we can write, for each n,
dn
cn = . (C.3)
γn −γ
Unlike the γn, which are solutions of the homogeneous equation, γ is a param-
eter determined by the forcing function in the inhomogeneous Equation C.1.
Going back to Equation C.2a, we can write
⎧ dn ⎫
u (x) = ∑ ⎨⎩ γ
n
⎬ un ( x )
n −γ ⎭
(C.4)
∫ un* ( x ′ ) f ( x ′ ) dx ′
= ∑n
Ω
γn −γ
un ( x ).
un ( x ) un* ( x ′ ) f ( x ′ )
u (x) = ∫∑
Ω
n
γn −γ
dx ′
(C.5)
= ∫Ω
G ( x, x ′ ) f ( x ′ ) dx ′.
un ( x ) un* ( x ′ )
G ( x, x ′ ) = ∑ n
γn −γ
. (C.6)
∫ Ω
un* ( x ) f ( x ) dx = 0.
APPENDIX C AN INTRODUCTION TO THE GREEN’S FUNCTION METHOD 275
Notice that if the γn were complex, we would not have to face that problem.
In fact, sometimes a very small positive imaginary part is added to each eigen-
function to make it mathematically tractable. In any case, we will simply set
this point aside for the purpose of this discussion.
One last note: Equation C.6 is the Green’s function, but it is very hard to
digest its meaning. It is often much easier to use the following pair of
equations:
⎧ dn ⎫
u (x) = ∑ ⎨⎩ γ
n
⎬ un ( x ),
n −γ ⎭
(C.7a)
dn = ∫
Ω
un* ( x ′ ) f ( x ′ ) dx ′. (C.7b)
∂2u ( x)
+ k 2 u ( x ) = 0, u (0 ) = u ( L) = 0,
∂x 2
where L is the length of the cavity. The eigenfunctions are the standing E fields
π nx ⎞
un ( x ) = sin ⎛⎜
⎝ L ⎟⎠
.
Standing E field
Metal Metal
Source term
0 1m
FIGURE C.1 A one-dimensional electric cavity with a dipole antenna in the middle.
276 APPENDIX C AN INTRODUCTION TO THE GREEN’S FUNCTION METHOD
πn 2
γ n = kn2 = ⎛⎜ ⎞⎟ .
⎝ L⎠
f ( x, ω ) = δ ( x − x0 ) e − iϖ in t .
ω
k= ,
c0
πn 2
γ n = ⎛⎜ ⎞⎟ . (C.9)
⎝ L⎠
So, γ will lie between the first and second eigenvalues. This is important
because of the term 1/(γn – γ) in Equation C.7b. The contributions of the third
and higher eigenfunctions will diminish as their corresponding values of γn
move further away from γ in Equation C.8. We define the parameter as:
1 1
an = = 2 2 . (C.10)
γ n − γ π n − 1.137
We take the absolute value because it is the distance that matters. The first
few values are:
Now, we turn our attention to the calculation of the dn. Since the spatial part
of the forcing function is a delta function, the inner product terms are particu-
larly easy:
APPENDIX C AN INTRODUCTION TO THE GREEN’S FUNCTION METHOD 277
Green
1 1
f2
f1 0 0
−1 −1
0 0.5 1 0 0.5 1
1 1
f3
f4
0 0
−1 −1
0 0.5 1 0 0.5 1
x (m) x (m)
(a)
1
u(x)
−1
0 0.5 1
x (m)
(b)
FIGURE C.2 (a) The first four eigenfunctions. (b) The solution calculated by Equation
C.11 for a forcing function of 160 MHz located at x0 = 0.4 m.
1m
d1 = ∫
0
sin (π x ) δ ( x − 0.4 ) dx = sin (π 0.4 ) = 0.95,
1m
d2 = ∫ 0
sin ( 2π x ) δ ( x − 0.4 ) dx = sin ( 2π 0.4 ) = 0.59,
1m
d3 = ∫ 0
sin ( 3π x ) δ ( x − 0.4 ) dx = sin ( 3π 0.4 ) = −0.59,
1m
d4 = ∫ 0
sin ( 4π x ) δ ( x − 0.4 ) dx = sin ( 4π 0.4 ) = −0.95.
∑d
an
u (x) ≅ sin ( nπ x ). (C.11)
n=1 n
f in = 290 MHz
u(x)
0
−1
0 0.5 1
x (m)
FIGURE C.3 The solution calculated by Equation C.11 for a forcing function of
290 MHz located at x0 = 0.4 m.
−3 Fdtd−C
× 10
1 0.01
fin = 160 MHz
(u(x))
f(t)
0 0
−1 −0.01
0 10 20 30 0 0.5 1
Time (ps) x (m)
(a) (b)
−3
× 10
1 0.01
fin = 160 MHz
(u(x))
f(t)
0 0
−1 −0.01
0 20 40 60 0 0.5 1
Time (ps) x (m)
(c) (d)
FIGURE C.4 An FDTD simulation of the Green’s function analysis of Figure C.2.
The forcing function is an electric dipole located at 0.4 m. The dipole oscillates at
160 MHz within a Gaussian envelope. (a) The time-domain forcing function after 35 ps.
(b) The E field (solid line) and the H field (dashed line) after 35 ps. (c) The time-domain
forcing function after 55 ps. (d) The E field (solid line) and the H field (dashed line)
after 55 ps.
−3 Fdtd−C
× 10
1 0.01
fin = 290 MHz
(u(x))
f(t)
0 0
−1 −0.01
0 10 20 30 0 0.5 1
Time (ps) x (m)
(a) (b)
−3
× 10
1 f = 290 MHz 0.01
in
(u(x))
f(t)
0 0
−1 −0.01
0 20 40 60 0 0.5 1
Time (ps) x (m)
(c) (d)
FIGURE C.5 An FDTD simulation of the Green’s function analysis of Figure C.3.
The forcing function is an electric dipole located at 0.4 m. The dipole oscillates at
290 MHz within a Gaussian envelope. (a) The time-domain forcing function after 35 ps.
(b) The E field (solid line) and the H field (dashed line) after 35 ps. (c) The time-domain
forcing function after 55 ps. (d) The E field (solid line) and the H field (dashed line)
after 55 ps.
EXERCISES
C.1 Using the programs Green.m and Fdtd_C.m, repeat the electromagnetic
example at 0.4 m but for 340 MHz.
C.2 Using the programs Green.m and Fdtd_C.m, repeat the electromagnetic
example at 0.16 m with a frequency of 340 MHz.
REFERENCES
1. J. Mathews and R. L. Walker, Mathematical Methods of Physics, 2nd ed., Menlo Park,
CA: Benjamin/Cummings Publishing, 1970.
2. D. M. Sullivan, Electromagnetic Simulation Using the FDTD Method, New York:
IEEE Press, 2000.