Sunteți pe pagina 1din 75

A04 - Introduction to the Finite Element Method 1

Introduction to the Finite Element Method

Background Material
 AERO 306 notes and Introduction to Aerospace Structural Analysis,
Allen and Haisler
 http://ceaspub.eas.asu.edu/structures/FiniteElementAnalysis.htm
 http://www.myb2o.net/myb2ous/Analysis/Features/10547.htm
 http://www.myb2o.net/myb2ous/Analysis/Tools/Process/10407.htm
 http://larcpubs.larc.nasa.gov/randt/1993/RandT/SectionG/G11.html
Assumptions
It is assumed that you are familiar with basic FEM theory (AERO 306)
and with applications to truss or beam elements and structures, and:
 know FEM theory based on an energy or variational formulation,
 know what a stiffness matrix is,
 know how to assemble element stiffness and force matrices into
global (structural) stiffness and force matrices,
 know how to solve the resulting equilibrium equations
[ K ]{q}  {Q} for displacements, and
 know how to determine resulting strains and stresses.
A04 - Introduction to the Finite Element Method 2
Structures are often analyzed using complex finite element analysis
methods. These tools have evolved over the past decades (since
early 1960's) to be the basis of most structural design tasks. A
candidate structure is analyzed subject to the predicted loads and
the finite element program predicts deflections, stresses, strains,
and even buckling of the many elements. The designed can then
resize components to reduce weight or prevent failure. In recent
years, structural optimization has been combined with finite
element analysis to determine component gauges that may
minimize weight subject to a number of constraints. Such tools are
becoming very useful and there are many examples of substantial
weight reduction using these methods. Surprisingly, however, it
appears that modern methods do not do a better job of predicting
failure of the resulting designs, as shown by the figure below,
constructed from recent Air Force data. The data compares static
test failures of wing, fuselage, vertical tail, horizontal tail, landing
gear and other components for New Aircraft (designed with finite
element methods) and Older aircraft (designed without FEM).
A04 - Introduction to the Finite Element Method 3

Moral of the story as presented by the chart above? Don't believe that
just because you are using modern, sophisticated finite element tools that
the analysis will in some way be better or safer. It still takes engineering
judgment, know-how and experience.
A04 - Introduction to the Finite Element Method 4
Aircraft have many main structural components in the wings, fuselage,
tail section, landing gear, etc. as shown below:
A04 - Introduction to the Finite Element Method 5

Structural members shown above may be variously modeled as


beams, thin plates, membranes, shells, etc. In some cases, it may
A04 - Introduction to the Finite Element Method 6
be necessary to perform a full 3-D stress analysis (an elasticity
type analysis as opposed to an approximate one like plate theory).
The webs in wing ribs and floor beams, and wing and fuselage
skins are typically thin members that might be considered as being
in a state of plane stress.

Plane stress describes a three-dimensional geometry wherein the


non-zero stresses all occur in a single plane. For a thin plate, web
A04 - Introduction to the Finite Element Method 7
or skin lying in the x-y plane, the only non-zero stress components
are  xx ,  yy ,  xy .

We now consider the development of a plane stress finite element.


Suppose we have a geometry like that shown below where the
thickness is small compared to the other two dimensions:

The only major stress components are  xx ,  yy , xy . Consider


another example of a thin bracket in tension and the corresponding
A04 - Introduction to the Finite Element Method 8
finite element mesh. The boundary at the hole is welded and
therefore fixed. A static tensile load of 5,500 lbs is applied to one
end. The dimensions are 25" x 10" x 0.5" thick.

t = 0.5 in.
A04 - Introduction to the Finite Element Method 9

Bracket Geometry & FEM Mesh, Loading and BC


Notice that the geometry has been divided up into a number of
rectangular regions (elements) - these are called Quad elements.

We could also use


triangular elements. We
will demonstrate the
development of the
stiffness matrix and load
vector for a triangular
element as shown below.
We assume that plane
stress occurs in the x-y
plane and define
displacement
A04 - Introduction to the Finite Element Method 10
components u ( x, y ) and v( x, y ) . We define nodal displacements at
the three corners as:
Node 1: u1 and v1
Node 2: u2 and v2
Node 3: u3 and v3

The process of developing the equilibrium equations for a given


element requires that we utilize an energy or variational principle;
for example, the principle of minimum potential energy given by:
 (U  V )  0
where U is the internal strain energy and V is the external potential
energy.

For a plane stress state, the internal (potential) energy is given by

U 
1 { }T { }dV
2 V
A04 - Introduction to the Finite Element Method 11
where
   
xx
   xx 
{ }   yy  and { }   yy 
   
 xy   xy 
Assuming a linear elastic material, the constitutive equation may
be written as
{ }  [ D]{ }

where [D] for plane stress is given by:

1  0 
E  
[ D]   1 0
1  2  
 0 0 (1   ) / 2 
Note that [D] is symmetric.

The infinitesimal strains are given:


A04 - Introduction to the Finite Element Method 12

u v u v
 xx  ,  yy  ,  xy  
x y y x

where u ( x, y ) and v( x, y ) are the displacement fields.

Substituting into gives the strain energy as

U  12  { }T [ D]{ }dV
V

where use has been made of the symmetry of [D]. Note that if we
substitute into , U is now in terms of the displacement fields
u ( x, y ) and v( x, y ) .

The external potential V can be evaluated once the external


tractions and body forces are specified. In general, V will have the
form of
V    p xu  p y v )ds   ( Fxu  Fy v )dV
S V
A04 - Introduction to the Finite Element Method 13

where px and p y are boundary tractions, S is the element


boundary surface, Fx and Fy are body forces. Note that V is in
terms of displacements u ( x, y ) and v( x, y ) .
We now have U and V in terms of u ( x, y ) and v( x, y ) ; and the
equilibrium equations for are an element are defined by the energy
principle  (U  V )  0 . However, we can't apply just yet. Why?
Because u ( x, y ) and v( x, y ) must be in terms of discrete variables
(nodal displacements) but u ( x, y ) and v( x, y ) are continuous
functions.
Constant Strain Triangle
For any element, the displacement components u ( x, y ) and v( x, y )
are unknown. Following a Rayleigh-Ritz type solution, we assume
a solution for each. The simplest assumption that can be made in
this case is to assume that the displacement varies linearly over the
element. Hence, we assume:
A04 - Introduction to the Finite Element Method 14
u ( x, y )  1   2 x  3 y
v( x, y )  1  2  x  3 y

where the  ' s and  ' s are constants. These constants can be
related to nodal
displacements for the
triangular element:
Assume the corners of
the triangle (nodes) are
numbered CCW, and
have coordinates
( x1, y1 ) , etc. as shown.
At each node (i=1,2,3),
assume the nodal
displacements are given
by (ui , vi ) . We can now
write 6 "boundary
conditions" as follows:
A04 - Introduction to the Finite Element Method 15

For u(x,y):
At node 1: u1  u ( x1 , y1 )  1   2 x1  3 y1
At node 2: u2  u ( x2 , y2 )  1   2 x2  3 y2
At node 3: u3  u ( x3 , y3 )  1   2 x3  3 y3

For v(x,y):

At node 1: v1  v( x1, y1 )  1   2 x1  3 y1
At node 2: v2  v ( x2 , y2 )  1   2 x2  3 y2
At node 3: v3  v( x3 , y3 )  1   2 x3  3 y3

We can now solve for the constants in terms of nodal


displacements. Eqs. can be written in matrix form as
A04 - Introduction to the Finite Element Method 16

1 x1 y1  1   u1 
1 x     
y2  2   u2 
 2 
1 x3 y3   3  u3 
Solution is:
1  (a1u1  a2u2  a3u3 ) /(2 A)
 2  (b1u1  b2u2  b3u3 ) /(2 A)
 3  (c1u1  c2u2  c3u3 ) /(2 A)
where
a1  x2 y3  x3 y2 , a2  x3 y1  x1 y3 , a3  x1 y2  x2 y1
b1  y2  y3 , b2  y3  y1 , b3  y1  y2
c1  x3  x2 , c2  x1  x3 , c3  x2  x1
and
1 x1 y1
2 A  1 x2 y2  2(area of triangle)
1 x3 y3
A04 - Introduction to the Finite Element Method 17

Substituting into and rearranging, u(x,y) can be written


1
u ( x, y )  [(a1  b1x  c1 y )u1  (a2  b2 x  c2 y )u2
2A
 (a3  b3 x  c3 y )u3 ]

Note that the a's, b's and c's are constants and depend only upon the
nodal coordinates (x,y) of the 3 corner nodes.
Defining the coefficients of ui as Ni , equation becomes:
3
u ( x, y )   N i ui
i 1
where
1
N i ( x, y )  ( ai  bi x  ci y )
2A

A similar result is obtained for v(x,y):


A04 - Introduction to the Finite Element Method 18
3
v( x, y )   N i vi
i 1

The quantities Ni ( x, y ) are called shape functions. Note that the


same shape functions apply for both u ( x, y ) and v( x, y ) .

We can now obtain the strains by substituting displacement


functions and into strain expressions to obtain:
u 3 Ni 3
b
 xx   ui   i ui
x i 1 x i 1 2 A

v 3 Ni 3
ci
 yy   vi   vi
y i 1 y i 1 2 A

u v 3 Ni 3
Ni 3
ci 3
bi
 xy    ui   vi   ui   vi
y x i 1 y i 1 x i 1 2 A i 1 2 A
A04 - Introduction to the Finite Element Method 19
The last 3 equations for strains can be put into matrix notation as:
 u1 
v 
 xx   b 0 b 0 b 0   1
  1 1 2 3
 u2 
 yy   
0 c1 0 c2 0 c3  
 v2
  2 A  
  c b c b
 1 1 2 2 3 3  u  c b 
 xy  3
 
 v3 
Or, more compactly as (for any element "e"):
{ e }  [ Be ]{q e }
b1 0 b2 0 b3 0 
1 
where
e
[B ]  0 c1 0 c2 0 c3 
2A  
c1 b1 c2 b2 c3 b3 
A04 - Introduction to the Finite Element Method 20

 u1 
v 
 1
e u2 
and {q }   
 v2 
u3 
 
 v3 
Since the terms in [ B e ] are constant for an element, the strains
{ e } are constant within an element; hence the name "constant
strain triangle" or CST.
We can now evaluate the internal strain energy U. Substituting
into gives:

Ue  
1 {q e }T [ B e ]T [ D e ][ B e ]{q e }dV
2 V

= 12 {q e }T   [ B e ]T [ D e ][ B e ]dV {q e }
 V 
A04 - Introduction to the Finite Element Method 21

The quantity in parentheses can be identified as the element


stiffness matrix [k e ] and can be written as:

U e  12 {q e }T [ k e ]{q e }

where the element stiffness matrix [k e ] is defined by:

[k e ]   [ B e ]T [ De ][ B e ]dV
V
e
If the element has a constant thickness t , then dV=tdA. Assuming
that E is constant over the element and noting that the terms in B
are constants, then
[k e ]  t e Ae [ B e ]T [ D e ][ B e ]

Note that the element stiffness matrix [k e ] is a 6x6 matrix, i.e., we


have a 6 degree-of-freedom (dof) element.
A04 - Introduction to the Finite Element Method 22

Note that the general form for the strain energy can be written in
index notation also:
6 6
U e  12 {q e }T [k e ]{q e }  1
2  ij qi q j
k e e e

i 1 j 1

Because [ D e ] is symmetric, the stiffness matrix [k e ] defined by


either or is a symmetric matrix (always the case).

The stiffness matrix for the CST defined by can be written in sub-
matrix notation as:

 k11 k12 k13 


[k e ]   k21 k22 k23 
(6 x 6)
 
 k31 k32 k33 
A04 - Introduction to the Finite Element Method 23

where each of the kij is a (2x2) sub-matrix defined by

1
 (bi b j D11  ci c j D33 ) (bi c j D12  ci b j D33 ) 
[kij ]  4 A  (c b D  b c D ) 
(2 x 2)  i j 21 i j 33 (ci c j D22  bi b j D33 ) 

where the Dij are material properties ( E , ) defined by and the


bi and ci are geometry parameters (x-y coordinates of nodes)
defined by .

To define the external potential


energy V, we have to define the
external load. Suppose we have a
uniform traction (pressure) p applied
on the element edge defined by
nodes 1 and 2. The external
potential then becomes:
A04 - Introduction to the Finite Element Method 24
L
V    [u ( s ) p cos  v( s ) p sin  ]tds
e
0
Note that p cos is the component of p in the x direction.
Displacements u and v on boundary 1-2 must be written as
functions of position s on the boundary:

u12 ( s )  (1  s / L)u1  ( s / L)u2


v12 ( s )  (1  s / L)v1  ( s / L)v2
Substituting u(s) and v(s) into V, and integrating over the
boundary, gives:
  
V    12 ptL cos u1  12 ptL sin  v1  12 ptL cos u2 
     12 ptL sin  v2 
The last result can be written in matrix notation as
6
V  {q } {F }    Fie qie
e e T e

i 1
A04 - Introduction to the Finite Element Method 25

 1 pt e L cos 
2 
 1 pt e L sin  
2 
e  1 pt e L cos 
where {F }   2 
 1 pt e L sin  
2 
 0 
 
 0 
A04 - Introduction to the Finite Element Method 26
The matrix {F} represents the equivalent generalized nodal force
vector due to pressure load on boundary 1-2, i.e., we have replaced
the pressure p on boundary 1-2 by the nodal forces {F} at nodes 1
and 2.

Note that the total force due to p


on boundary 1-2 is (ptL) and divides equally between nodes 1 and
2.
A04 - Introduction to the Finite Element Method 27
Another set of forces exists on the boundary of any element. These
are due to surrounding elements that apply forces due to contact
with the element in question, i.e., surrounding elements are being
deformed and hence they try to deform the element in question and
thereby put forces on this element. Additionally, where a node is at
a support or "fixed," there will be a reaction force on the element
node. Call these reaction forces {S}.

S 4
S S 2
2 3
S 1
S 1
6
S 5
3
S i  r e a c tio n s fr o m a d ja c e n t e le m e n ts

The ext. pot. energy due to reactions is V e  {q e }T {S e }


A04 - Introduction to the Finite Element Method 28
We can determine the equations of equilibrium for the element.
Using and noting that U e and V e are functions of nodal
displacements qie , i  1,...,6 , we have
6
 (U e  V e )
 (U e  V e )  0    qie
i 1 qie
Since  qi  0 , then
 (U e  V e )
0 for i  1, 2,...,6
qie

Substituting U and V [ and ] into gives the equilibrium equation


for any element.

[k e ]{q e }  {F e }  {S e }

Note that [ K e ] is (6x6) and {F e } & {S e } are (6x1) matrices.


A04 - Introduction to the Finite Element Method 29
Equations - provide the equilibrium equation for a single element.
Suppose we look at a collection of elements (i.e., a complete
structure). Then the total energy of the structure is given by the
sum of internal and potential energy of all the elements ( N el ):
N el N el 
N el6 6 
U str  U e    e T e e
1 {q } [ k ]{q } 
2  

1
2 
e1  i 1 j 1
e e e
kij qi q j 

e1 e1 
and
N el N el N el

Vstr  V e   {q e }T {F e }   {q e }T {S e }
e 1 e1
 e 1
 
N el  6  N el  6
e e
    Fi qi      Si qi 
e e

e 1  i 1  e1  i 1 
The principle of minimum potential energy for the structure
requires that
A04 - Introduction to the Finite Element Method 30
M
 (U str  Vstr )
 (U str  Vstr )  0    qi
i 1 qi
where {q} contains the M degrees of freedom for the structure
(NOT dof for each element). For  qi  0 , the last equation
requires that
 (U str  Vstr )
 0 for i  1, 2,..., M
qi
Substituting U str and Vstr into gives

 N el N el N el 

  1 {q
2
e

} [k ]{q }   {q } {F }  
e T e
 e T e
  e T e
{q } {S } 
 
 e1 e 1 e1  0
qi
for i  1, 2,..., M
Problem: The energy terms for each element are in terms of the
element dof, but in order to obtain the equations of equilibrium for
A04 - Introduction to the Finite Element Method 31
the structure (above equation), we have to take the partial
derivatives with respect to the global structural dof. In order to
complete the above, the element degrees of freedom {q e } must be
written in terms of the M global structural degrees of freedom {q}.
For any element, we can write a transformation between element
local and global dof (called the local-global transformation):
{q e }  [T e ] {q}
(6 x1) (6 xM ) ( Mx1)

The transformation will be nothing more then 1's and 0's. As an


example, suppose we have the following element and structural
node numbering:
q2 q4 q6 q8
1 2 3 4 q
1 1 q
2 3 3 5 q 4 q 7
1 5 9 q 10
5 2 6 6 7 10 8 p 5 q 9 6 7 8
3 7 11 q18 q24
4 8 12 q 17 q23
y y
9 10 11 12 9 10 1
1 12
x x
A04 - Introduction to the Finite Element Method 32
Consider element 7. Suppose we place element node 1 at global
node 6.
e e q q
q2 q6 12 14
e q
q
1 3 q e 11 7 q13
1 5 6
7 e 7 q22
q4
e q21
q 3
2 11
Elementnod es Stru
cturalnod e
s
andlo
ca ldofs andg lobaldofs

We see that for element 7, there is a correspondence between the 6


element local dofs at element nodes 1, 2 and 3, and the 6 structural
global dofs at nodes 6, 11and 7. We see that local (element) node 1
corresponds to global node 6, local (element) node 2 corresponds
to global node 11, and local node 3 corresponds to global node 7.
We can write this local to global transformation {q e }  [T e ]{q} as:
A04 - Introduction to the Finite Element Method 33
global node #  q1,2 
 q 
1 2 3 4 5 6 7
8 9 10 11 12  3,4 
 q5,6 
 
 1 0    q7,8 
[0] [0] [0] [0] [0] 0 1  [0] [0] [0] [0] [0] [0]
 
q1,2e 7       q9,10 
 7   1 0    q11,12 
 q3,4   [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]   [0]  q 
 7    0 1    13,14 
 q5,6   1 0    q15,16 
[0] [0] [0] [0] [0] [0] 0 1  [0] [0] [0] [0] [0]  
     q17,18 
 q19,20 
 
q
 21,22 
q23,24 
 
Each [0] is a (2x2). The above says that for element 7, local
(element) node 1 corresponds to global node 6, i.e., local dofs 1,2
correspond to global dofs 11,12; local node 2 corresponds to global
node 11, i.e., local dofs 3,4 correspond to global dofs 21,22, etc.
A04 - Introduction to the Finite Element Method 34
Now transform U e and V e from local to global dof by substituting
into and to obtain

U e  12 {q e }T [k e ]{q e }  12 {q}T [T e ]T [ k e ][T e ]{q} �12 {q}T [ K ge ]{q}


V e  {q}T [T e ]T {F e }  {q}T [T e ]T {S e } �{q}T {Fge }  {q}T {S ge }

Now we can define the following element matrices in global dof


(instead of local element dof):
[ K ge ] � [T e ]T [k e ] [T e ]
( MxM ) ( Mx 6) (6 x 6) (6 xM )

{Fge } � [T e ]T {F e }
( Mx1) ( Mx 6) (6 x1)

{S ge } � [T e ]T {S e }
To see what an element stiffness and force matrix written in global
dof looks like, consider element 7 again. We obtain for [ K g7 ] and
{Fg7 }:
A04 - Introduction to the Finite Element Method
6117 35

67
k
1
7
1k
2k
1
7
1

3 F
7
1
Element 7  
Each block is a (2x2) sub-matrix 7 7 7  7
F
1
12k1 2k2 2k3 
2
 7 7 7 
7
k1k 2k  F

7 3 3 3
3 
3
1 2 3 4 5 6 7 8 9 10 11 12
1
2
3
4
5
7 7 7
[ K g7 ]  6 k11 k13 k12 {Fg7 } 
7 7 7
7 k31 k33 k32 F37
8
9
10
11 7 7 7
k21 k23 k22
12
Now the internal and external potential energy is given by
A04 - Introduction to the Finite Element Method 36
N el N el  M M N el 
U str  U e    2
T e
1 {q} [ k ]{q} 
g  

1
2  
e1  i 1 j 1
e
k gij qi q j 

e1 e1 
N el N el N el

Vstr  V e    {q}T {Fge }   {q}T {S ge }
e 1 e1
 e1
 
N el  M  N el  M 
    Fgie qi      S gi qi 
e

e1  i 1  e1  i 1 
Now we can substitute and into to obtain:

 N el N el N el 

  1 {q}T [ k e ]{q}
2 g     {q} T
{Fge }     {q} T
{S ge }  
 e1 e 1 e 1  0
qi
for i  1, 2,..., M
A04 - Introduction to the Finite Element Method 37
which gives a system of M equations in terms of the structural
displacements:
N el N el N el
 
[k ge ]{q}  {Fge }  {S ge }  {0}
e1 e 1 e1
or
 N el e  N el N el
 g   g  g} e e
[ k ] {q}  { F }  {S
 e1  e 1 e 1

When all the element contributions have been summed, we simply


write
[ K ]{q}  {Q}  {S}

Note that when the element stiffness and force matrices are written
in terms of structural displacements (using local to global
transformation), they become additive [see eq. ]; i.e., to get the
structural stiffness matrix [K], we sum the contributions for all
elements.
A04 - Introduction to the Finite Element Method 38
Assemblage of Elements

A single element by itself is useless. We must determine the


equilibrium equations for an assemblage of elements that comprise
the entire structures.

Consider the following structure (only a few elements are taken to


simplify the discussion) with a uniformly pressure p on the right
boundary and fixed on the left boundary (assume a constant
thickness t).
1 2 3 4
We number the structural nodes 1 5 9
5 2 6 6 7 10 8 p
from 1 to 12 as shown. We also 3 7 11
number the elements from 1 to 4 8 12
y
12 as shown (in any order). 9 10 11 12
x
For each global node of the structure, we can specify the (x,y)
coordinates: xi , yi , i=1, 2, …, 12.
A04 - Introduction to the Finite Element Method 39
Each node of the structure will q2 q q4
q
q6
q
q8
have two degrees of freedom
1 1 2 3 3 5 4 q 7
q10
(dof). We label these 5 q 9 6 7 8
structural (global) degrees of q18 q24
freedom in order as shown to q 17 q23
y
the right. Note that the 9 10 1
1 12
x
structural nodal displacements
are written without the superscript "e." The nodal displacement
vector is written as {q} and is (24x1) for this problem.
We note that the left side is fixed (nodes 1, 5 and 9). Hence,
displacement boundary conditions will require that
q1  q2  q9  q10  q17  q18  0 .
Note: we do not have to number the dof consistently and in
sequence with the structural nodes. However, this makes the
bookkeeping much, much simpler!
For each element, we can construct a table called the element
connectivity that specifies which structural (global) nodes are
A04 - Introduction to the Finite Element Method 40
connected by an element. Hence, for the problem above, we have
the following element connectivity table:
Element No. Element Node 1 Element Node 2 Element Node 3
1 1 5 2
2 5 6 2
3 5 10 6
4 5 9 10
5 2 6 3
6 6 7 3
7 6 11 7
8 6 10 11
9 3 7 4
10 7 8 4
11 7 12 8
12 7 11 12
Note that for the CST, element nodes MUST be given as CCW.
Element node 1 can be attached with any global node of the
element.
A04 - Introduction to the Finite Element Method 41
Note that if we are careful in numbering the nodes and choosing
the element connectivity in a "systematic" manner, there will be a
pattern to the element connectivity table (see above). An
automatic mesh generator, like the one in FEMAP, tries to follow
this pattern.

Note that the global node numbers for the structure are somewhat
arbitrary, i.e., we could number them in any order. However, it
will turn out that there are optimum ways to number nodes (for a
given structure and mesh) in order to reduce the bandwidth of the
structural stiffness matrix [K] - this saves time solving the
equations. For the mesh above, it would be optimum to number
downward and left-to-right, as opposed to left-to-right and
downward. We'll discuss that later. Likewise, the element
numbering is arbitrary, but again there may be optimum
approaches. An automatic mesh generator tries to do the
numbering in an optimum fashion.
A04 - Introduction to the Finite Element Method 42
Note that for this structure, we have 12 global nodes. There are 2
degrees of freedom (dof) at each node (u and v). Hence, the
structure has 24 dof and the structural stiffness matrix [K] will be
(24x24). The structural equilibrium equations can be written as:

[ K ] {q}  {Q}  {S}


(24 x 24) (24 x1) (24 x1)

where [K]=structural stiffness matrix,


{Q}=structural forces matrix (due to applied tractions
and body forces)
{S}=structure reaction forces due to boundary conditions

Lets see how each element contributes to global matrices. Take


element 1 to start with. Note that we can use sub-matrix notation
to divide the element matrices as following. Use a superscript of 1
on the k terms to indicate element 1.
A04 - Introduction to the Finite Element Method 43

 k111 1
k12 1 
k13  F11 
 (2 x 2)  (2 x1) 
1
 1 1 1
 1
 1 
[k ]   k21 k22 k23  , {F }   F2 
(6 x 6)  1 1 1   1
k
 31 k32 k33   F3 
   
We now look at element 1 and note that element node numbers 1, 2, 3
correspond to global node numbers 1, 5, 2 (from the drawing of the
mesh, or from the element connectivity table). We can indicate this
information on the stiffness and force matrices as follows:

1 5 2
 k11 1
k 1 1 
k13  F11 
1  12
 1 (2 x1) 
(2 x 2)
1
 1 1 1
  1 
[k ]  5  k21 k22 k23  , {F 1}  5  F2 
(6 x 6)  1 1 1  (6 x1)  1
2  31k k32 k33  2  F3 
   
A04 - Introduction to the Finite Element Method 44
Hence, we see that element 1 contributes stiffness and forces to
global nodes 1, 5 and 2. Placing these contributions into the global
stiffness matrix gives:
Element 1 only
K 1 2 3 4 5 6 7 8 9 10 11 12 {q} Q
1 1
k11 1
k13 1
k12 q1,2 F11
2 1
k31 1
k33 1
k32 q3,4 F31
3 q5,6
4 q7,8
5 1
k21 1
k23 1
k22 q9,10 F21
6 =
7
8
9
10
11
12 q23,24
** remember, each block is a (2x2) sub-matrix
A04 - Introduction to the Finite Element Method
6117 45

67
k 7
1k
2k
7
3 F
7
1
Now take element 7. 1

1 1

7 7 7  F 7
11k
2 k
1 2 2 2k
3 2
7 7 7  7
k k k F
Element 7 only 731 3 2 3 
3  3

K 1 2 3 4 5 6 7 8 9 10 11 12 {q} Q
1 q1,2
2 q3,4
3 q5,6
4 q7,8
5 q9,10
6 =
7
8
9
10
11
12 q23,24
** remember, each block is a (2x2) sub-matrix
A04 - Introduction to the Finite Element Method 46
Note that the distributed pressure load p is applied only to the right
boundary of elements 10 and 11. Hence {F} for all elements
except 10 and 11 will be zero. For elements 10 and 11, we will
have
 0   0 
 0 7  0 7
   
 1p tL 1 ptL2
10  2 48  11  2 81 
{F } 8 { F}  12
 0   0 
 1p tL 
 1p tL 2

2 48 2 81
 4  8

 0   
 0  
where L48 is the length between global nodes 4 and 8, etc.

If we assemble all element stiffness matrices [k] and forces


matrices {F} to the global equilibrium equations, we have the
following result:
A04 - Introduction to the Finite Element Method 47
Structural Equations of Equilibrium

K 1 2 3 4 5 6 7 8 9 10 11 12 {q} Q
1 X X X q1,2
2 X X X X X q3,4
3 X X X X X q5,6
4 X X X X q7,8 X
5 X X X X X X q9,10
6 X X X X X X X =
7 X X X X X X X
8 X X X X X
9 X X X
10 X X X X X
11 X X X X X
12 X X X X q23,24 X
X means that one or more elements have contributed here
** remember, each block is a (2x2) sub-matrix
Note that [K] is symmetric; also it is banded (semi-bandwidth=12).
A04 - Introduction to the Finite Element Method 48
In the previous page, each X 1 2 3
means that one or more elements 1 3 31 3 3
have contributed to that (2x2) 1 5
sub-matrix. For example, we note 5 2 1 2 2 2 1 6 2
that node 2 will have stiffness 1 1 3 36 1 7 7
from elements 1, 2 and 5. Hence, 2 4 3
22 8
3 2
the 2,2 position of the global
stiffness matrix will be equal to 9 10 11
(note: you have to refer to the element connectivity to see which
element node for each element corresponds to global node 2):
1 2 5
[ K 22 ]  [k33 ]  [k33 ]  [k11 ] each sub-matrix is (2x2)

The global node 2-6 coupling term [ K 26 ] will have contributions


from elements 2 and 5 since only these elements share the
2 5
boundary between nodes 2 and 6: [ K 26 ]  [ k32 ]  [ k12 ].
Global node 6 will have stiffness contributions from elements 2, 3,
2 3 5 6 7 8
5, 6, 7, and 8: [ K 66 ]  [k22 ]  [ k33 ]  [ k22 ]  [ k11 ]  [ k11 ]  [ k11 ].
A04 - Introduction to the Finite Element Method 49
Question? What happened to the reactions {S} for each element?
Why don't they show up in the structural stiffness matrix?

Simple. It is equilibrium. Recall that when we make a free-body,


in this case take a single finite element as the free-body, we will
have equal and opposite reactions where the cut is made though the
body. Consider elements 1 and 2 below:
1
S4 1
1S 2
S 2 S4
2 3 S1
S2
1 1 2 3
1
11 2 2
S
2 S
6 S
62 22
1
S
1
S
5 1
3 3 S2
5
At the boundary between elements 1 and 2, the reactions are equal
and opposite. Hence, we add them up we have: S11  S32  0 ,
S21  S42  0 , S51  S52  0 , and S61  S62  0 . Hence, all the reactions
A04 - Introduction to the Finite Element Method 50
between elements sum to zero and do not have to be put into the
structural equilibrium equations.

OK, but what about the boundary where there are supports? What
happens to the reactions there? For example, the cantilever plate
example above: 1 2 3 4
1 5 9
They don't disappear and should 5 2 6 6 7 10 8 p
be included in the structural 3 7 11
stiffness matrix. y
4 8 12
9 10 11 12
We know that there will be x
unknown reactions at global
nodes 1, 5 and 9. We could call R 2
1 R 1 2 3 4
these reactions R1, R2 , R9 , R10 , R 1 5 9
105
R17 and R18 (consistent with R92 6 6 7 10 8 p
global displacements). So we R 18 3 7 1
1
4 8 12
have the free body of the y
9 R 17 10 1
1 12
structure: x
A04 - Introduction to the Finite Element Method 51
Structural Equations of Equilibrium with Support Reactions

K 1 2 3 4 5 6 7 8 9 10 11 12 {q} Q
1 X X X q1,2 R1,2
2 X X X X X q3,4
3 X X X X X q5,6
4 X X X X q7,8 X
5 X X X X X X q9,10 R9,10
6 X X X X X X X =
7 X X X X X X X
8 X X X X X
9 X X X R17,18
10 X X X X X
11 X X X X X
12 X X X X q23,24 X
X means that one or more elements have contributed here
** remember, each block is a (2x2) sub-matrix
A04 - Introduction to the Finite Element Method 52
OK, now one last step. We have to apply displacement boundary
conditions. The structure is fixed at nodes 1, 5 and 9; thus,
q1  q2  q9  q10  q17  q18  0 . The easiest way to apply
boundary conditions to any system of equations is as follows:
1. Zero out the row and column on the left side matrix (the [K]
matrix) corresponding to each B.C., and zero out the row of the
right side (the {Q} matrix) corresponding to each B.C.
2. Place a 1 on the diagonal of the left side matrix (the [K] matrix)
corresponding to each B.C.
 You will notice that every dof that has a B.C. also corresponds to
a dof where a support reaction (R) occurs. Applying B.C. as
described above will thus eliminate the reactions from the
equilibrium equations.
 A theoretical reason why we don’t have to worry about reactions
in structural equations of equilibrium? Because these support
reactions R do no work (displacement is zero at support) and
hence do not affect equilibrium of the structure!!!
A04 - Introduction to the Finite Element Method 53
Structural Equations of Equilibrium with B.C. Applied
K 1 2 3 4 5 6 7 8 9 10 11 12 {q} Q
1 1 
 1
 0 0
 0 0
0
0
0
0 
q1,2 0 
 
     0 

2 0 0 
0 0  X X 0
0
0
0  X q3,4
  

3 X X X X X q5,6
4 X X X X q7,8 X
5 0 0 
0 0 
 0 0
 0 0
1 
 1
0 0
0 0
0 0 
0 0 
0 0 
0 0  q9,10 0 
 
            0 

6 X X 0 0 
0 0 
 
X X X X =
7 X X X X X X X
8 X X X X X
9 0
0

0
0 
1 
 1
 
0 0 
0 0 
 
0 
 
0 

10 0
0

0
0  X 0 0 
0 0 
 
X X
11 X X X X X
12 X X X X q23,24 X
X means that one or more elements have contributed here
** remember, each block is a (2x2) sub-matrix
A04 - Introduction to the Finite Element Method 54
The structural equations with B.C. may now be solved for the
unknown displacements. Note that when we solve the system of
equations, the solution will give q1  q2  q9  q10  q17  q18  0 ,
i.e, the 1st equation simply says (1)q1  0 , etc.

Element Strains and Stresses


Now we are ready to solve for the element strains and stresses. For
each element, we can substitute the 6 global displacements
corresponding to that element into :

{ e }  [ B e ]{q e } e=1, 2, …, no. of elements


(3 x1) (3 x 6) (6 x1)

The stresses for each element can then be obtained by substituting


the strains for that element into :

{ e }  [ D e ]{ e } e=1, 2, …, no. of elements


(3 x1) (3 x 3) (3 x1)
A04 - Introduction to the Finite Element Method 55
Evaluation of stress results based on stress components in the
Cartesian coordinates directions ( xx ,  yy ,  xy , etc.) leaves
something to be desired. Why? Stresses in these directions may
not necessarily represent the largest stresses and we need these in
order to consider yielding or failure. You already know that you
can calculate principal stresses and maximum shear stress using
stress transformation equations or Mohr's Circle. Hence, stress
results (stress components) are often represented in two additional
ways:
 Principal stresses and maximum shear stress, and
 von Mises stress.

Principal stresses can, as noted above, be obtained by either stress


transformation equations or through the use of Mohr's Circle. An
alternate approach to define principal stresses is to write:
A04 - Introduction to the Finite Element Method 56

 xx   p  xy  xy
 yx  yy   p  yz 0
 zx  zy  zz   p

Expansion of the determinant provides a cubic equation that can be


solved for the three principal stresses  p . Comparing principal
stresses to a tensile yield stress provides some measure of
evaluation; however, one has to keep in mind that comparing the
principal stress (obtained from a three-dimensional stress state) to
a yield stress obtained from a uniaxial tension test is risky at best.

The von Mises stress provides a means to extrapolate uniaxial


tensile test data (for yield stress) to a three-dimensional stress state.
In effect, the von Mises stress provides an "equivalent" uniaxial
stress approximation to the three-dimensional stress state in a body
through the following equation:
A04 - Introduction to the Finite Element Method 57
1
( xx   yy )  ( yy   zz )  ( zz   xx )
2 2 22
 VM  12  
  6 xy  6 yz  6 zx 
or
1
 VM  1 ( p1   p 2 )2  ( p 2   p 3 )2  ( p 3   p1 )
22
2  

where ( p1,  p 2 ,  p 3 ) are the principal stresses. Given the stress


components ( xx ,  yy , xy , etc.) or principal stresses, one can
compute the von Mises stress.

This representation has been used quite successfully to model the


onset of yielding in ductile metals and collaborates well with
experiment. It is widely used in industry. For a material to remain
elastic,
 VM   y (for no yielding)
A04 - Introduction to the Finite Element Method 58
Equation forms an ellipsoid in 3-D (ellipse in 2-D) when the
stresses are plotted in principal stress space. As long as the stress
state represented by the principal stresses is inside the ellipse (the
yield surface), the material is elastic.
A04 - Introduction to the Finite Element Method 59
Element Libraries
(or, choose the right element for a structural component and
loading, in order to maximize potential for correct results with the
least amount of computation)

Many, many finite elements have been developed for use in


modern FEM software. Choosing the correct element for a
particular structural is paramount. For example,
 if a structural member behaves like a beam in bending, we
should choose a beam element to model it,
 if a structural member behaves like a thin plate in plane stress,
we should choose an appropriate element to model it,
 if a structural member looks like a shell of revolution, we
should use a thin shell of revolution element,
 if a structural member will experience a three-dimensional
stress state, we have to choose an element that models that
behavior,
 etc.
A04 - Introduction to the Finite Element Method 60
Here are some examples of the types of elements available:
 Truss element (2-D and 3-D)
 Beam bending element (2-D and 3-D; straight and curved)

dof at each node

 Membrane
element (no bending; flat and curved)
 Triangular, Quad (both straight and curved sides)
A04 - Introduction to the Finite Element Method 61

 Planes Stress and Plane Strain elements


 Triangular and Quadrilateral shapes (both straight and curved
sides).

Plane stress requires that the only non-zero stresses occur in


the plane of the element (however, strain does occur normal
to plane). Generally applicable to thin geometries. Two
displacement dof per node (NO rotational dof).
Plane strain requires that the only non-zero strains occur in
the plane of the element (strain is zero normal to plane, but
stress is not zero). Long constrained geometries (for
example, a long pipe, a dam). Elements with curved
boundaries will always have 3 or more nodes per edge.
A04 - Introduction to the Finite Element Method 62

 Plate and shell bending elements (bending and in-plane


stresses; flat and curved elements)
 Triangular, Quad (both straight and curved sides)

Plate and shell bending


elements are characterized
as being thin compared to
other dimensions, and
having no stress normal to
the plate (similar to plane
stress).
A04 - Introduction to the Finite Element Method 63
Plate and shell bending elements will have in-plane and normal
displacements ( u , v, w ) and rotations ( x , y ) about the two axes
in the plane of the plate/shell. No stiffness about the normal
axes.
A04 - Introduction to the Finite Element Method 64

 Axisymmetric shell bending element (for shell of revolution)


The shell of revolution can be
described geometrically by a curved
(or straight) line that is revolved
about the axis of symmetry. Top
two figures are examples of thin
shells of revolution. Degrees of
freedom and stress state for a shell
of revolution are similar to plate
and shell bending elements, i.e.,
displacements parallel and
perpendicular to the shell surface,
and rotations about the two axes
that lie in the plane of the shell. No
stress normal to surface.

Lower figure (multicell tube) is NOT a shell of revolution, but


would require plate or shell elements.
A04 - Introduction to the Finite Element Method 65

 Axisymmetric body of revolution element (3-D stress analysis)

Body is solid and axisymmetric about some axis of revolution.


Stress state is fully three-dimensional (includes all stress
components). Note that the element forms a triangular-shaped
ring, i.e., the element itself is a body of revolution.
A04 - Introduction to the Finite Element Method 66

 General solid element (for full 3-D stress analysis)


 Tetrahedron, Brick shapes (both straight and curved sides)

Stress state is fully three-dimensional (includes all stress


components). Three-dimensional solid elements have 3
displacements per node (NO rotational dofs). Elements with
curved boundaries will always have 3 or more nodes per
edge.
A04 - Introduction to the Finite Element Method 67
A04 - Introduction to the Finite Element Method 68
Mesh Generation, Pre and Post-processing, Solvers

In order to generate the structural stiffness matrix, we must specify


the nodal coordinates (x,y,z) of each global node and element
connectivity for each element. For a large problem with complex
geometry, this is a monumental task if done by hand. Mesh
generators are software tools that automate this process.

Mesh Generation and Preprocessing


In general, mesh generation starts by specifying the coordinates of
a few key locations that will sufficiently define the outer boundary

t = 0.5 in.
A04 - Introduction to the Finite Element Method 69
of a structural component and other distinguishing features such as
holes, fillets, etc. Consider the bracket shown above. We could
first define the corners of a 10" x 25" rectangle. To specify the
rounded edges on the right boundary, we could specify that a 4"
radius fillet is to be placed at each right corner. Finally, to specify
the location of the hole, we would define a 2" radius circle whose
center is located 5" from the right boundary.

To specify the mesh (how many elements are to be used), we


would specify so many elements in the x direction and so many
elements in the y direction.

Since the structure is 2-D and in plane stress, we would specify the
type of element (triangular, quad, etc.) to be used in defining the
mesh.
A04 - Introduction to the Finite Element Method 70
The mesh generator would then automatically determine the
coordinates of all global nodes and determine the element
connectivity for all elements.

As a part of the mesh generation, we would also specify the


thickness to be used for each element. Generally, the mesh
generator would allow for a linear thickness variation within the
region being meshed. For a variable thickness case, one would
have to specify the thickness at several key locations and mesh
generator would determine the thickness for all elements in the
region.

Also, the material properties would be specified for each element


in the region. Most mesh generators only provide for one material
set to be used within a region (i.e., same material for all elements).

Next, the mesh generator (also called the preprocessor, because it


processes all the required input) would require the type of loading
A04 - Introduction to the Finite Element Method 71
that is applied to elements or element boundaries (point forces,
body forces, surface tractions). For a thermal stress analysis, the
preprocessor would also require information on thermal loading.

For a dynamic (transient) analysis, we would have to specify mass


properties for each element and the time history of the loading.

Lastly, the displacement boundary conditions must be specified.


Given all this information, the mesh generator/preprocessor will
have generated a model something like that shown below:
A04 - Introduction to the Finite Element Method 72
With this information, the preprocessor would create a data set (an
output file) in a format suitable to be read and processed by the
finite element analysis program (also called the solver).

Solver
Once the solver has created the structural stiffness and force
matrices, solved for global nodal displacements, and solved for
stresses and strains (plus a few other things appropriate to each
element type), it generates an output file and we are now ready to
examine and interpret the results.

Post-processing
Clearly, for a complicated structure with many nodes and elements,
the examination and evaluation of all results is an enormous task
because of the shear volume of data (displacements, strains,
stresses, etc). The post-processor now takes over. Its purpose is to
provide output such as the deformed geometry, contour plots of
principal stress components, contour plots of von Mises stress,
A04 - Introduction to the Finite Element Method 73
contour plots of strain components, etc. (what ever you decide is
important). What, and how, the postprocessor can display
information depends on the type of elements being used.
Below are outputs of the deformed geometry and vonMises stress.
A04 - Introduction to the Finite Element Method 74

Often the pre and post-processor are combined into one software
package (like FEMAP or PATRAN). Most preprocessor programs
will create output files in formats acceptable to various solvers
A04 - Introduction to the Finite Element Method 75
(like CAEFEM, NASTRAN, ANSYS, ABACUS, etc.). Likewise,
most postprocessor programs will accept the output file of most
solvers and display a variety of data results generated by the solver.

Last Thoughts on Mesh Generators, Pre/Post-Processors & Solvers


 They will do a lot the tedious work for you.
 They are not a substitute for good engineering know-how,
judgement and experience.
 In the end, YOU are responsible for the model you have
generated for the structure, and for the correct interpretation and
usage of the analysis results.
 They aid you in the design process; but in the end, YOU are the
designer.

S-ar putea să vă placă și