Professional Documents
Culture Documents
Introduction To The Finite Element Method (FEM) : Dr. J. Dean
Introduction To The Finite Element Method (FEM) : Dr. J. Dean
Method (FEM)
Lecture 3
First Order Two Dimensional
Shape Functions
Dr. J. Dean
The exact solution to the function φ(𝑋) has been approximated with a finite element in
Fig.1. It has been approximated in this instance with both a first and second order element.
We derived the shape functions for one dimensional first and second order elements earlier
in the course in order to predict φ at positions other than the nodes.
Figure 1: First and second order, one dimensional finite element discretisation of φ(X)
1
First Order Two Dimensional Shape Functions in Global Coordinates
For a 2-dimensional first order element the bi-linear interpolation function 𝑆 is:
𝑆𝑖 = 𝑎𝑖 + 𝑏𝑖 𝑥 + 𝑐𝑖 𝑦 (3)
Therefore:
𝑆1 = 𝑎1 + 𝑏1 𝑥 + 𝑐1 𝑦 (4)
𝑆2 = 𝑎2 + 𝑏2 𝑥 + 𝑐2 𝑦 (5)
𝑆3 = 𝑎3 + 𝑏3 𝑥 + 𝑐3 𝑦 (6)
We need to find therefore the values of 𝑎𝑖 , 𝑏𝑖 and 𝑐𝑖 in terms of the known 𝑥𝑖 and 𝑦𝑖 .
Recall that the shape function is equal to one at its node and zero at the other nodes such
that, at node 1:
𝑆1 (𝑥1 , 𝑦1 ) = 𝑎1 + 𝑏1 𝑥1 + 𝑐1 𝑦1 = 1 (7)
𝑆1 (𝑥2 , 𝑦2 ) = 𝑎1 + 𝑏1 𝑥2 + 𝑐1 𝑦2 = 0 (8)
𝑆1 (𝑥3 , 𝑦3 ) = 𝑎1 + 𝑏1 𝑥3 + 𝑐1 𝑦3 = 0 (9)
𝑦2 −𝑦3
𝑏1 = (11)
2𝐴
𝑥3 −𝑥2
𝑐1 = (12)
2𝐴
𝑦𝑗 −𝑦𝑘
𝑏𝑖 = (14)
2𝐴
𝑥𝑘 −𝑥𝑗
𝑐𝑖 = (15)
2𝐴
3
k
2
j
1
i
3
j
2
i
1
k
3
i
2
k
3
1
j
Therefore, if
𝑥𝑗 𝑦𝑘 −𝑥𝑘 𝑦𝑗
𝑎𝑖 = (16)
2𝐴
𝑦𝑗 −𝑦𝑘
𝑏𝑖 = (17)
2𝐴
𝑥𝑘 −𝑥𝑗
𝑐𝑖 = (18)
2𝐴
then
𝑥3 𝑦1 −𝑥1 𝑦3
𝑎2 = (19)
2𝐴
𝑦3 −𝑦1
𝑏2 = (20)
2𝐴
𝑥1 −𝑥3
𝑐2 = (21)
2𝐴
and
𝑥1 𝑦2 −𝑥2 𝑦1
𝑎3 = (22)
2𝐴
𝑦1 −𝑦2
𝑏3 = (23)
2𝐴
𝑥2 −𝑥1
𝑐3 = (24)
2𝐴
To give:
𝑥2 𝑦3 −𝑥3 𝑦2 𝑦2 −𝑦3 𝑥3 −𝑥2
𝑆1 = +� �𝑥 + � �𝑦 (25)
2𝐴 2𝐴 2𝐴
1 𝑥1 𝑦1
1 1
𝐴 = 2 det �1 𝑥2 𝑦2 � = [(𝑥2 𝑦3 − 𝑥3 𝑦2 ) + 𝑥1 (𝑦2 − 𝑦3 ) + 𝑦1 (𝑥3 − 𝑥2 )]
2
(29)
1 𝑥3 𝑦3
4
Using Eqn.28 and Eqn.29, find ∅(𝑒) (3.3,2.6)
i j k
x1 1.5 x2 1.3 x3 4.2
y1 2.0 y2 5.0 y3 4.0
φ1 15.0 φ2 12.0 φ3 11.0