Fem 5
Fem 5
Rayleigh-Ritz Principle
Finite element formulation, takes as its starting point, not the Step 1. Assume a solution
strong formulation, but the Principle of Minimum Potential
Energy. w( x) a 0 o ( x) a11 ( x) a 2 2 ( x) ...
Task is to find the function ‘w’ that minimizes the potential energy Where o(x), 1(x),… are “admissible” functions and ao, a1,
of the system etc are constants to be determined.
2 Step 2. Plug the approximate solution into the potential energy
1 L dw L
(w)
2 0
EA
dx
dx bw dx Fw(x L)
0 2
1 L dw L
(w)
2 0
EA
dx
dx bw dx Fw(x L)
0
From the Principle of Minimum Potential Energy, that function ‘w’ Step 3. Obtain the coefficients ao, a1, etc by setting
is the exact solution. (w)
0, i 0,1,2,...
ai
1
The approximate solution is Need to find a systematic way of choosing the approximation
functions.
u ( x) a 0 o ( x) a11 ( x) a 2 2 ( x) ...
Where the coefficients have been obtained from step 3 One idea: Choose polynomials!
2
x1=0 x2 x3 x4 Step 2: Describe the behavior of each element
1 x4 dw
2
x4 TASK 1: Approximate the displacement within each bar as a
3 (w)
2 x3
EA
dx
dx bw dx Fw(x L)
x3
straight line
TASK 2: Approximate the strains and stresses and realize that a bar
(with the approximation stated in Task 1) is exactly like a spring
Total potential energy=sum of potential energies of the elements with k=EA/L
TASK 3: Use the principle of force equilibrium to generate the
(w) 1 (w) 2 (w) 3 (w) stiffness matrix
3
w(x1 ) a 0 a 1x1 d1x In matrix notation, we write
w(x 2 ) a 0 a 1x 2 d 2x
w(x) N d (1)
Solve simultaneously
x2 x1 Vector of nodal shape functions
a0 d 1x d 2x
x 2 x1 x 2 x1 x - x x - x1
N N 1 (x) N 2 (x) 2
a1
1
d 1x
1
d 2x x 2 x1 x 2 x1
x 2 x1 x 2 x1
Vector of nodal displacements
Hence
x2 - x x - x1
w(x) a 0 a 1x d1x d 2x N1 (x)d1x N 2 (x)d 2x d
x x x x d 1x
21 21 d 2x
N1 (x) N 2 (x)
NOTES: PROPERTIES OF THE SHAPE FUNCTIONS 2. Compatibility: The displacement approximation is continuous
across element boundaries x -x x-x
1. Kronecker delta property: The shape function at any node w (2) (x) 3
d 2x 2
d 3x
x -x x - x1 x3 x2 x3 x2
has a value of 1 at that node and a value of zero at ALL other w (x) 2
(1)
d1x d 2x
x 2 x1 x 2 x1
nodes. 1 1
x2 - x x - x1
N1 (x) N 2 (x)
x 2 x1 x 2 x1
x1 x2 x
x1 x2 x3 x
El #1 El #1 El #2
Check At x=x2
x -x x2 - x2 x -x
N1 (x) 2 w (1) (x x 2 ) d1x 2 1 d 2x d 2x
x 2 x1 x 2 x1 x 2 x1
x 2 - x1 x3 - x2 x -x
N1 (x x1 ) 1 w (2) (x x 2 ) d 2x 2 2 d 3x d 2x
x 2 x1 x3 x 2 x3 x 2
x2 - x2 Hence the displacement approximation is continuous across elements
and N1 (x x 2 ) 0
x 2 x1
4
3. Completeness Rigid body mode
Constant strain states Completeness = Rigid body modes + Constant Strain states
N1 (x)x1 N 2 (x)x 2 x at all x
d 2x d1x x 2 x1
(x) 1
x 2 x1 x 2 x1
Let us see whether the displacement approximation allows this.
w(x) N1 (x)d1x N 2 (x)d 2x N1 (x)x1 N 2 (x)x 2 x
dw(x)
Hence, (x) 1
dx YES!
5
Selecting Approximation Functions for Displacements: 4. How to write the expressions for the shape functions easily
(without having to derive them each time):
Consider the following guidelines, as they relate to the one-dimensional Start with the Kronecker delta property (the shape function at
bar element, when selecting a displacement function. any node has value of 1 at that node and a value of zero at all
1. Common approximation functions are usually Polynomials. other nodes) 1 1
2. The approximation function should be continuous within the bar element.
3. The approximating function should provide inter-element continuity for all x2 - x x - x1
N1 (x) N 2 (x)
degrees of freedom at each node for discrete line elements, and along x 2 x1 x 2 x1
common boundary lines and surfaces for two- and three-dimensional
elements. (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
x1 x2 x
El #1
overlaps or voids between elements.)
Node at which N1 is 0
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 N1 (x) 2
x - x Notice that the length of the element = x -x
and of continuity within the element. x 2 - x 1 2 1
x - x x - x 1 The denominator is
4. The approximation function should allow for rigid-body displacement and N 2 (x) 1 the numerator evaluated at
for a state of constant strain within the element.
x1 - x 2 x 2 - x1
the node itself
1 w(x) N d
Recall that the strain in the bar dw
ε
dx
x1 x2 Hence
x
x3
dN
El #1 ε dBd (2)
x 2 - x x 3 - x dx
N1 (x)
x 2 - x1 x 3 - x1 w(x) N1 (x)d 1x N 2 (x)d 2x N 3 (x)d 3x The matrix B is known as the “strain-displacement matrix”
N 2 (x)
x1 - x x 3 - x
x1 - x 2 x 3 - x 2 This is a quadratic finite element in dN
B
x1 - x x 2 - x 1D and it has three nodes and three dx
N 3 (x)
x1 - x 3 x 2 - x 3 associated shape functions per element.
6
Displacement is linear
For a linear finite element
w(x) a 0 a 1x
x - x x - x1 d 2x
N N 1 (x) N 2 (x) 2
x 2 x1 x 2 x1
d 1x x El #1
Hence
x1 x2
-1 1 1
B 1 1 Strain is constant
x
2 x 1 x 2 x 1 x 2 x1
d 2x - d1x
-1 1 d1x ε
εBd x 2 x1
x 2 x 1 x 2 x 1 d 2x
d 2x - d 1x
x El #1
x 2 x1
x1 x2
Hence, strain is a constant within each element (only for a
linear element)!
Summary
du
Recall that the stress in the bar Eε E
dx Inside an element, the three most important approximations in
terms of the nodal displacements (d) are:
Hence, inside the element, the approximate stress is
Displacement approximation in terms of shape functions
EB d (3)
u(x) N d (1)
7
For a linear element Why is the approximation “admissible”?
x1=0 x2 x3 x4=L
x2
T
Potential energy of element 1: B EB Adx
x1
Recall that
Lets plug in the approximation
1
w(x) N d ε(x) B d EB d B 1 1
x 2 x1
1 T Hence 1 1 1
1 1
x2 T T x2 T T
1 (d) d B EB Adx d d N b dx B EB E
2 x1 x1
x 2 x1 1 x 2 x1
E 1 E 1 1
1 1
x 2 x 1 2
1 x 2 x 1 1 1
2
8
x1
x2 T
B EB Adx
1
x2 x1
2
1 1 x2
1 1 x1 AEdx
AEdx x 1x 11
x2
x1
2 1
2
1
1
Then why is it necessary to go through this complicated procedure??
1. Easy to handle nonuniform E and A
2. Easy to handle distributed loads
Now, if we assume E and A are constant For nonuniform E and A, i.e. E(x) and A(x), the stiffness matrix of
the linear element will NOT be
x1
x2 T
B EB Adx AEdx x 1x 11 11 AE(x
x2
x1
2 1
2
x ) 1 1
2
x x 1 1
2 1
1
2
EA 1 1
AE 1 1 x2 x1 1 1
x2 x1 1 1
Remembering that (x2-x1) is the length of the element, this is the But it will ALWAYS be
stiffness matrix we had derived directly before using the direct x2
k B EB Adx
T
stiffness approach!! x1
9
Recap of the properties of the element stiffness matrix
Hence x2
k B EB Adx
T
Π 1 (d )
x1
0
d
1. The stiffness matrix is singular and is therefore non-invertible
2. The stiffness matrix is symmetric
kd fb 3. Sum of any row (or column) of k the stiffness matrix is zero!
11
Why?
Exactly the same equation that we had before, except that the
stiffness matrix and nodal force vectors are more general
x1
T 1 2 x2
f b N b dx 1
x1
x2 N ( x )
x1
b dx
N 2 ( x)
x2
B E Bd Adx
T
d1x d2x
x2 N ( x) b dx
x
x1
f1x 1
0
x12
0 f 2x x N 2 ( x) b dx
1
k k 1 0 f1x
x2
N 1 ( x ) b dx
k d 11 12 x1
k21 k22 1 0 x2 “Consistent” nodal loads
k11 k12 0 and k21 k22 0 f 2x N 2 ( x) b dx
x1
10
Summary: For each element
b(x) /unit length 1 f 2 Displacement approximation in terms of shape functions
1 2 1x
f2x
Replaced by
w(x) N d
d2x d1x d2x
d1x Strain approximation in terms of strain-displacement matrix
A distributed load is represented by two nodal loads in a ε(x) B d
consistent manner Stress approximation
e.g., if b=1 EB d
x2 x2 x 2 x1
f1x N 1 ( x ) b dx N 1 ( x) dx Element stiffness matrix
x1 x1 2
x2
x 2 x1 k B EB Adx
T
x2 x2
f 2x N 2 ( x) b dx N 2 ( x) dx x1
x1 x1 2 Element nodal load vector
Divide the total force into two equal halves and lump them at the
x2
nodes f b N b dx
T
What happens for element #3? What happens for element #3?
2 Now apply Rayleigh-Ritz principle
1 x4 dw x4
3 (w)
2 3
x
EA dx x bw dx Fw(x L)
dx 3
Π 3 (d )
0
For element 3 d
x - x x - x 3 d 3x 0
w(x) 4 k d fb
x 4 x 3 x 4 x 3 d 4x F
w(x L) d 4x
Hence there is an extra load term on the right hand side due to the
The discretized form of the potential energy
concentrated force F applied to the right end of the bar.
3 (d)
1 T
2
d x4
x3
T
B EB Adx d d T
x4
x3
N
T
b dx Fd 4x
NOTE that whenever you have a concentrated load at ANY
node, that load should be applied as an extra right hand side
term.
11
Step3:Assembly exactly as you had done before, assemble the Problem:
global stiffness matrix and global load vector and solve the 6” E=30x106 psi
resulting set of equations by properly taking into account the r=0.2836 lb/in3
displacement boundary conditions Thickness of plate, t=1”
12”
24”
12