You are on page 1of 80

CIVL 7/8117 Chapter 3a - Development of Truss Equations 1/80

Development of Truss Equations


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


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 Galerkin’s residual method to derive the


bar element equations.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 2/80

Development of Truss Equations

Development of Truss Equations


CIVL 7/8117 Chapter 3a - Development of Truss Equations 3/80

Development of Truss Equations

Development of Truss Equations


CIVL 7/8117 Chapter 3a - Development of Truss Equations 4/80

Development of Truss Equations

Development of Truss Equations


CIVL 7/8117 Chapter 3a - Development of Truss Equations 5/80

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 7/8117 Chapter 3a - Development of Truss Equations 6/80

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 u1 and u2 at the ends of the bar.

Stiffness Matrix for a Bar Element


du
The strain-displacement relationship is:   E 
dx
From equilibrium of forces, assuming no distributed loads
acting on the bar, we get:
A x  T  constant
Combining the above equations gives:
du
AE  T  constant
dx
Taking the derivative of the above equation with respect to the
local coordinate x gives:
d  du 
 0
dx 
AE
dx 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 7/80

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: f1y  f2 y  0

2. Any effect of transverse displacement is ignored.

3. Hooke’s law applies; stress is related to strain:  x  E x

Stiffness Matrix for a Bar Element


Step 1 - Select Element Type

We will consider the linear bar element shown below.


CIVL 7/8117 Chapter 3a - Development of Truss Equations 8/80

Stiffness Matrix for a Bar Element


Step 2 - Select a Displacement Function

A linear displacement function u is assumed: u  a1  a2 x

The number of coefficients in the displacement function, ai, 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:

 u  u1   x x   u1 
u  2  x  u1 u   1    
 L   L  L  u2 

Stiffness Matrix for a Bar Element


Step 2 - Select a Displacement Function

u 
Or in another form: u  N1 N2   1 
u2 

where N1 and N2 are the interpolation functions gives as:


x x
N1  1  N2 
L L
The linear displacement
function û plotted over the
length of the bar element is
shown below.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 9/80

Stiffness Matrix for a Bar Element


Step 3 - Define the Strain/Displacement
and Stress/Strain Relationships

du u2  u1
The stress-displacement relationship is: x  
dx L

Step 4 - Derive the Element Stiffness Matrix and Equations

We can now derive the element stiffness matrix as follows:


T  A x
Substituting the stress-displacement relationship into the
above equation gives:
 u  u1 
T  AE  2 
 L 

Stiffness Matrix for a Bar Element


Step 4 - Derive the Element Stiffness Matrix and Equations

The nodal force sign convention, defined in element figure, is:


f1x  T f2 x  T

therefore, u u   u  u1 
f1x  AE  1 2  f2 x  AE  2 
 L   L 

Writing the above equations in matrix form gives:

 f1x  AE  1 1  u1 
   
f2 x  L  1 1 u2 

Notice that AE/L for a bar element is analogous to the spring


constant k for a spring element.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 10/80

Stiffness Matrix for a Bar Element


Step 5 - Assemble the Element Equations
and Introduce Boundary Conditions

The global stiffness matrix and the global force vector are
assembled using the nodal force equilibrium equations, and
force/deformation and compatibility equations.
n n
K  K    k ( e ) F  F    f ( e )
e 1 e 1

Where k and f are the element stiffness and force matrices


expressed in global coordinates.

Stiffness Matrix for a Bar Element


Step 6 - Solve for the Nodal Displacements
Solve the displacements by imposing the boundary conditions
and solving the following set of equations:

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:

du u2  u1
x    x  E x
dx L
CIVL 7/8117 Chapter 3a - Development of Truss Equations 11/80

Stiffness Matrix for a Bar Element


Example 1 - Bar Problem
Consider the following three-bar system shown below. Assume
for elements 1 and 2: A = 1 in2 and E = 30 (106) psi and for
element 3: A = 2 in2 and E = 15 (106) psi.

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


Example 1 - Bar Problem
For elements 1 and 2:
1 2 node numbers for element 1
2 3 node numbers for element 2

1  30  10  
6
1 1 lb 6  1 1 lb
k (1)  k (2)   1 1 in  10  1 1 in
30    
For element 3:
3 4 node numbers for element 3

 2  15  106   1 1 lb 6  1 1 lb


k (3)
  1 1 in  10  1 1 in
30    
As before, the numbers above the matrices indicate the
displacements associated with the matrix.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 12/80

Stiffness Matrix for a Bar Element


Example 1 - Bar Problem
Assembling the global stiffness matrix by the direct stiffness
methods gives: E1 E2 E3

 1 1 0 0 
 2 1 0 
6  1 
K  10
 0 1 2 1
 
 0 0 1 1
Relating global nodal forces related to global nodal
displacements gives:
 F1x   1 1 0 0   u1 
F   2 1 0  u2 
 2x  6  1  
   10
F3 x   0 1 2 1 u3 
F4 x   
 0 0 1 1 u4 

Stiffness Matrix for a Bar Element


Example 1 – Bar Problem
The boundary conditions are: u1  u4  0

 F1x   1 1 0 0   0 
F   2 1 0  u2 
 2x  6  1  
   10
F3 x   0 1 2 1 u3 
F4 x   
 0 0 1 1  0 

Applying the boundary conditions and the known forces


(F2x = 3000 lb) gives:

3000  6  2 1  2 
u
   10    
 0   1 2  u3 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 13/80

Stiffness Matrix for a Bar Element


Example 1 – Bar Problem

Solving for u2 and u3 gives: u2  0.002 in


u3  0.001 in

The global nodal forces are calculated as:


 F1x   1 1 0 0   0  2000 
F   2 1 0  0.002   3000 
 2x  6  1 
   10   lb
F3 x   0 1 2 1  0.001  0 
F4 x   
 0 0 1 1  0  1000 

Stiffness Matrix for a Bar Element


Selecting Approximation Functions for Displacements
Consider the following guidelines, as they relate to the one-
dimensional bar element, when selecting a displacement
function.

1. Common approximation functions are usually


polynomials.
2. The approximation function should be continuous within
the bar element.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 14/80

Stiffness Matrix for a Bar Element


Selecting Approximation Functions for Displacements
Consider the following guidelines, as they relate to the one-
dimensional bar element, when selecting a displacement
function.

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


Selecting Approximation Functions for Displacements
Consider the following guidelines, as they relate to the one-
dimensional bar element, when selecting a displacement
function.
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 7/8117 Chapter 3a - Development of Truss Equations 15/80

Stiffness Matrix for a Bar Element


Selecting Approximation Functions for Displacements
Consider the following guidelines, as they relate to the one-
dimensional bar element, when selecting a displacement
function.
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


Selecting Approximation Functions for Displacements
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: u  a1 a1  u1  u2

Therefore: u  N1u1  N2u2   N1  N2  a1

Since u = a1 then: u  a1   N1  N2  a1

This means that: N1  N2  1

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 7/8117 Chapter 3a - Development of Truss Equations 16/80

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
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.

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
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.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 17/80

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
Let’s 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.

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
We define the angle to be positive when measured
counterclockwise from x to x’. We can express vector
displacement d in both global and local coordinates by:

d  u1i  v1 j  u1i  v1 j


CIVL 7/8117 Chapter 3a - Development of Truss Equations 18/80

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
Consider the following diagram:

Using vector addition: a  b  i

Using the law of cosines, we get: | a || i | cos  | a | cos 

Similarly: | b || i | sin | b | sin

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
Consider the following diagram:

The vector a is in the i direction and b is in the j direction,


therefore:
a | a | i   cos  i b | b |   j    sin   j 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 19/80

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
Consider the following diagram:

The vector i can be rewritten as: i  cos  i  sin j


The vector j can be rewritten as: j  sin i  cos  j

Therefore, the displacement vector is:


u1i  v1 j  u1  cos  i  sin j   v1  sin i  cos  j   u1i  v1 j

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
Consider the following diagram:

Combining like coefficients of the local unit vectors gives:


u1 cos  v1 sin  u1
u1   C S  u1  C  cos 
   
u1 sin  v1 cos  v1 v1   S C  v1  S  sin
CIVL 7/8117 Chapter 3a - Development of Truss Equations 20/80

Stiffness Matrix for a Bar Element


Transformation of Vectors in Two Dimensions
The previous equation relates the global displacement d to
the d local displacements
 C S
The matrix is called the transformation matrix.  
 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
The global nodal displacement at node 2 is u2 = 0.1 in and
v2 = 0.2 in for the bar element shown below. Determine the
local displacement.

Using the following expression we just derived, we get:

u   Cu  Sv

u2  cos 60o (0.1)  sin 60o (0.2)  0.223 in


CIVL 7/8117 Chapter 3a - Development of Truss Equations 21/80

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 known that for a bar element in local coordinates we have:

 f1x  AE  1 1  u1 


    f   kd
f2x  L  1 1 u2 

We want to relate the global element forces f to the global


displacements d for a bar element with an arbitrary
orientation.
 f1x   u1 
f   
 1y   v1 
   k   f = kd
f2 x  u2 
f2 y  v 2 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 22/80

Stiffness Matrix for a Bar Element


Global Stiffness Matrix
Using the relationship between local and global components,
we can develop the global stiffness matrix.
We already know the transformation relationships:
u1  u1 cos   v1 sin u2  u2 cos   v 2 sin

Combining both expressions for the two local degrees-of-


freedom, in matrix form, we get:

 u1  d = T *d
 u1  C S 0 0   v1 
   
u2   0 0 C S  u2  C S 0 0 
T*   
v 2   0 0 C S

Stiffness Matrix for a Bar Element


Global Stiffness Matrix
A similar expression for the force transformation can be
developed.
 f1x 
 
 f1x  C S 0 0   f1y 
     f  T*f
f2x   0 0 C S  f2 x 
f2 y 

Substituting the global force expression into element force


equation gives:
f  = kd  T * f  kd
Substituting the transformation between local and global
displacements gives:
d = T * d  T * f  kT *d
CIVL 7/8117 Chapter 3a - Development of Truss Equations 23/80

Stiffness Matrix for a Bar Element


Global Stiffness Matrix
The matrix T* is not a square matrix so we cannot invert it.
Let’s expand the relationship between local and global
displacement.
 u1   C S 00   u1 
 v    S 0   v1 
 1  C 0
 
  d = Td
u2   0 0 C S  u2 
v 2   0 
0 S C  v 2 

where T is:
C S 0 0
 S C 0 0
T 
0 0 C S
 
0 0 S C 

Stiffness Matrix for a Bar Element


Global Stiffness Matrix
We can write a similar expression for the relationship between
local and global forces.
 f1x   C S 00   f1x 
f     
 1y  S C 0 0   f1y 
     f  = Tf
 2x   0
f 0 C S  f2 x 
 
f2y   0 0 S C  f2 y 

Therefore our original local coordinate force-displacement


expression

 f1x  AE  1 1  u1 


    f  = kd
f2x  L  1 1 u2 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 24/80

Stiffness Matrix for a Bar Element


Global Stiffness Matrix
May be expanded:  f1x  1 0 1 0   u1 
f   
 1y  AE  0 0 0 0  v1 
    
f2 x  L  1 0 1 0  u2 
f2y   
0 0 0 0  v 2 

The global force-displacement equations are:


f   kd  Tf  kTd
Multiply both side by T -1 we get: f  T -1kTd
where T-1 is the inverse of T. It can be shown that: T 1  T T

Stiffness Matrix for a Bar Element


Global Stiffness Matrix
The global force-displacement equations become: f = T TkTd
Where the global stiffness matrix k is: k  T TkT

Expanding the above transformation gives:


 C 2 CS C 2 CS 
 2
CS S 
2
AE  CS S
k
L  C 2 CS C 2 CS 
 
 CS S
2
CS S2 

We can assemble the total stiffness matrix by using the above


element stiffness matrix and the direct stiffness method.
n n
K  K    k ( e ) F  F    f ( e ) F  Kd
e 1 e 1
CIVL 7/8117 Chapter 3a - Development of Truss Equations 25/80

Stiffness Matrix for a Bar Element


Global Stiffness Matrix
Local forces can be computed as:
 f1x  1 0 1 0   u1  1 0 1 0   C S 00   u1 
f   
 1y  AE  0
  
0 0 0  v1  AE  0 0 0 0   S C 0 0   v1 
         
f2 x  L  1 0 1 0  u2  L  1 0 1 0  0 0 C S  u2 
    
f2y  0 0 0 0  v 2  0 0 0 0  0 0 S C  v 2 

 f1x   Cu1  Sv1  Cu2  Sv 2 


f    
 1y  AE  0

  
f2 x  L  Cu1  Sv1  Cu2  Sv 2 
 
f2y   0 

Stiffness Matrix for a Bar Element


Example 3 - Bar Element Problem
For the bar element shown below, evaluate the global stiffness
matrix. Assume the cross-sectional area is 2 in2, the length
is 60 in, and the E is 30 x 106 psi.

 C 2 CS C 2 CS 
 2
CS S 
2
AE  CS S
k
L  C 2 CS C 2 CS 
 
 CS S
2
CS S2 

3 1
Therefore: C  cos30o  S  sin30o 
2 2
CIVL 7/8117 Chapter 3a - Development of Truss Equations 26/80

Stiffness Matrix for a Bar Element


Example 3 - Bar Element Problem
The global elemental stiffness matrix is:
 3 3 
 3  3
4 4 4 4
 
k
 
(2 in 2 ) 30  106 psi 

3
4
1
4
 3
4
1 
4 
60 in  3  3 3 3 
 4 4 4 4 
 3 3 
  4
1
4 4
1 
4 

Simplifying the global elemental stiffness matrix is:


 0.750 0.433 0.750 0.433 
 0.433 0.250 0.433 0.250  lb
k  106   in
 0.750 0.433 0.750 0.433 
 
 0.433 0.250 0.433 0.250 

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:
 f1x  AE  1 1  u1 
   
f2x  L  1 1 u2 

The force-displacement equation for f2x is:


AE u 
f2x   1 1  1 
L u2 
The stress in terms of global displacement is:
 u1 
 
C S 0 0  v1  E
     Cu1  Sv1  Cu2  Sv 2 
E
   1 1 
L  0 0 C S  u2  L
v 2 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 27/80

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 m2, the length is
2 m, and the E is 210 GPa.

The global displacements are known as


u1 = 0.25 mm, v1 = 0, u2 = 0.5 mm,
and v2 = 0.75 mm.
E

L
 Cu1  Sv1  Cu2  Sv 2 
210  106  1 3 1 3 
   (0.25)  (0)  (0.5)  (0.75) KN m
2  2 4 2 4 
  81.32  103 kN m  81.32 MPa
2

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 7/8117 Chapter 3a - Development of Truss Equations 28/80

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 in2 and E is 30 x 106 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  C S


1 1 2 90o 0 1
2 1 3 45o 0.707 0.707
3 1 4 0o 1 0
CIVL 7/8117 Chapter 3a - Development of Truss Equations 29/80

Stiffness Matrix for a Bar Element


 C 2 CS C 2 CS 
Example 5 - Plane Truss Problem 
AE  CS S
2 2
CS S 
k
L  C 2 CS C 2 CS 
 
The global elemental stiffness matrix are:  CS S
2
CS S2 
u1 v1 u2 v2

0 0 0 0
 1 0 1 lb
(2 in 2 )(30  106 psi ) 0  in
element 1: C 0 S 1  k (1) 
120 in 0 0 0 0
 
0 1 0 1 

u1 v1 u3 v3

1 1 1 1
 1 1 1 lb
(2 in 2 )(30  106 psi )  1  in
element 2: C 2
S 2
 k (2)

2 2
240 2 in  1 1 1 1 
 
 1 1 1 1 

u1 v1 u4 v4

1 0 1 0 
 0 0 0  lb
(2 in 2 )(30  106 psi )  0  in
element 3: C 1 S  0  k(3) 
120 in  1 0 1 0
 
0 0 0 0

Stiffness Matrix for a Bar Element


Example 5 - Plane Truss Problem
The total global stiffness matrix is:
 1.354 0.354 0 0 0.354 0.354 1 0  element 1
 0.354 1.354 0 1 0.354 0.354 0 0 
 0 0 0 0 0 0 0 0 element 2

K  5  105  0.354
0 1 0 1 0 0 0 0  lb
in
element 3
 0.354 0 0 0.354 0.354 0 0

 0.354
1
0.354 0 0 0.354 0.354 0 0

 0 
0 0 0 0 0 1 0
 0 0 0 0 0 0 0

The total global force-displacement equations are:


 0   1.354 0.354 0 0 0.354 0.354 1 0  u1 
10, 000  0.354 1.354 0 1 0.354 0.354 0 0  v 1 
 F2 x   0 0 0 0 0 0 0 0  0 
 F2 y    0 
 F3 x   5  10  0.354
5 0 1 0 1 0 0 0 0

 F3 y   0.354 0 0 0.354 0.354 0 0


 0 
 F   0.354
1
0.354 0 0 0.354 0.354 0 0
  00 
 0  0 
0 0 0 0 0 1 0
 F4 x    
 4y 
0 0 0 0 0 0 0
CIVL 7/8117 Chapter 3a - Development of Truss Equations 30/80

Stiffness Matrix for a Bar Element


Example 5 - Plane Truss Problem
Applying the boundary conditions for the truss, the above
equations reduce to:

 0   1.354 0.354 0 0 0.354 0.354 1 0  u1 


10, 000  0.354 1.354 0 1 0.354 0.354 0 0  v 1 
 F2 x   0 0 0 0 0 0 0 0  0 
 F2 y  0  0 
 F3 x   5  10  0.354
5 0 1 0 1 0 0 0
 
 F3 y   0.354 0 0 0.354 0.354 0 0
 0 
 F   0.354
1
0.354 0 0 0.354 0.354 0 0
 0
0 0 
 0  0
0 0 0 0 0 1
 F4 x   0  
 4y 
0 0 0 0 0 0

Stiffness Matrix for a Bar Element


Example 5 - Plane Truss Problem
Applying the boundary conditions for the truss, the above
equations reduce to:
  5 1.354 0.354   1 
0 u
   5  10    
10,000  0.354 1.354  v1 

Solving the equations gives: u1  0.414  10 2 in


v1  1.59  10 2 in
E
The stress in an element is:   Cu 1  Sv 1  Cu 2  Sv 2 
L 

where i is the local node number


CIVL 7/8117 Chapter 3a - Development of Truss Equations 31/80

Stiffness Matrix for a Bar Element


Example 5 - Plane Truss Problem

Element Node 1 Node 2  C S


1 1 2 90o 0 1
2 1 3 45o 0.707 0.707
3 1 4 0o 1 0
E
 Cu 1  Sv 1  Cu 2  Sv 2 
L 

30  106
element 1  (1) 
120
 v1   3,965 psi
30  106
element 2  (2)  
120
(0.707)u1  (0.707)v1   1,471 psi

Stiffness Matrix for a Bar Element


Example 5 - Plane Truss Problem

Element Node 1 Node 2  C S


1 1 2 90o 0 1
2 1 3 45o 0.707 0.707
3 1 4 0o 1 0
E
 Cu 1  Sv 1  Cu 2  Sv 2 
L 

30  106
element 3  (3) 
120
 u1   1,035 psi
CIVL 7/8117 Chapter 3a - Development of Truss Equations 32/80

Stiffness Matrix for a Bar Element


Example 5 - Plane Truss Problem
Let’s check equilibrium at node 1:

F x  f1(2)
x cos(45) f1x
(3)

F y x sin(45) f1x 10,000 lb


 f1(2) (1)

Stiffness Matrix for a Bar Element


Example 5 - Plane Truss Problem
Let’s check equilibrium at node 1:

F x  (1,471 psi )(2 in 2 )(0.707)  (1,035 psi )(2 in 2 )  0

F y  (3,965 psi )(2 in 2 )  (1,471 psi )(2 in 2 )(0.707)  10,000  0


CIVL 7/8117 Chapter 3a - Development of Truss Equations 33/80

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
1 1 2 k 0
2 2 3 k 3/4
3 1 3 k /2
CIVL 7/8117 Chapter 3a - Development of Truss Equations 34/80

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:
 C 2 CS C 2 CS 
 2
CS S 
2
AE  CS S
k
L  C 2 CS C 2 CS 
 
 CS S
2
CS S2 

Member Node 1 Node 2 Elemental 


Stiffness
1 1 2 k 0
2 2 3 k 3/4
3 1 3 k /2

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
For element 1: u
1
v
1
u
2
v
2

 1 0 1 0 u1
 0 0 0 0 v1
k (1) k 
 1 0 1 0 u2
 
 0 0 0 0 v2

Member Node 1 Node 2 Elemental 


Stiffness
1 1 2 k 0
2 2 3 k 3/4
3 1 3 k /2
CIVL 7/8117 Chapter 3a - Development of Truss Equations 35/80

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
For element 2: u2 v2 u3 v3

 1 1 1 1 u2
 
k  1 1 1 1 v2
k (2) 
2  1 1 1 1 u3
 
 1 1 1 1 v3

Member Node 1 Node 2 Elemental 


Stiffness
1 1 2 k 0
2 2 3 k 3/4
3 1 3 k /2

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
For element 3: u1 v1 u3 v3

0 0 0 0 u1
0 1 0 1 v1
k (3) k 
0 0 0 0 u3
 
0 1 0 1 v3

Member Node 1 Node 2 Elemental 


Stiffness
1 1 2 k 0
2 2 3 k 3/4
3 1 3 k /2
CIVL 7/8117 Chapter 3a - Development of Truss Equations 36/80

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
Assemble the global stiffness matrix by superimposing the
elemental global matrices.

u1 v1 u2 v2 u3 v3

 2 0 2 0 0 0 u1 element 1
 0 2 0 0 0 2  v1 element 2
  element 3
k  2 0 3 1 1 1 u2
K  
2 0 0 1 1 1  1 v2
 0 0 1 1 1  1 u3
 
 0 2 1 1 1 3 v3

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
The unconstrained (no boundary conditions satisfied)
equations are:  2 0 2 0 0 0   u1   F1x 
 0    
 2 0 0 0 2  v1   F1y 
k  2 0 3 1 1 1  u2   P1 
     
2 0 0 1 1 1 1  v 2   P2 
 0 0 1 1 1 1  u3   F3 x 
    
 0 2 1 1 1 3   v 3   F3 y 

The displacement at nodes 1 and 3 are zero in both directions.


Applying these conditions to the system equations gives:
 2 0 2 0 0 0   0   F1x 
 0  
 2 0 0 0 2  0   F1y 
k  2 0 3 1 1 1  u2   P1 
     
2 0 0 1 1 1 1  v 2   P2 
 0 0 1 1 1 1  0   F3 x 
    
 0 2 1 1 1 3   0   F3 y 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 37/80

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
Applying the boundary conditions to the system equations
gives:

k  3 1 u2   P1 
  
2  1 1  v 2   P2 

Solving this set of equations is fairly easy. The solution is:


P1  P2 P1  3P2
u2  v2 
k k

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
Using the force-displacement relationship the force in each
member may be computed.
Member (element) 1:  f1x   Cu1  Sv1  Cu2  Sv 2 
f   
 1y  
0

   k
C 1 S0 f2 x   Cu1  Sv1  Cu2  Sv 2 
f2 y   
 0 

 P  P2 
f1x  k  Cu2   k   1    P1  P2  fy 1  0
 k 
 P  P2 
f2 x  k Cu2   k  1   P1  P2 fy 2  0
 k 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 38/80

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
Using the force-displacement relationship the force in each
member may be computed.
Member (element) 2: f2 x   Cu2  Sv 2  Cu3  Sv 3 
f   
 2y  0
1 1  k 
C S f
 3 x  Cu 2  Sv 2  Cu 3  Sv 3
2 2
f3 y   
 0 
f2 x  k Cu2  Sv 2 
 P  P2   1   P1  3P2   1  
 k  1         2P2
 k   2  k   2 
f3 x  k  Cu2  Sv 2 
 P  P2   1   P1  3P2   1  
 k  1        2P2
 k   2   k  2 

Stiffness Matrix for a Bar Element


Example 6 - Plane Truss Problem
Using the force-displacement relationship the force in each
member may be computed.
Member (element) 3: f1x  0 f1y  0
f3 x  0 f3 y  0

The solution to this simple problem can be readily checked by


using simple static equilibrium equations.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 39/80

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 m2

Stiffness Matrix for a Bar Element


Example 7 - Plane Truss Problem
The global elemental stiffness matrix for element 1 is:
3 4
cos  (1)   0 .6 sin  (1)   0. 8
5 5

 0.36 0.48 0.36 0.48 


 4
0.64 0.48 0.64 
210  10 (6  10 )  0.48
6
k (1) 
5  0.36 0.48 0.36 0.48 
 
 0.48 0.64 0.48 0.64 

Simplifying the above expression gives:


u1 v1 u2 v2

 0.36 0.48 0.36 0.48 


 0.48 0.64 0.48 0.64 
k (1)  25,200 
 0.36 0.48 0.36 0.48 
 
 0.48 0.64 0.48 0.64 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 40/80

Stiffness Matrix for a Bar Element


Example 7 - Plane Truss Problem
The global elemental stiffness matrix for element 2 is:
cos  ( 2 )  0 sin  ( 2 )  1

0 0 0 0 
 0 1
(210  106 )(6  10 4 ) 0 1
k (2) 
4 0 0 0 0
 
0 1 0 1

Simplifying the above expression gives:


u1 v1 u3 v3

0 0 0 0 
0 1.25 0 1.25 
k (2)  25,200  
0 0 0 0 
 
0 1.25 0 1.25 

Stiffness Matrix for a Bar Element


Example 7 - Plane Truss Problem
The total global equations are:
 F1x   0.36 0.48 0.36 0.48 0 0   u1 
F   0.48   element 1
 
1y
 1.89 0.48 0.64 0 1.25   v1 
F2 x   0.36 0  u2  element 2
0.48 0.36 0.48 0
   25,200   
F
 2y   0.48 0.64 0.48 0.64 0 0  v 2 
F3 x   0 0 0 0 0 0  u3 
    
 3 y 
F  0 1.25 0 0 0 1.25  v 3 

The displacement boundary conditions are:


u1   u2  v 2  u3  v 3  0
CIVL 7/8117 Chapter 3a - Development of Truss Equations 41/80

Stiffness Matrix for a Bar Element


Example 7 - Plane Truss Problem
The total global equations are:
 F1x   0.36 0.48 0.36 0.48 0 0  
u1 
P  
F
 1y   0.48 1.89 0.48 0.64 0 1.25  v1 
 

F2 x   0.36 0.48 0.36 0.48 0 0  0 


   25,200   
 0.48 0.64
F
 2y  0.48 0.64 0 0  0 
F3 x   0 0 0 0 0 0  0 
    
F3 y   0 1.25 0 0 0 1.25   0 

By applying the boundary conditions the force-displacement


equations reduce to:
P  25,200(0.48  1.89v1 )

Stiffness Matrix for a Bar Element


Example 7 - Plane Truss Problem
Solving the equation gives: v1  (2.1 105 )P  0.25

By substituting P = 1,000 kN and  = -0.05 m in the above


equation gives:
v1  0.0337m

The local element forces for element 1 are:


 u1  0.05 
 f1x   1 1 0.6 0.8 0 0  v1  0.0337 
   25,200    
f2 x   1 1  0 0 0.6 0.8   u2 
 v2 

The element forces are: f1x  76.6 kN f2 x  76.7 kN


CIVL 7/8117 Chapter 3a - Development of Truss Equations 42/80

Stiffness Matrix for a Bar Element


Example 7 - Plane Truss Problem

The local element forces for element 2 are:

 u1  0.05 
 
 f1x   1 1 0 1 0 0  v1  0.0337 
   31,500      
f3 x   1 1 0 0 0 1  u3 
 v3 

The element forces are: f1x  1,061 kN f3 x  1,061 kN

Stiffness Matrix for a Bar Element


Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space

Let’s derive the transformation matrix for the stiffness matrix for
a bar element in three-dimensional space as shown below:
CIVL 7/8117 Chapter 3a - Development of Truss Equations 43/80

Stiffness Matrix for a Bar Element


Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space
The coordinates at node 1 are x1, y1, and z1, and the coor-
dinates of node 2 are x2, y2, and z2. Also, let x, y, and 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:
d  ui  vj  wk  u  i  v  j  w  k
CIVL 7/8117 Chapter 3a - Development of Truss Equations 44/80

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 i gives:
u(i  i)  v ( j  i)  w (k  i)  u 

By the definition of the dot product we get:


x2  x1 y 2  y1 z2  z1
i  i   Cx j  i   Cy k  i   Cz
L L L
where L  ( x2  x1 )2  ( y 2  y1 )2  ( z2  z1 )2

Cx  cos x Cy  cos y Cz  cos  z


where Cx, Cy, and Cz are projections of i on to i, j, and k,
respectively.

Stiffness Matrix for a Bar Element


Transformation Matrix and Stiffness Matrix for
a Bar in Three-Dimensional Space

Therefore: u   Cx u  Cy v  Czw

The transformation between local and global displacements is:

 u1 
v  d  T *d
 1
 u1  Cx Cy Cz 0 0 0  w1 
   
u2   0 0 0 Cx Cy Cz   u2  C C C 0 0 0 
v2  T*   x y z 
   0 0 0 C x C y Cz 
w 2 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 45/80

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: C 0 x
C 0 
 y 
C 0  AE  1 1 Cx Cy Cz 0 0 0 
k  T TkT k z   1 1  0 0 0 C C C 
 0 Cx  L   x y z
 0 Cy 
 
 0 Cz 

 Cx2 C xC y C xC z Cx2 CxCy CxCz 


 Cy2 
 C xCy Cy2 Cy Cz CxCy Cy Cz 
AE  CxCz Cz2 CxCz Cy Cz Cz 
2
C y Cz
k  
L  Cx2 CxCy CxCz Cx2 C xCy C xC z 
 C C Cy2 Cy Cz C xC y Cy2 C y Cz 
 x y 
 CxCz Cy Cz Cz2 C xC z C y Cz Cz2 

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:
 Cx 2 C xCy C x Cz 
  AE    
  CxCy Cy 2
C y Cz  k
L    
CxCz C y Cz Cz 2 

CIVL 7/8117 Chapter 3a - Development of Truss Equations 46/80

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 106 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    
k  
L   

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
Consider element 1: L(1)  ( x2  x1 )2  ( y 2  y1 )2  ( z2  z1 )2

L(1)  ( 72)2  (36)2  80.5 in

72
Cx   0.89
80.5
36
Cy   0.45
80.5
Cz  0

 0.79 0.40 0
   0.40 0.20 0

 0 0 0 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 47/80

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
Consider element 1:
u v w u v w
1 1 1 2 2 2

(0.302 in )(1.2  10 psi )  


2 6
  lb
k    
in
80.5 in 

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
Consider element 2: L(2)  ( x3  x1 )2  ( y 3  y1 )2  ( z3  z1 )2

L(2)  ( 72)2  (36)2  (72)2  108 in


72
Cx   0.667
108
36
Cy   0.33
108
72
Cz   0.667
108

 0.45 0.22 0.45 


   0.22 0.11 0.45 

 0.45 0.45 0.45 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 48/80

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
Consider element 2:
u v w u v w
1 1 1 3 3 3

(0.729 in )(1.2  10 psi )  


2 6
  lb
k    
in
108 in 

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
Consider element 3: L(3)  ( x 4  x1 )2  ( y 4  y1 )2  ( z4  z1 )2

L(3)  ( 72)2  ( 48)2  86.5 in

72
Cx   0.833
86.5
Cy  0
48
Cz   0.550
86.5

0.69 0 0.46 
   0 0 0 

0.46 0 0.30 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 49/80

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
Consider element 3:
u v w u v w
1 1 1 4 4 4

(0.187 in )(1.2  10 psi )  


2 6
  lb
k    
in
86.5 in 

The boundary conditions are:

u2  v 2  w 2  0
u3  v 3  w 3  0
u4  v 4  w 4  0
v1  0

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:
u1 w1

 9,000 2,450 
K 
 2,450 4,450 

The global force-displacement equations are:


 9,000 2,450   u1   0 
 2,450   
 4,450  w1  1,000 

Solving the equation gives:

u1  0.072 in w1  0.264 in
CIVL 7/8117 Chapter 3a - Development of Truss Equations 50/80

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
It can be shown, that the local forces in an element are:
 ui 
v 
 i
 fix  AE  Cx Cy Cz Cx Cy Cz  w i 
    
f jx  L  Cx Cy Cz Cx Cy Cz   u j 
v j 
 
w j 
The stress in an element is:
 ui 
v 
 i
E w i 
  Cx  Cy  Cz Cx Cy Cz   
L uj 
v j 
 
w j 

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
The stress in element 1 is:  0.072 
 0 
 
1.2  10 6  0.264 
 (1)  0.89 0.45 0  0.89 0.45 0 
80.5  0 
 0 
 
 (1)  955 psi  0 

The stress in element 2 is:  0.072 


 0 
 
1.2  106  0.264 
 (2)  0.667  0.33  0.667  0.667 0.33 0.667   
108  0 
 0 
 
 0 
 (2)  1,423 psi
CIVL 7/8117 Chapter 3a - Development of Truss Equations 51/80

Stiffness Matrix for a Bar Element


Example 8 – Space Truss Problem
The stress in element 3 is:  0.072 
 0 
 
1.2  106  0.264 
 (3)  0.83 0 0.55  0.83 0  0.55   
86.5  0 
 0 
 
 (3)  2,843 psi  0 

Stiffness Matrix for a Bar Element


Inclined, or Skewed Supports
If a support is inclined, or skewed, at some angle  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 7/8117 Chapter 3a - Development of Truss Equations 52/80

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:
u '3   cos  sin   u3 
   
v '3    sin  cos   v 3 
We can rewrite the above expression as:
 cos  sin  
d '3   [t3 ]d3  t3    sin cos  

We can apply this sort of transformation to the entire
displacement vector as:

d '  [T1]d or d  [T1]T d '


CIVL 7/8117 Chapter 3a - Development of Truss Equations 53/80

Stiffness Matrix for a Bar Element


Inclined, or Skewed, Supports
Where the matrix [T1]T is:  [I ] [0] [0] 
[T1 ]T  [0] [I ] [0] 
 
[0] [0] [t3 ]

Both the identity matrix [I] and the matrix [t3] are 2 x 2 matrices.

The force vector can be transformed by using the same


transformation.
f '  [T1]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:
[T1 ] f   [T1 ][K ] d 

By using the relationship between the local and the global


displacements, the force-displacement equations become:
f '  [T1][K ][T1]T d '
Therefore the global equations become:
 F1x   u1 
F   v 
 1y   1
 F2 x   u2 
  [T1 ][K ][T1 ]
T
  
 F2 y   v2 
F ' 3 x  u '3 
   
F '3 y  v '3 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 54/80

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem
Consider the plane truss shown below. Assume E = 210 GPa,
A = 6 x 10-4 m2 for element 1 and 2, and A = 2 (6 x 10-4)m2
for element 3.
Determine the stiffness matrix
for each element.

 C 2 CS C 2 CS 
 2
CS S 
2
AE  CS S
k
L  C 2 CS C 2 CS 
 
 CS S
2
CS S2 

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem
The global elemental stiffness matrix for element 1 is:

 C 2 CS C 2 CS 
 2
CS S 
2
AE  CS S
k
L  C CS C
2 2
CS 
 
 CS S
2
CS S2 

cos  (1)  0 sin (1)  1


u1 v1 u2 v2

0 0 0 0
2 
4
(210  10 kN / m )(6  10 m ) 0 1
6 2
0 1
k (1)  
1m 0 0 0 0
 
0 1 0 1
CIVL 7/8117 Chapter 3a - Development of Truss Equations 55/80

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem
The global elemental stiffness matrix for element 2 is:

 C 2 CS C 2 CS 
 2
CS S 
2
AE  CS S
k
L  C CS C
2 2
CS 
 
 CS S
2
CS S2 

cos  (2)  1 sin (2)  0

u2 v2 u3 v3

1 0 1 0 
2 
6 2 4
(210  10 kN / m )(6  10 m )  0 0 0 0 
k (2) 
1m  1 0 1 0
 
0 0 0 0

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem
The global elemental stiffness matrix for element 3 is:

 C 2 CS C 2 CS 
 2
CS S 
2
AE  CS S
k
L  C CS C
2 2
CS 
 
 CS S
2
CS S2 

2 2
cos (3)  sin (3) 
2 2
u1 v1 u3 v3

1 1 1 1
 1 1 1
(210  106 kN / m 2 )(6 2  104 m 2 )  1 
k (3)

2 2m  1 1 1 1
 
 1 1 1 1
CIVL 7/8117 Chapter 3a - Development of Truss Equations 56/80

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem
Using the direct stiffness method, the global stiffness matrix is:
 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
K  1,260  10 5 N  
m
 0 1 0 1 0 0
 0.5  0.5  1 0 1.5 0.5
 
 0.5  0.5 0 0 0.5 0.5

We must transform the global displacements into local


coordinates. Therefore the transformation [T1] is:
1 0 0 0 0 0 
0 1 0 0 0 0 
 [I ] [0] [0]   
0 
[T1 ]  [0] [0] 
0 1 0 0 0

[I ]
  
0 0 0 1 0 0 
[0] [0] [t3 ]
0 2 
0 0 0 2
2 2
  2

0 0 0 0 2
2
2

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem
The first step in the matrix transformation to find the product of
[T1][K]. T K 
 1
1 0 0 0 0 0 
 0.5 0.5 0 0 0.5 0.5 
0 0 

1 0 0 0
  0.5 1.5 0 1 0.5 0.5 

T1 K   1, 260  10 5 N 0
m 0
0
0
1
0
0
1
0
0
0 
0

 0
0
0
1
1
0
0
1
1
0
0
0
 
0  0.707 0.707 0.707 0 1.414 0.707 
  
0 0 0 2 2


2 2
0 0 0.707 0 0.707 0
0 0 0 0  2
2
2

2

 0.5 0.5 0 0 0.5 0.5 


 0.5 1.5 0 1 0.5 0.5 
T1 K   1,260  10 m  00
5 N
1
0 1
0
0
1
1
0
0
0

 0.707 0.707 0.707 0 1.414 0.707



 0 0 0.707 0 0.707 0
CIVL 7/8117 Chapter 3a - Development of Truss Equations 57/80

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem
The next step in the matrix transformation to find the product of
[T1][K][T1]T.
T1 K  T1 
T

0.5 0.5  
1 0 0 0 0 0 
 0.5 0.5 0 0

 0.5 0 1 0.5 0.5  0 1 0 0 0 0 

1.5
 
1 0  0 0 1 0 0 0 
T1 K T1   1,260  105 N m 
T 0 0 1 0
 0 1 0 1 0 0  0 0 0 1 0 0

 0.707 0.707 0.707 0 1.414 0.707   


  0 0 0 0 2 2

0  
2 2

 0 0 0.707 0 0.707 
0 0 0 0 2
2
2
2 

 0.5 0.5 0 0 0.707  0


 0.5 1.5 0 1 0.707  0

T1 K T1   1,260  10  0.707 


T 5N 0 0 1 0 0.707
m 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 

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem
The displacement boundary conditions are: u1  v1  v 2  v '3  0

 F1x   0.5 0.5 0 0 0.707 0   u1


    
 F1y   0.5 1.5 0 1 0.707 0   v1
    
F
 2x   0 0 1 0 0.707 0.707   u2 
  1,260  10 N m 
5
  
 F2 y   0 1 0 1 0 0   v 2 
   0.707  
F '
 3x  0.707 0.707 0 1.5 0.5  u '3 
 
F '   0 0 0.707 0 0.5 0.5  v '3 
 3y  
CIVL 7/8117 Chapter 3a - Development of Truss Equations 58/80

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem

By applying the boundary conditions the global force-


displacement equations are:

 1 0.707   u2  F2 x  1,000 kN 


1,260  105 N 
m  0.707 1.5  u '3  F '3 x  0 

Solving the equation gives: u2  11.91 mm u '3  5.61 mm

Stiffness Matrix for a Bar Element


Example 9 – Space Truss Problem  F1x 
F 
 u1 
 v 
 1y   1
 F2 x   u2 
  [T1 ][K ][T1 ]
T
  
 F2 y 
The global nodal forces are calculated as: F '3 x 
 v2 
u '3 
   
F '3 y  v '3 
 F1x 
F   0.5 0.5 0 0 0.707 0  0

 1y   0.5 1.5 0 1 0.707 0  0

 F2 x   0 0 1 0 0.707 0.707  11.91
  1,260  10 mm 
2N
 1  0 
F
 2y  
0 0 1 0 0
 
F ' 3 x   0.707 0.707 0.707 0 1.5 0.5
  5.61 
   0 0 0.707 0 0.5 0.5   0 
F '3 y 
Therefore:
F1x  500 kN F1y  500 kN

F2 y  0 F '3 y  707 kN
CIVL 7/8117 Chapter 3a - Development of Truss Equations 59/80

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

Let’s derive the equations for a bar element using the principle
of minimum potential energy.
The total potential energy, p, is defined as the sum of the
internal strain energy U and the potential energy of the
external forces :
p  U  
The differential internal work (strain energy) dU in a one-
dimensional bar element is:
dU   x ( y )( z )( x )d  x

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

If we let the volume of the element approach zero, then:


dU   x d  x dV

Summing the differential energy over the whole bar gives:


 x   x  1
U      x d  x  dV     E x d  x  dV   E x dV
2

0 2
V   V 0  V

For a linear-elastic material (Hooke’s law) as shown below:

1
 x  E x U    x  x dV
V
2
CIVL 7/8117 Chapter 3a - Development of Truss Equations 60/80

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

The internal strain energy statement becomes


1
U    x  x dV
2V

The potential energy of the external forces is:


M
    X bu dV   Txus dS   fixui
V S i 1

where Xb is the body force (force per unit volume), Tx is the


traction (force per unit area), and fix is the nodal concentrated
force. All of these forces are considered to act in the local x
direction.

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

Apply the following steps when using the principle of minimum


potential energy to derive the finite 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.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 61/80

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

Consider the following bar element, as shown below:

L
A
2 0
p   x  x dx  f1x u1  f2 x u2

  X bu dV   Txus dS
V S

We can approximate the axial displacement as:


u  x x
u  N1 N2   1  N1  1  N2 
u2  L L

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

Using the stress-strain relationships, the axial strain is:


du  dN1 dN2   u1 
x    
dx  dx dx  u2 

where N1 and N2 are the interpolation functions gives as:


 1 1   u1 
 x      x   [B]{d }
 L L  u2 
 1 1
B  
 L L 

The axial stress-strain relationship is:  x   [D ]  x 


CIVL 7/8117 Chapter 3a - Development of Truss Equations 62/80

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

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:


 x   [D][B]d 
The total potential energy expressed in matrix form is:
L
A
p    x   x  dx  d  P   u  X b  dV   u Tx  dS
T T T T

20 V S

where {P} represented the concentrated nodal loads.

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

If we substitute the relationship between û and d̂ into the


energy equations we get:
x x
L

 
A
p   d  B  D  B d  dx  d  P
T T T T

20
  d  N   X b  dV   d  Ns  Tx  dS
T T T T

V S

In the above expression for potential energy p is a function of


the d, that is: p = p(u1 , u2 ).

However, [B] and [D] and the nodal displacements u are not a
function of x.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 63/80

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

Integration the energy expression with respect to x gives:


AL
p  d  [B ]T [D]T [B]d  d  f 
T T

2
where

f   P   [N ]T  Xb  dV   [N ]T  X b  dS
V S

We can define the surface tractions and body-force matrices


as:
fs    [N ]T Tx  dS fb    [N ]T  Xb  dV
S V

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

Minimization of p with respect to each nodal displacement


requires that:
 p  p
0 0
u1 u2

For convenience, let’s define the following

U   d 
* T
[B ]T [D ]T [B ] d 

 1
 L   1 1   u1 
U   u
*
1 u 2    [E ]  
 L
 
L  u2 
 1
 L 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 64/80

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

Simplifying the above expression gives:

U* 
E 2
L2 
u1  2u1u2  u22 
The loading on a bar element is given as:

d f   u1f1x  u2f2 x


T

Therefore, the minimum potential energy is:


 p AE
  2u1  2u2   f1x  0
u1 2L
 p AE
  2u1  2u2   f2 x  0
u2 2L

Stiffness Matrix for a Bar Element


Potential Energy Approach to Derive Bar Element Equations

The above equations can be written in matrix form as:


 p AE  1 1  u1   f1x 
  1 1  u    f   0
 d  L    2   2x 
AE  1 1
The stiffness matrix for a bar element is: k    1 1
L  

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.
CIVL 7/8117 Chapter 3a - Development of Truss Equations 65/80

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:
 x
L 1  
 
f0    [N ]T Tx  dS f0    1x     L Cx dx
f
S f2x  0  x 
 L 

Stiffness Matrix for a Bar Element


Example 10 - Bar Problem
 Cx 2 Cx 3 L 
 x    CL2 
1 3L 0   6 
f1x  L  L   2
     Cx dx    2
f2x  0  x 
L
 Cx 3  CL 
 L   3L 0   3 
 
The total load is the area under the distributed load curve, or:
1 CL2
F (L )(CL ) 
2 2

The equivalent nodal forces for a linearly varying load are:


F 1 2F 2
f1x   of the total load f2 x   of the total load
3 3 3 3
CIVL 7/8117 Chapter 3a - Development of Truss Equations 66/80

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 106 psi,
A = 2 in2, and L = 60 in. Use (a) one and (b) two elements in
the finite element solutions.

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:
 x
L 1 
 F   L 
F0    [N ]T Tx  dS F0   F1x     x 10x dx
S  2x  0  
 L 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 67/80

Stiffness Matrix for a Bar Element


Example 11 - Bar Problem
The one-element solution:

 x  10L2 10L2   10L2 


 - + -
 2 3   6 
1
F1x  L  L 
     10x dx    2
F2x  0  x 
2
 - 10L  - 10L 
 L   3   3 

F1x   6,000 lb 
  
F2x  12,000 lb 

Stiffness Matrix for a Bar Element


Example 11 - Bar Problem
The one-element solution:

 1 1
k (1)  106  
 1 1

The element equations are:

 1 1 u1   6,000 


106       u1  0.006 in
 1 1  0  R2 x  12,000 
The second equation gives:

106 (u1 )  R2 x  12,000  R2 x  18,000 lb


CIVL 7/8117 Chapter 3a - Development of Truss Equations 68/80

Stiffness Matrix for a Bar Element


Example 11 - Bar Problem
The one-element solution:

The axial stress-strain relationship is: { x }  [D]{ x }


{ x }  E [B ] d 

 1 1   u1   u2  u1 
 E      E 
 L L  u2   L 

 0  0.006 
 30  106    3,000 psi (T )
 60 

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 in.)(300 lb in )  4,500 lb
2
CIVL 7/8117 Chapter 3a - Development of Truss Equations 69/80

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 
 (4,500)
 f1x (1)   3   1,500 lb 
 (1)     
f2 x   2 (4,500) 3,000 lb 
 3 

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 in )(300 lb / in )  9,000 lb

The nodal forces for element 2 are:


 1 1 
   (9,000)  (4,500) 
f2 x    2
(2)
3  6,000 lb 
 (2)     
f3 x   (9,000)  (4,500)  7,500 lb 
 1 2 
  2 3  

CIVL 7/8117 Chapter 3a - Development of Truss Equations 70/80

Stiffness Matrix for a Bar Element


Example 11 - Bar Problem
The two-element solution:

The final nodal force vector is:


 F1x  f1x   1,500 
(1)

   (1) (2)   
F2 x   f2 x  f2 x    9,000 
F   f3(2)  R  7,500 
 3x   x   3x 
The element stiffness matrices are:
1 2
2 3

2AE  1 1
k(1)  k(2) 
L  1 1

Stiffness Matrix for a Bar Element


Example 11 - Bar Problem
The two-element solution:

The assembled global stiffness matrix is:


 1 1 0  element 1
6  
K  2  10 1 2 1
  element 2

 0 1 1
The assembled global force-displacement equations are:
 1 1 0   u1   1,500 
   
2  10  1 2 1 u2    9,000 
6
 
 0 1 1  0  R3 x  7,500 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 71/80

Stiffness Matrix for a Bar Element


Example 11 - Bar Problem
The two-element solution:

After the eliminating the row and column associated with u3x,
we get:
 1 1  u1   1,500 
2  106    
 1 2 u2  9,000 

Solving the equation gives: u1  0.006 in


u2  0.00525 in
Solving the last equation gives:
2  106 u2  R3 x  7,500  R3 x  18,000

Stiffness Matrix for a Bar Element


Example 11 - Bar Problem
The two-element solution:

The axial stress-strain relationship is:


 1 1   d1x 
 x (1)  E    
 L L  d 2 x 

 1 1   0.006 
 E     750 psi (T )
 30 30  0.00525 
CIVL 7/8117 Chapter 3a - Development of Truss Equations 72/80

Stiffness Matrix for a Bar Element


Example 11 - Bar Problem
The two-element solution:

The axial stress-strain relationship is:


 1 1  d 2 x 
 x (2)  E    
 L L  d 3 x 

 1 1  0.00525 
 E     5,250 psi (T )
 30 30   0 

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:
L
1
AE 0
u P ( x )dx

where the force P is shown on the following free-body diagram.

1
P( x ) 
2
 x (10 x )  5 x 2
CIVL 7/8117 Chapter 3a - Development of Truss Equations 73/80

Stiffness Matrix for a Bar Element


Comparison of Finite Element Solution to Exact Solution
Therefore:
L x
1 1 5x3
AE 0 AE o
u P ( x )dx u 5 x 2
dx   C1
3 AE

Applying the boundary conditions:


5x3 5L3
u (L )  0   C1  C1  
3 AE 3 AE
The exact solution for axial displacement is:

u (L ) 
5
3 AE

x 3  L3   (x) 
P( x ) 5x 2
A

A

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 7/8117 Chapter 3a - Development of Truss Equations 74/80

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 7/8117 Chapter 3a - Development of Truss Equations 75/80

Stiffness Matrix for a Bar Element


Galerkin’s Residual Method and Its Application
to a One-Dimensional Bar
There are a number of weighted residual methods.
However, the Galerkin’s 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


Galerkin’s 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.
 RdV  minimum
V

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.

 RW dV  0
V
CIVL 7/8117 Chapter 3a - Development of Truss Equations 76/80

Stiffness Matrix for a Bar Element


Galerkin’s Residual Method and Its Application
to a One-Dimensional Bar
Using Galerkin’s weighted residual method, we require the
weighting functions to be the interpolation, Ni. Therefore:

 RN
V
i dV  0 i  1, 2, , n

Stiffness Matrix for a Bar Element


Example 12 - Bar Element Formulation
Let’s derive the bar element formulation using Galerkin’s
method. The governing differential equation is:
d  du 
 0
dx 
AE
dx 

Applying Galerkin’s method we get:


d  du 
L

 dx  AE dx  N
0
i dx  0 i  1, 2, , n

We now apply integration by parts using the following general


formula:

 udv  uv   vdu
CIVL 7/8117 Chapter 3a - Development of Truss Equations 77/80

Stiffness Matrix for a Bar Element


Example 12 - Bar Element Formulation
If we assume the following:
dNi
u  Ni du  dx
dx
d  du  du
dv   v  AE
dx 
AE dx
dx  dx

then integration by parts gives:


L L
du du dNi
Ni AE   AE dx  0
dx 0 0 dx dx

Stiffness Matrix for a Bar Element


Example 12 - Bar Element Formulation
Recall that:
du dN1 dN2 du  1 1   u1 
 u1  u2    
dx dx dx dx  L L  u2 

Our original weighted residual expression, with the


approximation for u becomes:

 u1 
L
 1 1
L
dNi du
AE   L dx    Ni AE
0
dx  L  u2  dx 0
CIVL 7/8117 Chapter 3a - Development of Truss Equations 78/80

Stiffness Matrix for a Bar Element


Example 12 - Bar Element Formulation
Substituting N1 for the weighting function Ni gives:
 u1 
L
L
dN1  1 1 du
AE   L dx    N AE
L 
1
0
dx  u2  dx 0
L
 1  1 1  u1  AEL
AE       dx    2  u1  u2 
0
L L L  u2  L
L
du du
N1AE  AE  AE x x 0
 A x x 0
 f1x
dx 0 dx x 0

AE
 u1  u2   f1x
L

Stiffness Matrix for a Bar Element


Example 12 - Bar Element Formulation
Substituting N2 for the weighting function Ni gives:
 u1 
L
 1 1
L
dN du
AE  2  L dx    N2 AE
0
dx  L  u2  dx 0
L
 1  1 1  u1  AEL
AE      dx    2  u1  u2 
0 
L L L  u2  L
L
du du
N2 AE  AE  AE x x L
 A x x L
 f2 x
dx 0 dx x L

AE
  u1  u2   f2 x
L
CIVL 7/8117 Chapter 3a - Development of Truss Equations 79/80

Stiffness Matrix for a Bar Element


Example 12 - Bar Element Formulation
Writing the last two equations in matrix form gives:

AE  1 1  u1   f1x 
  
L  1 1 u2  f2 x 

This element formulation is identical to that developed from


equilibrium and the minimum potential energy approach.

Stiffness Matrix for a Bar Element


Problems:
2. 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 = TTk’T.

3. 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.

4. Use SAP2000 and solve problems 3.63 and 3.64.


CIVL 7/8117 Chapter 3a - Development of Truss Equations 80/80

End of Chapter 3a

You might also like