Professional Documents
Culture Documents
INTRODUCTION TO THE
STIFFNESS METHOD
Chapter 2
CE 6109: Finite Element Methods I Chapter 2
Contents
2 STIFFNESS METHOD .................................................................................................................. 2
2.1 Introduction ............................................................................................................................. 2
2.2 Displacement-Based Approach ............................................................................................... 2
2.2.1 Example Problem 1 - Structure with Spring or Rod or Truss Elements ......................... 2
2.3 SPRING SYSTEM.................................................................................................................. 7
2.3.1 Example 2.3 .................................................................................................................... 9
2.3.2 Example 2.4 .................................................................................................................. 11
2.3.3 Exercise 2.1 ................................................................................................................... 12
2.3.4 Exercise 2.2 ................................................................................................................... 12
2.3.5 Exercise 2.3 ................................................................................................................... 13
2.4 Review of Matrix Algebra .................................................................................................... 13
2.4.1 Row and Column Vectors ............................................................................................. 14
2.4.2 Matrix Addition and Subtraction .................................................................................. 14
2.4.3 Scalar Multiplication ..................................................................................................... 14
2.4.4 Matrix Multiplication .................................................................................................... 14
2.4.5 Transpose of a Matrix ................................................................................................... 14
2.4.6 Symmetric Matrix ......................................................................................................... 14
2.4.7 Unity (Identity) Matrix.................................................................................................. 15
2.4.8 Determination of a Matrix............................................................................................. 15
2.4.9 Singular Matrix ............................................................................................................. 15
2.4.10 Matrix Inversion............................................................................................................ 15
2 STIFFNESS METHODIntroduction
In engineering, there are three approaches to solve problems:
f 2 x = k ( d 2 x − d1x )
In matrix form
f1x k −k d1x
=
f 2 x −k k d 2 x
At node 2: P = f 2 x ( e 1) + f 2 x ( e 2 ) + f 2 x ( e 3)
At node 3: F3 x = f 3 x
At node 4: F4 x = f 4 x
Using the relationship in Section 2.2.1.1 and substitute into the nodal equilibrium equations, we have,
F3 x = −k2 d 2 x + k2 d3 x
F4 x = −k3d 2 x + k3d 4 x
In matrix form,
F1x k1 − k1 0 0 d1x
P = −k1 k1 + k2 + k3 −k2 −k3 d 2 x
F3 x 0 −k2 k2 0 d3 x
F4 x 0 − k3 0 k3 d 4 x
We must specify boundary (or support) conditions for structure models such as the spring assemblage
shown above, or K will be singular; that is, the determinant of K will be zero, and its inverse will not
exist. This means the structural system is unstable.
Without our specifying adequate kinematic constraints or support conditions, the structure will be free
to move as a rigid body and not resist any applied loads. In general, the number of boundary
conditions necessary to make [K] nonsingular is equal to the number of possible rigid body modes.
Boundary conditions are of two general types. Homogeneous boundary conditions — the more
common — occur at locations that are completely prevented from movement; nonhomogeneous
boundary conditions occur where finite nonzero values of displacement are specified, such as the
settlement of a support.
d1x = d3 x = d 4 x = 0
P
d2 x =
k1 + k2 + k3
vi. Use the displacement solution to find the forces in the elements using 3
F1x k1 − k1 0 0 0
P = −k1 k1 + k2 + k3 −k2 −k3 d 2 x
F3 x 0 −k2 k2 0 0
F4 x 0 − k3 0 k3 0
k1
F1x = −k1d 2 x = − P
k1 + k2 + k3
k2
F3 x = −k2 d 2 x = − P
k1 + k2 + k3
k3
F4 x = −k3d 2 x = − P
k1 + k2 + k3
ii. Expand the matrix to accommodate all the degrees of freedom (e.g. displacements at the
nodes) of the structure.
F1x k1 − k1 0 0 d1x
F2 x = −k1 k1 + k2 + k3 −k2 −k3 d 2 x
F3 x 0 −k2 k2 0 d3 x
F4 x 0 − k3 0 k3 d 4 x
The square matrix is known as the global stiffness matrix. It is the total stiffness matrix of the
whole structure with respect to the degrees of freedom d1x , d2x, d3x and d4x.
iv. Put in the boundary conditions (at each node, either the displacement or the force is
unknown but not both)
F1x k1 − k1 0 0 0
P = −k1 k1 + k2 + k3 −k2 −k3 d 2 x
F3 x 0 −k2 k2 0 0
F4 x 0 − k3 0 k3 0
v. Solve for the unknowns, giving the displacements and the forces.
For element 1,
f11 k1 −k1 u1
1 =
f 2 −k1 k1 u2
For element 2,
f12 k2 − k 2 u2
2=
f 2 − k2 k2 u3
Where, fim is the (internal force acting on local node i of element m (i = 1,2).
F1 = f11
at node 2,
F2 = f 21 + f12
at node 3,
F3 = f 22
That is,
F1 = k1u1 − k1u2
F2 = −k1u1 + ( k1 + k2 ) u2 − k2u3
F3 = −k2u2 + k2u3
In matrix form,
k1 −k1 0 u1 F1
−k
1 k1 + k2 −k2 u2 = F2
0 −k2 k2 u3 F3
Or, KU = F
k1 −k1 0 u1 f11 0 0 0 u1 0
0 k
−k k1 0 u2 = f 21 ; −k2 u2 = f12
1 2
k1 −k1 0 u1 f11
−k
1 k1 + k2 −k2 u2 = f 21 + f12
0 −k2 k2 u3
f2
2
This is the same equation we delivered by using the force equilibrium concept.
Assuming, u1 = 0 and F2 = F3 = P.
We have,
k1 −k1 0 0 F1
−k k + k
1 1 2 −k2 u2 = P
0 − k2 k2 u3 P
k1 + k2 −k2 u2 P
−k =
2 k2 u3 P
And F1 = −k1u2
u2 2 P k1
=
u3 2 P k1 + P k2
Solution:
Applying the superposition concept, we obtain the global stiffness matrix for the spring system as,
Or,
For the spring system with arbitrary number nodes and elements, as shown above, find the global
stiffness matrix.
; ; ;
Finally, applying the superposition method, we obtain the global stiffness matrix as follows:
Boundary conditions .
Find out:
displacement of node 2
an1 x1 + an 2 x2 + + ann xn = bn
In matrix form, Ax = b
where,
x1 b1
x b
2
x = xi = & b = bi = 2
xn bn
A is called a nxn (square) matrix, and x and b are (column) vectors of dimension n.
where, i = 1, 2, …, l; j = 1, 2, …, n.
Notice that, ( AB ) = BT AT
T
A = AT or aij = a ji
Note that, AI = A, Ix = x.
a a
det 11 12 = a11a22 − a21a12
a21 a22
AA −1 = A −1A = I
Cij = ( −1)
i+ j
M ij
Where Mij is the determinant of the smaller matrix obtained by eliminating the ith row and jth column
of A.
1
A −1 = CT
det A
Example 2.1:
−1
a b 1 d −b
c d = ad − bc −c a
( )
Checking, A −1A = I
−1
a b a b 1 d −b a b 1 0
c d c d = ad − bc −c a c d = 0 1
( )
Example 2.2:
−1
1 −1 0
T
3 2 1 3 2 1
−1 2 −1 = 1 2 2 1 = 2 2 1
( 4 − 2 − 1)
0 −1 2 1 1 1 1 1 1
Checking, A −1A = I
1 −1 0 3 2 1 1 0 0
−1 2 −1 2 2 1 = 0 1 0
0 −1 2 1 1 1 0 0 1
The solution of the linear system of equations (Eq.2.1) can be expressed as (assuming the coefficient
matrix A is non-singular.
i.e., x = A −1b
Thus, the main task in solving a linear system of equations is to found the inverse of the coefficient
matrix.
Iterative methods