Professional Documents
Culture Documents
y
xˆ , uˆ
T
ŷ 2
dˆ2 x , fˆ2 x
L
1
T
dˆ1x , fˆ1x
x
Figure 3-1 Bar subjected to tensile forces T; positive nodal displacements and forces
MS5019 – FEM 2
1
The bar element is assumed to have constant cross-sectional area A,
modulus elasticity E, and initial length L. The nodal d.o.f are local axial
displacements (longitudinal displacements directed along the length of
the bar).
From Hooke' s law and the strain/displacement relationship, we have
E (a)
duˆ
(b)
dx
From force equilibrium, we have
A x T constant (c )
for no distributed load acting on the bar. Using Eq. (b) in (a ) and then
(a ) in (c) and differentiating with respect to xˆ , we obtain
d duˆ
AE 0 (d )
dxˆ dxˆ
MS5019 – FEM 3
MS5019 – FEM 4
2
Step 1 Select Element Type
Represent the bar by labeling nodes at each end and in general by
labeling the element number (see Figure 3-1).
Assume a linear displacement variation along the local axis of the bar
because a linear function with specified endpointshas a unique path.
uˆ a1 a2 xˆ (3.1.1)
with the total number of coefficients ai always equal to the total
number of d.o.f associated with the element. Using the same procedure
as in Section 2.2 for the spring element, we express Eq. (3.1.1) as
dˆ dˆ
uˆ 2 x 1x xˆ dˆ1x (3.1.2)
L
MS5019 – FEM 5
MS5019 – FEM 6
3
dˆ2 x
y
û
x̂
2
L
dˆ1x
1
T
Figure 3-2 Linear displacement plotted over the length of the element
MS5019 – FEM 7
x E x (3.1.6)
MS5019 – FEM 8
4
Step 4 Derive the Element Matrix and Equations
From elementary mechanics, we have
T A x (3.1.7)
Using Eqs. (3.1.5) and (3.1.6) in Eq. (3.1.7), we obtain
dˆ dˆ
T AE 2 x 1x (3.1.8)
L
Also, by the nodal force sign convention of Figure 3 - 1,
fˆ T1x (3.1.9)
or, by using Eq. (3.1.8), Eq. (3.1.9) becomes
fˆ1x
AE ˆ
L
d1x dˆ2 x (3.1.10)
MS5019 – FEM 9
fˆ2 x
AE ˆ
L
d 2 x dˆ1x (3.1.12)
Expressing Eqs. (3.1.10) and (3.1.12) together in matrix form, we have
fˆ1x AE 1 1 dˆ1x
ˆ (3.1.13)
f 2 x L 1 1 dˆ2 x
Now, because fˆ kˆ dˆ , we have, from Eq. (3.1.3)
AE 1 1
kˆ
L 1 1
(3.1.14)
Eq. (3.1.14) represents the stiffness matrix for a truss or bar element.
In Eq. (3.1.14), AE L for a bar element is analogous to the spring
constant k for a spring element.
MS5019 – FEM 10
5
Step 5 Assemble the Element Equations to Obtain the Total/
Global Equations
Assemble the global stiffness and forces vectors and global equations
using the direct stiffness method described in Chapter 2 can still be
adopted in this case.The method applies for structures composedd of
more than one element such that
N N
K K k ( e ) and F F f ( e ) (3.1.15)
e 1 e 1
Example 3.1
MS5019 – FEM 12
6
3.2. Selecting Approximation Functions for Displacement
MS5019 – FEM 13
For the bar element, we must ensure that nodes common to two or
more elements remain common to the these elements upon
deformation and thus prevent overlaps or voids between elements.
For the two-bar structure ((Figure
g 3-3),
) the linear function for
displacement within each element will ensure that elements 1 and 2
remain connected; that is, the displacement at node 2 for element 1
will equal the displacement at the same node 2 for element 2. The
linear function is then called a conforming (or compatible) function
for the bar element because it ensure both the satisfaction of
continuity between adjacent elements and of continuity within the
element.
1 1 2 2 3
L L
Figure 3-3 Interelement continuity of a two-bar structure
MS5019 – FEM 14
7
4. The approximation function should allow for rigid-body motion
displacement and for a state of constant strain within the element. The
1D displacement function, Eq. (3.1.1), satisfies these criteria because
a1 term allows for rigid-body
g y motion and the a2 x term allows for
constant strain since x duˆ dxˆ a2 is a constant. (This state of
constant strain in the element can, if fact, occur if elements are chosen
small enough).
The simple polynomial Eq. (3.1.1) satisfying this fourth guidelines is
said to be complete for the bar element. The completeness of a
function is a necessary condition for convergence to the exact answer,
for instant, for displacement and stresses.
The idea that the interpolation (approximation) function must allow for a
rigid-body displacement means that the function must be capable of
yielding a constant value (say, a1), because such a value can, in fact, occur.
MS5019 – FEM 15
8
3.3 Transformation of Vectors in Two Dimension
In many problem it is convenient to introduce both local and global
coordinates. Local coordinates are always chosen to conveniently
represent the individual element. Global coordinates are chosen to be
convenient for the whole structures.
structures
Given the nodal displacement of an element, represented by the
vector d in Figure 3-4, we want to relate the components of this
vector in one coordinate system to components in another.
y
d
ŷ dy
xx̂
d̂ y d̂ x
j
Figure 3-4
ĵ î
General displacement vector d
x
i dx
MS5019 – FEM 17
9
Eq. (3.3.2) relates the global displacement d to the local displacement dˆ . The matrix
C S
S C (3.3.3)
is called the transformation or rotation matrix.
It can be derived that d x C d x S d y ; hence
d1x
d1x C S 0 0 d1 y
(3.3.4)
d 2 x 0 0 C S d 2 x
d 2 y
or d T*d (3.3.5)
C S 0 0
where T*
S
(3.3.6)
0 0 C
MS5019 – FEM 19
Similarly, because forces transform in the same manner as displacement, we can write
f1x
f1x C S 0 0 f1 y
S f 2 x
(3.3.7)
f2x 0 0 C
f 2 y
or f T*f (3.3.8)
MS5019 – FEM 20
10
3.4. Element Stiffness Matrix in Global Coordinates
We will now use the transformation relationship Eq. (3.3.16) to obtain
the global stiffness matrix for a bar element. We need the global
stiffness matrix of each element to assemble the global stiffness matrix
of the structure. We have shown in Eq. (3.1.13) that for a bar element in
the local coordinate system,
fˆ1x AE 1 1 dˆ1x
ˆ (3.4.1)
f 2 x L 1 1 dˆ2 x
or
fˆ kˆ dˆ (3.4.2)
We now want to relate the global element nodal forces f to the global
nodal displacement d for a bar element arbitrarily oriented with respect
to the global axes as was shown in Figure 3-1.
MS5019 – FEM 21
The relationship between f and d will yield the global stiffness matrix k
of the element such that
f1x d1x
f d
1y 1y
k (3.4.3)
f2x d 2 x
f 2 y d 2 y
or
f kd (3.4.4)
MS5019 – FEM 22
11
y d2 y , f2 y
x̂
ŷ
2 d2x , f2x
A, E , L
d1 y , f1 y
1 x
d1x , f1x
MS5019 – FEM 23
Similarly, we can write f Tf (3.4.8)
MS5019 – FEM 24
12
Now let us expand k to 4 4 matriks using Eq. (3.3.4)
f1x 1 0 1 0 d1x
f1 y AE 0 0 0 0 d1 y
(3.4.9)
f2 x L 1 0 1 0 d2 x
f2 y 0 0 0 0 d 2 y
Subsituting Eq. (3.4.6) and (3.4.8) into (3.4.2), we obtain
Tf kTd (3.4.10)
Premultiplying Eq. (3.4.10) by T 1 , we obtain
f T 1kTd (3.4.11)
where T 1 is inverse of T. It can be shown that
T 1 TT (3.4.12)
where TT is the transpose of T.
MS5019 – FEM 25
MS5019 – FEM 26
13
Now, since the trial displacement functiom Eq. (3.1.1) was assumed piecewise -
continuous element by element, the stiffness matrix for each element can be summed
using the direct stiffness method to obtain.
N
k (e) K (3.4.17)
e 1
where K is the total stiffness matrix and N is the total number of elements.
Similarly, each element global nodal force matrix can be summed such that
N
f (e) F (3.4.18)
e 1
K is now related the global nodal force F and the global nodal displacement d for
the whole structure by
F Kd (3.4.19)
MS5019 – FEM 27
14
x̂
y
fˆ2 x
L
fˆ1x x
σ 1 1dˆ
E
(3.5.4)
L
Now, using Eq. (3.4.7), we obtain
σ 1 1T*d
E
(3.5.5)
L
MS5019 – FEM 29
C' C S C S
E
(3.5.8)
L
MS5019 – FEM 30
15
3.6. Solution of a Plane Truss
We will now illustrate the use of equations developed in Section 3.4 qnd
3.5, along with the direct stiffness method of assembling the total
matrix
t i andd equatons,
t to
t solve
l the
th following
f ll i plane
l truss
t example
l
problem.
A plane truss is a structure composed of bar elements all lying in a
common plane that connected together by frictionless pins. The plane
truss also must have loads acting only in common plane.
EXAMPLE 3.5
MS5019 – FEM 31
16
Let the node 1 and 2 have the coordinates ( x1 , y1 , z1 ) and ( x2 , y2 , z 2 ) respectively.
Also, let x , y , and z be the angles measured from global x, y, and z axes,
respectively, to the local axis xˆ. Here xˆ directed along the element from node 1 to
node 2. We must determine T* such that dˆ T*d. We begin the derivation of T*
by considering the vector dˆ d expressed in 3 - D as
dˆ ˆi dˆ ˆj dˆ kˆ d i d j d k
x y z x y z (3.7.1)
Taking the dot product of Eq. (3.7.1) with ˆi , we have
dˆ 0 0 d (ˆi i ) d (ˆi j) d (ˆi k )
x x y z (3.7.2)
and, by definition of the dot product,
ˆi i x2 x1 C
x
L
ˆi j y2 y1 C (3.7.3)
y
L
ˆi k z2 z1 C
z
L
MS5019 – FEM 33
where L ( x2 x1 ) 2 ( y2 y1 ) 2 ( z 2 z1 ) 2
and C x cos x C y cos y C z cos z (3.7.4)
Here C , C , and C are the projections of ˆi on i, j, and k , respectively.
x y z
17
where
C x C y C z 0 0 0
T
0 C x C y C z
(3.7.7)
0 0
is the transformation matrix, which enables the local displacement matrix dˆ to be
expressed in terms of displacement components in the global coordinate system.
We have shown in Section 3.4 that the global stiffness matrix is given in general by
k TT kˆ T. This equation will now be used to express the general form of the stiffness
matrix of a bar arbitrary oriented in space. In general, we must expand the transformation
matrix in a manner analogous to that done in expanding T* to T in Section 3.4. However,
the same result will be obtained here by simply using T* , defined by Eq. (3.7.7), in place
of T. Then k is obtained using the equation k (T* ) T kˆ T* as follows :
MS5019 – FEM 35
where
C x 0
C 0
y
C 0 AE 1 1 C x C y C z 0 0 0
k z 0
0 C x C y C z
(3.7.8)
0 C x L 1 1 0
0 Cy
0 C z
Simplifying Eq. (3.7.8), we obtain the explicit form of k as
C x2 C xC y C xC z C x2 C xC y C xC z
Cy 2
C y C z C xC y C y2 C yCz
AE C z2 C xC z C yC z C z2
k (3.7.9)
L C x2 C xC y C xC z
C y2 C yCz
Symetry C z2
Equation (3.7.9) is the basic form of the stiffness matrix for a bar element in 3 - D space.
MS5019 – FEM 36
18
3.8. Potential Energy Approach
We now present the principle of minimum potential energy (POMPE) to
derive the bar element equations. Recall from Section 2.6 that the total
PE p was defined as the sum of the internal strain energy U and the
PE,
potential energy of the external forces as
p U (3.8.1)
To evaluate the strain energy for a bar, we consider only the work done
by the internal forces during deformation. Because we are dealing with
a 1-D
1 D bar
bar, the internal force doing work is given in Figure 3-8
3 8 as
x(y)(z), due only to normal stress x. The displacement of the x face
of element is x(x); the displacement of x + x face is x(x + dx). The
change in displacement is then xdx, where dx is differential change in
strain occuring over element x.
MS5019 – FEM 37
19
Now, for a linear-elastic (Hooke’s law) material as shown in Figure 3-9,
we see that x = Ex. Hence, substituting this relationship into Eq. (3.8.4),
integrating with respect to x, and then substituting x for Ex, we have
1
2
U x x dV (3.8.5)
V
as the expression for the strain energy for 1 - D stress.
The PE of the external forces, being opposite in sign from the external
work expression because the PE of external forces is lost when the work
is done by the external forces, is given by
M
Xˆ buˆdV Tˆx uˆdS fˆix dˆix (3.8.6)
i
1
V S1
body forec nodal force
surface loading
where the first, second, and third terms on the right side of Eq. (3.8.6)
represent the PE of (1) body force Xˆ (in units of force per unit
b
volume) (2) surface loading Tˆx (in units of force per unit surface area),
volume), area)
and (3) nodal concentrated forces fˆ . ix
The forces Xˆ b , Tˆx , and fˆix are considered to act in the local xˆ direction
of the bar as shown in Figure 3 - 11.
MS5019 – FEM 40
20
In Eq. (3.8.5) and (3.8.6), V is the volume of the body
and S1 is the part of the surface S on which surface
loading acts. For a bar element with two nodes and one
d.o.f per node, M = 2.
We are now ready to describe the FE formulation of the
bar element equations using th POMPE.
The FE process seeks a minimum in the PE within the
constraint of an assumed displacement pattern within
each element. The greater the number of d.o.f.
associated
i d with
i h the
h element,
l the
h more closely
l l will ill the
h
solution approximate the true one and ensure complete
equilibrium. An approximate FE solution using the
Figure 3-10 stiffness method will always provide an approximation
General forces acting
on a 1-D bar value of PE greater than or equal to the correct one.
MS5019 – FEM 41
21
The resulting equations are the approximate (or possibly exact)
equilibrium equations whose solution for the nodal parameters seeks to
minimize the PE when back-substitued into the PE expression. The
proceeding three steps will now followed to derive the bar element
equations and stiffness matrix.
Consider the bar element of length L, with constant cross-sectional area A,
shown in Figure 3-10. Using Eqs. (3.8.5) and (3.8.6), the total PE, Eq.
(3.8.1), becomes.
L
A
p x x dxˆ fˆ1x dˆ1x fˆ2 x dˆ2 x uˆTˆx dS uˆXˆ b dV (3.8.7)
20 S V
since A is contant and variables x and x at most vary with xˆ.
MS5019 – FEM 43
From Eqs. (3.1.3) and (3.1.4), we have the axial displacement function
expressed in terms of the shape functions and nodal displacement by
uˆ N dˆ (3.8.8)
where
N 1
xˆ xˆ
(3.8.9)
L L
and
dˆ ddˆ
ˆ
1x
(3.8.10)
2x
Then, using the strain/displacement relationship x duˆ dxˆ , the axial
strain can be written as
x 1 1 dˆ
L L
(3.8.11)
MS5019 – FEM 44
22
or
x B dˆ (3.8.12)
where we define
B 1 1
(3.8.13)
L L
The axial stress/strain relationship is given by
x D x (3.8.14)
where
D E (3.8.15)
for the 1 - D stress/strain relationship and E is the modulus of elasticity.
Now, by Eq. (3.8.12), we can express Eq. (3.8.14) as
x DBdˆ (3.8.16)
MS5019 – FEM 45
Using Eq. (3.8.7) expressed in matrix notation form, we have the total
PE given by
L
p x T x dxˆ dˆ P uˆT Tˆ x dS uˆT Xˆ b dV (3.8.17)
A T
20 S V
where P now represents the concentrated nodal loads and where in general
both σ x and ε x are column matrices. For proper matrix multiplication we must
x
place the transpose on . Similarly,uˆ and Tˆ in general are column
x
2 0
p d
T T T T
x
S
23
In Eq. (3.8.18), p is seen to be a function of {dˆ}; that is, p p (dˆ1x , dˆ2 x ).
However,[ B] adn [ D], Eqs. (3.8.13) and (3.8.15), and the nodal d.o.f dˆ and dˆ 1x 2x
are not functions of xˆ. Therefore, integrating Eq. (3.8.18) with respect to xˆ yields
p
2
d B D B dˆ dˆ fˆ
AL ˆ T T T T
(3.8.19)
where
T
fˆ P N Tˆ dS N Xˆ dV
x
T
(3.8.20)
b
S V
From Eq. (3.8.20), we observe three separate types of load contributions from
bodyy forces, surface tractions, and concentrated nodal forces. We define these
surface tractions and body - force vectors as
fˆ N Tˆ dS
s
T
x (3.8.20a)
MS5019 – FEM 47
1
dˆ
U * dˆ1 x dˆ2 x 1 L E L1 L1 1 x (3.8.23)
L dˆ2 x
Simplifyin g Eq. (3.8.23), we obtain
E
U * 2 dˆ12x 2 dˆ1 x dˆ2 x dˆ22x
L
(3.8.24)
MS5019 – FEM 48
24
Also, the explicit expression for dˆ fˆ is
T
dˆ fˆ dˆ
T
f dˆ2 x f 2 x
1x 1x (3.8.25)
Therefore, using Eqs. (3.8.24) and (3.8.25) in Eq. (3.8.19) and the applying
Eqs. (3.8.21), we obtain
p AL E ˆ
dˆ
2 L 2
2 d1 x 2 dˆ2 x fˆ1x 0
1x
and (3.8.26)
p AL E
d 2 x
ˆ
2
L2
2 dˆ1 x 2 dˆ2 x fˆ2 x 0
In matrix form, we express Eq. (3.8.26) yields
p AE 1 - 1 dˆ1 x fˆ1 x 0
dˆ L - 1 1 dˆ2 x fˆ2 x 0
(3.8.27 )
MS5019 – FEM 49
where D D has been used in writtin g Eq. (3.8.29). The result of the
evaluation of ALB D B is then equal to kˆ given by Eq. (3.2.28).
T
Throughout this text, we will use this matrix differenti ation concept, which
greatly simplifies the task of evaluating kˆ .
MS5019 – FEM 50
25
3.9. Galerkin’s Residual Method
We have develop the bar FE equations by the direct method in Section
3.1 and by the PE method (one of number of variation methods) in
Section 3.8.
38
In fields other than structural/solids mechanics, it is quite probable that
a variational principle, analogous to the principle of minimum PE, for
instance, may not be known or even exist. In some flow problems in
fluid mechanics and in mass transport problems, we often have the
differential equations and BC available.
H
However, the
h FE methodh d can still
ill bbe applied.
li d
The weighted residual method (WRM) applied directly to the
differential equation can be used to develop the FE equations.
In this section, we describe Galerkin’s residual method (GRM) in
general and the apply it to the bar element.
MS5019 – FEM 51
This development provides the basis for later applications of GRM to the
beam element in Chapter 4 and to the non-structural problems.
There are a number of other WRM. Among these are collocation, sub-
domain method square, and least square collocation. (For more on
method, least square
these methods, see Reference [4]). However, since GRM is more well
known than the other WRM, it is the only one described in this text.
In WRM, a trial or approximate function is chosen to approximate the
independent variable, such as a displacement or a temperature, in a
problem defined by a differential equation. This trail function will not, in
general, satisfy the governing differential equation. Thus, the substitution
of the trail function into the differential equation result in a residual over
the whole region of the problem as follows
V
R dV minimum (3.9.1)
MS5019 – FEM 52
26
In the WRM, we require that a weighted value of the residual be a
minimum over the whole region. The weighting functions allow the
weighted integral of residuals to go to zero. Denoting the weighting
function byy W, the g
general form of the weighted
g residual integral
g is
V
RN i dV 0 (i 1,2,3, , n) (3.9.3)
27
The residual R is now defined to be Eq. (3.9.4). Applying Galerkin’s
criterion, Eq. (3.9.3), to Eq. (3.9.4), we have
L
d duˆ
dxˆ ( AE dxˆ ) N i dxˆ 0 (i 1,2) (3.9.5)
0
We now apply integration by parts to Eq. (3.9.5). Integration by parts
is given in general by
u dv uv v du (3.9.6)
where u and v are simply variables in the general equation. Letting
dN i
u Ni du dxˆ
dxˆ (3.9.7)
d duˆ duˆ
dv ( AE )dxˆ v AE
dxˆ dxˆ dxˆ
in Eq. (3.9.5) and integrating by parts according to Eq. (3.9.6),
Eq. (3.9.5) becomes
MS5019 – FEM 55
L L
duˆ duˆ dN i
N i AE AE dxˆ 0 (3.9.8)
dxˆ 0 0 dxˆ dxˆ
where the integration by parts introduces the boundary conditions.
Recall that, because uˆ N dˆ , we have
duˆ dN1 ˆ dN 2 ˆ
d 1x d2x (3.9.9)
dxˆ dxˆ dxˆ
or using Eqs. (3.1.4) for N1 and N 2 , we obtain
duˆ 1 1 dˆ 1x
(3.9.10)
dxˆ L L dˆ2 x
Using Eq. (3.9.10) in Eq. (3.9.8), we then express Eq. (3.9.8) as
dN i 1 1 dˆ 1x
L
duˆ
L
AE L L dxˆ dˆ N iAE dxˆ (3.9.11)
0
dxˆ 2x 0
MS5019 – FEM 56
28
Equation (3.9.11) is really 2 equations (one for N i N 1 and one for N i N 2 ).
First, using the weighting function N i N 1 , we have
1 dˆ 1 x
L
1 d uˆ
L
dN 1
AE L d xˆ N 1 AE (3 .9 .12 )
0
d xˆ L dˆ 2 x d xˆ 0
dN 1
Substituti ng for , we obtain
d xˆ
1 1 1 dˆ 1 x
L
AE d xˆ fˆ1 x (3 .9 .13 )
0
L L L dˆ 2 x
MS5019 – FEM 57
29
Reference:
1. Logan, D.L., 1992, A First Course in the Finite Element Method,
PWS-KENT Publishing Co., Boston.
2. Imbert, J.F.,1984, Analyse des Structures par Elements Finis, 2nd
Ed., Cepadues.
3. Zienkiewics, O.C., 1977, The Finite Eelement Method, 3rd ed.,
McGraw-Hill, London.
4. Finlayson, B.A., 1972, The Method of Weighted Residuals and
Variational Principles
Principles, Academic Press
Press, New York
York.
MS5019 – FEM 59
30