Академический Документы
Профессиональный Документы
Культура Документы
Method
NHET RA
23214701
GAMA TITIS ANURAGA 23214061
JATI PHARMADITA 23214053
Introduction
The finite difference method(FDM) is an
approximate method for solving partial
differential equations Including linear
and non-linear, time independent and
dependent problems.
Ref:
(Numerical
Electromagnetic Fields)
Analysis
of
(1)
(2)
Cont
In other to simplify the matter some form of grids
are adopted
a. Square
grid
c. Polar grids
b. Rectangular
grids
d. Triangular grids
Square
grid
Cont
Difference quotiens from taylor
1 u
1 2u
1
2
u x x u ( x) (x) 2 (x)
1! x
2! x
3!
1 u
1
u x x u ( x ) (x )
1! x
2!
3u
3
(
x
)
....(3
3
x
)
u
1 u
2
3
(
x
)
x
)
....(4
3
2
x
3!
x
)
2
Cont
Let
1 u
1 2u
1
2
uE uo hE 2 (hE )
1! x o
2! x o
3!
3u
3
(
h
)
....
3
E
x o
1 u
1 2u
1
2
uW uo hW 2 (hW )
1! x o
2! x o
3!
3u
3
(
h
)
....
3
W
x o
(5
)
(6
)
Cont
Similarly, if u is a function of variable
y, the two following expression are
3
obtain: 1 u
1 2u
1
u
2
3
u N uo hE 2 (hN )
3 (hN ) ....
1! x o
2! y o
3!
y o
1 u
1
uS uo hS
1! x o
2!
(7
)
3
2u
1
u
2
3
(8
(
h
)
(
h
)
....
S
S
3
y 2 o
3!
o
)
Cont
times
h 2 E u
h2 E
h 2 E
uE 2 uW 1 2 uo hE 2 hE
hW
h W
h W x o
3
u
2
hE h E hW hE
....
(9
3
3!
x o
Cont
hW
hE hW
hE
u
uE
uo
uW
hE hE
hW hE hW
x o hE hE hW
u
hS
hN hS
hN
uN
uo
uS
hN hS
hS hN hS
y o hN hN hS
(10
)
(11
)
If=
u
u N uS
2 hy
y o
uE uW
u
2hx
x o
(12
)
Cont
Sum
time Eq(5) and times Eq(6) and doing the
same procedure we can obtain
2u uE 2uo uW
2
x
h2 x
2u u N 2uo uS
2
y
h2 y
(13
)
Cont
Replace the second differential
equation into Eq(1) the discretization
equation at node O is:
=h
For the Laplace's Equation(14) reduces to
(14
)
(15
)
r,
x,
y
Cont
If and than
(ui 1, j 2ui , j ui 1, j )
h2
1 (ui 1, j ui 1, j )
1 (ui , j 1 2ui , j ui , j 1 )
0
2
2
ih
2h
(ih)
( )
(16
)
Discretization equation in
Cylindrical coordinates
Cylindrical coordinates(2D)
Cont
since
2u 2u
2 2 2 0
r
z
4ui 1, j ui , j 1 ui , j 1 6ui , j
h
(17
)
0
(18
)
(19
)
(20
)
(22
)
(23
)
u nj 1 u nj
t
n
n
n
1 u j 1 2u j u j 1
a
x 2
(24
)
C
t
a ( x ) 2
(25
)
n 1
j 1
n 1
n 1
n 1
1 u j 1 2u j u j 1
a
x 2
(1 2C )u
n 1
j
Cu
n 1
j 1
n
j
t
a ( x ) 2
(26
)
(27
)
Crank-Nicholson Eq.
(28
)
(29
)
(30
)
Where,
(31
)
THANK YOU