Professional Documents
Culture Documents
Prof. Nicholas Zabaras Materials Process Design and Control Laboratory Sibley School of Mechanical and Aerospace Engineering 101 Rhodes Hall Cornell University Ithaca, NY 14853-3801 zabaras@cornell.edu http://mpdc.mae.cornell.edu
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 1
dw dx
EA
This is a scalar
Note that we added the transpost ()T on w terms for allowing us to do easy matrix operations at a later time. At this time, this has no effects as w is a scalar! Having selected the FE mesh and introducing smooth approximation functions over each element, we can write: T
dwe e e du e eT e eT e E A dx w A t w b dx = 0, w U 0 | t dx e e dx e e e
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 2
we
and
ue
u = N {u } ,
e e e row vector column vector
du e e e e e = = B u B d { } { } dx
scalar row vector e T row vector Nodal DOF
{w }
e e
= 0, {wF }
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 3
K =
e
e
{f }= N
Column vector e
e e e B A E B e dx e T
e e + b dx ( N A t ) |t e e
e f T T
{f }
e
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 4
Partitioning of the global solution As we did in earlier lectures, we partition the solution and weight function to account for essential boundary conditions:
d E wE 0 d = , w = = wF wF d F
So in our discretized weak form the statement for every w U needs to be translated to for every {wF } .
0
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 5
Using the partition w and similar partition for the residual r, the above equation leads to:
[ wE
wF ]
rE T T = w r + w { E } { E } { F } {rF } = 0, {wF } rF
[ K F ]{d F } = { f F } K EF
And the reaction forces from:
{d }
E
[ rE ] = [ K E ]{d E } + [ K EF ]{d F } { f E }
{d } The displacement field in each element is: u ( x) = N ( x) e e e e {d } d = L B ( x ) d , and the stresses e ( x) = E e ( x) where: { } { }
e e e
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 7
x x1e 1 e = e e x2 x x1e x2 L
x x1e
dN e 1 = = B dx x e x e 2 1
e
1 1 = e [ 1 1] e e x2 x1 L
e T
AE B dx = e x1
e e e
e x2
1 Le
1 e e 1 Ae E e 1 A E Le [ 1 1] dx = Le 2
e x2 1 1 [ 1 1] x1e dx
Ae E e K = Le
e
1 1 1 1
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 8
x x1e 1 e = e e x2 x x1e x2 L
x x1e
dN e 1 B = = dx x e x e 2 1
e
1 1 = e [ 1 1] e x2 x1e L
{f } =
e
e x2 e x1
e T
dx =
Scalar
e x2 e x1
T N e N e b1 dx b2
{}
{f } = L
e
1
e2
e x2 e x1
e e e ( x2 x ) 2 ( x2 x )( x x1 ) ( x e x )( x x e ) ( x x e ) 2 1 1 2
b1 dx b2
e
{ }
f
e
L 6
2 1 b1 1 2 b 2
{ }
Leb = 2
1 1
For the heat conduction problem shown, we will compute the temperature and heat flux distribution using 2 linear finite elements.
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 10
The element stiffness matrix and load vectors for heat conduction are given as:
e K = e e e e B A k B e dx T T T
e e e N bdx ( N A q ) |q { f } = e e
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 11
Element 1
x1 2 x N = x1 x1 2 1
1
1 2 x x x1 = 1 x1 x 2 2 1
dN 1 1 = = B dx x1 x1 2 1
1 L q 1 5 1 1 1 1 1 { f } = e N bdx ( N A q) |q = 2 1 = 5 2
T T
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 12
Element 2
x1 2 x N = x1 x1 2 1
2
1 4 x x x1 = 1 x1 x 2 2 1
x 2 2
dN 2 1 = = B dx x 2 x 2 2 1
2
1 1 = [ 1 1] 2 2 x2 x1 2
2 3
2 K =
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 13
Assembly
1 e T K e Le = 0 K L = [ ] e 0 0 0 0.1 + 1 0 0.1 0 1
0.1 0.0 0.1 0.1 0.1 0.1 + 0.1 0.1 = 0.1 [K ] = 0.1 0.1 0.0 0.0
1 2 3
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 14
Assembly
1 0 0 0 e T e 0 1 5 + 1 0 5 F L f = = { } { } 5 4.5 e 0 0 0 1 5 1 10 2 {F } == 4.5 3
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 15
Assembly
[ 0.1
Postprocessing: Temperature
2 x N1 L1 {d 1} = T1 = 2
4 x 2 2 T2 = N L d = { } 2
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 17
Postprocessing
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 18
Example problem
A = 0.1m 2
A = 0.05( x 1)m 2
We need to compute the global stiffness matrix and load vector and solve for the displacements and stresses. We consider a 3-node element from A to B and one 2-node element from B to C.
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 19
Element 2
A = 0.1m 2
2 x2 x N = 2 2 x2 x1 2
x x12 1 = [5 x 2 x2 x12 2
x 3]
A = 0.05( x 1)m 2
dN 2 1 B = = dx x 2 x 2 2 1
2
1 1 = [ 1 1] 2 x2 x12 2
K =
2
XD
xB
K =
2
XD
xB
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 20
Element 2
A = 0.1m 2
2 x2 x N = 2 2 x2 x1 2
x x12 1 = [5 x 2 x2 x12 2
x 3]
A = 0.05( x 1)m 2
dN 2 1 2 B = = dx x 2 x 2 2 1
1 1 = [ 1 1] 2 x2 x12 2
1 = + = f N bdx ( N P ) | { } e t 2
T
2T
5 x 150 4 x 3 150 = 0 x =3 2
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 21
Element 1
1 1 1 N ( x 2)( x 3) ( x 1)( x 3) ( x 1)( x 2) = 2 2
A = 0.1m 2 A = 0.05( x 1)m 2
dN 1 5 = = B x dx 2
1
4 2x
3 x 2
5 x 2 XB 3 5 1 1 T 1 1 1 7 = = K B A E B dx x e x 4 2 0.1(2 ) 2 1 xA 3 x 2 2.333 2.6667 0.333 1 6 3 = K 10 2.6667 5.333 2.6667 0.333 2.6667 2.333 4
1 3 4 1
4 2x
3 x dx 2
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 22
Element 1
1 1 1 N ( x 2)( x 3) ( x 1)( x 3) ( x 1)( x 2) = 2 2 A = 0.1m 2 A = 0.05( x 1)m 2
dN 1 5 = = B x dx 2
1
4 2x
3 x 2
1 3 4
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 23
Assembly
0 2.6667 0.333 u1 = 0 r1 + 3.333 2.333 0 u = 0 r 1.5 0 1.5 2 2 [ K ] = 106 2.6667 0 5.333 2.6667 u = 3 13.333 1.5 2.6667 3.8333 u4 0.333 153.333
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 24
Solution step
We can now calculate the reaction forces by returning to the first 2 equations in [K]{u}={f}
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 25
Displacement calculation
u4 = 64106 1 1 u ( x) = (5 x) ( x 3) N {d } = 2 2 u2 = 0
2 2 2
u 2 ( x) = (160 32 x)106 m
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 26
u1 = 0 5 3 6 1 1 B { d } ( x ) 4 2 x ( x ) u 34.510 1 ( x) = E = = 3 2 2 6 u4 = 6410
1 ( x) = 840 100 x Pa
1 B {d } = ( x) = E 2
2 2 2
6 1 u4 = 6410 2 u2 = 0
2 ( x) = 640 Pa
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 27
Example problem
We revisit a boundary value problem with generalized boundary conditions (all coefficients shown are non zero).
d du (k ( x) ) + q ( x)u ( x) = f ( x), x (0, l ) dx dx du 0 (0) + 0u (0) = 0 dx du l (l ) + l u (l ) = l dx
We here start with weak formulations written separately for each element. This process is identical with what was done before but it is helpful as it shows how to include discontinuities in fluxes within the domain. Here we use index rather than matrix notation (i.e. instead of writing Ax=b, we write A u = F , i = 1, 2,..., N ).
N j =1 ij j i
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 28
xe
xe
Flux
xe
e x2
xe
e e e e e e e +h H 1 ( e ) ( x1e ) wh ( x1e ) h ( x2 ) wh ( x2 ), wh
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 29
k ( x)
e h
e h
e x2
e x2
e e e e e e e +h H 1 ( e ) ( x1e ) wh ( x1e ) h ( x2 ) wh ( x2 ), wh
For each element e, we approximate u ( x) = u ( x )N ( x) and taking w ( x) = N , i = 1,.., N results in the following discretized equations:
e h j =1 e h e j e j
Ne
e h
e i
Thus as we have seen before, the element stiffness matrix and load vector are:
e x2 e dN dN j e e i Kij = k ( x) dx + q( x) N e j ( x )N i ( x ) dx dx dx xe xe
1 1 e x2 e
e x2
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 30
N 1
where ( x
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 31
2
1 1 K11 u1 + K12 u2 = f11 + (0)
N 1
1 1 K 21 u1 + K 22 u2 = f 21 ( x2 )
1st 2nd
element element
2 2 K 21 u2 + K 22 u3 = f 22 ( x3 )
1 1 K11 u1 + K12 u2 = f11 + (0)
( x2 )
2 2 3 3 K 21 u2 + ( K 22 u4 = f 22 + f13 + ( x3 ) + K11 ) u3 + K12 flux disctontinuity at x2
... ...
N 1 N 1 K 21 u1 + K 22 u2 = f 2N 1 (l )
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 32
1 1 K11 u1 + K12 u2 = f11 + (0) 1 1 2 2 K 21 u1 + ( K 22 + K11 )u2 + K12 u3 = f 21 + f12 + ( x2 ) 2 2 3 3 K 21 u2 + ( K 22 + K11 u4 = f 22 + f13 + ( x3 ) ) u3 + K12
... ...
N 2 N 2 N 1 N 1 K 21 u N 2 + ( K 22 + K11 u N = f 2N 2 + f1N 1 + ( xN 1 ) ) uN 1 + K12 N 1 N 1 K 21 u1 + K 22 u2 = f 2N 1 (l )
You can now account for flux discontinuities within the domain! For example let
( x3 ) = f 3
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 33
N 1
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 34
l l l l du du ( ) ( ) ( ) ( ) ( ) ( ) ( ) = = + l k l l k l u l k l k l uN l (l ) + l u (l ) = l dx l l l l dx
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 35
Once you compute the nodal solution, the FEM solution in each element is:
u ( x) = u ( x )N ( x),
e h j =1 e h e j e j Ne e Ne e e dN e duh ( x) j ( x) . ( x) k ( x) = k ( x ) uh ( x j ) j =1 dx dx e h
MAE 4700 FE Analysis for Mechanical & Aerospace Design N. Zabaras (9/18/2012) 36