Professional Documents
Culture Documents
Method in
Engineering
Assoc. Prof. Dr. Ibrahim Abu-Alshaikh
Chapter 1. Introduction
What is finite element Method, FEM?
The FEM is a numerical procedure that can be used to obtain
solutions to a large class of engineering problems involving
stress analysis, heat transfer, electromagnetism, and fluid
flow. That is to obtain solutions for complex geometry and
loading-condition class problems
FEM is a convenient method numerical technique to find an
approximate solution of most of the practical problems.
However, in the absence of any other convenient method to
find even the approximate solution of a given problem, we
have to prefer the FEM.
Continued
Fixed boundary
uniform loading
Finite element
Cantilever
plate
model
in plane strain
Approximate method
Geometric model
Element Node
Element
Mesh
Discretization
Node
Example 1
ENGINEERING PROBLEMS
In general , engineering problems are mathematical models of
physical situations. Mathematical models of many engineering
problems are differential equations with a set of corresponding
boundary and/or initial conditions. When possible, the exact
solution of these equations renders detailed behavior of a
system under a given set of conditions. The analytical solutions
are composed of two parts:
1. a homogenous part and
2. a particular part.
The following Table contains some engineering problems that
have analytical solutions
Continued
Continued
Continued
Continued
NUMERICAL METHODS
There are many practical engineering problems for which we
cannot obtain exact solutions. In contrast to analytical
solutions, which show the exact behavior of a system at any
point within the system, numerical solutions approximate exact
solutions only at discrete (discretization the domain) points,
called nodes. There are two common classes of numerical
methods:
1. finite difference methods and
2. finite element methods.
Although finite difference methods are easy to understand and
employ in simple problems, they become difficult to apply to
problems with complex geometries or complex boundary
conditions. This situation is also true for problems with nonisotropic material properties. I n contrast, the finite element
method uses integral formulations rather than difference
equations to create a system of algebraic equations.
1. DIRECT FORMULATION
The following problem illustrates the steps and the
procedure involved in direct formulation.
Continued
A
The average normal strain of the member is defined as the
change in length per unit original length of the member that
is:
L
L
Over the elastic region , the stress and strain are related by
Hooke's law, according to the equation
E
where E is the modulus of elasticity of the material.
Continued
F
L
A
L
L
Therefore, a centrally loaded member of uniform cross section
may be modeled as a spring with an equivalent stiffness of
EA
keq.
L
Thus, the bar is
represented by a
model consisting of
four elastic springs
(elements) in series;
as shown above
Continued
E Ai 1 Ai
EAavr
f keq ui 1 ui
ui 1 ui
ui 1 ui
2L
L
Ai and Ai+1 are the cross-sectional areas of the member at nodes i and i + 1
respectively, and L is the length of the element.
Continued
0
0
k1
k1 k2
k2
0
k2
k2 k3
0
0
k3
0
or as
K u F
0
0
k3
k3 k4
k4
0 u1 R1
0 u2 0
0 u3 0
k4 u4 0
k4 u5 P
u1 0
Continued
w1 2 in, w2 1 in
Let us find the area
A( )
w
w1 w2
tan( )
0.05
2L
A( ) t (2 w w2 ) 0.125 (0.1 1)
A(7.5) A(10)
0.234375 in 2
2
A(5) A(7.5)
A2
0.203125 in 2
2
A(2.5) A(5)
A3
0.171875 in 2
2
A(0) A(2.5)
A4
0.140625 in 2
2
A1
Continued
975
10
lb/in
2.5
L1
EA2 10.4 106 (0.203125)
3
k2
845
10
lb/in
2.5
L2
EA3 10.4 106 (0.171875)
3
k3
715
10
lb/in
2.5
L3
EA4 10.4 106 (0.140625)
3
k4
585
10
lb/in
2.5
L4
Continued
975
975
0
0
975
0
0
975 845
845
0
845
845 715
715
0
715
715 585
585
0
0
585
585
0 0
R1
0
0 u2
3
0 u3 10 0
u
0
4
u5
P
0
u1
u 0.001025641026
2
u3 0.002209072978
u4 0.003607674377
u5 0.005317076086
R1 975 10 u2 1000
3
Continued
f
E
ui 1 ui
Aav L
0.001025641026 0
1
4266.666666
0.002209072978 0.001025641026
4923.076920
6
10.4
10
2
lb/in 2
3 0.003607674377 0.002209072978
5818.181820
2.5
0.005317076086
0.003607674377
7111.111108
Continued
0 F = -17.77778 C
The temperature T in degrees Celsius (C) is equal
Continued
T
qx kA
X
qx is the X-component of the heat transfer rate, k is the
thermal conductivity of the medium, A is the area normal to
T
heat flow and X is the temperature gradient.
For the ith element we can write
kA
q Ti 1 Ti
L
Or as
q UA Ti 1 Ti
k
U
L
where
Continued
q hA Ts T f
q UA Ts T f
T
kA
hA Ts T f
X
Continued
kA
qi Ti Ti 1 ,
L
kA
qi 1 Ti 1 Ti
L
Continued
Or in matrix form as
qi K11
Q K T q K
i 1 12
(e)
( e)
K11
K
K12
(e)
K (e)
( e)
K12
1
(e) (e) 1
U A
K22
1 1
k (e)
U (e ) h( e)
U (e)
K12 Ti
K22 Ti 1
Continued
A
0
4
0
q5
0
q6
0
q
7
U1
U1 U 2
U 2
0
0
0
0
0
U 2
U 2 U3
U 3
0
0
0
0
0
U 3
U3 U 4
U4
0
0
0
0
0
0
0
0
U 4
0
U 4 U5
U 5
U 5
U5 U6
0
U 6
0 T1
0 T2
0 T3
0 T4
0 T5
U 6 T6
U 6 T7
0
20
1/150
0
5.88 7.11
0
0
1.23
150
0
0
0
0
0
0
0
0
0
70
0
0
0
1.23
1.99
0.76
0
0
0
0
0
0
0 T1
0
0
0
0 T2
0.76
0
0
0 T3
0.851
0.091
0
0 T4
0.091
2.311 2.22
0 T5
0
2.22
3.69 1.47 T6
0
0
0
1/150 T7
Or as
Continued
(5.88)20 7.11
0 1.23
0
0 0
1.47(70)
1.23
1.99
0.76
0
0
0
0
0.76
0
0.851
0.091
0.091 2.311
0
2.22
0 T2
0 T3
0 T4
2.22 T5
3.69 T6
T 20.58975226
2
T3 23.40905570
27.97187578
4
T5 66.07894447
T6 67.64099099
T
70
Continued
q UA Ti 1 Ti
20.58975226 20 (5.88)(150)
520.1614933
23.40905570
20.58975226
(1.23)(150)
520.1614847
27.97187578-23.40905570 (0.76)(150)
520.1614891
q 66.07894447 27.97187578 (0.091)(150)
Btu/hr
67.6409909 66.07894447 (2.22)(150) 520.1614877
520.1614912
70 67.64099099 (1.47)(150)
520.1614867
J AB
(1.5)
in , J BC
4
(1) 4 in 4
32
32
Using FEM with three elements (direct formulation),
determine the angle of twist at D and B, and the torsional
reactions at the boundaries.
Continued
TL
GJ
G
J
1
(e)
(e)
( e)
T K T L(e)
2
1 1 1
1 1
2
Continued
1 1
1 1
1 1
6
4
3.9 10 ( )(1.5) 1 1
(G1)
K
32(2.5)(12) 0 0
0 0
0
0
0
0
0 1
0 2
0 3
0 4
Continued
1 1
1 1
0 0 0
6
4
3.9 10 ( )(1.5) 0 1 1
(G 2)
K
0 1 1
32(1)(12)
0 0 0
0 1
0 2
0 3
0 4
Continued
1 1 4 106 ( )(1)4
1 1 32(2)(12)
1 1
1 1
0
6
4
4 10 ( )(1) 0
(G3)
K
32(2)(12) 0
0 0 0 1
0 0 0 2
0 1 1 3
0 1 1 4
Continued
K
G
7.8975
0
0
7.8975
0
2
2
0
7.8975
0
0 1
7.8975
7.8975 27.64125 19.74375 0
6
110 ( )
G
2
19.74375 21.74375 2 3
32(12) 0
0
0
2
2
T K
(G)
(G )
(G)
Continued
7.8975
0
0 1 T1
7.8975
7.8975 27.64125 19.74375 0 T
6
110 ( )
2 2
19.74375 21.74375 2 3 T3
32(12) 0
0
0
2
2
4 T4
Applying the fixed boundary conditions at points A and
C and applying the external torque, we have
7.8975
0
0 0 T1
7.8975
7.8975 27.64125 19.74375 0 200 12
6
110 ( )
0
19.74375 21.74375 2 3
32(12) 0
0
2
2 0 T4
0
Which is reduced to
Continued
32(12)
10
(
19.74375 21.74375
3
0
1 0
-0.03020056731
2
rad
3 -0.02742270540
4 0
1106 ( )
T1
(7.8975)2 1951.297032
32(12)
1106 ( )
T4
(2)3 448.7029680
32(12)
Continued
1 1
1 1
where
F1 E (e) A(e)
F L(e)
2
1 1 u1
1 1 u
1 1 29 106 (5) 1 1
1 1 16(1) 1 1
1 1
1 1
6
29 10 (5)
K (G1)
16(1) 0 0
0 0
0
0
0
0
0 u1
0 u2
0 u3
0 u4
Continued
1 1 29 106 (2) 1 1
1 1 16(4) 1 1
0 0 0
0 1 1
6
29 10 (2)
(G 2,G 3)
K
16(4) 0 1 1
0 0 0
0 u1
0 u2
0 u3
0 u4
Continued
1 1 29 106 (5) 1 1
1 1 16(2) 1 1
0
0
6
29 10 (5)
(G 4)
K
16(2) 0
0 0 0 u1
0 0 0 u2
0 1 1 u3
0 1 1 u4
Continued
K
G
5
0
0
5
5
5
0.5
0.5
0.5
0.5
0
29 10
0
2.5
2.5
0
0 u1
5 5 0
1
0 u2
29 106 5 6
16 0 1 3.5 2.5 u3
0 0 2.5 2.5 u4
F K u
(G)
(G )
(G)
Continued
0
0 u1 F1
5 5
u F
6
5
6
1
0
29 10
2 2
16 0 1 3.5 2.5 u3 F3
0 0 2.5 2.5 u4 F4
Applying the fixed boundary conditions at the fixed
support and applying the external force, we have
0
0 0 F1
5 5
u 0
6
5
6
1
0
29 10
2
16 0 1 3.5 2.5 u3 0
0 0 2.5 2.5 u4 800
Which is reduced to
Continued
u 0
6
6
1
0
29 10
2
16 1 3.5 2.5 u3 0
0 2.5 2.5 u4 800
0
u1
u 0.08827586200
2
103 in
u3 0.5296551721
u4 0.7062068961
E
and the stresses in each element are ui 1 ui
L
2560
1
0.08827586200 0 /1
29 106 0.5296551721-0.08827586200 / 4 3200 lb/in 2
2. MINIMUM TOTAL
POTENTIAL ENERGY
FORMULATION
The minimum total potential
energy formulation is a common
approach in generating FE
models in solid mechanics.
External loads applied to a body
will cause the body to deform.
During the deformation, the work
done by the external forces is
stored in the material in the form
of strain energy. Let us consider
the strain energy in a solid
member when it is subjected an
axial force F, as shown in the
Figure
Continued
1
2
Fdy k ydy k ( y)
2
0
0
We can this Equation -for a piece of material from the
member in the form of differential volume-in terms of the
normal stress and strain as:
1
1
1
d k ( y) d y ( y dxdz)( y dy) ( y y )dV
2
2
2
Therefore, for a member or an element under axial loading,
the strain energy is obtained by adding up the stored
energy in all pieces (differential volumes) making up the
member:
2
2
2
(e)
E
dV
dV=
dV=
dV
2
2
2EA
2E
2
V
V
V
Continued
Fu
i i
e 1
(e)
i 1
ui ui
(e)
ui
e 1
n
Fu
i 1
i i
EXAMPLE 5
Consider the following situations: We have applied a force
F = 12 N to a linear spring as shown in the Figure. Assume
that the slender rod weighs 8 N and is supported by a
spring with a stiffness k = 20 N/cm. We are interested in
determining the deflection of the spring.
Static
equilibrium
requires that sum of the
moments of the forces
acting on the rod about
point A be zero.
5W 10P 8Fs Fs 20 N
We note that elastic energy stored in the system is
predominantly due to elastic energy of the spring which is
given by
1 2
2
kx 10 x
2
Continued
xc x xG
xG 5 x / 8
10 8 5
xc 10 x / 8
10 x 5 x
Fu
8
i i 12
8 8
i 1
m
1 2 10 x 5 x
2
kx 12
10
x
20 x
2
8 8
and
Fs 20 N
2 10 x 5 x
10 x 12
8 10 x 20 0
x x
8 8
x 1
Continued
10 x 20 x
2
Verification EXAMPLE
Now, let us turn our attention back
to Example 2. The strain energy
for an arbitrary element (e) can be
determined as
(e)
E 2
E 2
dV=
Aavr L
2
2
V
E Aavr L ui 1 ui 2 E Aavr 2
(
)
(ui 1 ui2 2ui 1ui )
2
L
2L
(e)
E Aavr
( e ) E Aavr
2
2
Continued
Or in matrix form as
( e )
u
i E Aavr
( e )
L
ui 1
1 1 ui
1 1 ui
1 1 u keqv 1 1 u
i 1
i 1
Fi ui Fi
ui
Fi 1 ui 1 Fi 1
ui 1
Thus, the minimum total potential energy formulation
leads to a global stiffness matrix that is identical to the
one obtained from direct formulation.
Continued
P avg A( y) 0
P E A( y) 0
du
P E A( y)
0
dy
However , A(y) can be derived as
w2 w1
A( y ) w1
L
y t
Continued
w2 w1
P E w1
L
du
y t
0
dy
P
u
w2 w1
0 Ew
1
L
y t
dy
w2 w1
PL
u( y)
ln w1
L ln w1
E t w2 w1
L
du
E A( y)
P 0 With boundary condition u(0)=0
dy
With
w2 w1
A( y ) w1
L
y t
P avg A( y) 0
P E A( y) 0
du
P E A( y)
0
dy
However , A(y) can be derived as
w2 w1
A( y ) w1
L
y t
Continued
w2 w1
P E w1
L
du
y t
0
dy
P
u
w2 w1
0 Ew
1
L
y t
dy
w2 w1
PL
u( y)
ln w1
L ln w1
E t w2 w1
L
Continued
u( y) C1 y C2 y 2 C3 y 3
Which is certainly satisfies the fixed boundary condition
represented by u(0)=0. C1, C2, and C3 are unknown
coefficients. Now, substituting of the assumed solution into
the governing differential equation yields to the error
function :
w2 w1
P
2
y t C1 2C2 y 3C3 y
w1
L
E E
1000
2
A. Collocation Method
In the collocation method the error, or residual, function is
forced to be zero at as many points as there are unknown
coefficients. Because the assumed solution in this
example has three unknown coefficients, we will force the
error function to be equal zero at three points. We choose
the error function to vanish at y = L/3=10/3, y = 2L/3=20/3 ,
and y = L=10:
2
10
10
10 1000
0 0.25 0.0125 C1 2C2 3C3
0
E y 10
3
3
E
3
3
E y 20
3
20
20
20 1000
0 0.25 0.0125 C1 2C2
3C3
0
3
3
E
0
E y 10
1000
0
E
C1 423.0776 10
C2 21.65 1015
C3 1.153848 10
B. Subdomain Method
In the subdomain method, the integral of the error
function over some selected subintervals is forced to be
zero. The number of subintervals chosen must equal the
number of unknown coefficients. Thus, for our assumed
solution, we will have three integrals:
L /3
L /3
1000
2
dy 0 0.25 0.0125 y C1 2C2 y 3C3 y
dy 0
E
E
0
2 L /3
L /3
L
2 L /3
1000
2
dy 0 0.25 0.0125 y C1 2C2 y 3C3 y
dy 0
E
E
L /3
L
1000
2
dy 0 0.25 0.0125 y C1 2C2 y 3C3 y
dy 0
E
E
2 L /3
2 L /3
Which leads to three equations to be solved for C1, C2,
and C3 as:
C. Galerkin Method
The Galerkin method requires the error to be orthogonal to
some weighting functions i , according to the integral
b
dy 0 for i=1,2,3,..., N
u( y) C1 y C2 y 2 C3 y 3
Thus, the weighting functions are selected to be
1 y, 2 y 2 , 3 y 3
L /3
2 L /3
1000
dy
0.25
0.0125
y
C
2
C
y
3
C
y
1
E ydy 0
2
3
0 E 1
0
1000 2
2
0 E 2dy 0 L/3 0.25 0.0125 y C1 2C2 y 3C3 y E y dy 0
1000 3
2
0 E 3dy 0 2 L/3 0.25 0.0125 y C1 2C2 y 3C3 y E y dy 0
D. Least-Squares Method
The least-squares method requires the error to be
minimized with respect to the unknown coefficients in the
assumed solution, according to the relationship
b 2
minimize dy
a
This leads to
b
a Ci dy 0, for i 1, 2,3,..., N
Because there are three unknowns (N=3) in the
approximate solution, generates three equations with
three unknowns ( C1, C2 and C3) that can be solved as
follows
Chapter Summary