Chap 3 Direct Stiff Method II
Chap 3 Direct Stiff Method II
- Chapter 3
The direct stiffness method (part II):
pin jointed structures
J.-P. Ponthot
University of Liège - Belgium
k
● u1 , u2 → Nodal displacements
● F1 , F2 → Nodal loads
● N → Internal force
u1 u2 u1 u2
EA EA
F1 F2 N N
x L x L
Equilibrium equations
−N
1 −1
u1
F1
EA
for the element = L =
N −1 1 u2 F2
K q = Fint
u1 u2 u1 u2
EA EA
F1 F2 N N
x L x L
MoM → we have σ =
E ε ⇒ N = Aσ = E Aε
∆L u2 −u1
ε =
L = L
EA
Internal force N= (u2 − u1 )
L
Nodal equilibrium
EA
● Node 1 : N = −F1 ⇒ F1 = L (u1 − u2 )
EA
● Node 2 : N = F2 ⇒ F2 = L (u2 − u1 )
In matrix form, equilibrium equations for the element
EA 1 −1 u1 F1
=
L −1 1 u2 F2
● equilibrium
∂σij 1D dσ
+ ρb =0 → = 0 → σ = cst.
∂xj |{z}i dx
=0 if no body force
σ 0 0
⇒ σ = 0 0 0 with σ = cst and N = σA
0 0 0
(
F1 = t1 A = −σ A = −N
boundary conditions: ti = σij nj = t̄i →
F2 = t2 A = σ A = N
∂σij
● Equilibrium ∂xj + ρ bi = 0 → σ = cst.
1 ∂ui ∂uj du
● Compatibility εij = + → ε =
2 ∂xj ∂xi dx
ui = ūi → u(0) = u1 u(L) = u2
● Strain energy
simple
3D Z tension Z Z L
1 1 EA 2
U = σij εij dV = σ ε dV = ε dx
V 2 V 2 |{z} 2 0
Eε
1 T EA 1 −1 u1
or U = q Kq with K= and q=
2 L −1 1 u2
● Since
1 EA 1 −1 u1 1 EA u1 − u2 EA (u2 − u1 )2
U= (u1 u2 ) = (u1 u2 ) =
2 L −1 1 u2 2 L u2 − u1 2 L
Consider the spatial truss structure. (Applied loads and support saved for later)
v2
2 u2
1 4 ● 5 nodes : 1 to 5
3 ● 8 members : 1 to 8
v1 v5
u5 v3 → 10 (15 in 3D) DOF’s : uI and vI
u1 2 5
1 3 u3 for each node i.e. I = 1 to 5.
5
7 6
y 8 qs T = [u1 v1 u2 v2 ... u5 v5 ]
Nodal structural displ. vector
u4 4
x v4
Keypoints: Displacements are continuous:
● along each bar
● AT THE NODES!
Fint
s = Ks qs = gs
|{z} |{z} |{z}
contribution from every element stiffness matrix applied loads
with
qs T = [ u1 v1 u2 v2 ... u5 v5 ]
DOF number 1 2 3 4 ... 9 10
The uxi and uyi are unique at the nodes ⇒ Joint displacement of all members
meeting at the joint will be unique.
1
3 4
v1
u1
v5
2 5
1 5u 3
5
v3
y 7 8 u3
6
x 4 u4
v4
2. Localization
And we have
Some people (mainly mathematicians) also use the ’localization matrix’ such that
x
L 2 (x2,y2)
y
y EA=cst
j
1
(x1,y1)
x
We know equilibrium equations in local (x̄, ȳ) axes which are element dependent
EA 1 −1 ū1 F̄1
=
L −1 1 ū2 F̄2
x
L 2 (x2,y2)
y
y EA=cst
j
1
(x1,y1)
x
Displacement components transform as (quite general, not only at nodes, valid for
any point along the bar. N.B. Here we will use ux and uy for displacement
components instead of u and v)
x
L 2 (x2,y2)
y
ux = ūx cos ϕ − ūy sin ϕ y EA=cst
(x1,y1)
x
ūx C S ux
⇒ =
ūy −S C uy
| {z } | {z }
local axes = q̄ global axes = q
This is valid for any point so in particular, this is valid for nodes, so that for any
node, we can write:
C S
q̄ = T q with T2×2 =
−S C
Thus q = T T q̄
x
L 2 (x2,y2)
y
y EA=cst
j
1
(x1,y1)
x
ū1x C S 0 0 u1x
ū1y −S C 0 0 u1y
= or q̄ = T q with T 4×4
ū2x 0 0 C S u2x
can be generalized to any
ū2y 0 0 −S C u2y number of nodes
| {z } | {z }
local axes global axes
T
N.B. T −1
4×4 = T 4×4
q = T T q̄
Recall
1 T
U = q̄ K̄ q̄→ local axes
2
with
EA 1 −1 u¯1
K̄ = q̄ =
L −1 1 2×2 u¯2 2×1
● Ā → Local axes
● A → Global axes
Since q̄ = T q, where T 2×4 is the transformation matrix, one gets
q̄T K̄ q̄ = 2U = qT K q = qT T T
| {zK̄T} q
K
e e
K e4×4 = T T4×2 K̄ 2×2 T 2×4 K̄ → Local axes
K e → Global axes
C2 SC −C 2 −SC (
EA SC S 2 −SC −S 2 C = cos ϕ
e
K = with
L −C 2 −SC C 2 SC S = sin ϕ
−SC −S 2 SC S2
x21 x21 x21 y21 −x21 x21 −x21 y21
EA
x21 y21 y21 y21 −x21 y21 −y21 y21
=
L3 −x21 x21 −x21 y21 x21 x21 x21 y21
−x21 y21 −y21 y21 x21 y21 y21 y21
∆x = x2 − x1 = L cos ϕ
∆y = y2 − y1 = L sin ϕ
● Symmetric
● Eigenvalues of K e = {200, 0, 0, 0}
Note : Rigid body mode qj = cste = 1
X
⇒ Kij qj = 0
|{z} ⇒ Kij = 0 ∀i
internal forces generated by RBM j
● Symmetric
● Eigenvalues
P of K e = {980, 0, 0, 0, 0, 0}
●
j Kij = 0 ∀i
One has
local axes
z}|{
P = ḡ1 ū1 + ḡ2 ū2 = ḡT q̄
= gT T T
| {zT} q = gT q
|{z}
identity global axes
Scalar ⇒ Invariant
X ∗
z}|{
Fint = Ks q s = gs = Fext
| {z } |{z}
Elements Internal forces Applied load
| {z }
◦
where ◦ : Equilibrium : the sum of forces exerted by all members that meet at a
joint must balance the external force applied to that joint
Fint
e = Ke q e
Strain energy
1 T
● For one element: Ue = qe Ke qe
2
Nelem Nelem
X 1
X
T 1 T
● For the whole structure: Us = Ue = q e Ke q e = q s Ks q s
2 2
e=1 e=1
And since qe = Le qs
One has
1
Ue = qs T LTe Ke Le qs
2
Nelem Nelem Nelem
X X 1 T T 1 T X
⇒ Us = Ue = q s L e Ke L e q s = q s LTe Ke Le qs
2 2
e=1 e=1
|e=1 {z }
Ks
structural stiffness matrix
● Symbolically
Nelem
X
Ks = Le T Ke Le
|{z}
e=1 elementary stiffness/global axes
Nelem
X
= L e T Te T K̄e Te L e
|{z}
e=1 Global / local axes
● Practically
DO N e = 1, Nelem
DO i = 1 , NDOF
DO j = 1 , NDOF
KS (INDEX(N e, i), INDEX(N e, j)) = KS (INDEX(N e, i), INDEX(N e, j))+KN e (i, j)
ENDDO
ENDDO
ENDDO
⇒ Fint = Ks qs = gs
Note :
● K is symmetric
● K is sparsely populated (containing relatively few non zero coefficients) in
structures containing a large number of elements. This is because not more
than a few elements are connected to any one node.
● det K = 0 : RBM (Rigid Body Mode)
1 2 3 4 5 6 7 8 9
1
3 2
3
1 2 4 5
4
5
6
6 7 8 9 7
8
9
N.B. Boundary conditions are not taken into account of this matrix
16 elements
25 nodes
50 DOF’s
● From Ks qs = gs get qs = Ks −1 gs
Ee Ae e
F int
= K̄e q̄e = K̄e Te Le qs ⇒ Ne = F̄int
1 = −F̄int
2 = (ūx2 − ūex1 )
Le
Stresses (local axes) :
Ne (ūex2 − ūex1 )
σe = = Ee
Ae Le
P
• node number (bold)
3(5,6)
• element number (parentheses)
• 3 nodes ⇒ 6 DOF’s Global DOF numbers
for the structure written in parenthesis
after node number
and merge
Form stiffness of bar (1)
1500 0 −1500 0 0 0 1
1500 0 −1500 0 1 Index 0 0 0 0 0 0
2
0 0 0 0 2 −1500 0 1500 0 0 0 3
K (1) = K =
−1500 0 1500 0 3
0 0 0 0 0 0
4
0 0 0 0 4 0 0 0 0 0 0
0 0 0 0 0 0
Rem : For bar (2) (and other bars in general), choosing the Index vector to be
[3 4 5 6] (node 2 to node 3) or [5 6 3 4] (node 3 to node 2) will lead to the same
results due to the structure of K.
● Eigenvalue check shows 4 zeros : Eigenvalues are [0 0 0 0 1.59 103 3.81 103 ]
● It is a little bit surprising to have 4 zeros ! Beyond the 3 rigid body modes, there is also
a mechanism ≡ deformation mode with zero associated strain energy and that is not a
rigid body mode !
u
Mechanism
3(5,6)
Kq=g→
1 2 3 4 5 6
1500 0 −1500 0 0 0 u1 R1
0 0 0 0 0 0
u2 R2
−1500 0 2268 u3 = 0
576 −768 −576
0 0 576 u4 −P
432 −576 −432
0 0 −768 −576 768 576 u5 R5
0 0 −576 −432 576 432 u6 R6
● Symmetric.
● det K 6= 0 ! ⇒ q = K −1 g.
u3 0.007 −0.009 0 0.009 P
= =
u4 −0.009 0.0035 −P −0.0035 P
(EFT) 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
F
2 (3,4)
1(1,2) 3(5,6)
4(7,8)
P
N.B. Statically indeterminate problem !
Kq=g→
2268 −576 −1500 0 0 0 −768 576 u1 R1
−576 432 0 0 0 0 576 −432 u 2 R2
−1500 0 3000 0 −1500 0 0 0
u 3 R3
0 0 0 2000 0 0 0 −2000
u 4 = F
0 0 −1500 0 2268 576 −768 −576 u 5 R5
0 0 0 0 576 432 −576 −432 u 6 R6
−768 576 0 0 −768 −576 1536 0 u7 R7
576 −432 0 −2000 −576 −432 0 2864 u8 −P
Kq=g
2000 −2000 u4 F u4 0.0017 0.0012 F
= ⇒ =
−2000 2864 u8 −P u8 0.0012 0.0012 −P
● SYMMETRIC
● det K 6= 0 !
e
compute K
loop
over Graphics
elements Assemble Ke in KS preprocessing
(model and data handling)
Apply Bc’s q,g
Solve KSqS=gS
File
listing
Graphics
(postprecessing: results)