Lect01 - Discreter Element Example of FEM - Fall 2023
Lect01 - Discreter Element Example of FEM - Fall 2023
Lect01 - Discreter Element Example of FEM - Fall 2023
This approach is that used for frame analysis by civil engineers. It also is the basis of the
first papers on finite element analysis of a continuum (Clough, 1960). In later lectures we
will develop a more mathematical approach, where the finite element method will be
obtained using weighted residuals.
In this lecture, we will first illustrate the solution of a spring system by writing equations of
equilibrium. We will then write the stiffness matrix for a spring element and assemble these
into a global matrix. Finally, the solution using Gauss elimination simulates a computer
solution.
Question 1: How dose the numbering of nodes and elements affect the solution?
u1 u2 u3
1 2
1
2 3 p
4
3
: Node
: Element (spring)
f = k (1.1)
where k is the spring stiffness and is the spring stretching. The free body diagram at node
1 is:
f1 1 f2
F =0
X
− f1 + f 2 = 0
or − k1 (u1 ) + k 2 (u2 − u1 ) = 0 (1.2)
f2
2 f4
f3
F X=0
− f2 − f3 + f4 = 0
− k 2 (u2 − u1 ) − k 3 (u2 ) + k 4 (u3 − u2 ) = 0 (1.3)
f4 3 p
F X=0
− f4 + P = 0
− k4 (u3 − u2 ) + p = 0 (1.4)
(k1 + k 2 )u1 − (k 2 )u 2 = 0
− (k 2 )u1 + (k 2 + k 3 + k 4 )u 2 − (k 4 )u 3 = 0
− (k 4 )u 2 + (k 4 )u 3 = p
or:
( k1 + k2 ) − ( k2 ) 0 u1 0
− ( k2 ) ( k2 + k3 + k4 ) − ( k4 ) u2 = 0 (1.5)
0
− ( k4 ) ( k4 ) u3 p
or:
Ku = p (1.6)
In finite element terminology, K is the stiffness matrix, u is the displacement vector and p
MENG 4930/5150 Fall 2023 jeff.ma@slu.edu Page 3
Lecture 1: Discrete Element Example of Finite Element Method 4
is the load vector. Note: Bold upper case is a matrix, bold lower case is a vector.
ui uj
pie i j p ej
The stiffness matrix may be thought of as the matrix that relates forces on an element to
displacements of the element, i.e.
? ? ui pi
e
=
? ? u p e (1.7)
j j
The coefficients of the stiffness matrix are the forces at the nodes that correspond to a unit
displacement at each node, holding all other degrees of freedom (DOF's) fixed. For example,
giving node i a unit displacement, while holding node j fixed results in the forces:
p ie = kui
p ej = − kui (1.8)
This gives the first column of coefficients in the element stiffness matrix:
k ? ui p i
e
=
− k ? u p e (1.9)
j j
Similarly, giving node j a unit displacement, while holding node i fixed results in the forces:
pie = − ku j
p ej = ku j (1.10)
k − k ui pie
− k =
k u j p ej
(1.11)
To assemble the global stiffness matrix using the element approach, we must define a
relationship between the element node numbering scheme and the global numbering scheme.
We will do this for element 2 first, since this element is not associated with a boundary
condition. Referring to Figure 1-1, we see that for element 2, node i corresponds to global
node 1, and that node j corresponds to global node number 2. Letting i=1 and j=2, we can
take the associated element stiffness coefficients and place them in the global matrix.
k2 − k2 0 u1 f 12
− k 2 k2 0 u2 = f 22 (1.12)
0 0 0
u3 0
We now return to element 1. This element is a bit tricky, because one of its nodes
corresponds to a known zero displacement in Figure 1-1. Therefore for element 1, node i
does not have an associated global node number, but that node j has a global node number of
1. Therefore, only the j local node contributes to the global matrix.
k1 0 0 u1 f 11
0 0 0 u2 = 0 (1.13)
0 0 0
u3 0
Proceeding in the same manner, for element 3 the contributions to the global matrix will be:
0 0 0 u1 0
0 k 3 0 u2 = f 23 (1.14)
0 0 0
u3 0
And finally, for element 4 the contributions to the global matrix will be:
0 0 0 u1 0
0 k 4 − k 4 u2 = f 24 (1.15)
0 − k 4 k 4 4
u3 f 3
To obtain the complete global stiffness matrix, we add (1.12), (1.13), (1.14) and (1.15) (the
Now, we can simplify the right hand side by recognizing that this is just a statement of
equilibrium at each node. This gives:
( k1 + k 2 ) − ( k2 ) 0 u1 0
− ( k2 ) ( k 2 + k 3 + k 4 ) − ( k 4 ) u2 = 0 (1.17)
0 − ( k4 ) ( k 4 ) u3 p
Clearly, this is the same as obtained using nodal equilibrium, (1.5). We have thus
demonstrated how an element approach can be used to obtain the global stiffness matrix.
The advantage of the element approach is that assembling the matrix can be easily automated
for computer use.
Question 2: If an additional node, which is numbered 0, is put between the spring system and
the leftside wall, how will (1.17) look like?
Question 3: The stiffness matrix in FEM usually has a lot of zero elements. How to judge,
from the physical structure of the system being studied, whether an element of K is zero or
not?
Question 4: The assembly involves putting element stiffnesses together to form the global
stiffness matrix. Illustrate graphically how to decide the position in the global matrix.
( 750) − ( 250) 0 u1 0
− ( 250) ( 3250) − (1000) u2 = 0 (1.18)
0 − (1000) (1000) u3 1000
(1) − ( 0.3333) 0 u1 0
− ( 250) ( 3250) − (1000) u2 = 0 (1.19)
0 − (1000) (1000) u3 1000
Next, zero the remaining coefficients in column 1 by multiplying row 1 by the appropriate
factor and subtracting row 1 from each of the remaining rows.
(1) − ( 0.3333) 0 u1 0
0 ( 3166.7) − (1000) u2 = 0 (1.20)
0 − (1000) (1000) u3 1000
(1) ( − 0.3333) 0 u1 0
0 (1) − ( 0.3158) u2 = 0 (1.21)
0 0 ( 684.2) u3 1000
01538
.
u = 0.4616 (1.22)
14615
.
Question 5: In what situations, apart from singular matrix, will the Gauss elimination
method become ill behaved? How to overcome the problem?
Question 6: If a truss member, which has an area A, length L and Young's modulus E, is
made equuivalent to a spring, what should be the value of k for the spring?
f1 = k1 (u1 )
= 250(01538
. ) (1.23)
f1 = 77 lb
The other forces are calculated in a similar manner and plotted in Figure 1-6.
77 lb 77 lb
1000 lb 1000 lb
1
2 3
923 lb