Module 2
Module 2
2.1.1 Introduction
Finite element formulation can be constructed from governing differential equations over a domain.
This can be formulated by various ways like Virtual work method, Variational method, Weighted
Residual Method etc.
(2.1.2)
Here, d u v w .
T
For the three dimensional stress-strain condition, there are six
components of stresses ( x , y , z , xy , yz , zx ) and six components of strains in virtual
x
y
U x y z xy yz zx z d
xy (2.1.3)
yz
zx
Or
U d
T
(2.1.4)
According to principle of virtual work, the work done by external forces due to the virtual
displacement of a structure in equilibrium is equal to the work done by the internal forces for the
virtual internal displacement. Therefore, WE U Thus eqs. (2.1.2) and (2.1.4) can be made equal
and can be related as follows:
(2.1.5)
displacement relationship can be expressed as {ε } = [ B ]{d } , where {d} is the displacement vector in
x, y and z directions and [B] is called as the strain displacement relationship matrix. Again, the
stress can be represented in terms of its constitutive relationship matrix: {σ } = [ D ]{ε } . Here [ D ]
is called as the constituent relationship matrix. Using the above relationship in the strain energy
equation one can arrive
1
[ B ]{d } [ D ]{ B}{d } d Ω
T
U ∫∫∫
2 Ω (2.1.7)
Applying the variational principle one can express
3
∂U
{F } ∫∫∫ [ B ] [ D ][ B ] d Ω {d }
T
= =
∂ {d } Ω (2.1.8)
Now, from the relationship of { F } = [ K ]{d } , one can arrive at the element stiffness matrix as:
[K ] ∫∫∫ [ B ] [ D ][ B ] d Ω
T
=
Ω (2.1.9)
Thus, by the use of variational principle, the stiffness matrix of a structural element can be obtained
as expressed in the above equation.
w i R d 0 for i 1,2,3,...,n
or (2.1.12)
w Du f d 0
i
Where weighting function wi = wi(x) is chosen from the approximate basis function used for
constructing approximated solution u .
5
2.2.1 Introduction
Galerkin method is the most widely used among the various weighted residual methods. Galerkin
method incorporates differential equations in their weak form, i.e., before starting integration by
parts it is in strong form and after by parts it will be in weak form, so that they are satisfied over a
domain in an integral. Thus, in case of Galerkin method, the equations are satisfied over a domain in
an integral or average sense, rather than at every point. The solution of the equations must satisfy the
boundary conditions. There are two types of boundary conditions:
• Essential or kinematic boundary condition
• Non essential or natural boundary condition
4y
For example, in case of a beam problem ( EI q 0 ) differential equation is of forth order.
x 4
As a result, displacement and slope will be essential boundary condition where as moment and shear
will be non-essential boundary condition.
xy y
Fy 0 (2.2.2)
x y
Where, Fx and Fy are the body forces in X and Y direction respectively. Let assume,
x and y are surface forces in X and Y direction and as angle made by normal to surface
with X– axis (Fig. 2.2.1). Therefore, force equilibrium of element can be written as:
Fx PQ t x OP t xy OQ t
OP OQ
Fx x xy x cos xy sin x cos xyCos 90
PQ PQ
Thus, Fx x xy m (2.2.3)
Where, ℓ and m are direction cosines of normal to the surface. Similarly,
Fy xy y m (2.2.4)
6
Where u and v are weighting functions i.e elemental displacements in X and Y directions
respectively. Now one can expand above equation by using Green’s Theorem.
Green Theorem states that if x, yand x, y are continuous functions then their first and
second partial derivatives are also continuous. Therefore,
2 2
dxdy 2 2 dxdy
x x y y x
y
x
y
m ds
(2.2.6)
Assuming, x ; u; 0 one can rewrite with the use of above relation as
x y
x u
x
u dx dy x
x
dx dy x u ds (2.2.7)
Similarly, assuming y ; 0 and v
x y
y v
y
v dx dy y
y
dx dy y m v ds (2.2.8)
7
Again, assuming x y ; v; 0
x y
x y v
y
v dx dy x y
x
dx dy x y v ds (2.2.9)
And assuming, x y ; 0; u
x y
x y u
y
u dx dy x y
y
dx dy x y m u ds
Putting values of eqs. (2.2.7), (2.2.8) and (2.2.9), in eq. (2.2.5), one can get the following relation:
x u y v xy v xy u dx dy
x y x y
Here, Fx and Fy are the body forces and u & v are virtual displacements in X and Y directions
respectively.
Considering first term of eq. (2.2.11), virtual displacement u is given to the element of unit
thickness. Dotted position in Fig. 2.2.2 shows the virtual displacement. Thus, work done by x :
x dy u u dx x dyu x u dxdy (2.2.12)
x x
Similarly, considering second term of eq. (2.2.11), virtual work done by body forces is
F x u Fyvdx dy
8
Putting eqs. (2.2.3) & (2.2.4) in third term of eq. (2.2.11) we get the virtual work done by surface
forces as:
F x uds Fyvds
x x
u dxdy x x dxdy
y y vdxdy y y dxdy (2.2.14)
xy x
v
y
u xy xy dxdy
If external work done is represented by WE and U is the internal work done then,
U w E 0 or U w E (2.2.16)
Thus in elasticity problems, Galerkin’s method turns out to be the principle of virtual work, which
can be stated that “A Deformable body is said to be in equilibrium, if the total work done by external
forces is equal to the total work done by internal forces.” The work done above is virtual as either
forces or deformations are also virtual. Thus, Galerkin’s approach can be followed in all problems
involving solution of a set of equations subjected to specified boundary values.
w i p,ii d 0 (2.2.19)
Integrating by parts of the above expression, the following relation can be obtained.
If the nodal pressure and interpolation functions are denoted by p and N respectively, then the
pressure at any point inside the fluid domain can be expressed as
p N p
Similarly, the weighted function can also be written with the help of interpolation function as
w N w
10
Thus, pi,i L p L N p Bp , where, L = differential operator.
x y
Similarly, w i,i L W L N w Bw
Thus, w i,i p,i d w B B p d
T T
(2.2.21)
p
w i p,i d = w N d
T T
(2.2.22)
n
Here, Γdenotes the surface of the fluid domain and n represents the direction normal to the surface.
Thus, from eq. (2.2.20), one can write the expression as:
p
Thus, w B Bp d w N d
T T T T
n
Or, G p S (2.2.23)
Where,
T T
G B Bd N N N N d
T
x x y y
(2.2.27)
p
and S N d
T
n
Here, n is the direction normal to the surface. Thus, solving the above equation with the prescribed
boundary conditions, one can find out the pressure distribution inside the fluid domain by the use of
finite element technique.
11
Displacement function is the beginning point for the structural analysis by finite element method.
This function represents the variation of the displacement within the element. On the basis of the
problem to be solved, the displacement function needs to be approximated in the form of either
linear or higher-order function. A convenient way to express it is by the use of polynomial
expressions.
a. The displacement function must be continuous within the elements. This can be ensured by
choosing a suitable polynomial. For example, for an n degrees of polynomial, displacement
function in I dimensional problem can be chosen as:
u=α 0 + α1 x + α 2 x 2 + α 3 x3 + α 4 x 4 + ..... + α n x n (2.3.1)
b. The displacement function must be capable of rigid body displacements of the element. The
constant terms used in the polynomial (α0 to αn) ensure this condition.
c. The displacement function must include the constant strains states of the element. As
element becomes infinitely small, strain should be constant in the element. Hence, the
displacement function should include terms for representing constant strain states.
2.3.1.2 Compatibility
Displacement should be compatible between adjacent elements. There should not be any
discontinuity or overlapping while deformed. The adjacent elements must deform without causing
openings, overlaps or discontinuous between the elements.
Elements which satisfy all the three convergence requirements and compatibility condition
are called Compatible or Conforming elements.
The geometric invariance can be ensured by the selection of the corresponding order of terms on
either side of the axis of symmetry.
1
x y
x2 xy y2
x3 x2y xy2 y3
x Ni x i u N i u i (2.3.3)
y N i yi v N vi i
If Ni = N´i, then the element is called isroparametric. Fig. 2.3.2(a) shows the two dimensional 8 node
isoparametric element.
If the geometry of element is defined by shape functions of order higher than that for representing
the variation of displacements, then the elements are called superparametric (Fig. 2.3.2(b)).
If the geometry of element is defined by shape functions of order lower than that for representing the
variation of displacements then the elements are called subparametric (Fig. 2.3.2(c)).
Few of the elements with number of nodes are shown in Fig. 2.3.4.
15
The steps to be followed in the computer program are shown in the form of flow chart in Fig. 2.4.1
for assembling the local stiffness matrix to global stiffness matrix.
18
Here, α refers to unknown displacement; β refers to known displacement (≠0) and γ refers to zero
displacement. Thus, the above equation can be separated and solved independently to find required
unknown results as shown below.
F K d K d K d
or, K d F K d as d 0
Thus, d K
1
F K d
(2.4.7)
For computer programming, several techniques are available for handling boundary conditions. One
of the approaches is to make the diagonal element of stiffness matrix corresponding to zero
displacement as unity and corresponding all off-diagonal elements as zero. For example, let consider
a 3×3 stiffness matrix with following force-displacement relationship.
F1 k11 k13 d1
k12
F2 = k21 k22 k23 d 2
F k k32 k33 d3 (2.4.8)
3 31
Now, if the third node has zero displacement (i.e., d3= 0) then the matrix will be modified as follows
to incorporate the boundary condition.
F1 k11 k12 0 d1
F2 = k21 k22 0 d 2
0 0 1 d3 (2.4.9)
0
{δ } = {d 2 } (2.4.12)
Similarly 3rd row will be:
F3 − k32 × δ = k31 × d1 + k33 × d3 (2.4.13)
Thus above three equations can be written in a combined form as
F1 − k12δ k11 0 k13 d1
δ = 0 1 0 d 2
F − δ k
32 31 0 k33 d3 (2.4.14)
Another approach may also be followed to take care the known restrained displacements by
assigning a higher value δ (say δ =1020) in the diagonal element corresponding to that displacement.
F1 k11 k12 k13 d1
k
δ ×10 × k=
20
22 21 k22 ×1020 k23 d 2
k31 k33 d3
F3 k32
(2.4.15)
1020 k 22 k 21d1 k 22 1020 d 2 k 23 d 3
As d3 is corresponding to zero displacement, the above equation can be simplified to the following.
1020 k 22 k 21d1 k 22 1020 d 2
or 1020 k 22 k 22 1020 d 2
d 2 known displacement is ensured
If the overall stiffness matrix is to be formed in half band form then the numbering of nodes should
be such that the bandwidth is minimum. For this the labels are put in a systematic manner
irrespective of whether the joint displacements are unknowns or restraints. However, if the unknown
displacements are labeled first then the matrix operations can be restricted up to unknown
displacement labels and beyond that the overall stiffness matrix may be ignored.