Chapter2 2015
Chapter2 2015
1D System of Springs
Textbook: 2.1, 2.2, 2.5, 2.7
F4
1
2
3
F3
NODE
ELEMENT
3
SPRING ELEMENT
Element e
Consist of Nodes i and j
ui , fi(e )
u j , f j(e )
j
Displacement ui and uj
Elongation: (e) u j ui
Force in the spring: P e k e e k e u j ui
Relation b/w spring force and nodal forces: fj e P e
Equilibrium: fi e f j e 0
or
fi f j
e
u u
f k u u
fi k
e
e
k e
e
k
e
k ui fi(e)
e u f (e)
j
k j
ui fi(e)
k u f (e)
j j
(e)
Matrix notation:
k: stiffness matrix
q: vector of DOFs
f: vector of element forces
5
Observation
For given nodal displacements, nodal forces can be calculated by
SYSTEM OF SPRINGS
cont.
F
2
Element equation
and assembly
F4
1
2
3
F3
k1 k1
k
k1
1
0
0
0
0
0
0
k1 k1 u1 f1(1)
k
(1)
1 k1 u2 f2
k2
k
2
0 0 0 u1 f1(1)
0 0 0 u2 f2(1)
0 0 0 u3 0
0 0 0 u4 0
0 0 0 u5 0
k1
k1
k k k
2
1 1
0
0
k 2
0
0
0
k 2 u2 f2(2)
k 2 u4 f4(2)
0 k 2
0 0
0 k2
0 0
0 u1 f1(1)
0 u2 f2(1) f2(2)
0 u3 0
0 u4 f4(2)
0 u5 0
7
k 3 u2 f2(3)
k 3 u3 f3(3)
k4
k
4
k 4 u1 f1(4)
k 4 u3 f3(4)
k5
k
5
k 5 u3 f3(5)
k 5 u4 f4(5)
k1 k 4
k
1
k 4
0
0
k1
k1
k k k k
3
2
1 1
0
k 3
k 2
0
0
0
k1 k 4
k
1
k 4
0
0
0
k 3
k3
0
0
0
k 2
0
k2
0
0 u1
f1(1)
(1)
(2)
(3)
0 u2 f2 f2 f2
0 u3
f3(3)
(2)
0 u4
f4
0 u5
0
k1
k1 k 2 k 3
k 3
k 4
k 3
k3 k 4
0
k 2
0
k 2
0
0
0
k2
0
0 u1 f1(1) f1( 4)
0 u3 f3(3) f3(4)
0 u4
f4(2)
0 u5
0
0
k 2
k 5
k2 k5
0
0 u1 f1(1) f1( 4)
0 u4 f4(2) f4(5)
0 u5
0
k1
k1 k 2 k 3
k 3
k 2
0
k 4
k 3
k3 k 4 k5
k 5
0
k 6 u4 f4(6)
k 6 u5 f5(6)
k1 k 4
k
1
k 4
0
0
k1
k1 k 2 k 3
k 3
k 2
0
k 4
k 3
k3 k5 k 4
k 5
0
F2
F4
1
2
0 u1 f1(1) f1(4 )
k 6 u5
f5( 6)
0
k 2
k 5
k2 k5 k6
k 6
3
F3
Fi fi
F2
2
e 1
ie
F4
Fi fi , i 1,...ND
e
3
4
F3
f3(5)
f3(3)
e 1
f3(4)
3
F3
f1(1) f1(4) R1
(1) (2) (3)
f2 f2 f2 F2
(3)
( 4)
(5)
f3 f3 f3 F3
f (2) f (5) f (6) F
4
4
4
4
(6)
f5
R5
10
k 4
0
0
k1
k 4
k1 k 2 k 3
k 3
k 3
k3 k5 k 4
k 2
k 5
k 2
0
k 5
0
k2 k5 k6
k 6
0 u1 R1
0 u2 F2
0 u3 F3
k 6 u4 F4
k 6 u5 R5
[K s ]{Q s } {Fs }
11
k 4
0
0
k1
k1 k 2 k 3
k 3
k 2
0
k 4
k 3
k3 k5 k 4
k 5
0
0
k 2
k 5
k2 k5 k6
k 6
0 u1 R1
0 u2 F2
0 u3 F3
k 6 u4 F4
k 6 u5 R5
12
k 3
k 2
k 3
k3 k 4 k5
k 5
k 2
u2 F2
u F
k 5
3 3
k 2 k 5 k 6 u4 F4
[K ]{Q } {F}
Solution
{Q } [K]1 {F}
u u
j
13
K13 D1 F1
K 23 D2 F2
K 33 D3 F3
K
0 K 23 D2 F2 K 22 2
21
K 31 0 K 33 D3 F3 K 32 2
0 1 0 D
2
K 31 0 K 33 D3 F3 K 32 2
15
Homework
Four rigid bodies, 1, 2, 3, and 4, are connected by four springs as shown
in the figure. A horizontal force of 1,000 N is applied on Body 1 as shown
in the figure. Using finite element analysis, (a) find the displacements of
the two bodies (1 and 3), (2) find the element force (tensile/compressive)
of spring 1, and (3) the reaction force at the right wall (Body 2). Assume
the bodies can undergo only translation in the horizontal direction. The
spring constants (N/mm) are k1 = 400, k2 = 500, k3 = 500, and k4 = 300.
1
3
F1
2
4
1
x
16
Bar Element
Textbook: 2.4, 2.6, 2.10
17
18
Bars
Bars are structural members that can only carry axial loads.
This is usually the case when the end connections are hinged
19
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)
F
Solve the matrix equation
x
for nodal displacements
Statically indeterminate
Calculate stress and strain
p(x)
using nodal displacements
F
Statically determinate
20
1D BAR ELEMENT
L
Two-force member
f1
Only constant
cross-section
x
Element force is
proportional to
fi(e ) Node i
K=EA/L
relative displ
First node: i
ui
second code: j
Force-displacement relation
f2
Node j
f j(e )
uj
(e)
(e)
i
AE
(ui u j )
L
(e)
AE
f j(e) fi(e)
(u j ui )
L
21
Element equation
fi(e) AE (e) 1 1 ui
(e)
fj L 1 1 u j
Node j
K=EA/L
ui
f j(e )
uj
Element forces
After solving nodal displacements, the element force can be calculated
(e)
AE
(e)
u j ui fj(e)
Element stress
P(e) AE
(e)
P L
(e)
1 1 ui
1 1 u
P(e)
A (e)
22
EXAMPLE
3 elements and 4 nodes
At node 2:
K2
Element 2
K1
F1
Element 1
K3
Element 3
K2
Element 2 N3
K2
K 2
K 2 u2
K 2 u3
f2(3) K 3
(3)
f4 K 3
K 3 u2
K 3 u4
(2)
2
(2)
3
F1
N1
K1
N2
Element 1
u1
F3
u3
u2
N4
Element 3
K3
F4
u4
23
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
0
0
0
0
0 0
0 0
0 0
0 0
Displacement vector
Stiffness matrix
Applied force vector
f1(1) K1 K1
(1)
f2 K1 K1
0
0 0
0 0
0
0 0 u1
0 0 u2
0 0 u3
0 0 u4
K2
Element 2 N3
F1
N1
K1
Element 1
u1
N2
F3
u3
u2
N4
Element 3
K3
F4
u4
24
EXAMPLE cont.
Write the equation of element 2:
0 0 0
f (2) 0 K
2
2
(2)
f
0
K
2
3
0 0 0
0
K 2
K2
0
K2
Element 2 N3
0 u1
0 u2
0 u3
0 u4
F1
N1
K1
N2
Element 1
u1
F3
u3
u2
N4
F4
Element 3
K3
u4
f1(1) K1
K1
(1) (2)
f2 f2 K1 K1 K 2
(2)
K 2
f3
0
0 0
0
0
K 2
K2
0
0 u1
0 u2
0 u3
0 u4
25
EXAMPLE cont.
Write the equation of element 3
0 0 0
f (3) 0 K
2
3
0 0 0
f4(3) 0 K 3
0 0 u1
0 K 3 u2
0 0 u3
0 K 3 u4
K2
Element 2 N3
F1
N1
K1
Element 1
u1
N2
F3
u3
u2
N4
Element 3
K3
F4
u4
K1
0
K1
f1(1)
F1
F (1) (2) (3) K (K K K ) K
2 f2 f2 f2 1
1
2
3
2
(2)
K2
K 2
f3
F3
0
F4
0
0
K 3
f4(3)
0 u1
K 3 u2
0 u3
K 3 u4
26
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.
0
0 u1
50
F1 50
F 50 (50 30 70) 30 70 u
2
2
30
0 u3
30
F3 0
F4 0
0
70 u4
70
Knowns: F1, F2, u3, and u4
Unknowns: F3, F4, u1, and u2
0
0 u1
50
40 50
0 50 (50 30 70) 30 70 u
2
30
0 0
30
F3 0
0
70 0
70
F4 0
27
EXAMPLE cont.
Remove zero-displacement columns: u3 and u4.
40 50
0 50
F3 0
F4 0
50
150 u1
30 u2
70
40 50 50 u1
0 50 150 u2
Now, the matrix should not be singular.
Solve for u1 and u2.
u1 1.2 cm
u2 0.4 cm
F3 0u1 30u2 12 N
F4 0u1 70u2 28 N
28
EXAMPLE cont.
Recover element data
Element
force
f1(1) K1 K1 u1 50 50 1.2 40
(1)
f2 K1 K1 u2 50 50 0.4 40
f2(2) K 2
(2)
f3 K 2
K 2 u2 30 30 0.4 12
K 2 u3 30 30 0.0 12
f2(3) K 3
(3)
f4 K 3
K 3 u2 70 70 0.4 28
K 3 u4 70 70 0.0 28
-12 N
K2
F1 = 40 N
K1
0.4 cm
-28 N
1.2 cm
K3
29
EXAMPLE
1011 10 4
0.25
Assembly
C
F
0.25 m
RR
0.4 m
4 u1
1 1
7 4
1 1 10 4 4 u
1011 2 10 4
[k ]
0.4
(2)
5 u2
1 1
7 5
10
1 1
5 5 u
4 4 0 u1 F1
10 4 9 5 u2 10,000
0 5 5 u3 F3
7
30
EXAMPLE cont.
Applying BC
107 9u2 10,000 u2 1.11 104 m
AE
uj ui
L
Reaction forces
RL P(1) 4,444N
RR P(2) 5,556N
31
k2
3
k3
k1
k4
1
v2
u1 u1 cos v1 sin
u2 u2 cos v 2 sin
u2
u1 cos
2
u2 0
v1
0
cos
d Td
k=AE/L
y
sin
0
u1
0 v1
sin u2
v 2
x'
u1
fx1 f1cos
fy 1 f1sin
fx1 cos
f
y 1 sin
f x 2 0
fy 2 0
fx 2 f2 cos
fy 1 f2 sin
0
0 f1
cos f2
sin
r T Tr
33
Coordinate Transformation
In element coordinate system x'y'
k
k
k u1 f1
k u2 f2
kd r
kd r
kTd r
k=AE/L
v1
x'
u1
x
T TkTd T Tr r
T TkT d r
k T TkT
Element stiffness
in the global coordinate
34
Stiffness of 2D Truss
k1
v2
u2
v3
k2
u3
k3
c2
cs c 2 cs
s 2 cs s 2
AE cs
v1
v4
k
y
1
u1
u4
L c 2 cs c 2
cs
4
2
2
cs
s
cs
s
x
c cos
For element 1: cos = 0, sin = 1
where
s sin
For element 2: cos = 1, sin = 0
k4
35
Coordinate Transformation in 3D
The transformation equation in 3-D are same as before
k T TkT
The stiffness matrix now becomes a 6x6 matrix and has
displacement DOF u, v and w
l m1 n1 0 0 0
T1
0 0 0 l1 m1 n1
Direction cosines between axes
x
x'
l1
m1
n2
y'
l2
m2
n2
z'
l3
m3
n3
36
EXAMPLE
Two-bar truss
N2
50 N
Element 1
Diameter = 0.25 cm
E = 30106 N/cm2
8 cm
Element 2
Element 1
Connectivity: N1 N2
In local coordinate
N1
N3
12 cm
f2y
0
0
0
0
0
1 0 u1
0 0 v1
1 0 u2
0 0 v 2
v2
v1
f1x
u1 K
N1
u2
f2x
N2
1 = 33.7o
1
E = 30 x 106 N/cm2
A = r2 = 0.049 cm2
L = 14.4 cm x
37
EXAMPLE cont.
Element 1 cont.
Element equation in the global coordinates
f1x(1)
0.462 0.692 0.462 u1
0.692
(1)
0.462 0.308 0.462 0.308 v
f1y
1 {f (1) } [k (1) ]{q (1) }
(1) 102150
0.692 0.462 0.692
0.462 u2
f2x
(1)
f2y
0.462 0.308 0.462 0.308 v 2
f2x
y
Element 2
Connectivity: N2 N3
(2)
f2x
0 0
(2)
0 1
f2y
(2) 184125
0 0
f3 x
f3(2)
0 1
y
0 0 u2
0 1 v 2
0 0 u3
0 1 v 3
N2
2 =
E = 30 x 106 N/cm2
A = r2 = 0.049 cm2 K
L = 8 cm
90o
u2
N3
f3x
v2
v3
u3
38
EXAMPLE cont.
Assembly
After transforming to the global coordinates
Element 1
F1x 70687
47193 70687 47193
F
1y 47193 31462 47193 31462
F2x 70687 47193 70687
47193
F2y 47193 31462 47193 215587
F 0
0
0
0
3x
184125
0
0
F3y 0
u1
v1
u2
0 184125 v 2
u3
0
0
0 184125 v 3
0
0
0
0
0
0
Element 2
Boundary Conditions
Nodes 1 and 3 are fixed.
Node 2 has known applied forces: F2x = 50 N, F2y = 0 N
39
EXAMPLE cont.
Boundary conditions (striking-the-columns)
F1x 70687
47193
F
1y 47193 31462
50 70687 47193
0 47193 31462
F3x 0
0
0
F3y 0
70687
47193 0
47193
31462 0
70687
47193 0
47193
215587 0
0
0
184125 0
0
0
0
u
0
2
184125 v 2
0
0
184125 0
Striking-the-rows
50
0
70687 47193 u2
47193 215587 v 2
40
EXAMPLE cont.
Support reactions
F1x 70687 47193
50
F
4
1y 47193 31462 8.28 10 33.39
N
4
F
0
0
0
1.81
10
3x
F3y 0
184125
33.39
The reaction force is parallel to the element length (two-force member)
v .555 .832
0
0 0
0
1
4
u
0
0
.832
.555
2
u2 5.89 10
v 2 0
0
.555 .832 v 2 6.11 10 4
41
EXAMPLE cont.
Element force and stress (Element 1) cont.
Element force can only be calculated using local element equation
f1x
1
f
1y EA 0
f2x L 1
0
f2y
0 1 0
0
60.2
0 0 0
0
0
N
0 1 0 5.89 10 4 60.2
0 0 0 6.11 10 4 0
60.2 N
60.2 N
1
2
42
EXAMPLE
-30
90
210
m = sin
0.5
1
0.5
45
3
v1
l2
lm
(1)
2
EA lm m
k (1)
2
lm
L l
2
lm m
u3
v3
lm u1
lm m2 v1
l2
lm u3
lm m2 v 3
u1
l2
v1
(1)
2
lm u1
EA l
k
2
L lm m v1
(1)
43
EXAMPLE
3
z
Space truss
Node
1
2
3
4
Elem
x
0
0
0
1
EA/L
y
0
1
1
0
i -> j
z
0
1
1
1
n
1/ 2
1/ 2
0
0
35 2 105 1 -> 4
35 2 10 2 -> 4
1/ 2
1/ 2
35 2 105 3 -> 4
1/ 2
1/ 2
l2
EA
[k]
E3
E2
E1
10,000N
x
u
ln i
m2 mn lm m2 mn v i
n2 ln mn n2 w i
l2
lm
ln u j
sym
m2
mn v j
n2 w
j
lm
ln
l2
lm
44
Thermal Load
Temperature change causes thermal strain
L
No stress, no strain
(a) at T = Tref
+ T
E
P = AE
T AE
AET
L
L
(e)
} [k
(e)
]{q } { f
(e)
(e)
T
[k ]{q } { f } { fT }
l ui
m v
i
{ fT } AET
u
l j
m v j
Homework
Use FEM to determine the axial force P in each portion, AB and BC, of the uniaxial
bar. What are the support reactions? Assume: E = 100 GPa, area of cross
sections of the two portions AB and BC are, respectively, 104 m2 and 2104 m2
and F = 10,000 N. The force F is applied at the cross section at B.
B
C
A
RL
0.25 m
RR
F
0.4 m
Use FEM to solve the plane truss shown below. Assume AE = 106 N, L = 1 m.
Determine the nodal displacements, forces in each element and the support
1
reactions.
y
x
L
2
2
L
4
3
10,000 N
47
Beam Element
Textbook: 2.3
48
BEAM THEORY
Euler-Bernoulli Beam Theory
y
Neutralaxis
Planeofloading
x
z
A
49
u(x,y) u0 (x) y
dv
dx
xx
u du0
d2 v
y 2
x
dx
dx
dv
dx
y(dv/dx)
Neutralaxis
x
L
=dv/dx
y
v(x)
50
u du0
d2 v
y 2
x
dx
dx
xx
Strain along the beam axis: 0 du0 / dx
Strain xx varies linearly w.r.t. y; Strain yy = 0
Curvature: d2 v / dx 2
Can assume plane stress in z-dir
basically uniaxial status
xx E xx E0 Ey
d2 v
dx 2
P EA 0
M EI
d2 v
M y xx dA E0 ydA E 2 y 2 dA
dx A
A
A
d2 v
dx 2
51
d2 v
dx 2
Sign convention
+M
+Vy
y
x
+P
+M
+P
+Vy
x
F1
C2
F2
C3
F3
52
GOVERNING EQUATIONS
Beam equilibrium equations
dV
0 p(x)dx Vy y dx Vy 0
dx
dVy
dx
dM
dx
M M
dx pdx
Vy dx 0
dx
2
Vy
EI
p
Vy
dM
dx
d4 v
p(x)
dx 4
d Vy
dx
dx
Vy
p(x)
dM
dx
dx
dx
53
d2 v
dx 2
xx (x, y)
M EI
M(x)y
I
d2 v
dx 2
Bending stress
u v
v v
0
y x
x x
u(x,y) u0 (x) y
dv
dx
POTENTIAL ENERGY
Potential energy
Strain energy
UV
d2 v
1
1 d2 v
UL (x) U0 (x,y,z)dA Ey 2 2 dA E 2
2
2 dx
dx
A
A
1 d2 v
UL (x) EI 2
2 dx
y dA
2
Moment of
inertia
Strain energy
2
1 L d2 v
U UL (x)dx EI 2 dx
0
2 0 dx
L
55
NF
NC
i1
i1
V p(x)v(x)dx Fv(x
i
i ) Ci
0
dv(xi )
dx
Potential energy
2
NC
NF
L
dv(xi )
1 L d2 v
U V EI 2 dx p(x)v(x)dx Fv(x
)
Ci
i
i
0
2 0 dx
dx
i1
i1
0
v
v*
56
dv
dx
The element has two degrees of freedom (DOF) at each
node: (v1, 1) and (v2, 2)
F2
F1
C1
C2 1
v2
v1
x
L
Applied loads
Nodal DOFs
57
F2
F1
C1
C2
x
p(x)
58
2 }T
Scaling parameter s
Length L of the beam is scaled to 1 using scaling parameter s
v2
v1
s
x x1
,
L
dx Lds,
1
dx,
L
ds 1
dx L
ds
q1
q2
x
L
x1
s=0
x2
s=1
v1 v(0) a0
dv
1
1
(0) a1
dx
L
v 2 v(1) a0 a1 a2 a3
2
dv
1
(1) (a1 2a2 3a3 )
dx
L
a0 v 1
a1 L1
a2 3v1 2L1 3v 2 L2
a3 2v1 L1 2v 2 L2
60
Shape functions
N1(s) 1 3s2 2s3
N2 (s) L(s 2s2 s3 )
N3 (s) 3s2 2s3
N4 (s) L( s2 s3 )
Hermite polynomials
Interpolation property
v(s) N {q }
1.0
N1
0.8
N3
0.6
0.4
N2/L
0.2
0.0
0.0
0.2
0.4
0.6
N4/L
0.8
1.0
-0.2
61
Approximation of curvature
Curvature is second derivative and related to strain and stress v1
d2 v
1 d2 v 1
1
[
6
12s,
L(
4
6s),
6
12s,
L(
2
6s)]
2
2
2
2
dx
L ds
L
v 2
2
d2 v 1
B {q }
B: strain-displacement vector
dx2 L2 41
14
62
d2 v EI
B {q}
dx 2 L2
Linear
dM
d3 v EI
Vy
EI 3 3 [ 12 6L 12 6L]{q}
dx
dx
L
Constant
63
Strain energy
Sum of each elements strain energy
x2
NEL
LT
NEL
U UL (x)dx e UL (x)dx U
0
x1
e1
e1
e
x2
EI e
x1
y
C1
p(x)
x
1
F1
x1(1)
1 d2 v
EI 1 1 d2 v
dx 3 0 2 ds
2 dx 2
L
2 ds
C2
C3
C4
F2
x 2(1) = x1( 2 )
F3
x 2( 2 ) = x1( 3 )
F4
x 2( 3 ) = x1( 4 )
C5
5
F5
x 2( 4 )
64
d2 v
d2 v d2 v
T
e T
e
2
2 2 {q } B B {q }
1 4
41
41
1 4
ds
ds ds
1 e EI 1
T
{q } T 3 B B ds
2
L 0
(e)
{q }
e
1 e T e e
{q } [k ]{q }
2
EI 1 L( 4 6s)
e
[k ] 3
6 12s L( 4 6s) 6 12s L( 2 6s) ds
L 0 6 12s
L( 2 6s)
65
2
2
EI 6L 4L 6L 2L
e
[k ] 3
L 12 6L 12 6L
2
2
6L 2L 6L 4L
U U(e)
e1
1 NEL e T e e
{q } [k ]{q }
2 e1
Assembly
U
1
{Q s } T [K s ]{Q s }
2
66
1
{Qs } T [Ks ]{Qs } {Qs } T {Fs }
2
PMPE
Potential energy has its minimum when
[K s ]{Q s } {Fs }
Applying BC
The same procedure with truss elements (striking-the-rows and
striking-he-columns)
[K] is symmetric & PD
[K ]{Q } {F }
Frame structure
Can carry axial force, transverse shear force, and bending moment
(Beam + Truss)
Assumption
v1
v2
q1
q2
F
2
2
u1
v1
u2
q2
{ui , v i , i }
v2
u1
q1
u2
3
v2
q2
u1
v1
q1 68
0
6La2
0
a1
0 12a2
6La2
0
0
6La2
2
4L a2
0
a1
0 12a2
0 6La2
a1
6La2
2L2a2
12a2
6La2
0 u1 fx1
6La2 v1 fy1
2L2a2 1 c1
0 u2 fx2
6La2 v 2 fy2
4L2a2 2 c
2
EA
L
EI
a2 3
L
a1
[k ]{q} { f }
[T ]T [k ][T ]{q} {f }
[k ]{q} { f }
[k] [T ]T [k ][T ]
Axial force P
AE
u2 u1
L
Vy1
6L 12 6L v1
12
2
2
M1 EI 6L 4L 6L 2L 1
V
y
2
L 12 6L 12 6L v 2
2
2
M
6L 2L 6L 4L 2
2
70
Homework
Solve Problem 2.3-7
71
72
Sparsity
Sparsity is a term used to quantify the number of zeros in a
stiffness matrix.
In very large models only a few nodes are connected to each
other. This creates a lot of zeros.
To economize storage (computer memory) commercial
programs often use different ways to avoid storing the zero
locations.
Node numbering in a FE model affects the topology of the
stiffness matrix
For a linear assembly of bar or beam elements you obtain a banded
matrix.
However for most 3-D complex structures the bandwidth increases and
can often result in a dense matrix.
Skyline of a Matrix
v2
2
u2
u3
k3
k1
v3
k2
k4
v1
v4
u1
u4
K11
K
21
0
0
K 51
K 61
0
K15
K16
K 22
K 24
K 25
K 26
0
K 42
K 33
0
0
K 44
K 35
0
0
0
0
0
K12
K 52
K 53
K 55
K 56
K 62
K 65
K 66
0
0
0
0
0
0
0
0
0
K 68
0
0
0 u1 f x1
0 v1 f y1
0 u2 f x 2
0 v2 f y 2
0 u3 f x 3
K 68 v3 f y 3
0 u4 f x 4
K88 v4 f y 4
Due to symmetry only terms on the diagonal and above need to be stored.
Skyline of a matrix encloses the uppermost nonzero coefficients in each
column
The coefficients are then stored in a one-dimensional array.
The array that describes the profile of the matrix is needed to develop a 1D storage for the stiffness matrix
Zeros under the skyline need to be stored as they will become filled in the
solution process
74
Profile of a Matrix
K11
K
21
0
0
K 51
K 61
0
K12
K 22
0
0
0
K 24
K15
K 25
K16
K 26
0
0
K 33
K 35
K 42
K 52
0
K 53
K 44
0
0
K 55
0
K 56
0
0
K 62
K 65
K 66
0
0
0
0
0
0
0
0
0
K 68
0
0
0 u1 f x1
0 v1 f y1
0 u2 f x 2
0 v2 f y 2
0 u3 f x 3
K 68 v3 f y 3
0 u4 f x 4
K88 v4 f y 4
2 1 3 5 6 0 3
Bandwidth of a Matrix
6 K11
5 K 21
3 0
1 0
2 K 51
3 K 61
1 0
1 0
K12
K 22
0
K 42
0
0
K 33
0
0
K 24
0
K 44
K15
K 25
K 35
0
K16
K 26
0
0
0
0
0
0
K 52
K 62
0
0
K 53
0
0
0
0
0
0
0
K 55
K 65
0
0
K 56
K 66
0
K 68
0
0
0
0
u1 f x1
v f
1 y1
u2 f x 2
v2 f y 2
0 u3 f x 3
K 68 v3 f y 3
0 u4 f x 4
K88 v4 f y 4
0
0
0
0
76
K D R
and indicated that this can be solved (when the system is
non-singular) as
1
D K R
This must be simply interpreted as solution of the equation
set.
Seldom do we need to obtain the inverse matrix and multiply
them as shown above.
Solution procedure are of two types:
Direct solvers (e.g. Gauss elimination, LU factorization)
Iterative solvers (e.g. Gauss-Siedel iteration)
77
Direct Solvers
Direct solvers use methods to transform the equations into an
upper or lower triangle matrix that facilitates the solution
(Gauss elimination), or decomposes the matrix into a product
of upper and lower triangle (LU decomposition)
The effort of solving a system of equations using the direct
solvers is a function of its sparsity and profile (or bandwidth)
Typically the number of operation required to solve a nxn
matrix system of equations is nb2 when the matrix bandwidth
is b. (For dense matrix this is n3/3 )
Review basics of Gauss elimination
For very large structures, the matrix equations can be solved
even before the entire equation can be assembled. These
methods are called frontal solvers.
78
Iterative Solvers
These methods start with a guess and iterate till it converges
to a solution
(e.g Newton-Raphson method for solving algebraic equations)
For matrices review Gauss-Siedel Iteration
APPLIED LOADS
Potential energy of applied loads
F1
C
1
ND
V v1 1 v 2 ......ND F2 {Q s } T {Fs }
V Fv
i i Ci i
i1
CND
x2
NEL
NEL
V e p(x)v(x)dx V
e1
x1
(e)
p(s) v N
1 1
x2
e
e1
(e)
(e)
(e)
e p(x)v(x)dx L
x1
(e)
p(s)v(s)ds
0
1
1
1
1
(e)
(e)
(e)
(e)
v1F1 1C1 v 2F2 2C2
80
pL
{F}
2
T
pL2
12
pL
2
pL2
12
p
pL/2
Equivalent
pL/2
pL2/12
pL2/12
81
12 6L 12 6L v1 pL / 2 F1
2
2
2
EI 6L 4L 6L 2L 1 pL / 12 C1
L3 12 6L 12 6L v 2 pL / 2 F2
2
2
2
6L 2L 6L 4L 2 pL / 12 C2
One beam element has four variables
When there is no distributed load, p = 0
Applying boundary conditions is identical to truss element
At each DOF, either displacement (v or ) or force (F or C) must be
known, not both
Use standard procedure for assembly, BC, and solution
82
d2 v EI d2 v EI
B {q}
dx 2 L2 ds2 L2
Shear force
v1
dM
d3 v
EI d3 v EI
Vy (s)
EI 3 3 3 3 [ 12 6L 12 6L] 1
dx
dx
L ds
L
v 2
2
Constant
When true moment is not linear and true shear is not constant, many
elements should be used to approximate it
My
Bending stress x
I
1.5Vy
4y 2
1
bh
h2
83
v2
6 12 6 v1
12
6
4 6 2 1
[k (1) ] 1000
12 6 12 6 v 2
2 6 4 2
6
x
1
2
1m
1m
F2 = 240 N
v2
v3
6 12 6 v 2
12
6
4
2 2
6
(2)
[k ] 1000
12 6 12 6 v 3
2
4 3
6
6
6 12 6
0
0 v1 F1
12
6
4 6 2
0
0 1 C1
12 6 24 0 12 6 v 2 240
1000
6
2
0
8
6
2
2 0
0
0 12 6 12 6 v 3 F3
0
6
2 6 4 3 C3
0
84
0 8 2 0
At x = 0.5
v 2 0.01
2 0.0
dN3
1
v
(1) 2
L
ds
At x = 1.0
0.015rad
s 21
dN3
1
v2
(1)
L
ds
0.0rad
s 1
dN1
1
0.0rad
v2
(2)
L
ds s0
85
[K s ] 1000
12 6 12 6 v 2
2 6 4 2
6
p0 = 120 N/m
EI = 1000 N-m2
L = 1m
C = 50 N-m
2
3
1 (s 2s s )L
1e
L / 12 10
p0L 0
ds p0L
2
3
F
1/
2
3s
2s
2e
60
C2e
( s2 s3 )L
L / 12 10
86
1000
12 6 12 6 v 2 60
2 6 4 2 10 50
6
Applying BC
12 6 v 2 60
1000
6 4 2 60
v 2 0.01m
2 0.03 rad
87
F1 120N
C1 10N m
Bending moment
EI
B {q}
L2
EI
2 ( 6 12s)v1 L( 4 6s)1 (6 12s)v 2 L( 2 6s)2
L
1000[ 0.01(6 12s) 0.03( 2 6s)]
M(s)
60s N m
Shear force
EI
12v1 6L1 12v 2 6L2
L3
1000[ 12 ( 0.01) 6( 0.03)]
Vy
60N
88
0.000
FEM
Exact
-0.002
-0.010
-0.004
-0.006
-0.015
-0.020
-0.008
0.2
Slope
-0.025
Deflection
-0.030
-0.010
0.4
0.6
0.8
0.2
0.4
0.6
0.8
10
FEM
Exact
FEM
Exact
-20
-10
-40
Vy
-20
M
FEM
Exact
-0.005
-30
-60
-80
-40
Bending moment
-50
-100
-60
Shear force
-120
0
0.2
0.4
0.6
0.8
0.2
0.4
0.6
0.8
89
Using Symmetry
Can reduce model size and save computation time
Can provide necessary boundary conditions
Symmetry plane
Modeled portion
90
Using Symmetry
Load must be halved if it is on the symmetric plane
y
y
x
Beam
P/2
= 0
L
L/2
91
Anti-symmetry
Symmetry
Translational motion has no component normal to a plane of symmetry
Rotation vectors have no components in a plane of symmetry
Anti-symmetry
Translational motion has no component in a plane of anti-symmetry
Rotation vectors have no components normal to a plane of antisymmetry
92
93
Homeworks
Solve Problem 2.8-7
A linearly varying distributed load is applied to the beam finite
element of length L. The maximum value of the load at the
right side is q0. Calculate work equivalent nodal forces and
couples.
q0
F1
L
y
x
M1
F2
M2
94