You are on page 1of 150

CENG6504: Finite Element Methods

Truss Member

Dr. Tesfaye Alemu

1
Learning Objectives
• To derive the stiffness matrix for a bar element.
• To illustrate how to solve a bar assemblage by the direct
stiffness method.
• To introduce guidelines for selecting displacement
functions.
• To describe the concept of transformation of vectors in
two different coordinate systems in the plane.
• To derive the stiffness matrix for a bar arbitrarily oriented
in the plane.
• To demonstrate how to compute stress for a bar in the
plane.
• To show how to solve a plane truss problem.
• To develop the transformation matrix in three-
dimensional space and show how to use it to derive the
stiffness matrix for a bar arbitrarily oriented in space.
• To demonstrate the solution of space trusses.
2
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 2.

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. 3
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.
4
Development of Truss Equations

5
Development of Truss Equations

6
Development of Truss Equations

7
Development of Truss Equations

8
Development of Truss Equations

9
Development of Truss Equations

10
Development of Truss Equations

11
Development of Truss Equations

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

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

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

15
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 
 AE 0
dx  dx 
16
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

17
Stiffness Matrix for a Bar Element
Step 1 - Select Element Type

We will consider the linear bar element shown below.

The bar element has a constant cross-section A, an initial


length L, and modulus of elasticity E.

18
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 

19
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 u plotted over the
length of the bar element is
shown here.

20
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  21
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. 22
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.

23
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

24
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.
25
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. 26
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 
 1 2 1 0 
K  106  
 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 
27
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 = 3,000 lb) gives:

3,000  6  2 1  2 
u
   10    
 0   1 2  u3 

28
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  2,000 
F   2 1 0  0.002  3,000 
 2x  6 1
   10     lb
F3 x   0 1 2 1  0.001  0 
 
F4 x   0 0 1 1  0   1,000 

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

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

31
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. 32
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.

33
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. 34
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.

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

36
Stiffness Matrix for a Bar Element
Transformation of Vectors in Two Dimensions
Let’s consider that d does not coincide 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.

37
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

38
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


39
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 

40
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41
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 C  cos  u1   C S  u1 
   
u1 sin  v1 cos  v1 S  sin v1   S C  v1 
42
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

43
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)  sin60o (0.2)  0.223 in


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

45
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 
46
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
47
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
48
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 
   0  v1 
 v1   S 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 
49
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 00   f1y 
     f  = Tf
f2 x   0 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 
50
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 -1 k T d


where T-1 is the inverse of T. It can be shown that: T 1  T T

51
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 2
AE  CS S CS S 
k
L  C 2 CS C 2 CS 
 2 
 CS S 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 52
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
   
f
  2 x L  Cu1  Sv 1  Cu 2  Sv 2 
f2y   
 0 

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

3 1
Therefore: C  cos30o  S  sin30o 
2 2

54
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
 
3  3
k
 
(2 in 2 ) 30  106 psi 
 4
1
4 4
1 
4 
60 in  3  3 3 3 
 4 4 4 4 
 3 3 
  1 1 
4 4 4 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 
55
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  56
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 2  81.32 MPa 57
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.

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

59
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

60
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
 C 2 CS C 2 CS 
 2 2
AE  CS S 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 )(30  10 psi ) 0
2 6
 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
element 3: C 1 S  0 (2 in 2 )(30  106 psi )  0  in
 k (3) 
120 in  1 0 1 0

0 0 0 0
 61
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  element 2
 0 0 0 0 0 0 0 0

K  5  10  0.354
5 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
0
0
0.354
0
0.354
0
0
1
0
0

 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 
 2x 
F
 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
0
0
0.354
0
0.354
0
0
1
0
0
  00 
4x
 F   0 
 4y   0 0 0 0 0 0 0   0 
62
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
0
0
0.354
0
0.354
0
0
1
0
 0
0 0 
 F4 x   0  0
0 
 4y   0 0 0 0 0 0  

63
Stiffness Matrix for a Bar Element
Example 5 - Plane Truss Problem
Applying the boundary conditions for the truss, the above
equations reduce to:
 0  5 1.354 0.354   1 
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

64
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
65
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

66
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  f1(2)
x sin(45) f1x 10,000 lb
(1)

67
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


68
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

69
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
70
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 2
AE  CS S CS S 
k
L  C 2 CS C 2 CS 
 2 
 CS S 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 71
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
72
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 73
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
74
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

75
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  76
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

77
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 f
  2 x  Cu1  Sv 1  Cu 2  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 

78
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 f3 x   Cu2  Sv 2  Cu3  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  79
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   Cu1  Sv1  Cu3  Sv 3 
f   
 1y  0
 k 
C 0 S 1 f
  3 x  Cu1  Sv 1  Cu3  Sv 3 
f3 y   
 0 

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.
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
81
Stiffness Matrix for a Bar Element
Example 7 - Plane Truss Problem
The global elemental stiffness matrix for element 1 is:
3
cos  (1)   0.6  0.36 0.48 0.36 0.48 
5 
210  10 (6  10 )  0.48
6 4
0.64 0.48 0.64 
k (1) 
4 5  0.36 0.48 0.36 0.48 
sin (1)   0.8  
5  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 
82
Stiffness Matrix for a Bar Element
Example 7 - Plane Truss Problem
The global elemental stiffness matrix for element 2 is:

cos  (2)  0 0 0 0 0 
 0 1
(210  10 )(6  10 ) 0
6 4
1
k (2) 
4 0 0 0 0
sin (2)
1  
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 
83
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

84
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  
 F1y   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 0.48 0.64 0 0  0 
F
 2y 
F3 x   0 0 0 0 0 0  0 
    
 3 y 
F  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 )

85
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


Tension 86
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

Compression

87
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:

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

89
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

90
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. 91
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

 1
u C C C 0 0 0   w1 
 
x y z
  
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 

92
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 Cy2 
 C xC y Cy Cz CxCy Cy Cz 
AE  CxCz Cz2 Cy Cz Cz 
2
C y Cz CxCz
k  
L  Cx2 CxCy CxCz Cx2 C xC y C xC z 
 C C Cy2 Cy Cz C xC y Cy2 C y Cz 
 x y 
 CxCz Cy Cz C 2
z C xC z C y Cz Cz2 

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

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

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

96
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 ' 97


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 
98
Stiffness Matrix for a Bar Element
Inclined, or Skewed, Supports
Applying the skewed support transformation to both sides of
the equation gives:
f   [K ]d   [T1]f   [T1][K ]d 
By using the relationship between the local and the global
displacements, the force-displacement equations become:
d  [T1]T d '  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 
    99
F '3 y  v '3 
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 2
AE  CS S CS S 
k
L  C 2 CS C 2 CS 
 2 
 CS S CS S2 
100
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 2
AE  CS S CS S 
k
L  C CS C
2 2
CS 
 2 
 CS S CS S2 

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


u1 v1 u2 v2

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

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

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

u2 v2 u3 v3

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

1m  1 0 1 0
 
0 0 0 0

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

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

1 1 1 1
2 
6 2 4
(210  10 kN / m )(6 2  10 m )  1 1 1 1
k (3)  
2 2m  1 1 1 1
 
 1 1 1 1
103
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 0 1 0 0 0 
[T1 ]  [0] [I ] [0]   
 
0 0 0 1 0 0 
[0] [0] [t3 ]
0 2 
0 0 0 2
2 2
 
0 0 0 0 104
 2 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]. K 
T  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  0
 1, 260  105 N 
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 0 0 2 2  0.707 0.707 0.707 0 1.414 0.707 
  
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 
 1  
T K  1,260  10 5 N 
m
0
0
0
1 0
1 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

105
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

1 0 0 0 0 0 
 0.5 0.5 0 0 0.5 0.5  
 0.5  0 
1.5 0 1 0.5 0.5  0 1 0 0 0

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

 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
 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.707 0 


 0.5 1.5 0 1 0.707 0 
T1 K T1 
T
 1,260  10 5N  0 0 1 0 0.707 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  106
Stiffness Matrix for a Bar Element
Example 9 – Space Truss Problem
The displacement boundary conditions are: u1  v1  v 2  v '3  0

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


 1x    
F
 1y   0.5 1.5 0 1 0.707 0   v1
    
 F2 x  5  0 0 1 0 0.707 0.707   u2 
   1,260  10 N m   
F
 2y   0 1 0 1 0 0   v 2 
   
F '
 3x 
 0.707 0.707 0.707 0 1.5 0.5  u '3 
 
F '   0 0 0.707 0 0.5 0.5  v '3 

 3y  

107
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

108
Stiffness Matrix for a Bar Element
Example 9 – Space Truss Problem  F1x 
F 
 u1 
 v 
 1y   1
 F2 x   u2 
  [T1 ][K ][T1 ]
T
  
The global nodal forces are calculated as:  F2 y 
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  2N
 0 0 1 0 0.707 0.707  11.91
   1,260  10 mm  0 1 0 1 0 0
 0 
 F2 y    
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

109
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

110
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

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

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

1
 x  E x U    x  x dV
V
2

111
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.
112
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.

113
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 114
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 


115
Stiffness Matrix for a Bar Element
Potential Energy Approach to Derive Bar Element Equations

For the one-dimensional stress-strain relationship [D] = [E]


where 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  Xb  dV   u Tx  dS
T T T T

20 V S

where {P} represented the concentrated nodal loads.


116
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.
117
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

118
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  u2 
 1  L
 L 
119
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 120
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 
 d 
  1 1  u    f   0
L    2   2x 
AE  1 1
The stiffness matrix for a bar element is: k   L  1 1

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.

121
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 
122
Stiffness Matrix for a Bar Element
Example 10 - Bar Problem
 Cx 2 Cx 3 L 
 x   CL 
2
 
L 1  3L 0   6 
f1x   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
123
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.

124
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 
 F1x   L 
 0   x 
F  [ N ] T
T dS F0        10x dx
S F 2x  0  x 
 L 

125
Stiffness Matrix for a Bar Element
Example 11 - Bar Problem
The one-element solution:

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


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

F1x   6,000 lb 
  
F2x  12,000 lb  126
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


127
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  128
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

129
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 

130
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 3  6,000 lb 
(2)

 (2)     
f3 x    1 (9,000)  2 (4,500)  7,500 lb 
  2 3  
 131
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
132
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  106  1 2 1 u2    9,000 
 
 0 1 1  0  R3 x  7,500  133
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 134
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 

135
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 

136
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:
1
L

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 )  5x 2

137
Stiffness Matrix for a Bar Element
Comparison of Finite Element Solution to Exact Solution
Therefore:

1 1 5x3
L x

AE 0 AE o
2
u P ( x )dx u 5 x dx   C1
3 AE

Applying the boundary conditions:


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

5 P ( x ) 5x 2
u (L ) 
3 AE

x 3  L3   (x) 
A

A
138
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.

One element

Two elements

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

Two elements

One element

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

141
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.
142
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 W allows the weighted integral of the
residuals to go to zero.

 RW dV  0
V 143
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 functions Ni.
Therefore:

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

144
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 
 AE 0
dx  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:

 rds  rs   sdr
145
Stiffness Matrix for a Bar Element
Example 12 - Bar Element Formulation
If we assume the following:
r  Ni dNi
dr  dx
dx
d  du  du
ds   AE dx s  AE
dx  dx  dx

then integration by parts gives:

 rds  rs   sdr
L L L
d  du  du du dN
0 dx  AE dx  Ni dx  Ni AE dx 0  0 AE dx dxi dx  0
146
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:

 1 1  u1 
L L
dN du
AE  i  L dx    Ni AE
0
dx  L  u2  dx 0

147
Stiffness Matrix for a Bar Element
Example 12 - Bar Element Formulation
Substituting N1 for the weighting function Ni gives:

dN1  1 1  u1 
L L
du
AE   L  dx    N1AE
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
N1AE  AE  AE x x 0
 A x x 0
 f1x
dx 0 dx x 0

AE
 u1  u2   f1x
L 148
Stiffness Matrix for a Bar Element
Example 12 - Bar Element Formulation
Substituting N2 for the weighting function Ni gives:

 1 1  u1 
L L
dN2 du
AE   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   f2x
L 149
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.

150

You might also like