Professional Documents
Culture Documents
1.1 Introduction
In other words
1
Definition
In other words
w(x)
v
The finite element method (FEM) can be used for a wide variety of
engineering problems in fields such as:
- solid mechanics
- heat transfer
- fluid dynamics
- electricity and magnetism
2
This course will focus on solid mechanics applications as this was the field
that FEM was originally designed for, and it provides a means for
introducing basic techniques and methods. Applications to heat transfer will
be briefly introduced.
Finite element analysis (FEA) has become an integral part of the engineering
design process in order to predict the prior to
performing . It also provides a method
for quickly evaluating the effects of changes in
such as the thickness, the cross-sectional area, loading or the material used.
FEA is a very powerful tool, but it must be understood that that quality and
accuracy of the solution will be proportional to the knowledge of the user.
Erroneous results will occur if the user is not aware of such issues as:
Figure 1-1 presents a flow chart outlining how finite element analysis fits
into the design process.
3
Conceptual design
Preliminary analysis
and design
Is FE analysis
No required Yes
Modify
model
Analytical
solution
No
Yes Yes
Does the design need to
be optimized or modified
No
Prototyping
Testing
No
Fabrication
4
1.3 Basic Steps in the Finite Element Method
Preprocessing:
5
Define geometry: Import from
CAD package, or create in FE
software
6
1.4 Advantages and Disadvantages of the Finite Element
Method
Advantages
Disadvantages
7
Remember
Cook, R., Finite Element Modeling for Stress Analysis, John Wiley & Sons,
1995.
Kim N., Sankar B. V., Introduction to Finite Element Analysis and Design.
Wiley, 2009.
Logan, D., A First Course in the Finite Element Method. PWS Publishing,
1993.
Moaveni, S., Finite Element Analysis, Pearson Education, New Jersey, 2003.
8
Chapter 2: Direct Formulation, Spring
Elements
2.1 Introduction
9
Remember
Example 2.1
Determine the displacement of the rigid bar, the reactions at the walls, and
the force in the 1000kN/m spring using the finite element method (not using
equilibrium equations). Assume that the rigid bar does not rotate.
500kN/m
1kN
1000kN/m
1kN
500kN/m
10
11
u22 u32
0 0 0 0 0 0
2 − k2 0 u22 f22 f32
f 2 0 k2
Element 2: 2 = 2 3
f 3 0 − k2 0 u32
k2 k2
0 0 0 0
0 0
Element 2
0 0 0 0 0 0 u33 u43
0 0 0 0 f33
0 0 f43
Element 3: 3 =
f3 0 −k3 u33
0 k3 3 k3 4
f 43 0 0 − k3
k3 u43
Element 3
12
13
2.3 Steps for Solving Systems of Springs Using Direct
Formulation
Mesh:
14
From Example 2.1
k1 0 −k1 0
0 k2 − k2 0
[ K ] = −k − k2 k1 + k2 + k3 − k3
1
0 0 − k3 k3
Solve:
{ f } = [ ke ]{u}
Note: Equilibrium equations cannot be used to solve for reactions or
internal forces as this is not the finite element method! (but it can be used as
a check)
15
2.4 Bandwidth
As we have seen, the global stiffness matrix has coefficients that are
typically positioned . The width of this band is
called the . A larger bandwidth will result in more
therefore it is desirable to have the
bandwidth .
1 2 3 4 5
k1 −k1 0 0 0
−k k1 + k2 − k2 0 0
1
0 − k2 k 2 + k3 − k3 0
0 0 − k3 k3 + k 4 −k4
0 0 0 − k4 k4
1 5 2 3 4
k1 0 0 0 −k1
0 k 2 + k3 − k3 0 −k2
0 − k3 k3 + k 4 − k4 0
0 0 − k4 k4 0
−k1 − k2 0 0 k1 + k2
16
2.5 Loads, Boundary Conditions and Singularity
17
Discussion: For the systems shown below, solve for the unknowns and
draw what this system physically represents. Do you think these models
could be solved using a linear, static finite element solver?
18
Chapter 3: Direct Formulation, Bar
Elements
3.1 Introduction
19
A typical planar truss structure would be modeled using 2D bar elements as
the connections between members (ie. truss plates) are not designed to
transfer moment, and are therefore considered to be pinned.
20
Discussion: By drawing free body diagrams of the loading point, discuss
whether these axial structures are stable and whether or not they could be
solved using a linear finite element model of bar elements.
1
P
1 2
1 2
3.2.1
This can be written in terms of an element stiffness relationship in the
element coordinate system as:
3.2.2
21
This relationship defines the deformation of the bar in the
coordinate system and must be transformed into the coordinate
system before assembling the global stiffness matrix, or applying external
loads.
3.3.1
3.3.2
Similarly, the local element forces are transformed into the global coordinate
system using the same transformation matrix [ R ] .
22
3.3.3
3.3.4
cos θ f1 F1 X e
sin θ f e
1 F
The left side becomes which equals 1Y e
cos θ f 2 F2 X
sin θ f 2 F2Y e
3.3.5
3.3.6
23
Tip
Example 3.1
1m 2
1000kN
3 2 Y
1m 1
3
1 45˚
X
24
25
26
27
3.5 Element Strain and Stress
Definition
3.5.1
where: φ = field variable
M = number of element degrees of freedom
Ni = shape function
In other words
28
For a bar element with two degrees of freedom (x direction at each node),
3.5.2
3.5.3
3.5.4
u1 u2
x
1 2
x u(x)
We know that
3.5.5
We know that
29
The displacement along the length of a bar is given by:
u1 u2
3.5.6
x
Where the shape functions are: 1 2
x u(x)
In matrix form:
3.5.7
30
3.5.2 Element Strains
3.5.8
Since the output from solving the {F } = [ K ]{U } for the entire structure will be
displacements in the coordinate system, equation 3.5.7
needs to be rewritten in terms of
3.5.10
For the case of a bar element, we only have stress in the axial direction.
Applying the constitutive equation, we obtain the following relationship
between axial stress and axial strain.
3.5.11
31
3.5.4 Element Forces
The element forces are determined using the global displacements (U1X…)
that have already been solved for.
U1 X
u1 cos θ sin θ 0 0 U1Y
= 3.3.2
u2
0 0 cos θ sin θ U 2 X
R U 2Y
Apply the local element stiffness equation 3.2.2 to determine the internal
force at the end nodes.
f1 k −k u1
=
f 2 −k k u2
3.5.12
Remember
32
Remember
The resulting internal forces are drawn on the element according to the
in order to determine if the
member is in compression or tension.
Example 3.2
For the truss analyzed in Example 3.1, determine the stress in element 2 and
the internal force in element 1. What do the results tell us about the design
of this structure?
33
34
Example 3.3
For the structure in Example 3.1, what load is necessary to displace node 3
by 10mm to the left?
35
36
Chapter 4: Shape Functions and
Common Elements
4.1 Shape Functions
Definition
For example,
37
4.1.2 Definition of a Shape Function
Definition
In other words
The shape function tells us how much of each nodal displacement is needed
to calculate the displacement at any location along the bar.
38
Remember
ie. using shape functions N1(x) = a0 + a1x and N2(x) = b0 + b1x give the
following displacement function:
39
4.1.3 Displacement/Shape Function Criteria
40
3. Completeness: The field variable (ie. displacement) must be able to
take on a . This is necessary to enable
to be represented, and is achieved by having a
constant term in the displacement/shape function.
For 1D elements:
For 2D elements:
For 3D elements :
Remember
The polynomials representing the displacements must have the same total
number of constants as the number of degrees of freedom for the element.
u1 u2
41
A 2D triangle has degrees of freedom (3 nodes can translate in the x
and y direction),
In order to satisfy the three criteria from section 4.1.3 in all coordinate
systems, the polynomials must exhibit . That is,
the functional form does not change under a translation or rotation of
coordinates. In order for a polynomial to be geometrically isotropic, it must
be where the variables appear in equal and opposite pairs.
a)
b)
a) Pascal triangle for polynomials in two dimensions, b) Pascal pyramid for polynomials
in three dimensions. [Hutton]
42
For example,
P(x, y) = a0 + a1x + a2y + a3x2 + a4xy + a5y2
x
u(x)
43
Planar Elements (local coordinate system in x-y)
y v
v ( x, y ) =b0 + b1 x + b2 y
x
u
y
v
x
u
y
v
u
x
w v ( x, y, z ) =b0 + b1 x + b2 y + b3 z
z
w ( x, y, z ) =c0 + c1 x + c2 y + c3 z
44
Brick Elements: These elements have 8 nodes, and represent a linear
distribution of displacement such that:
y
v
x u
z w
u ( x, y, z ) =a0 + a1 x + a2 y + a3 z + a4 xy + a5 xz + a6 yz + a7 xyz
v ( x, y, z ) =b0 + b1 x + b2 y + b3 z + b4 xy + b5 xz + b6 yz + b7 xyz
w ( x, y, z ) =c0 + c1 x + c2 y + c3 z + c4 xy + c5 xz + c6 yz + c7 xyz
h-refinement:
p-refinement:
45
Elements with a polynomial of order 2 or higher are typically called
elements. These elements are capable of more
closely representing the deformation of structures as shown in the following
examples.
u u u
46
6 node, 2D triangular elements: These elements have 6 nodes, and represent
a quadratic distribution of displacement such that:
x v ( x, y ) =b0 + b1 x + b2 y + b3 x 2 + b4 xy + b5 y 2
x
z
u ( x, y, z ) =a0 + a1 x + a2 y + a3 z + a4 x 2 + a5 y 2 + a6 z 2 + a7 xy + a8 xz + a9 yz
v ( x, y, z ) =b0 + b1 x + b2 y + b3 z + b4 x 2 + b5 y 2 + b6 z 2 + b7 xy + b8 xz + b9 yz
w ( x, y, z ) =c0 + c1 x + c2 y + c3 z + c4 x 2 + c5 y 2 + c6 z 2 + c7 xy + c8 xz + c9 yz
x
z
47
Elements with higher order functions also exist, such as cubic functions
which have 2 midside nodes along each edge, or quartic functions which
have 3 midside nodes.
Remember
Each of the displacement functions shown above (these were shown in terms
of location) can also be expressed in terms of nodal displacements and shape
functions. The shape function will be of the same form as the displacement
function.
For example
y u ( x, y ) =a0 + a1 x + a2 y
v
v ( x, y ) =b0 + b1 x + b2 y
x
u
48
Discussion: Why would you want the element to be able to represent rigid
body motion, when we saw previously that rigid body motion causes
singular matrices that cannot be solved? Give an example where elements
are undergoing rigid body motion but the structure is still in static
equilibrium.
Discussion: Can you use higher order and lower order elements in the same
model and still obtain accurate results?
49
4.3 Determining Shape Functions
Once the general polynomial for the shape function has been
determined, the constants (an, bn, cn) can be determined using many different
methods. Two methods are presented in this section:
We saw in section 3.5.1 how the shape functions for a 1D linear bar element
were determined using direct application of boundary conditions. We see
that the same method can be used for more complex elements.
x
(x2, y2)
(x1, y1)
In matrix form
50
1
=a0 φ1 ( x2 y3 − x3 y2 ) + φ2 ( x3 y1 − x1 y3 ) + φ3 ( x1 y2 − x2 y1 )
2A
1
=a1 φ1 ( y2 − y3 ) + φ2 ( y3 − y1 ) + φ3 ( y1 − y2 )
2A
1
=a2 φ1 ( x3 − x2 ) + φ2 ( x1 − x3 ) + φ3 ( x2 − x1 )
2A
Sub into the expression φ(x,y) = a0 + a1x + a2y and factor out φ1, φ2, φ3
1
N 2 (=
x, y ) ( x3 y1 − x1 y3 ) + ( y3 − y1 ) x + ( x1 − x3 ) y
2A
1
N 3 (=
x, y ) ( x1 y2 − x2 y1 ) + ( y1 − y2 ) x + ( x2 − x1 ) y
2A
For a 1D element,
( x − x1 )( x − x2 ) ... ( x − x j −1 )( x − x j +1 ) ...
N j ( x) = 4.3.1
(x j − x1 )( x j − x2 ) ... ( x j − x j −1 )( x j − x j +1 ) ...
xj = nodal position
51
Example 4.1
Since there are constants, nodes are needed within the element
52