Vous êtes sur la page 1sur 77

Having set forth the foundation on which the direct stiffness

method is based, we will now derive the stiffness matrix for


a linear-elastic bar (or truss) element using the general
steps outlined in Chapter 1.
We will include the introduction of both a local coordinate
system, chosen with the element in mind, and a global or
reference coordinate system, chosen to be convenient (for
numerical purposes) with respect to the overall structure.
We will also discuss the transformation of a vector from the
local coordinate system to the global coordinate system,
using the concept of transformation matrices to express
the stiffness matrix of an arbitrarily oriented bar element in
terms of the global system.
Development of Truss Equations
Development of Truss Equations
Next we will describe how to handle inclined, or skewed,
supports.
We will then extend the stiffness method to include space
trusses.
We will develop the transformation matrix in three-dimensional
space and analyze a space truss.
We will then use the principle of minimum potential energy
and apply it to the bar element equations.
Finally, we will apply Galerkins residual method to derive the
bar element equations.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 1/77
Development of Truss Equations
Development of Truss Equations
CIVL 8/7117 Chapter 3 - Development of Truss Equations 2/77
Development of Truss Equations
Development of Truss Equations
CIVL 8/7117 Chapter 3 - Development of Truss Equations 3/77
Development of Truss Equations
Development of Truss Equations
CIVL 8/7117 Chapter 3 - Development of Truss Equations 4/77
Stiffness Matrix for a Bar Element
Consider the derivation of the stiffness matrix for the linear-
elastic, constant cross-sectional area (prismatic) bar
element show below.
This application is directly applicable to the solution of pin-
connected truss problems.
Stiffness Matrix for a Bar Element
Consider the derivation of the stiffness matrix for the linear-
elastic, constant cross-sectional area (prismatic) bar
element show below.
where T is the tensile force directed along the axis at
nodes 1 and 2, x is the local coordinate system directed
along the length of the bar.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 5/77
Stiffness Matrix for a Bar Element
Consider the derivation of the stiffness matrix for the linear-
elastic, constant cross-sectional area (prismatic) bar
element show below.
The bar element has a constant cross-section A, an initial
length L, and modulus of elasticity E.
The nodal degrees of freedom are the local axial
displacements u
1
and u
2
at the ends of the bar.
Stiffness Matrix for a Bar Element
The strain-displacement relationship is:
du
E
dx
o c c = =
From equilibrium of forces, assuming no distributed loads
acting on the bar, we get:
constant
x
A T o = =
Combining the above equations gives:
constant
du
AE T
dx
= =
Taking the derivative of the above equation with respect to the
local coordinate x gives:
0
d du
AE
dx dx
| |
=
|
\ .
CIVL 8/7117 Chapter 3 - Development of Truss Equations 6/77
Stiffness Matrix for a Bar Element
The following assumptions are considered in deriving the bar
element stiffness matrix:
1. The bar cannot sustain shear force:
1 2
0
y y
f f = =
2. Any effect of transverse displacement is ignored.
3. Hookes law applies; stress is related to strain:
x x
E o c =
Step 1 - Select Element Type
We will consider the linear bar element shown below.
Stiffness Matrix for a Bar Element
CIVL 8/7117 Chapter 3 - Development of Truss Equations 7/77
Step 2 - Select a Displacement Function
Stiffness Matrix for a Bar Element
1 2
u a a x = + A linear displacement function u is assumed:
The number of coefficients in the displacement function, a
i
, is
equal to the total number of degrees of freedom associated
with the element.
Applying the boundary conditions and solving for the unknown
coefficients gives:
2 1
1
u u
u x u
L
| |
= +
|
\ .
1
2
1
u
x x
u
u L L
( | |
=
`
| (
\ . )
Step 2 - Select a Displacement Function
Stiffness Matrix for a Bar Element
Or in another form:
where N
1
and N
2
are the interpolation functions gives as:
| |
1
1 2
2
u
u N N
u

=
`
)
1 2
1
x x
N N
L L
= =
The linear displacement
function plotted over the
length of the bar element is
shown below.
u
CIVL 8/7117 Chapter 3 - Development of Truss Equations 8/77
Step 3 - Define the Strain/Displacement
and Stress/Strain Relationships
Stiffness Matrix for a Bar Element
The stress-displacement relationship is:
2 1
x
u u du
dx L
c

= =
Step 4 - Derive the Element Stiffness Matrix and Equations
We can now derive the element stiffness matrix as follows:
x
T Ao =
Substituting the stress-displacement relationship into the
above equation gives:
2 1
u u
T AE
L
| |
=
|
\ .
Stiffness Matrix for a Bar Element
The nodal force sign convention, defined in element figure, is:
Step 4 - Derive the Element Stiffness Matrix and Equations
therefore,
Writing the above equations in matrix form gives:
1 2 x x
f T f T = =
1 2 2 1
1 2 x x
u u u u
f AE f AE
L L
| | | |
= =
| |
\ . \ .
1 1
2 2
1 1
1 1
x
x
f u
AE
f u L
(
=
` `
(

) )
Notice that AE/L for a bar element is analogous to the spring
constant k for a spring element.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 9/77
Stiffness Matrix for a Bar Element
The global stiffness matrix and the global force vector are
assembled using the nodal force equilibrium equations, and
force/deformation and compatibility equations.
Step 5 - Assemble the Element Equations
and Introduce Boundary Conditions
| | { }
( ) ( )
1 1
n n
e e
e e
K F
= =
= = = =

K k F f
Where k and f are the element stiffness and force matrices
expressed in global coordinates.
Stiffness Matrix for a Bar Element
Solve the displacements by imposing the boundary conditions
and solving the following set of equations:
Step 6 - Solve for the Nodal Displacements
= F Ku
Step 7 - Solve for the Element Forces
Once the displacements are found, the stress and strain in
each element may be calculated from:
2 1
x x x
u u du
E
dx L
c o c

= = =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 10/77
Stiffness Matrix for a Bar Element
Consider the following three-bar system shown below. Assume
for elements 1 and 2: A =1 in
2
and E =30 (10
6
) psi and for
element 3: A =2 in
2
and E =15 (10
6
) psi.
Example 1 - Bar Problem
Determine: (a) the global stiffness matrix, (b) the displacement
of nodes 2 and 3, and (c) the reactions at nodes 1 and 4.
Stiffness Matrix for a Bar Element
For elements 1 and 2:
Example 1 - Bar Problem
For element 3:
( )( )
6
(1) (2) 6
1 30 10
1 1 1 1
10
30 1 1 1 1
lb lb
in in

( (
= = =
( (


k k
1 2 node numbers for element 1
2 3 node numbers for element 2
( )( )
6
(3) 6
2 15 10
1 1 1 1
10
30 1 1 1 1
lb lb
in in

( (
= =
( (


k
3 4 node numbers for element 3
As before, the numbers above the matrices indicate the
displacements associated with the matrix.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 11/77
Stiffness Matrix for a Bar Element
Assembling the global stiffness matrix by the direct stiffness
methods gives:
Example 1 - Bar Problem
Relating global nodal forces related to global nodal
displacements gives:
6
1 1 0 0
1 2 1 0
10
0 1 2 1
0 0 1 1
(
(

(
=
(
(


K
1 1
2 2 6
3 3
4 4
1 1 0 0
1 2 1 0
10
0 1 2 1
0 0 1 1
x
x
x
x
F u
F u
F u
F u
(
(


(
=
` `
(

(

) )
E1 E 2 E 3
Stiffness Matrix for a Bar Element
The boundary conditions are:
Example 1 Bar Problem
1 4
0 u u = =
1 1
2 2 6
3 3
4 4
1 1 0 0
1 2 1 0
10
0 1 2 1
0 0 1 1
x
x
x
x
F u
F u
F u
F u
(
(


(
=
` `
(

(

) )
Applying the boundary conditions and the known forces
(F
2x
=3000 lb.) gives:
2 6
3
3000 2 1
10
0 1 2
u
u
(
=
` `
(

) )
CIVL 8/7117 Chapter 3 - Development of Truss Equations 12/77
Stiffness Matrix for a Bar Element
Example 1 Bar Problem
Solving for u
2
and u
3
gives: =
=
2
3
0.002
0.001
u in
u in
The global nodal forces are calculated as:
1
2 6
3
4
1 1 0 0 0 2000
1 2 1 0 0.002 3000
10
0 1 2 1 0.001 0
0 0 1 1 0 1000
x
x
x
x
F
F
lbs
F
F
(
(


(
= =
` ` `
(

(


) ) )
Stiffness Matrix for a Bar Element
Consider the following guidelines, as they relate to the one-
dimensional bar element, when selecting a displacement
function.
Selecting Approximation Functions for Displacements
1. Common approximation functions are usually
polynomials.
2. The approximation function should be continuous within
the bar element.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 13/77
Stiffness Matrix for a Bar Element
Consider the following guidelines, as they relate to the one-
dimensional bar element, when selecting a displacement
function.
Selecting Approximation Functions for Displacements
3. The approximating function should provide interelement
continuity for all degrees of freedom at each node for
discrete line elements, and along common boundary lines
and surfaces for two- and three-dimensional elements.
Stiffness Matrix for a Bar Element
Consider the following guidelines, as they relate to the one-
dimensional bar element, when selecting a displacement
function.
Selecting Approximation Functions for Displacements
For the bar element, we must ensure that nodes common to
two or more elements remain common to these elements
upon deformation and thus prevent overlaps or voids
between elements.
The linear function is then called a conforming (or
compatible) function for the bar element because it
ensures both the satisfaction of continuity between adjacent
elements and of continuity within the element.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 14/77
Stiffness Matrix for a Bar Element
Consider the following guidelines, as they relate to the one-
dimensional bar element, when selecting a displacement
function.
Selecting Approximation Functions for Displacements
4. The approximation function should allow for rigid-body
displacement and for a state of constant strain within the
element.
Completeness of a function is necessary for
convergence to the exact answer, for instance, for
displacements and stresses.
Stiffness Matrix for a Bar Element
The interpolation function must allow for a rigid-body
displacement, that means the function must be capable of
yielding a constant value.
Consider the follow situation:
Selecting Approximation Functions for Displacements
Therefore:
1 1 1 2
u a a u u = = =
( )
1 1 2 2 1 2 1
u N u N u N N a = + = +
Since u =a
1
then:
This means that:
1 2
1 N N + =
( )
1 1 2 1
u a N N a = = +
The displacement interpolation function must add to unity at
every point within the element so the it will yield a constant
value when a rigid-body displacement occurs.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 15/77
Stiffness Matrix for a Bar Element
In many problems it is convenient to introduce both local and
global (or reference) coordinates.
Local coordinates are always chosen to conveniently
represent the individual element.
Global coordinates are chosen to be convenient for the whole
structure.
Transformation of Vectors in Two Dimensions
Stiffness Matrix for a Bar Element
Given the nodal displacement of an element, represented by
the vector d in the figure below, we want to relate the
components of this vector in one coordinate system to
components in another.
Transformation of Vectors in Two Dimensions
CIVL 8/7117 Chapter 3 - Development of Truss Equations 16/77
Stiffness Matrix for a Bar Element
Lets consider that d does not coincident with either the local
or global axes. In this case, we want to relate global
displacement components to local ones. In so doing, we will
develop a transformation matrix that will subsequently be
used to develop the global stiffness matrix for a bar element.
Transformation of Vectors in Two Dimensions
Stiffness Matrix for a Bar Element
We define the angleu to be positive when measured
counterclockwise from x to x. We can express vector
displacement d in both global and local coordinates by:
Transformation of Vectors in Two Dimensions
1 1 1 1
u v u v ' ' ' ' = + = + d i j i j
CIVL 8/7117 Chapter 3 - Development of Truss Equations 17/77
Stiffness Matrix for a Bar Element
Consider the following diagram:
Transformation of Vectors in Two Dimensions
Using vector addition: + = a b i
Using the law of cosines, we get: | | | | cos | | cos u u = = a i a
Similarly: | | | | sin | | sin u u = = b i b
Stiffness Matrix for a Bar Element
Consider the following diagram:
Transformation of Vectors in Two Dimensions
The vector a is in the direction and b is in the direction,
therefore:
' i ' j
( ) ( ) ( )( ) | | cos | | sin u u ' ' ' ' = = = = a a i i b b j j
CIVL 8/7117 Chapter 3 - Development of Truss Equations 18/77
Stiffness Matrix for a Bar Element
Consider the following diagram:
Transformation of Vectors in Two Dimensions
The vector i can be rewritten as: cos sin u u ' ' = i i j
The vector j can be rewritten as: sin cos u u ' ' = + j i j
Therefore, the displacement vector is:
( ) ( )
1 1 1 1 1 1
cos sin sin cos u v u v u v u u u u ' ' ' ' ' ' ' ' + = + + = + i j i j i j i j
Stiffness Matrix for a Bar Element
Consider the following diagram:
Transformation of Vectors in Two Dimensions
Combining like coefficients of the local unit vectors gives:
1 1 1
cos sin u v u u u ' + =
1 1 1
sin cos u v v u u ' + =
1 1
1 1
cos
sin
u u C S C
v v S C S
u
u
' = (
=
` `
(
'
=
) )
CIVL 8/7117 Chapter 3 - Development of Truss Equations 19/77
Stiffness Matrix for a Bar Element
Transformation of Vectors in Two Dimensions
The matrix is called the transformation matrix.
The previous equation relates the global displacement d to
the d' local displacements
C S
S C
(
(


The figure below shows u' expressed in terms of the global
coordinates x and y.
u Cu Sv ' = +
Stiffness Matrix for a Bar Element
Example 2 - Bar Element Problem
Using the following expression we just derived, we get:
The global nodal displacement at node 2 is u
2
=0.1 in and
v
2
=0.2 in for the bar element shown below. Determine the
local displacement.
2
cos60 (0.1) sin60 (0.2) 0.223
o o
u in ' = + =
u Cu Sv ' = +
CIVL 8/7117 Chapter 3 - Development of Truss Equations 20/77
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
We will now use the transformation relationship developed
above to obtain the global stiffness matrix for a bar element.
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
We want to relate the global element forces f to the global
displacements d for a bar element with an arbitrary
orientation.
We known that for a bar element in local coordinates we have:
1 1
2 2
1 1
1 1
x
x
f u
AE
f u L
' '
(
' ' ' = =
` `
(
' '
) )
f k d
1 1
1 1
2 2
2 2
x
y
x
y
f u
f v
k
f u
f v



=
` `


) )
f = kd
CIVL 8/7117 Chapter 3 - Development of Truss Equations 21/77
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
Combining both expressions for the two local degrees-of-
freedom, in matrix form, we get:
Using the relationship between local and global components,
we can develop the global stiffness matrix.
We already know the transformation relationships:
1 1 1 2 2 2
cos sin cos sin u u v u u v u u u u ' ' = + = +
1
1 1
2 2
2
0 0
0 0
u
u v C S
u u C S
v


'
(
=
` `
(
'
)


)
'
*
d = T d
*
0 0
0 0
C S
C S
(
=
(

T
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
Substituting the global force expression into element force
equation gives:
A similar expression for the force transformation can be
developed.
1
1 1 *
2 2
2
0 0
0 0
x
y x
x x
y
f
f f C S
f f C S
f


'
(
' = =
` `
(
'
)


)
f T f
' ' ' f = k d
' =
* *
T f k T d
' ' =
*
T f k d
'
*
d = T d
Substituting the transformation between local and global
displacements gives:
CIVL 8/7117 Chapter 3 - Development of Truss Equations 22/77
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
The matrix T* is not a square matrix so we cannot invert it.
Lets expand the relationship between local and global
displacement.
where T is:
1 1
1 1
2 2
2 2
0 0
0 0
0 0
0 0
u u C S
v v S C
u u C S
v v S C
'
(
(
'

(
' =
` `
' (

(
'
) )
d = Td
0 0
0 0
0 0
0 0
C S
S C
C S
S C
(
(

(
=
(
(


T
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
We can write a similar expression for the relationship between
local and global forces.
Therefore our original local coordinate force-displacement
expression
1 1
1 1
2 2
2 2
0 0
0 0
0 0
0 0
x x
y y
x x
y y
f f C S
f f S C
f f C S
f f S C
'
(
(
'


(
' =
` `
'
(

(
'

) )
f = Tf
1 1
2 2
1 1
1 1
x
x
f u
AE
f u L
' '
(
' ' ' =
` `
(
' '

) )
f = k d
CIVL 8/7117 Chapter 3 - Development of Truss Equations 23/77
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
May be expanded:
The global force-displacement equations are:
1 1
1 1
2 2
2 2
1 0 1 0
0 0 0 0
1 0 1 0
0 0 0 0
x
y
x
y
f u
f v
AE
f u L
f v
' ' (
(
' '

(
=
` `
' ' (

(
' '
) )
' ' ' ' = = f k d Tf k Td
Multiply both side by T
-1
we get:
' =
-1
f T k Td
where T
-1
is the inverse of T. It can be shown that:

=
1 T
T T
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
The global force-displacement equations become:
Where the global stiffness matrix k is:
Expanding the above transformation gives:
We can assemble the total stiffness matrix by using the above
element stiffness matrix and the direct stiffness method.
= '
T
f T k Td
' =
T
k T k T
2 2
2 2
2 2
2 2
CS CS C C
S S CS CS AE
L CS CS C C
S S CS CS
(
(

(
=
(
(


k
| | { }
( ) ( )
1 1
n n
e e
e e
K F
= =
= = = =

K k F f
= F Kd
CIVL 8/7117 Chapter 3 - Development of Truss Equations 24/77
Stiffness Matrix for a Bar Element
Global Stiffness Matrix
Local forces can be computed as:
1 1
1 1
2 2
2 2
1 0 1 0
0 0 0 0
1 0 1 0
0 0 0 0
x
y
x
y
f u
f v
AE
f u L
f v
' ' (
(
' '

(
=
` `
' ' (

(
' '
) )
1 1 1 2 2
1
2 1 1 2 2
2
0
0
x
y
x
y
f Cu Sv Cu Sv
f
AE
f L Cu Sv Cu Sv
f
'
+ (
(
'

(
=
`
'
( + +

(
'
)
1
1
2
2
1 0 1 0 0 0
0 0 0 0 0 0
1 0 1 0 0 0
0 0 0 0 0 0
u C S
v S C AE
u C S L
v S C
( (
( (


( (
=
`
( (

( (

)
Stiffness Matrix for a Bar Element
Example 3 - Bar Element Problem
Therefore:
For the bar element shown below, evaluate the global stiffness
matrix. Assume the cross-sectional area is 2 in
2
, the length
is 60 in, and the E is 30 x 10
6
psi.
= = = =
3 1
cos30 sin30
2 2
o o
C S
2 2
2 2
2 2
2 2
CS CS C C
S S CS CS AE
L CS CS C C
S S CS CS
(
(

(
=
(
(


k
CIVL 8/7117 Chapter 3 - Development of Truss Equations 25/77
Stiffness Matrix for a Bar Element
Example 3 - Bar Element Problem
Simplifying the global elemental stiffness matrix is:
The global elemental stiffness matrix is:
( )
2 6
3 3 3 3
4 4 4 4
3 3 1 1
(2 ) 30 10
4 4 4 4
60
3 3 3 3
4 4 4 4
3 3 1 1
4 4 4 4
lb
in
in psi
in
(

(
(
(

( =
(

(
(

(

k
6
0.750 0.433 0.750 0.433
0.433 0.250 0.433 0.250
10
0.750 0.433 0.750 0.433
0.433 0.250 0.433 0.250
lb
in
(
(

(
=
(
(


k
Stiffness Matrix for a Bar Element
Computation of Stress for a Bar in the x-y Plane
For a bar element the local forces are related to the local
displacements by:
1 1
2 2
1 1
1 1
x
x
f u
AE
f u L
' '
(
=
` `
(
' '
) )
The force-displacement equation for is:
2x
f '
| |
1
2
2
1 1
x
u
AE
f
u L
'

' =
`
'
)
The stress in terms of global displacement is:
| | | |
1
1
1 1 2 2
2
2
0 0
1 1
0 0
u
v C S E E
Cu Sv Cu Sv
u L L C S
v
o


(
= = + +
`
(



)
CIVL 8/7117 Chapter 3 - Development of Truss Equations 26/77
Stiffness Matrix for a Bar Element
Example 4 - Bar Element Problem
For the bar element shown below, determine the axial stress.
Assume the cross-sectional area is 4 x 10
-4
m
2
, the length is
2 m, and the E is 210 GPa.
The global displacements are known as
u
1
=0.25 mm, v
1
=0, u
2
=0.5 mm,
and v
2
=0.75 mm.
6
210 10 1 3 1 3
(0.25) (0) (0.5) (0.75)
2 2 4 2 4
KN
m
o
(

= + +
(

2
3
81.32 10 81.32
kN
m
MPa o = =
Stiffness Matrix for a Bar Element
Solution of a Plane Truss
We will now illustrate the use of equations developed above
along with the direct stiffness method to solve the following
plane truss example problems.
A plane truss is a structure composed of bar elements all lying
in a common plane that are connected together by
frictionless pins.
The plane truss also must have loads acting only in the
common plane.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 27/77
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
The plane truss shown below is composed of three bars
subjected to a downward force of 10 kips at node 1. Assume
the cross-sectional area A =2 in
2
and E is 30 x 10
6
psi for all
elements.
Determine the x and y displacement at node 1 and stresses in
each element.
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
Element Node 1 Node 2 u C S
1 1 2 90
o
0 1
2 1 3 45
o
0.707 0.707
3 1 4 0
o
1 0
CIVL 8/7117 Chapter 3 - Development of Truss Equations 28/77
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
The global elemental stiffness matrix are:
1 1 2 2
2 6
(1)
0 0 0 0
0 1 0 1 (2 )(30 10 )
0 1
0 0 0 0 120
0 1 0 1
lb
in
u v u v
in psi
C S
in
(
(

(
= = =
(
(


k
element 1:
1 1 4 4
2 6
(3)
1 0 1 0
0 0 0 0 (2 )(30 10 )
1 0
1 0 1 0 120
0 0 0 0
lb
in
u v u v
in psi
C S
in
(
(

(
= = =
(
(

k
element 2:
element 3:
1 1 3 3
2 6
(2) 2 2
2 2
1 1 1 1
1 1 1 1 (2 )(30 10 )
1 1 1 1 240 2
1 1 1 1
lb
in
u v u v
in psi
C S
in
(
(

(
= = =
(
(


k
2 2
2 2
2 2
2 2
CS CS C C
S S CS CS AE
L CS CS C C
S S CS CS
(
(

(
=
(
(


k
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
The total global stiffness matrix is:
5
1.354 0.354 0 0 0.354 0.354 1 0
0.354 1.354 0 1 0.354 0.354 0 0
0 0 0 0 0 0 0 0
0 1 0 1 0 0 0 0
0.354 0.354 0 0 0.354 0.354 0 0
0.354 0.354 0 0 0.354 0.354 0 0
1 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0
5 10
lb
in

(
(
(
(
=
(
(
(

K
The total global force-displacement equations are:
5
0
1.354 0.354 0 0 0.354 0.354 1 0
10, 000
0.354 1.354 0 1 0.354 0.354 0 0
2 0 0 0 0 0 0 0 0
2 0 1 0 1 0 0 0 0
0.354 0.354 0 0 0.354 0.354 0 0
3
0.354 0.354 0 0 0.354 0.354 0 0
3
1 0 0 0 0 0 1 0
4
0 0 0 0 0 0 0 0
4
5 10
F
x
F
y
F
x
F
y
F
x
F
y
=



)
1
1
0
0
0
0
0
0
u
v

(
(

(
`
(

(

(

)
element 1
element 2
element 3
CIVL 8/7117 Chapter 3 - Development of Truss Equations 29/77
5
0
1.354 0.354 0 0 0.354 0.354 1 0
10, 000
0.354 1.354 0 1 0.354 0.354 0 0
2 0 0 0 0 0 0 0 0
2 0 1 0 1 0 0 0 0
0.354 0.354 0 0 0.354 0.354 0 0
3
0.354 0.354 0 0 0.354 0.354 0 0
3
1 0 0 0 0 0 1 0
4
0 0 0 0 0 0 0 0
4
5 10
F
x
F
y
F
x
F
y
F
x
F
y
=







)
1
1
0
0
0
0
0
0
u
v

(
(

(
`
(

(

(

)
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
Applying the boundary conditions for the truss, the above
equations reduce to:
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
Applying the boundary conditions for the truss, the above
equations reduce to:
1 5
1
0 1.354 0.354
5 10
10,000 0.354 1.354
u
v
(
=
` `
(

) )
Solving the equations gives:
2
1
2
1
0.414 10
1.59 10
u in
v in

=
=
The stress in an element is: | |
1 1 2 2
E
Cu Sv Cu Sv
L
o = + +
CIVL 8/7117 Chapter 3 - Development of Truss Equations 30/77
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
Element Node 1 Node 2 u C S
1 1 2 90
o
0 1
2 1 3 45
o
0.707 0.707
3 1 4 0
o
1 0
element 1
element 2
element 3
| |
6
(1)
1
30 10
3,965
120
v psi o

= =
| |
6
(2)
1 1
30 10
(0.707) (0.707) 1,471
120
u v psi o

= + =
| |
6
(3)
1
30 10
1,035
120
u psi o

= =
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
Lets check equilibrium at node 1:
2 2
(1,471 )(2 )(0.707) (1,035 )(2 ) 0
x
F psi in psi in = =

2 2
(3,965 )(2 ) (1,471 )(2 )(0.707) 10,000 0
y
F psi in psi in = + =

CIVL 8/7117 Chapter 3 - Development of Truss Equations 31/77


Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
Develop the element stiffness matrices and system equations
for the plane truss below.
Assume the stiffness of each element is constant. Use the
numbering scheme indicated. Solve the equations for the
displacements and compute the member forces. All elements
have a constant value of AE/L
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
Develop the element stiffness matrices and system equations
for the plane truss below.
Member Node 1 Node 2 Elemental
Stiffness
u
1 1 2 k 0
2 2 3 k 3t/4
3 1 3 k t/2
CIVL 8/7117 Chapter 3 - Development of Truss Equations 32/77
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
Compute the elemental stiffness matrix for each element. The
general form of the matrix is:
Member Node 1 Node 2 Elemental
Stiffness
u
1 1 2 k 0
2 2 3 k 3t/4
3 1 3 k t/2
2 2
2 2
2 2
2 2
CS CS C C
S S CS CS AE
k
L CS CS C C
S S CS CS
(
(

(
=
(
(


Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
For element 1:
Member Node 1 Node 2 Elemental
Stiffness
u
1 1 2 k 0
2 2 3 k 3t/4
3 1 3 k t/2
1 1 2 2
1
1 (1)
2
2
1 0 1 0
0 0 0 0
1 0 1 0
0 0 0 0
u v u v
u
v
k
u
v
(
(
(
=
(
(

k
CIVL 8/7117 Chapter 3 - Development of Truss Equations 33/77
2 2 3 3
2
2 (2)
3
3
1 1 1 1
1 1 1 1
2 1 1 1 1
1 1 1 1
u v u v
u
v
k
u
v
(
(

(
=
(
(


k
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
For element 2:
Member Node 1 Node 2 Elemental
Stiffness
u
1 1 2 k 0
2 2 3 k 3t/4
3 1 3 k t/2
1 1 3 3
1
1 (3)
3
3
0 0 0 0
0 1 0 1
0 0 0 0
0 1 0 1
u v u v
u
v
k
u
v
(
(

(
=
(
(


k
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
For element 3:
Member Node 1 Node 2 Elemental
Stiffness
u
1 1 2 k 0
2 2 3 k 3t/4
3 1 3 k t/2
CIVL 8/7117 Chapter 3 - Development of Truss Equations 34/77
(
(

(
(
=
(

(
(
(


1 1 2 2 3 3
1
1
2
2
3
3
2 0 2 0 0 0
0 2 0 0 0 2
2 0 3 1 1 1
2 0 0 1 1 1 1
0 0 1 1 1 1
0 2 1 1 1 3
u v u v u v
u
v
u
k
v
u
v
K
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
Assemble the global stiffness matrix by superimposing the
elemental global matrices.
element 1
element 2
element 3
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
The unconstrained (no boundary conditions satisfied)
equations are:
1 1
1 1
1 2
2 2
3 3
3 3
2 0 2 0 0 0
0 2 0 0 0 2
2 0 3 1 1 1
2 0 0 1 1 1 1
0 0 1 1 1 1
0 2 1 1 1 3
x
y
x
y
F u
F v
P u
k
P v
F u
F v
(
(

(
(

=
` ` (

(
(

(
) )
The displacement at nodes 1 and 3 are zero in both directions.
Applying these conditions to the system equations gives:
1 1
1 1
1 2
2 2
3 3
3 3
2 0 2 0 0 0
0 2 0 0 0 2
2 0 3 1 1 1
2 0 0 1 1 1 1
0 0 1 1 1 1
0 2 1 1 1 3
x
y
x
y
F u
F v
P u
k
P v
F u
F v
(
(

(
(

=
` ` (

(
(

(
) )
CIVL 8/7117 Chapter 3 - Development of Truss Equations 35/77
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
Applying the boundary conditions to the system equations
gives:
Solving this set of equations is fairly easy. The solution is:
2 1
2 2
3 1
2 1 1
u P
k
v P
(
=
` `
(

) )
1 2 1 2
2 2
3 P P P P
u v
k k

= =
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
Member (element) 1:
Using the force-displacement relationship the force in each
member may be computed.
1 2
1 2 1 1
0
x y
P P
f k P P f
k
| |
= = =
|
\ .
1 2
2 1 2 2
0
x y
P P
f k P P f
k
| |
= = =
|
\ .
CIVL 8/7117 Chapter 3 - Development of Truss Equations 36/77
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
Member (element) 2:
Using the force-displacement relationship the force in each
member may be computed.
1 2 1 2
2 2
3 1 1
2
2 2
x
P P P P
f k P
k k
( | | | | | | | |
= + =
( | | | |
\ . \ . \ . \ .
1 2 1 2
3 2
3 1 1
2
2 2
x
P P P P
f k P
k k
( | | | | | | | |
= + =
( | | | |
\ . \ . \ . \ .
2 3
0 0
y y
f f = =
Stiffness Matrix for a Bar Element
Example 6 - Plane Truss Problem
Member (element) 3:
Using the force-displacement relationship the force in each
member may be computed.
1 1
3 3
0 0
0 0
x y
x y
f f
f f
= =
= =
The solution to this simple problem can be readily checked by
using simple static equilibrium equations.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 37/77
Stiffness Matrix for a Bar Element
Example 7 - Plane Truss Problem
Consider the two bar truss shown below.
Determine the displacement in the y direction of node 1 and
the axial force in each element.
Assume E =210 GPa and A =6 x 10
-4
m
2
Stiffness Matrix for a Bar Element
Example 7 - Plane Truss Problem
The global elemental stiffness matrix for element 1 is:
8 . 0
5
4
sin 6 . 0
5
3
cos
) 1 ( ) 1 (
= = = = u u
6 4
(1)
0.36 0.48 0.36 0.48
0.48 0.64 0.48 0.64 210 10 (6 10 )
5 0.36 0.48 0.36 0.48
0.48 0.64 0.48 0.64

(
(

(
=
(
(


k
Simplifying the above expression gives:
1 1 2 2
(1)
0.36 0.48 0.36 0.48
0.48 0.64 0.48 0.64
25,200
0.36 0.48 0.36 0.48
0.48 0.64 0.48 0.64
u v u v
(
(

(
=
(
(


k
CIVL 8/7117 Chapter 3 - Development of Truss Equations 38/77
Stiffness Matrix for a Bar Element
Example 7 - Plane Truss Problem
The global elemental stiffness matrix for element 2 is:
Simplifying the above expression gives:
1 sin 0 cos
) 2 ( ) 2 (
= = u u
6 4
(2)
0 0 0 0
0 1 0 1 (210 10 )(6 10 )
4 0 0 0 0
0 1 0 1

(
(

(
=
(
(


k
1 1 3 3
(2)
0 0 0 0
0 1.25 0 1.25
25,200
0 0 0 0
0 1.25 0 1.25
u v u v
(
(

(
=
(
(


k
Stiffness Matrix for a Bar Element
Example 7 - Plane Truss Problem
The total global equations are:
The displacement boundary conditions are:
1 1
1 1
2 2
2 2
3 3
3 3
0.36 0.48 0.36 0.48 0 0
0.48 1.89 0.48 0.64 0 1.25
0.36 0.48 0.36 0.48 0 0
25,200
0.48 0.64 0.48 0.64 0 0
0 0 0 0 0 0
0 1.25 0 0 0 1.25
x
y
x
y
x
y
F u
F v
F u
F v
F u
F v
(
(

(
(

=
` ` (

(
(
(
) )

1 2 2 3 3
0 u u v u v o = = = = =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 39/77
1 1
1 1
2 2
2 2
3 3
3 3
0.36 0.48 0.36 0.48 0 0
0.48 1.89 0.48 0.64 0 1.25
0.36 0.48 0.36 0.48 0 0
25,200
0.48 0.64 0.48 0.64 0 0
0 0 0 0 0 0
0 1.25 0 0 0 1.25
x
y
x
y
x
y
F u
F v
F u
F v
F u
F v
(
(

(
(

=
` ` (

(
(
(
) )

Stiffness Matrix for a Bar Element


Example 7 - Plane Truss Problem
The total global equations are:
By applying the boundary conditions the force-displacement
equations reduce to:
1
25,200(0.48 1.89 ) P v o = +
o
1
2
2
3
3
x
x
y
x
y
F
P
F
F
F
F





`




)
Stiffness Matrix for a Bar Element
Example 7 - Plane Truss Problem
Solving the equation gives:
By substituting P =1,000 kN and o =-0.05 m in the above
equation gives:
The local element forces for element 1 are:
5
1
(2.1 10 ) 0.25 v P o

=
1
0.0337 v m =
1
1 1
2 2
2
0.05
0.0337 1 1 0.6 0.8 0 0
25,200
1 1 0 0 0.6 0.8
x
x
u
f v
f u
v
=

= ( (
=
` `
( (

)


)
The element forces are:
1 2
76.6 76.7
x x
f kN f kN = =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 40/77
Stiffness Matrix for a Bar Element
Example 7 - Plane Truss Problem
The local element forces for element 2 are:
The element forces are:
1
1 1
3 3
3
0.05
0.0337 1 1 0 1 0 0
31,500
1 1 0 0 0 1
x
x
u
f v
f u
v
=

= ( (
=
` `
( (

)


)
1 3
1,061 1,061
x x
f kN f kN = =
Stiffness Matrix for a Bar Element
Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space
Lets derive the transformation matrix for the stiffness matrix for
a bar element in three-dimensional space as shown below:
CIVL 8/7117 Chapter 3 - Development of Truss Equations 41/77
Stiffness Matrix for a Bar Element
Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space
The coordinates at node 1 are x
1
, y
1
, and z
1
, and the coor-
dinates of node 2 are x
2
, y
2
, and z
2
. Also, let u
x
, u
y
, and u
z
be
the angles measured from the global x, y, and z axes,
respectively, to the local axis.
Stiffness Matrix for a Bar Element
Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space
The three-dimensional vector representing the bar element is
gives as:
u v w u v w ' ' ' ' ' ' = + + = + + d i j k i j k
CIVL 8/7117 Chapter 3 - Development of Truss Equations 42/77
Stiffness Matrix for a Bar Element
Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space
Taking the dot product of the above equation with gives: ' i
( ) ( ) ( ) u v w u ' ' ' ' + + = i i j i k i
By the definition of the dot product we get:
2 1 2 1 2 1
x y z
x x y y z z
C C C
L L L

' ' ' = = = = = = i i j i k i
where
2 2 2
2 1 2 1 2 1
( ) ( ) ( ) L x x y y z z = + +
cos cos cos
x x y y z z
C C C u u u = = =
where C
x
, C
y
, and C
z
are projections of on to i, j, and k,
respectively.
' i
Stiffness Matrix for a Bar Element
Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space
Therefore:
x y z
u C u C v C w ' = + +
The transformation between local and global displacements is:
' =
*
d T d
1
1
1 1
2 2
2
2
0 0 0
0 0 0
x y z
y x z
u
v
u w C C C
C u C C u
v
w



' (
=
` ` (
'
)


)
0 0 0
0 0 0
x y z
y x z
C C C
C C C
(
=
(

*
T
CIVL 8/7117 Chapter 3 - Development of Truss Equations 43/77
Stiffness Matrix for a Bar Element
Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space
The transformation from the local to the global stiffness matrix
is:
' =
T
k T k T
0
0
0 0 0 0 1 1
0 1 1 0 0 0
0
0
x
y
z x y z
y x x z
y
z
C
C
C C C C AE
C C C C L
C
C
(
(
(
( ( (
=
( ( (

(
(
(

k
2 2
2 2
2 2
2 2
2 2
2 2
x y x y x z x z x x
y y y z y z x y x y
y z y z z z x z x z
x y x y x z x z x x
y y y z y z x y x y
y z y z z z x z x z
C C C C C C C C C C
C C C C C C C C C C
C C C C C C C C C C AE
C C C C C C C C L C C
C C C C C C C C C C
C C C C C C C C C C
(
(

(
(
=
(

(
(

(
(

k
Stiffness Matrix for a Bar Element
Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space
The global stiffness matrix can be written in a more convenient
form as:
AE
L


(
=
(


k
2
2
2
x x y x z
x y y y z
x z y z z
C C C C C
C C C C C
C C C C C

(
(
=
(
(

CIVL 8/7117 Chapter 3 - Development of Truss Equations 44/77
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
Consider the space truss shown below. The modulus of
elasticity, E =1.2 x 10
6
psi for all elements. Node 1 is
constrained from movement in the y direction.
To simplify the stiffness matrices
for the three elements, we will
express each element in the
following form:
AE
L


(
=
(


k
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
Consider element 1:
(1) 2 2
( 72) (36) 80.5 L in = + =
72
0.89
80.5
36
0.45
80.5
0
x
y
z
C
C
C

= =
= =
=
0.79 0.40 0
0.40 0.20 0
0 0 0

(
(
=
(
(

CIVL 8/7117 Chapter 3 - Development of Truss Equations 45/77
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
Consider element 1:
1 1 1 2 2 2
2 6
(0.302 )(1.2 10 )
80.5
u v w u v w
lb
in
in psi
in


(
=
(


k
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
Consider element 2:
(2) 2 2 2
( 72) (36) (72) 108 L in = + + =
72
0.667
108
36
0.33
108
72
0.667
108
x
y
z
C
C
C

= =
= =
= =
0.45 0.22 0.45
0.22 0.11 0.45
0.45 0.45 0.45

(
(
=
(
(

CIVL 8/7117 Chapter 3 - Development of Truss Equations 46/77
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
Consider element 2:
1 1 1 3 3 3
2 6
(0.729 )(1.2 10 )
108
u v w u v w
lb
in
in psi
in


(
=
(


k
The boundary conditions are:
2 2 2
3 3 3
4 4 4
0
0
0
u v w
u v w
u v w
= = =
= = =
= = =
1
0 v =
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
Consider element 3:
(3) 2 2 2
4 1 4 1 4 1
( ) ( ) ( ) L x x y y z z = + +
(3) 2 2
( 72) ( 48) 86.5 L in = + =
72
0.833
86.5
0
48
0.550
86.5
x
y
z
C
C
C

= =
=

= =
0.69 0 0.46
0 0 0
0.46 0 0.30

(
(
=
(
(

CIVL 8/7117 Chapter 3 - Development of Truss Equations 47/77
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
Consider element 3:
1 1 1 4 4 4
2 6
(0.187 )(1.2 10 )
86.5
u v w u v w
lb
in
in psi
in


(
=
(


k
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
Canceling the rows and the columns associated with the
boundary conditions reduces the global stiffness matrix to:
The global force-displacement equations are:
1 1
9,000 2,450
2,450 4,450
u w
(
=
(


K
1
1
9,000 2,450 0
2,450 4,450 1,000
u
w
(
=
` `
(

) )
Solving the equation gives:
1 1
0.072 0.264 u in w in = =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 48/77
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
It can be shown, that the local forces in an element are:
The stress in an element is:
i
i
ix x y z x y z i
jx x y z x y z j
j
j
u
v
f C C C C C C w
AE
f C C C C C C u L
v
w



' (

=
` ` (
'
)



)
i
i
i
x y z x y z
j
j
j
u
v
w
E
C C C C C C
u L
v
w
o





( =
`





)
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
The stress in element 1 is:
| |

=
0
0
0
264 . 0
0
072 . 0
0 45 . 0 89 . 0 0 45 . 0 89 . 0
5 . 80
10 2 . 1
6
) 1 (
o
The stress in element 2 is:
(1)
955 psi o =
| |
6
(2)
0.072
0
0.264 1.2 10
0.667 0.33 0.667 0.667 0.33 0.667
0 108
0
0
o




=
`



)
(2)
1,423 psi o =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 49/77
| |
6
(3)
0.072
0
0.264 1.2 10
0.83 0 0.55 0.83 0 0.55
0 86.5
0
0
o




=
`



)
Stiffness Matrix for a Bar Element
Example 8 Space Truss Problem
The stress in element 3 is:
(3)
2,843 psi o =
Stiffness Matrix for a Bar Element
Inclined, or Skewed, Supports
If a support is inclined, or skewed, at some angle o for the
global x axis, as shown below, the boundary conditions on
the displacements are not in the global x-y directions but in
the x-y directions.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 50/77
Stiffness Matrix for a Bar Element
Inclined, or Skewed, Supports
We must transform the local boundary condition of v
3
=0
(in local coordinates) into the global x-y system.
Stiffness Matrix for a Bar Element
Inclined, or Skewed, Supports
Therefore, the relationship between of the components of the
displacement in the local and the global coordinate systems
at node 3 is:
3 3
3 3
' cos sin
' sin cos
u u
v v
o o
o o
(
=
` `
(

) )
We can rewrite the above expression as:
{ } { } | |
3 3 3 3
cos sin
' [ ]
sin cos
d t d t
o o
o o
(
= =
(


We can apply this sort of transformation to the entire
displacement vector as:
{ } { } { } { }
1 1
' [ ] [ ] '
T
d T d or d T d = =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 51/77
Stiffness Matrix for a Bar Element
Inclined, or Skewed, Supports
Where the matrix [T
1
]
T
is:
Both the identity matrix [I] and the matrix [t
3
] are 2 x 2 matrices.
The force vector can be transformed by using the same
transformation.
T
1
3
[ ] [0] [0]
[ ] [0] [ ] [0]
[0] [0] [ ]
I
T I
t
(
(
=
(
(

{ } { }
1
' [ ] f T f =
In global coordinates, the force-displacement equations are:
{ } { } [ ] f K d =
Stiffness Matrix for a Bar Element
Inclined, or Skewed, Supports
Applying the skewed support transformation to both sides of
the equation gives:
By using the relationship between the local and the global
displacements, the force-displacement equations become:
Therefore the global equations become:
{ } { }
1 1
[ ] [ ][ ] T f T K d =
{ } { }
1 1
' [ ][ ][ ] '
T
f T K T d =
1 1
1 1
2 2
1 1
2 2
3 3
3 3
[ ][ ][ ]
' '
' '
x
y
x T
y
x
y
F u
F v
F u
T K T
F v
F u
F v





=
` `



) )
CIVL 8/7117 Chapter 3 - Development of Truss Equations 52/77
Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
Determine the stiffness matrix
for each element.
Consider the plane truss shown below. Assume E =210 GPa,
A =6 x 10
-4
m
2
for element 1 and 2, and A = (6 x 10
-4
)m
2
for element 3.
2
Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
The global elemental stiffness matrix for element 1 is:
(1) (1)
cos 0 sin 1 u u = =
1 1 2 2
6 2 4 2
(1)
0 0 0 0
0 1 0 1 (210 10 / )(6 10 )
0 0 0 0 1
0 1 0 1
u v u v
kN m m
m

(
(

(
=
(
(


k
CIVL 8/7117 Chapter 3 - Development of Truss Equations 53/77
(2) (2)
cos 1 sin 0 u u = =
Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
The global elemental stiffness matrix for element 2 is:
2 2 3 3
6 2 4 2
(2)
1 0 1 0
0 0 0 0 (210 10 / )(6 10 )
1 0 1 0 1
0 0 0 0
u v u v
kN m m
m

(
(

(
=
(
(

k
(3) (3)
2 2
cos sin
2 2
u u = =
Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
The global elemental stiffness matrix for element 3 is:
1 1 3 3
6 2 4 2
(3)
1 1 1 1
1 1 1 1 (210 10 / )(6 2 10 )
1 1 1 1 2 2
1 1 1 1
u v u v
kN m m
m

(
(

(
=
(
(


k
CIVL 8/7117 Chapter 3 - Development of Truss Equations 54/77
Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
Using the direct stiffness method, the global stiffness matrix is:
(
(
(
(
(
(
(

=
5 . 0
5 . 0
0
0
5 . 0
5 . 0
5 . 0
5 . 1
0
1
5 . 0
5 . 0
0
0
1
0
1
0
0
1
0
1
0
0
5 . 0
5 . 0
1
0
5 . 1
5 . 0
5 . 0
5 . 0
0
0
5 . 0
5 . 0
10 260 , 1
5
m
N
K
We must transform the global displacements into local
coordinates. Therefore the transformation [T
1
] is:
2 2
2 2
2 2
2 2
1 0 0 0 0 0
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 1 0 0
0 0 0 0
0 0 0 0

(
(
(
(
=
(
(
(
(

1
3
[ ] [0] [0]
[ ] [0] [ ] [0]
[0] [0] [ ]
I
T I
t
(
(
=
(
(

Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
The first step in the matrix transformation to find the product of
[T
1
][K].
The next step in the matrix transformation to find the product of
[T
1
][K][T
1
]
T
.
| || |
5
0.5 0.5 0 0 0.5 0.5
0.5 1.5 0 1 0.5 0.5
0 0 1 0 1 0
0 1 0 1 0 0
0.707 0.707 0.707 0 1.414 0.707
0 0 0.707 0 0.70 0
1,260 10
1
N
T K
m

(
(
(
=
(
(

| || || |
T
0.5 0.5 0 0 0.707 0
0.5 1.5 0 1 0.707 0
0 0 1 0 0.707 0.707
0 1 0 1 0 0
0.707 0.707 0.707 0 1.5 0.5
0 0 0.707 0 0.5 0.5
5
1,260 10
1 1
T K
N
T
m

(
(
(
(
(

=
CIVL 8/7117 Chapter 3 - Development of Truss Equations 55/77
5
1
1
2
2
3
3
1
1
2
2
3
3
1,260 10
0.5 0.5 0 0 0.707 0
0.5 1.5 0 1 0.707 0
0 0 1 0 0.707 0.707
0 1 0 1 0 0
0.707 0.707 0.707 0 1.5 0.5
0 0 0.707 0 0.5 0.5
'
'
'
'
x
y
x
y
x
y
N
m
F
F
F
F
F
F
u
v
u
v
u
v

(

(

(

(

(
` `
(

(

(

(

(

)
=

)
Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
The displacement boundary conditions are:
1 1 2 3
' 0 u v v v = = = =
Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
By applying the boundary conditions the global force-
displacement equations are:
2 2 5
3 3
1,000 1 0.707
1,260 10
' ' 0 0.707 1.5
x
x
u F kN
N
m
u F
= (
=
` `
(
=
) )
Solving the equation gives:
2 3
11.91 ' 5.61 u mm u mm = =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 56/77
Stiffness Matrix for a Bar Element
Example 9 Space Truss Problem
Therefore:
The global nodal forces are calculated as:
1
1
2 2
2
3
3
0.5 0.5 0 0 0.707 0 0
0.5 1.5 0 1 0.707 0 0
0 0 1 0 0.707 0.707 11.91
0 1 0 1 0 0 0
0.707 0.707 0.707 0 1.5 0.5 5.61
0 0 0.707 0 0.5 0.5 0
1,260 10
'
'
x
y
x
N
mm
y
x
y
F
F
F
F
F
F


(
(
(

=
` ` (

(
(
)

)
1 1
500 500
x y
F kN F kN = =
2 3
0 ' 707
y y
F F kN = =
1 1
1 1
2 2
1 1
2 2
3 3
3 3
[ ][ ][ ]
' '
' '
x
y
x T
y
x
y
F u
F v
F u
T K T
F v
F u
F v





= ` `



) )
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
The differential internal work (strain energy) dU in a one-
dimensional bar element is:
Lets derive the equations for a bar element using the principle
of minimum potential energy.
The total potential energy, t
p
, is defined as the sum of the
internal strain energy U and the potential energy of the
external forces O:
p
U t = + O
( )( )( )
x x
dU y z x d o c = A A A
CIVL 8/7117 Chapter 3 - Development of Truss Equations 57/77
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
Summing the differential energy over the whole bar gives:
If we let the volume of the element approach zero, then:
x x
dU d dV o c =
0
x
x x
V
U d dV
c
o c


=
`

)
} }
For a linear-elastic material (Hookes law) as shown below:
x x
E o c =
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
The potential energy of the external forces is:
The internal strain energy statement becomes
1
2
x x
V
U dV o c =
}
s
V S
X u dV T u dS f u
=
O =

} }
M
b x ix i
i 1
where X
b
is the body force (force per unit volume), T
x
is the
traction (force per unit area), and f
ix
is the nodal concentrated
force. All of these forces are considered to act in the local x
direction.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 58/77
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
1. Formulate an expression for the total potential energy.
2. Assume a displacement pattern.
3. Obtain a set of simultaneous equations minimizing the
total potential energy with respect to the displacement
parameters.
Apply the following steps when using the principle of minimum
potential energy to derive the finite element equations.
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
We can approximate the axial displacement as:
Consider the following bar element, as shown below:
2 2
0
L
p x x 1x 1 x
s
V S
A
dx f u f u
2
X u dV T u dS
t o c =

}
} }
b x
| |
1
1 2
2
u
u N N
u

=
`
)
1 2
1
x x
N N
L L
= =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 59/77
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
where N
1
and N
2
are the interpolation functions gives as:
Using the stress-strain relationships, the axial strain is:
1
1 2
2
x
u
dN dN du
u dx dx dx
c

(
= =
`
(

)
1
2
1 1
x
u
u L L
c

(
=
`
(

)
1 1
B
L L
(
=
(

The axial stress-strain relationship is:
{ } { } [ ]
x x
D o c =
{ } [ ]{ }
x
B d c =
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
The total potential energy expressed in matrix form is:
Where [D] =[E] for the one-dimensional stress-strain
relationship and E is the modulus of elasticity.
Therefore, stress can be related to nodal displacements as:
where {P}represented the concentrated nodal loads.
{ } { } [ ][ ]
x
D B d o =
{ } { } { } { } { } { } { } { }
0
L
T T T T
p x x
V S
A
dx d P u X dV u T dS
2
t o c =
} } }
b x
CIVL 8/7117 Chapter 3 - Development of Truss Equations 60/77
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
If we substitute the relationship between and into the
energy equations we get:
u

d
{ } | | | | | |{ } { } { }
{ } | | { } { } | | { }
0
L
T T T T
p
T T T T
s
V S
A
d B D B d dx d P
2
d N X dV d N T dS
t =

}
} }
b x
In the above expression for potential energy t
p
is a function of
the d, that is: t
p
=t
p
( ).
1
, u
2
u
However, [B] and [D] and the nodal displacements u are not a
function of x.
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
where
Integration the energy expression with respect to x gives:
{ } { } { } { } [ ] [ ] [ ]
2
T T
T T
p
AL
d B D B d d f t =
{ } { } { } { } [ ] [ ]
V S
f P N X dV N X dS = + +
} }
T T
b b
We can define the surface tractions and body-force matrices
as:
{ } { } [ ]
x
S
f N T dS =
}
T
s
{ } { } [ ]
V
f N X dV =
}
T
b b
CIVL 8/7117 Chapter 3 - Development of Truss Equations 61/77
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
Minimization of t
p
with respect to each nodal displacement
requires that:
For convenience, lets define the following
1 2
0 0
p p
u u
t t c c
= =
c c
{ } { } { }
*
[ ] [ ] [ ]
T
T T
U d B D B d =
{ } | |
1 *
1 2
2
1
1 1
[ ]
1
u
L
U u u E
u L L
L



(
=
` `
(

)


)
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
Simplifying the above expression gives:
The loading on a bar element is given as:
( )
* 2 2
1 1 2 2 2
2
E
U u u u u
L
= +
{ } { }
11 2 2
T
x x
d f u f u f = +
Therefore, the minimum potential energy is:
( )
1 2 1
1
2 2 0
2
p
x
AE
u u f
u L
t c
= =
c
( )
1 2 2
2
2 2 0
2
p
x
AE
u u f
u L
t c
= + =
c
CIVL 8/7117 Chapter 3 - Development of Truss Equations 62/77
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations
The above equations can be written in matrix form as:
The stiffness matrix for a bar element is:
This form of the stiffness matrix obtained from the principle of
minimum potential energy is identical to the stiffness matrix
derived from the equilibrium equations.
( )
1 1
2 2
1 1
0
1 1
p x
x
u f
AE
u f d L
t c | | | | (
= =
| | (
c
\ . \ .
| |
1 1
1 1
AE
k
L
(
=
(


Stiffness Matrix for a Bar Element
Example 10 - Bar Problem
Consider the bar shown below:
The energy equivalent nodal forces due to the distributed load
are:
{ } { }
0
[ ]
x
S
f N T dS =
}
T
{ } { }
0
0
L
x
1
f
L
f Cx dx
f x
L




= =
` `
)


)
}
1x
2x
CIVL 8/7117 Chapter 3 - Development of Truss Equations 63/77
Stiffness Matrix for a Bar Element
Example 10 - Bar Problem
The total load is the area under the distributed load curve, or:
The equivalent nodal forces for a linearly varying load are:
{ }
0
0
0
L
2 3
2
L
L 2
3
Cx Cx
CL x
1
2 3L
f
6 L
Cx dx
f x
CL
Cx
L
3
3L







= = =
` ` ` `
)


)
)
)
}
1x
2x
2
1
( )( )
2 2
CL
F L CL = =
1
1
of the total load
3 3
x
F
f = =
2
2 2
of the total load
3 3
x
F
f = =
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
Consider the axially loaded bar shown below. Determine the
axial displacement and axial stress. Let E =30 x 10
6
psi,
A =2 in
2
, and L =60 in. Use (a) one and (b) two elements in
the finite element solutions.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 64/77
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The one-element solution:
The distributed load can be converted into equivalent nodal
forces using:
{ } { }
0
[ ]
x
S
F N T dS =
}
T
{ } { }
0
0
L
1x
2x
x
1
F
L
F 10x dx
F x
L




= =
` `
)


)
}
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The one-element solution:
{ }
0
2 2 2
L
1x
2 2
2x
10L 10L 10L x
1
F
2 3 6 L
10x dx
F x
10L 10L
L
3 3


+




= = =
` ` ` `
)



)
) )
}
6,000
12,000
1x
2x
F lb
F lb

=
` `

) )
CIVL 8/7117 Chapter 3 - Development of Truss Equations 65/77
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The one-element solution:
The element equations are:
(1) 6
1 1
10
1 1
(
=
(


k
1 6
2
6,000 1 1
10
12,000 1 1 0
x
u
R
(
=
` `
(

) )
1
0.006 u in =
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The one-element solution:
The axial stress-strain relationship is:
{ } [ ]{ }
x x
D o c =
{ } { } [ ]
x
E B d o =
1
2 1
2
1 1
u
u u
E E
u L L L
| | (
= =
`
|
(
\ .
)
6
0 0.006
30 10 3,000 ( )
60
psi T
+ | |
= =
|
\ .
CIVL 8/7117 Chapter 3 - Development of Truss Equations 66/77
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The two-element solution:
The distributed load can be converted into equivalent nodal
forces.
For element 1, the total force of the triangular-shaped
distributed load is:
1
(30 .)(300 ) 4,500
2
lb
in
in lb =
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The two-element solution:
Based on equations developed for the equivalent nodal force of
a triangular distributed load, develop in the one-element
problem, the nodal forces are:
(1)
1
(1)
2
1
(4,500)
1,500
3
2 3,000
(4,500)
3
x
x
lb f
lb f



= =
` ` `

)
)


)
CIVL 8/7117 Chapter 3 - Development of Truss Equations 67/77
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The two-element solution:
For element 2, the applied force is in two parts: a triangular-
shaped distributed load and a uniform load. The uniform load
is:
(30 )(300 / ) 9,000 in lb in lb =
(2)
2
(2)
3
1 1
(9,000) (4,500)
6,000 2 3
7,500 1 2
(9,000) (4,500)
2 3
x
x
lb f
lb f
(
+
(

= =
` ` `

( )
)
+
(

)
The nodal forces for element 2 are:
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The two-element solution:
The final nodal force vector is:
The element stiffness matrices are:
1
2
3 3
1,500
9,000
7,500
x
x
x x
F
F
F R


=
` `

) )
(1) (2)
1 1 2
1 1
AE
L
(
(

= =

k k
1 2
3 4
CIVL 8/7117 Chapter 3 - Development of Truss Equations 68/77
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The two-element solution:
The assembled global stiffness matrix is:
The assembled global force-displacement equations are:
6
1 1 0
2 10 1 2 1
0 1 1
(
(
=
(
(

K
1
6
2
3
1 1 0 1,500
2 10 1 2 1 9,000
0 1 1 0 7,500
x
u
u
R
(

(
=
` `
(

(
) )
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The two-element solution:
After the eliminating the row and column associated with d
3x
,
we get:
Solving the equation gives:
1 6
2
1 1 1,500
2 10
1 2 9,000
u
u
(
=
` `
(

) )
1
2
0.006
0.00525
u in
u in
=
=
CIVL 8/7117 Chapter 3 - Development of Truss Equations 69/77
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The two-element solution:
The axial stress-strain relationship is:
1 (1)
2
1 1
x
x
x
d
E
d L L
o

(
=
`
(

)
(2)
0.00525
1 1
5,250 ( )
30 30 0
x
E psi T o

(
= =
`
(

)
0.006
1 1
750 ( )
30 30 0.00525
E psi T

(
= =
`
(


)
Stiffness Matrix for a Bar Element
Comparison of Finite Element Solution to Exact Solution
In order to be able to judge the accuracy of our finite element
models, we will develop an exact solution for the bar element
problem.
The exact solution for the displacement may be obtained by:
where the force P is shown on the following free-body diagram.
0
1
( )
L
u P x dx
AE
=
}
| |
2
1
( ) (10 ) 5
2
P x x x x = =
CIVL 8/7117 Chapter 3 - Development of Truss Equations 70/77
Stiffness Matrix for a Bar Element
Comparison of Finite Element Solution to Exact Solution
Therefore:
Applying the boundary conditions:
0
1
( )
L
u P x dx
AE
=
}
3
2
1
1 5
5
3
x
o
x
u x dx C
AE AE
= = +
}
3 3
1 1
5 5
( ) 0
3 3
x L
u L C C
AE AE
= = + =
The exact solution for axial displacement is:
( )
3 3
5
( )
3
u L x L
AE
=
2
( ) 5
( )
P x x
x
A A
o = =
Stiffness Matrix for a Bar Element
Comparison of Finite Element Solution to Exact Solution
A plot of the exact solution for displacement as compared to
several different finite element solutions is shown below.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 71/77
Stiffness Matrix for a Bar Element
Comparison of Finite Element Solution to Exact Solution
A plot of the exact solution for axial stress as compared to
several different finite element solutions is shown below.
Stiffness Matrix for a Bar Element
Comparison of Finite Element Solution to Exact Solution
A plot of the exact solution for axial stress at the fixed end
(x =L) as compared to several different finite element
solutions is shown below.
CIVL 8/7117 Chapter 3 - Development of Truss Equations 72/77
Stiffness Matrix for a Bar Element
Galerkins Residual Method and Its Application
to a One-Dimensional Bar
There are a number of weighted residual methods.
However, the Galerkins method is more well-known and will be
the only weighted residual method discussed in this course.
In weighted residual methods, a trial or approximate function is
chosen to approximate the independent variable (in our
case, displacement) in a problem defined by a differential
equation.
The trial function will not, in general, satisfy the governing
differential equation.
Therefore, the substitution of the trial function in the differential
equation will create a residual over the entire domain of the
problem.
Stiffness Matrix for a Bar Element
Galerkins Residual Method and Its Application
to a One-Dimensional Bar
Therefore, the substitution of the trial function in the differential
equation will create a residual over the entire domain of the
problem.
minimum
V
RdV =
}
In the residual methods, we require that a weighted value of
the residual be a minimum over the entire domain of the
problem.
The weighting function allows the weighted integral of the
residuals to go to zero.
0
V
RW dV =
}
CIVL 8/7117 Chapter 3 - Development of Truss Equations 73/77
Stiffness Matrix for a Bar Element
Galerkins Residual Method and Its Application
to a One-Dimensional Bar
Using Galerkins weighted residual method, we require the
weighting functions to be the interpolation, N
i
. Therefore:
0 1, 2, ,
i
V
RN dV i n = =
}

Stiffness Matrix for a Bar Element
Example 12 - Bar Element Formulation
Lets derive the bar element formulation using Galerkins
method. The governing differential equation is:
Applying Galerkins method we get:
0
d du
AE
dx dx
| |
=
|
\ .
0
0 1, 2, ,
L
i
d du
AE N dx i n
dx dx
| |
= =
|
\ .
}

We now apply integration by parts using the following general
formula:
udv uv vdu =
} }
CIVL 8/7117 Chapter 3 - Development of Truss Equations 74/77
Stiffness Matrix for a Bar Element
Example 12 - Bar Element Formulation
If we assume the following:
then integration by parts gives:
i
i
dN
u N du dx
dx
= =
d du du
dv AE dx v AE
dx dx dx
| |
= =
|
\ .
0 0
0
L
L
i
i
dN du du
N AE AE dx
dx dx dx
| |
=
|
\ .
}
Stiffness Matrix for a Bar Element
Example 12 - Bar Element Formulation
Recall that:
1 2
1 2

dN dN du
u u
dx dx dx
= +
1
2
1 1
u
du
u dx L L

(
=
`
(

)
Our original weighted residual expression, with the
approximation for u becomes:
1
2 0
1 1
L
L
i
i
o
u
dN du
AE dx N AE
u dx L L dx

( | |
=
`
|
(
\ .
)
}
CIVL 8/7117 Chapter 3 - Development of Truss Equations 75/77
Stiffness Matrix for a Bar Element
Example 12 - Bar Element Formulation
Substituting N
1
for the weighting function N
i
gives:
1
1
1
2 0 0
1 1
L
L
u
dN du
AE dx N AE
u dx L L dx

( | |
=
`
|
(
\ .
)
}
1
2 0 0
1 1 1
L
x
u
du
AE dx AE
u L L L dx
=

( (
=
`
( (

)
}
( )
1 2 1x
AE
u u f
L
=
1
0
x
x
du
f AE
dx
=
=
Stiffness Matrix for a Bar Element
Example 12 - Bar Element Formulation
Substituting N
2
for the weighting function N
i
gives:
1
2
2
2 0 0
1 1
L
L
u
dN du
AE dx N AE
u dx L L dx

( | |
=
`
|
(
\ .
)
}
1
2 0
1 1 1
L
x L
u
du
AE dx AE
u L L L dx
=

( (
=
`
( (

)
}
( )
2 1 2x
AE
u u f
L
=
2x
x L
du
f AE
dx
=
=
1 1
2 2
1 1
1 1
x
x
u f
AE
u f L
(
=
` `
(

) )
CIVL 8/7117 Chapter 3 - Development of Truss Equations 76/77
Stiffness Matrix for a Bar Element
Problems:
6. Verify the global stiffness matrix for a three-dimensional
bar. Hint: First, expand T* to a 6 x 6 square matrix, then
expand k to 6 x 6 square matrix by adding the appropriate
rows and columns of zeros, and finally, perform the matrix
triple product k =T
T
kT.
7. Do problems 3.4, 3.10, 3.12, 3.15a,b, 3.18, 3.23, 3.37,
3.43, 3.48, 3.50, and 3.55 on pages 146 - 165 in your
textbook A First Course in the Finite Element Method by
D. Logan.
8. Use SAP2000 and solve problems 3.63 and 3.64.
End of Chapter 3
CIVL 8/7117 Chapter 3 - Development of Truss Equations 77/77

Vous aimerez peut-être aussi