Professional Documents
Culture Documents
Summary:
Shape functions in 1D
2 ∫0
Potential energy of the axially loaded bar corresponding to the Π (w) = EA⎜ ⎟ dx − ∫0 bw dx − Fw(x = L)
⎝ dx ⎠
exact solution u(x)
2
1 L ⎛ du ⎞ L
2 ∫0
Π (u) = EA⎜ ⎟ dx − ∫ bu dx − Fu(x = L) From the Principle of Minimum Potential Energy, that function
⎝ dx ⎠ 0 ‘w’ is the exact solution.
1
Rayleigh-Ritz Principle
The approximate solution is
Step 1. Assume a solution
u ( x) = a 0ϕ o ( x) + a1ϕ1 ( x) + a 2ϕ 2 ( x) + ...
w( x) = a 0ϕ o ( x) + a1ϕ1 ( x) + a 2ϕ 2 ( x) + ... Where the coefficients have been obtained from step 3
2 ∫0
Π (w) = EA⎜ ⎟ dx − ∫0 bw dx − Fw(x = L)
⎝ dx ⎠
Step 3. Obtain the coefficients ao, a1, etc by setting
∂Π (w)
= 0, i = 0,1,2,...
∂ai
El #1 El #2 El #3
w( x) = a1 x Is this good? (Is ‘x’ an “admissible” function?)
2
1 L ⎛ dw ⎞ L
Π (w) =
2 ∫0
EA⎜ ⎟ dx − ∫0 bw dx − Fw(x = L)
⎝ dx ⎠
2
x1=0 x2 x3 x4=L x1=0 x2 x3 x4
El #1 El #2 El #3 El #1 El #2 El #3
2 ∫x3
2 0 ⎝ dx ⎠ Π 3 (w) = EA⎜ ⎟ dx − ∫x bw dx − Fw(x = L)
⎝ dx ⎠ 3
Potential energy of element 1:
2
1 x2 ⎛ dw ⎞ x2
Total potential energy=sum of potential energies of the elements
2 ∫x1
Π 1 (w) = EA⎜ ⎟ dx − ∫x bw dx
⎝ dx ⎠ 1
2 ∫x2
Π 2 (w) = EA⎜ ⎟ dx − ∫x bw dx
⎝ dx ⎠ 2
3
TASK 1: APPROXIMATE THE DISPLACEMENT WITHIN
EACH ELEMENT w(x1 ) = a 0 + a1x1 = d1x
w(x 2 ) = a 0 + a 1x 2 = d 2x
Simplest assumption: displacement varying linearly inside each bar
d 2x Solve simultaneously
w(x) = a 0 + a 1x
x2 x1
a0 = d 1x − d 2x
d 1x x El #1 x 2 − x1 x 2 − x1
x1 x2 1 1
a1 = − d 1x + d 2x
x 2 − x1 x 2 − x1
How to obtain a0 and a1?
Hence
w(x1 ) = a 0 + a 1x1 = d1x x2 - x x - x1
w(x) = a 0 + a 1x = d1x + d 2x = N1 (x)d1x + N 2 (x)d 2x
w(x 2 ) = a 0 + a 1x 2 = d 2x x 2 − x1 x 2 − x1
N1 (x) N 2 (x)
4
2. Compatibility: The displacement approximation is continuous 3. Completeness
across element boundaries x -x x-x
w (2) (x) = 3
d 2x + 2
d 3x
w (1) (x) =
x2 - x
d1x +
x - x1
d 2x
x3 − x 2 x3 − x2 N1 (x) + N 2 (x) = 1 for all x
x 2 − x1 x 2 − x1
N1 (x)x1 + N 2 (x)x 2 = x for all x
x2 - x
Use the expressions N1 (x) = ;
x 2 − x1
x - x1
x1 x2 x3 x N 2 (x) =
El #1 El #2 x 2 − x1
At x=x2
x2 - x2 x -x And check
w (1) (x = x 2 ) = d1x + 2 1 d 2x = d 2x x2 - x x - x1
x 2 − x1 x 2 − x1 N1 (x) + N 2 (x) = + =1
x -x x -x x 2 − x 1 x 2 − x1
w (2) (x = x 2 ) = 3 2 d 2x + 2 2 d 3x = d 2x
x3 − x2 x3 − x2 x2 - x x - x1
Hence the displacement approximation is continuous across elements and N1 (x) x1 + N 2 (x) x 2 = x1 + x2 = x
x 2 − x1 x 2 − x1
What do we mean by “rigid body modes”? What do we mean by “constant strain states”?
Assume that d1x=d2x=1, this means that the element should Assume that d1x=x1 and d2x=x2. The strain at ANY point (x)
translate in the positive x direction by 1. Hence ANY point within the bar is
(x) on the bar should have unit displacement. Let us see d 2x − d1x x 2 − x1
whether the displacement approximation allows this. ε (x) = = =1
x 2 − x1 x 2 − x1
w(x) = N1 (x)d1x + N 2 (x)d 2x = N1 (x) + N 2 (x) = 1 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
YES! dw(x)
Hence, ε (x) = =1
dx YES!
5
4. How to write the expressions for the shape functions easily
Completeness = Rigid body modes + Constant Strain states (without having to derive them each time):
Start with the Kronecker delta property (the shape function at
any node has value of 1 at that node and a value of zero at all
other nodes) 1 1
x2 - x x - x1
Compatibility + Completeness ⇒ Convergence N 1 (x) = N 2 (x) =
Ensure that the solution gets better as more elements are introduced x 2 − x1 x 2 − x1
and, in the limit, approaches the exact answer.
x1 x2 x
El #1
Node at which N1 is 0
N1 (x) =
(x 2 - x ) Notice that the length of the element = x -x
(x 2 - x1 ) 2 1
1 w(x) = N d
Recall that the strain in the bar dw
ε=
dx
x1 x2 Hence
x
x3
⎡dN ⎤
El #1 ε=⎢ ⎥d=Bd (2)
N1 (x) =
(x 2 - x )(x 3 - x ) ⎣ dx ⎦
(x 2 - x1 )(x 3 - x1 ) w(x) = N1 (x)d1x + 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=⎢ ⎥
N 3 (x) =
(x1 - x )(x 2 - x ) 1D and it has three nodes and three ⎣ dx ⎦
(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 + a1x
⎡ 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 − x1 x 2 − x1 ⎦ x 2 − x1
d -d
⎡ -1 1 ⎤ ⎧d 1x ⎫ ε = 2x 1x
ε =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
Summary
[− 1 1 ]⎧⎨ 1x ⎫⎬
E d
σ=
x 2 − x1 ⎩d 2x ⎭