Professional Documents
Culture Documents
Piecewise-Linear Approximation
u
Element
x
2
1
INTRODUCTION TO FEM cont.
• How to discretize the domain?
– Using simple shapes (element)
1 2 3 4
• Objectives
– Determine displacements, forces, and supporting reactions
– Will consider only static problem
2
1-D SYSTEM OF SPRINGS
F2
F4
1 2
2 6
3
4 5
1 5
3
4 F3
SPRING ELEMENT
• Element e
– Consist of Nodes i and j
ui , fi(e ) e
u j , fj(e )
– Spring constant k(e)
i j
– Force applied to the nodes: fi e , f j e
– Displacement ui and uj
– Elongation: ( e ) u j ui
– Force in the spring: P e k e e k e u j ui
e
P
e
– Relation b/w spring force and nodal forces: f j
– Equilibrium: fi e f j e 0 or fi f j
e e
3
SPRING ELEMENT cont.
• Spring Element e
– Relation between nodal forces and displacements
fi k
e
u u
e
i j
k e
e
k ui fi ( e )
e
(e)
f k u u k k u j f j
e e e
j i j
ui f ( e )
k ( e ) i ( e )
u j f j
[k ( e ) ]q ( e ) f ( e )
– Matrix notation:
k q f
– k: stiffness matrix
– q: vector of DOFs
– f: vector of element forces
[k ( e ) ]q( e ) f ( e )
4
SYSTEM OF SPRINGS
F
cont.
2
F4
2
• Element equation
1
2 6
3
and assembly 1
4 5
5
3
4 F3
k1 k1 0 0 0 u1 f1(1)
k k1 0 0 0 u2 f 2(1)
k1 k1 u1 f1(1) 1
0 0 u3 0
(1)
0 0 0
k
1 k1 u2 f 2 0 0 0 0 0 u4 0
0 0 0 0 0 u5 0
k1 k1 0 0 0 u1 f1(1)
k k k 0 k2 0 u2 f 2(1) f 2(2)
k2 k2 u2 f 2(2) 1 1 2
k 0 0 u3
k2 u4 f 4(2)
0 0 0 0
2
0 k2 0 k2 0 u4 f 4(2)
0 0 0 0 0 u5 0
9
5
SYSTEM OF SPRINGS cont.
k6 k6 u4 f 4(6)
k
6 k6 u5 f5(6)
k1 k4 k1 k4 0 0 u1 f1(1) f1(4)
k
k1 k2 k3 k3 k2 0 u2 f 2(1) f 2(2) f 2(3)
1
k4 k3 k 3 k5 k 4 k5 0 u3 f3(3) f3(4) f3(5)
0 k2 k5 k 2 k5 k 6 k6 u4 f 4(2 ) f 4(5) f 4(6)
0 0 0 k6 k6 u5 f5(6)
F2
F4
1 2
2 6
3
4 5
1 5
3
4 F3
11
f3 f3 f3 F3
(3) (4) (5)
6
SYSTEM OF SPRINGS cont.
• Assembled System of Matrix Equation:
k1 k4 k1 k4 0 0 u1 R1
k k1 k2 k3 k3 k2 0 u2 F2
1
k4 k3 k3 k5 k 4 k5 0 u3 F3
0 k2 k5 k 2 k5 k 6 k6 u4 F4
0 0 0 k6 k6 u5 R5
[K s ]{Qs } {Fs }
• [Ks] is square, symmetric, singular and positive semi-definite.
• When displacement is known, force is unknown
u1 u5 0 R1 and R5 are unknown reaction forces
13
k1 k4 k1 k4 0 0 u1 R1
k k1 k2 k3 k3 k2 0 u2 F2
1
k4 k3 k3 k5 k 4 k5 0 u3 F3
0 k2 k5 k 2 k5 k 6 k6 u4 F4
0 0 0 k6 k6 u5 R5
14
7
SYSTEM OF SPRINGS cont.
• Global Matrix Equation
k1 k2 k3 k3 k2 u2 F2
k k3 k4 k5 k5 u F
3 3 3
k2 k5 k2 k5 k6 u4 F4
[K ]{Q} {F}
UNIAXIAL BAR
• For general uniaxial bar, we need to divide the bar into a set
of elements and nodes
• Elements are connected by sharing a node
• Forces are applied at the nodes (distributed load must be
converted to the equivalent nodal forces)
• Assemble all elements in the same way with the system of
springs
p(x)
• Solve the matrix equation F x
for nodal displacements
• Calculate stress and strain Statically indeterminate
using nodal displacements p(x)
F
Statically determinate
16
8
1D BAR ELEMENT
L A
• Two-force member
• Only constant f1 f2
cross-section
• Element force is x
proportional to
relative displ fi(e ) Node i K=EA/L
Node j f j(e )
• First node: i ui uj
second code: j
• Force-displacement relation
(e)
AE
fi ( e ) (ui u j )
L Similar to the spring element
(e)
AE
f j( e ) fi ( e ) (u j ui )
L
17
Fi fi ( e ) fi ( e1) 0 fi ( e ) fi ( e1) Fi
– In general Fi
ie
fi(e)
Fi fi ( e ) Element e
fi(e+1)
Element e+1
e 1
Node i 18
9
1D BAR ELEMENT cont.
• Assembly
– Similar process as spring elements
– Replace all internal nodal forces with External Applied Nodal Force
– Obtain system of equations
[Ks]: Structural stiffness matrix
[K s ]{Q s } {Fs } {Qs} Vector of nodal DOFs
{Fs}: Vector of applied forces
• Property of [Ks]
– Square, symmetric, positive semi-definite, singular, non-negative
diagonal terms
• Applying boundary conditions
– Remove rigid-body motion be fixing DOFs
– Striking-the-nodes and striking-the-columns (Refer to sprint elements)
[K]: Global stiffness matrix
[K ]{Q} {F} {Q} Vector of unknown nodal DOFs
{F}: Vector of known applied forces
19
Pi AE 1 1 ui
(e)
AE
(e) (e)
20
10
EXAMPLE
• 3 elements and 4 nodes
K2
• At node 2:
F1 K1 Element 2
F2 f 2(1) f 2(2) f 2(3) Element 1 K3
Element 3
x
• Equation for each element:
f1(1) K1 K1 u1
(1) K2
f 2 K1 K1 u2 Element 2 N3 F3
N1 K1 u3
F1 N2
f 2(2) K 2 K 2 u2 u2
(2)
K 2 u3
Element 1 N4 F4
f3 K 2 u1 Element 3
K3 u4
f 2(3) K3 K3 u2
(3)
f 4 K3 K3 u4
21
EXAMPLE cont.
• How can we combine different element equations? (Assembly)
– First, prepare global matrix equation:
0 0 0 0 0 0
0 0 0 0 0 0 Displacement vector
0 0 0 0 0 0
Stiffness matrix
0 0
0 0 0 0
Applied force vector
f1(1) K1 K1 0 0 u1
(1)
f 2 K1 K1 0 0 u2
0 0 0 0 0 u3
0 0
0 0 0 u4
22
11
EXAMPLE cont.
– Write the equation of element 2:
0 0 0 0 0 u1
f (2) 0 K
2 K2 0 u2
(2)
2
f
3 0 K 2 K2 0 u3
0 0 0 0
0 u4
– Combine two equations of elements 1 and 2
f1(1) K1 K1 0 0 u1
(1) (2)
f 2 f 2 K1 K1 K 2 K2 0 u2
f3
(2)
0 K2 K2 0 u3
0 0 0 0
0 u4
23
EXAMPLE cont.
– Write the equation of element 3
0 0 0 0 0 u1
f (3) 0 K 0 K 3 u2
2
3
0 0 0 0 0 u3
f 4(3) 0 K 3
0 K 3 u4
– Combine with other two elements
F1 f1(1) K1 K1 0 0 u1
F (1)
K 3 u2
2 f2 f K1 ( K1 K 2 K 3 ) K 2
(2) (3)
f
2 2
F3 f3
(2)
0 K2 K2 0 u3
F4
0
f4
(3)
K3 0 K 3 u4
24
12
EXAMPLE cont.
• Substitute boundary conditions and solve for the unknown
displacements.
– Let K1 = 50 N/cm, K2 = 30 N/cm, K3 = 70 N/cm and f1 = 40 N.
F1 50 50 0 0 u1
F 50 (50 30 70) 30 70 u
2 2
F3 0 30 30 0 u3
F4 0 70 0
70 u4
EXAMPLE cont.
– Remove zero-displacement columns: u3 and u4.
40 50 50
0 50 150 u1
F3 0 30 u2
F4 0
70
– Remove unknown force rows: F3 and F4.
40 50 50 u1
0 50 150 u2
– Now, the matrix should not be singular. u1 1.2 cm
Solve for u1 and u2.
u2 0.4 cm
– Using u1 and u2, Solve for F3 and F4. F3 0u1 30u2 12 N
F4 0u1 70u2 28 N
26
13
EXAMPLE cont.
• Recover element data Element
force
f1(1) K1 K1 u1 50 50 1.2 40
(1)
f 2 K1 K1 u2 50 50 0.4 40
f 2(2) K 2 K 2 u2 30 30 0.4 12
(2)
f3 K 2 K 2 u3 30 30 0.0 12
K2 -12 N
F1 = 40 N K1
0.4 cm
-28 N
1.2 cm
K3
27
EXAMPLE
• Statically indeterminate bars A B C
• E = 100 GPa
RL F RR
• F = 10,000 N
• A1 = 10−4 m2, A2 = 2×10−4 m2 0.25 m 0.4 m
• Element stiffness matrices:
1011 104 1 1 4 4 u1
[k (1) ] 107
0.25 1 1 4 4 u2
1011 2 104 1 1 7 5 5 u2
[k (2) ] 1 1 10 5 5 u
0.4 3
• Assembly
4 4 0 u1 F1
10 4 9 5 u2 10,000
7
0 5 5 u3 F3
28
14
EXAMPLE cont.
• Applying BC
107 9u2 10,000 u2 1.11104 m
• Reaction forces
29
15
PLANE TRUSS ELEMENT cont.
• Element Equation (Local Coordinate System)
– Axial direction is the local x-axis.
– 2D element equation y
Local coordinates
v2 u2 f2x
f1x 1 0 1 0 u1
f
1 y EA 0 0 0 0 v1 y x
v1 2
u1 f
f 2 x L 1 0 1 0 u2
f 2 y
0 0 0 0 v2 1 Global coordinates
f1x
{f } [k ]{q} x
COORDINATE TRANSFORMATION
• Transform to the global coord. and assemble
• Transformation matrix
u1 cos f sin f 0 0 u1
v1 sin f cos f 0 0 v1 {q} [T]{q}
u2 0 0 cos f sin f u2
v2 0
0 sin f cos f v2
Transformation matrix
local global
32
16
COORDINATE TRANSFORMATION cont.
• The same transformation for force vector
f1x cos f sin f 0 0 f1x
f
1 y sin f cos f 0 0 f1 y
{f } [T]{f }
f2 x 0 0 cos f sin f f 2 x
f
f2 y
0 0 sin f cos f
2y
local global
33
34
17
ELEMENT STIFFNESS IN GLOBAL COORD. cont.
• Element stiffness matrix in global coordinates
[k ] T [k ]T
T
35
EXAMPLE N2
50 N
• Two-bar truss
– Diameter = 0.25 cm Element 1
– E = 30106 N/cm2 8 cm
Element 2
• Element 1 N1 N3
– In local coordinate
12 cm
{f (1) } [k (1) ]{q(1) }
f1x 1 0 1 0 u1 y
f
0 0 0 v1
v2 u2 f2x
1 y EA 0
f 2 x L 1 0 1 0 u2 v1
u1 K N2
f 2 y f1 f = 33.7o
0 0 0 0 v2 1
E = 30 x 106 N/cm2
N1
f1x A = pr2 = 0.049 cm2
L = 14.4 cm x
36
18
EXAMPLE cont.
• Element 1 cont.
– Element equation in the global coordinates
f (1)
1x
0.692 0.462 0.692 0.462 u1
0.462
f
(1)
0.308 0.462 0.308 v1 (1)
1y
102150 {f } [k ]{q }
(1) (1)
f
(1)
2x 0.692 0.462 0.692 0.462 u2
f
(1)
2y 0.462 0.308 0.462 0.308 v2
y f2x
• Element 2 N2 v2
f2 = –90o f2
f 2(2)
x
0 0 0 0 u2 E = 30 x 106 N/cm2 u2
(2) 0 1 A = pr2 = 0.049 cm2 K
f2 y 0 1 v2
(2) 184125 L = 8 cm
f3 x 0 0 0 0 u3
x
f3 y N3
(2)
0 1 0 1 v3 v3
f3x
u3 37
EXAMPLE cont.
• Assembly
– After transforming to the global coordinates Element 1
38
19
EXAMPLE cont.
• Boundary conditions (striking-the-columns)
F1x 70687 47193 70687 47193 0 0 0
F
1 y 47193 31462 47193 31462 0 0 0
50 70687 47193 70687 47193 0 0 u2
0 47193 31462 47193 215587 0 184125 v2
F3 x 0 0 0 0 0 0 0
F3 y 0 0 0 184125 0 184125 0
– Striking-the-rows
50 70687 47193 u2
0 47193 215587 v2
• Solve the global matrix equation
u2 8.28 104 cm
v2 1.81104 cm
39
EXAMPLE cont.
• Support reactions
F1x 70687 47193 50
F
1 y 47193 31462 8.28 10 33.39
4
N
F3 x 0 0 1.81104 0
F3 y 0
184125 33.39
– The reaction force is parallel to the element length (two-force member)
• Element force and stress (Element 1)
– Need to transform to the element local coordinates
u1 .832 .555 0 0 0 0
v .555 .832
1 0 0 0
0
u2 0 0 .832 .555 u2 5.89 104
v2 0 0
.555 .832 v2 6.11104
40
20
EXAMPLE cont.
• Element force and stress (Element 1) cont.
– Element force can only be calculated using local element equation
f1x 1 0 1 0 0 60.2
f 0
1 y EA 0 0 0 0
0
N
f 2 x L 1 0 1 0 5.89 104 60.2
f 2 y
0 0 0 0 6.11104 0
–60.2 N 60.2 N
1 2
41
L
u j ui
42
21
EXAMPLE
2
• Directly assembling global matrix equation
2 F
(applying BC in the element level)
45
• Element property & direction cosine table
Elem AE/L i -> j f l = cosf m = sinf 3 1
1
1 206×105 1 -> 3 -30 0.866 0.5
4 3
2 206×105 1 -> 2 90 0 1
3 206×105 1 -> 4 210 0.866 0.5
43
Y v2 u
• 3DOF per node 2 f2x
– u, v, and w w2
N2
– fx, fy, and fz v1 u fY K
1 fX
w1 fZ
• Element stiffness N1
matrix is 6x6 f1x
X
Z
• FE equation in the local coord.
fix AE 1 1 ui
{f } [k ]{q}
f jx L 1 1 u j
44
22
SPACE TRUSS ELEMENT cont.
• Relation between local and global displacements
– Each node has 3 DOFs (ui, vi, wi)
ui
v
i
ui l m n 0 0 0 wi {q} [T] {q}
(2 1) (2 6) (6 1)
u j 0 0 0 l m n u j
vj
w j
– Direction cosines
x j xi y j yi z j zi
l cos fx , m cos f y , n cos fz
L L L
x xi y j yi z j zi
2 2 2
L j
45
l 2 lm ln l 2 lm ln ui
m2 mn lm m 2 mn vi
EA n 2 ln mn n 2 wi
[k] [k ] [T]T [k ][T]
L l2 lm ln u j
sym m 2
mn v j
n2 w j
46
23
THERMAL STRESSES
• Temperature change causes thermal strain
L L L
1 u j
• For plane truss, transform to the global coord. 0 v j
{f } [k ]{q} {fT } l ui
m v
i
{fT } AET
[k ]{q} {f } {fT } l u j
m v j
24