Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Lecture Notes on Finite Element Methods - Electromagnetism | PHY 712, Study notes of Electromagnetism and Electromagnetic Fields Theory

Material Type: Notes; Professor: Holzwarth; Class: Electromagnetism; Subject: Physics; University: Wake Forest University; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 08/18/2009

koofers-user-7
koofers-user-7 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
February 21, 2000
Notes for Lecture #8
Finite element method
The nite element approach is based on an expansion of the unknown electrostatic potential
in terms of known functions of xed shape
f
ij
(
x; y
)
g
.In two dimensions this expansion
takes the form:
4
"
0
(
x; y
)=
X
ij
ij
ij
(
x; y
)
;
(1)
where
ij
represents the amplitude associated with the shape function
ij
(
x; y
). The ampli-
tude values can be determined for a given solution of the Poisson equation:
r
2
(4
"
0
(
x; y
)) = 4

(
x; y
)
;
(2)
by solving a linear algebra problem of the form
X
ij
M
kl;ij
ij
=
G
kl
;
(3)
where
M
kl;ij
Z
dx
Z
dy
r
kl
(
x; y
)
r
ij
(
x; y
)and
G
kl
Z
dx
Z
dy
kl
(
x; y
)4

(
x; y
)
:
(4)
In obtaining this result, wehave assumed that the boundary values vanish. In order for this
result to be useful, we need to be able evaluate the integrals for
M
kl;ij
and for
G
kl
. In the
latter case, we need to know the form of the charge density. The form of
M
kl;ij
only depends
upon the form of the shap e functions. If we take these functions to be:
ij
(
x; y
)
X
i
(
x
)
Y
j
(
y
)
;
(5)
where
X
i
(
x
)
(
1
j
x
x
i
j
h
for
x
i
h
x
x
i
+
h
0 otherwise
;
(6)
and
Y
j
(
y
) has a similar expression in the variable
y
. Then
M
kl;ij
Z
dx
Z
dy
"
d
X
k
(
x
)
dx
d
X
i
(
x
)
dx
Y
l
(
y
)
Y
j
(
y
)+
X
k
(
x
)
X
i
(
x
)
d
Y
l
(
y
)
dy
d
Y
j
(
y
)
dy
#
:
(7)
There are four types of non-trivial contributions to these values:
Z
x
i
+
h
x
i
h
(
X
i
(
x
))
2
dx
=
h
Z
1
1
(1
j
u
j
)
2
du
=
2
h
3
;
(8)
Z
x
i
+
h
x
i
h
(
X
i
(
x
)
X
i
+1
(
x
))
dx
=
h
Z
1
0
(1
u
)
udu
=
h
6
;
(9)
pf2

Partial preview of the text

Download Lecture Notes on Finite Element Methods - Electromagnetism | PHY 712 and more Study notes Electromagnetism and Electromagnetic Fields Theory in PDF only on Docsity!

February 21, 2000

Notes for Lecture

Finite element metho d

The nite element approach is based on an expansion of the unknown electrostatic p otential in terms of known functions of xed shap e fij (x; y )g. In two dimensions this expansion takes the form: 4  " 0 (x; y ) =

X

ij

ij ij (x;^ y^ );^ (1)

where (^) ij represents the amplitude asso ciated with the shap e function ij (x; y ). The ampli- tude values can b e determined for a given solution of the Poisson equation:

r^2 (4 " 0 (x; y )) = 4  (x; y ); (2)

by solving a linear algebra problem of the form

X

ij

Mk l ;ij ij = Gk l ; (3)

where

Mk l ;ij 

Z

dx

Z

dy rk l (x; y )  rij (x; y ) and Gk l 

Z

dx

Z

dy k l (x; y ) 4  (x; y ): (4)

In obtaining this result, we have assumed that the b oundary values vanish. In order for this result to b e useful, we need to b e able evaluate the integrals for Mk l ;ij and for Gk l. In the latter case, we need to know the form of the charge density. The form of Mk l ;ij only dep ends up on the form of the shap e functions. If we take these functions to b e:

ij (x; y )  Xi (x)Yj (y ); (5)

where

Xi (x) 

1 jx hxi^ j

for xi h  x  xi + h 0 otherwise

and Yj (y ) has a similar expression in the variable y. Then

Mk l ;ij 

Z

dx

Z

dy

dXk (x) dx

dXi (x) dx

Yl (y )Yj (y ) + Xk (x)Xi (x)

dYl (y ) dy

dYj (y ) dy

There are four typ es of non-trivial contributions to these values:

Z xi +h

xi h

(Xi (x)) 2 dx = h

Z 1

1

(1 juj)^2 du =

2 h 3

Z xi +h

xi h

(Xi (x)Xi+1 (x)) dx = h

Z 1

0

(1 u)udu =

h 6

Z xi +h

xi h

dXi (x) dx

dx =

h

Z 1

1

du =

h

and Z

xi +h xi h

dXi (x) dx

dXi+1 (x) dx

dx =

h

Z 1

0

du =

h

These basic ingredients lead to the following distinct values for the matrix:

Mk l ;ij =

8 3 for^ k^ =^ i^ and^ l^ =^ j 13 for k i =  1 and/or l j =  1 0 otherwise

For problems in which the b oundary values are 0, Eq. 3 then can b e used to nd all of the interior amplitudes (^) ij.

In order to use this technique to solve the b oundary value problem discussed in Lecture Notes #5, we have to make one mo di cation. The b oundary value of (x; a) = V 0 is not consistent with the derivation of Eq. (4), however, since we are only interested in the region 0  y  a, we can extend our numerical analysis to the region 0  y  a + h and require (x; a + h) = 0 in addition to (x; a) = V 0. Using the same indexing as in Lecture Notes #5, this means that 1 = 2 = 3 = V 0. The nite element approach for this problem thus can b e put into the matrix form for analysis by Maple:

BB

BB

BB

BB

BB

BB

B

CC

CC

CC

CC

CC

CC

C

A

BB

BB

BB

BB

BB

BB

B

5 6 8 9 11 12

CC

CC

CC

CC

CC

CC

C

A

BB

BB

BB

BB

BB

BB

B

CC

CC

CC

CC

CC

CC

C

A

V 0 : (13)

The solution to these equations and the exact results are found to b e:

BB

BB

BB

BB

BB

BB

B@

5 6 8 9 11 12

CC

CC

CC

CC

CC

CC

CA

BB

BB

BB

BB

BB

BB

B@

CC

CC

CC

CC

CC

CC

CA

V 0 ; (exact) =

BB

BB

BB

BB

BB

BB

B@

CC

CC

CC

CC

CC

CC

CA

V 0 : (14)

We see that the results are similar to those obtained using the nite di erence approach.