Basics of FEM: Prof. S. V. Kulkarni
Basics of FEM: Prof. S. V. Kulkarni
Basics of FEM: Prof. S. V. Kulkarni
Basics of FEM
Prof. S. V. Kulkarni
Department of Electrical Engineering
Indian Institute of Technology Bombay
Outline
Introduction
FEM Procedure
Discretisation of the Domain
Approximation of the Solution
Assembly of the System
Boundary Conditions and Solution of the Final System
Introduction
Computational Electromagnetics:
Finite difference method
Finite element method (FEM)
Boundary element method (BEM)
Method of moments (MoM)
Meshless methods: Particle-in-cell, Petrov Galerkin etc.
2 = 0
|
y = 0 , 0 <x <1 = 0
(0, 1)
on
(0, 0)
(1)
x
(1, 0)
=0
(1, 1)
Variational Procedure
E =
1
2
||2 d
(2)
Overview of Discretisation
(x,3 y3)
3e
e
1
(x,1 y1)
(x,2 y2)
2e
6
1
3
5
3
1
2
2 6
3
4
2
e
e
(3)
3e
e1 = a + bx1 + cy1
e2 = a + bx2 + cy2
(4)
e3 = a + bx3 + cy3
1
a 1 x1 y1 e1
e 1
1
b = 1 x2 y2 e2 (5)(x,1 y1)
c
1 x3 y3 e
3
We shall, henceforth, drop the on e s for simplicity and
understand that refers to the approximate solution.
(x,2 y2)
2e
1 x1 y1 e1
a
e = 1 x y b = 1 x y 1 x2 y2 e2
e
3
1 x3 y3
c
(6)
Ni (x , y )ei
(7)
i =1
where,
1
[(x2 y3 x3 y2 ) + (y2 y3 )x + (x3 x2 )y ]
2
1
[(x3 y1 x1 y3 ) + (y3 y1 )x + (x1 x3 )y ]
N2 (x , y ) =
2
1
[(x1 y2 x2 y1 ) + (y1 y2 )x + (x2 x1 )y ]
N3 (x , y ) =
2
N1 (x , y ) =
(8)
2D Linear Assembly (2 of 2)
and,
1 x1
1
1 x2
2
1 x3
y1
y2
y3
(9)
(10)
1 i = j
ij =
0 i j
(11)
where,
Functional Approximation (1 of 3)
Using equations 3 and 7 in equation 2, we can express the
functional in terms of the (unknown) nodal potentials as:
E =
e
E =
1
2
1
E =
2
1
2
Ni (x , y )ei
{Ni (x , y )}ei
e
de
2
de
(13)
i =1
(12)
i =1
3
de
(14)
Functional Approximation (2 of 3)
For any vector a, a a = |a |2
E =
1
2
E =
e
1
2
ei Ni (x , y ) Nj (x , y )ej de
e
i =1 j =1
(16)
Functional Approximation (3 of 3)
1
E =
2
3
e
i =1 j =1
Ni (x , y )
ei
Nj (x , y )de ej
(17)
Ni Nj de
aije
(18)
e
3
Ae
i =1 j =1
e
e
e
a13
a11 a12
e
e
e
a22
a23
aije = a21
e
e
e
a31
a32
(19)
a33
E e = e T Ae e
where e =
e1 e2 e3
and E =
(20)
E e.
Ae Example Calculations (1 of 2)
For example,
N1 N1 de
e
a11
=
(21)
N1 =
1
(x2 y3 x3 y2 ) + (y2 y3 )x + (x3 x2 )y
2
1
[(y2 y3 )x + (x3 x2 )y]
(22)
2
1
= N1 N1
de =
(y2 y3 )2 + (x3 x2 )2
42
e
a11
(23)
1
(y2 y3 )2 + (x3 x2 )2
4
(24)
Ae Example Calculations (2 of 2)
Similarly, we have,
1
[(y2 y3 )(y3 y1 ) + (x3 x2 )(x1 x3 )]
4
(25)
1
[(y2 y3 )(y1 y2 ) + (x3 x2 )(x2 x1 )]
= N1 N3 =
4
(26)
e
a12
= N1 N2 =
e
a13
e
e
e
e
e
e
e
e
1
2
3
4
5
6
7
8
1e
1
1
2
2
4
4
5
5
2e
5
2
6
3
8
5
9
6
3e
(27)
A19
A29
A39
..
.
A99
(28)
5
3
2 6
3
4
2
i = 3, 6, 7, 8, 9
e2
e3
e4
A22 = a22
+ a11
+ a11
e4
A23 = a12
= A32
..
.
3
2
A1i = Ai1 = 0
e2
A12 = a12
= A21
8
e1
e2
A11 = a11
+ a11
e1
e2
e3
A55 = a22
+ a33
+ a33
2
e6
e7
e8
+ a22
+ a11
+ a11
e1
e2
A51 = a21
+ a31
= A15
and so on
1
2
3
..
.
9
1
2
3
e2
a e1 + a e2
a12
0
11
11
a e2
e3
e2
e4
e4
a22 + a11 + a11 a12
21
e4
e4
0
a21
a22
..
..
.
.
0
0
0
0
(29)
..
e8
e7
a22 + a33
0
E =
1 T
A
2
(30)
= 1 2 3 4 5 6 7 8 9
(31)
E = 0
E
1
E
. 2 = 0
..
(32)
(33)
E
9
..
.
A91 1 + A92 2 + A93 3 + + A99 9 = 0
A = 0
(34)
(35)
1 = 2 = 3 = 0
7 = 8 = 9 = 10
This specifies six of the nine unknowns in equation 34.
The remaining three unknowns can be determined by
substituting these six values into any three of the nine
equations in (34) and solving the resulting set of linear
equations.
(36)
(37)
A33 31 = b31
(38)
Symmetric
1 = 0
2 = 0
3 = 0
A41 1 + A42 2 + A43 3 + + A49 9 = 0
A51 1 + A52 2 + A53 3 + + A59 9 = 0
A61 1 + A62 2 + A63 3 + + A69 9 = 0
7 = 10
8 = 10
9 = 10
A99
Unsymmetric
91 = b91
(39)
(40)