SCHOOL OF CIVIL ENGINEERING
CIVL4332 L1
Introduction to Finite Element Method
CIVL4332 L1
Introduction to Finite Element Method
by Joe Gattas, Faris Albermani
Introduction
The FEM is a numerical technique for solving physical problems such as stress analysis. Using FE formulation, the equilibrium equation
[@]T [D]{@}{u} + {B} = 0
(1.1)
is transformed into a system of simultaneous algebraic equations of the form
(1.2)
[K]{r} = {R}
This transformation operates at the scale of individual domain subdivisions (finite elements), which are used
as piecewise patches to build a complete 1D, 2D, or 3D domain. The stiffness method seen in CIVL3340
similarly used an element discretization, with each element having an analytical stiffness and discontinuous
nodal displacements. The FEM method has a numerical stiffness and a continuous displacement field.
• Advantages of FEM: versatility and accuracy control
• Disadvantages of FEM: numerical (rather than analytical) solution and large computer output.
CIVL4332 lectures on the finite element method are as follows.
L1: Introduction to Finite Element Method
L2: Continuum Mechanics: Stress and Equilibrium
L3: Continuum Mechanics: Strain and Constitutive Laws
L4: FEM: Formulation
L5: FEM: Shape Functions
L6: FEM: Isoparametric Elements
page 1 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L1
Introduction to Finite Element Method
FEM Analysis Types
There are numerous types of finite element analysis. Different solutions can be obtained by using different
forms of the general finite element stiffness equation:
• Linear Static Analysis: Kr = R.
• Non-Linear Static Analysis: [K + KG ]r = R, where KG is a geometric stiffness matrix that is a
function of stresses.
• Linear Buckling (Eigenvalue) Analysis: |K +
is the load factor for the critical
buckling load. Does not solve deformation path but finds the point where displacement is possible
without applied load (buckling).
cr KG |
= 0, where
cr
• Dynamic Analysis: M r̈ + C ṙ + Kr = R(t), where M is the mass matrix, C is the damping matrix,
and ṙ and r̈ first and second derivatives of displacement with respect to time.
• Natural Frequency (Vibration) Analysis: |K +! 2 M | = 0, where ! 2 is natural frequency of the system.
This lecture series shall primarily focus on linear static analysis.
FEM Procedure Overview
The broad procedure for the finite element method is as follows:
Pre-processing
1. Select element type and discretization.
2. Displacement (shape) functions [N ] are used to approximate the displacement field {u} within the
element from using nodal values {r}, with {u} = [N ]{r}.
3. Establish strain-displacement relations {"} = [@]{u} and constitutive laws { } = [D]{"}.
4. The element stiffness relation is obtained, usually with an energy approach used to derive the stiffness [ke ]{re } = {fe }.
Solution
5. Assemble the structural stiffness matrix [K] and nodal force vector {R} from element stiffnesses [ke ]
and element forces {fe }.
6. Impose boundary conditions and solve the global equation for nodal displacements [K]{r} = {R}.
Post-processing
7. Stress recovery: element stresses are calculated by back-substitution into the element equation.
page 2 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L1
Introduction to Finite Element Method
Steps 2-4 are full finite element procedures that are simplified in the direct stiffness method seen in
CIVL3340. The full FEM process is effective for elements of any complexity.
Example 1.1: Direct Stiffness vs Finite Element
Formulate the element stiffness of a 1D truss element with area A, length L, and Young’s modulus E using
the Direct Stiffness and Finite Element methods.
Direct Stiffness Method
Truss elements have a single axial translational displacement
and single corresponding axial force. Basic stiffness can be derived from basic linear elastic material elongation: " = /L =
/E = P/(EA).
[k] =
P
Δ
AE
L
Transform basic stiffness to local x0
2
AE 6
6
[k 0 ] = T T kT =
L 4
1
Sym.
0
0
y 0 system.
3
1 0
0 0 7
7
1 0 5
0
1D case: global x y axes align with local x
x axis (u displacements) only.
AE
1
1
[ke ] =
1
1
L
0
v’j
u’j
0
y axes, consider
v’i
u’i
Finite Element Method
Step 2: Displacement field and shape functions
A truss element has two nodes, each with a nodal coordinate x,
nodal displacement r , and nodal force f . It also has constant
cross-section area A and length L.
{u} =
u1
u2
, {r} =
r1
r2
, {f } =
f1
f2
1
x1
A,L
r1 , f 1
2
x2
r2 , f 2
page 3 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L1
Introduction to Finite Element Method
A continuous linear displacement u field is assumed to exist between end nodes. Shape functions N are used to obtain intermediate displacement values from end node displacements r .
u = [N ]{r}
= [ N1 N2 ]
u
r1
r1
r2
1
r2
2
= N1 r 1 + N2 r 2
[N1 ] = 1
x
[N2 ] =
L
N1
1
Shape functions for a two-node element with a linear displacement field are:
1
x
L
2
N2
1
1
2
Step 3: Strain and stress fields
The strain field for a 1D element is:
The stress field for a 1D element is:
["] = "xx
{ }={
Strain is the differential of displacement:
Material constitutive laws relate stress and
strain:
"xx = [@/@x]{u}
= [@/@x][N ]{r} = [B]{r}
xx }
{ } = [D]{"}
The B matrix is defined as the differential of N
For 1D case,
[B] = [@][N ] = [ 1/L 1/L]
{
xx }
xx
= E"xx so [D] = [E].
= [E]{"} = [E][B]{r}
Step 4: Energy approach to obtain element stiffness
Using an energy formulation if can be shown that element stiffness is equal to the integral of B T DB over
the element volume. For a 1D element, volume V = AL, which gives:
Z
Z
B DBdV = A B T DBdx
V
L
Z
AE
1/L
1
=A
[E] [ 1/L 1/L] dx =
1/L
1
L
L
[ke ] =
T
1
1
Note: this integral is solved numerically, not analytically, in a typical FEM solver.
page 4 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
by Joe Gattas, Faris Albermani
Continuum mechanics is an important part in the finite element method as stress and strain relationships
are used to solve the stiffness integral.
Coordinate system and Applied Forces
Most problems are formulated in 3D in FEM so we shall adopt a 3D Cartesian right-handed coordinate
system. This is referred to as the xi system, where i = 1, 2, 3. Axes x1 , x2 , and x3 are used instead of
x, y, and z , respectively.
x2
x3
x1
Within the a 3D Cartesian system we can locate a continuum, which is a continuous body. This continuum
is general and can be broadly applied, for example as a fluid, magnetic field, traffic flow, etcetera. The
present notes will focus on a structural type analysis for stresses of an elastic continuum.
An elastic continuum can be subjected to some forces that induce stresses, strains, and displacements
through the continuum. The forces at some point P within the body can be classified as:
page 5 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
• Body force Bi for i = 1, 2, 3. These are forces per unit volume or unit mass of the body. Example
body forces include gravity loads and inertial forces.
• Surface traction Tin for i = 1, 2, 3. These are forces per unit area (in 3D) or per unit length (in 2D).
The traction is defined with reference to a plane with normal unit vector {n}.
x2
n
B2
B3
Tin
B1
x1
x3
3D Stress Definition
The application of forces with induce a stress in the body. The stress at any point is defined with the Cauchy
stress tensor [ ij ]:
[
ij ]
2
=4
11
12
13
21
22
23
31
32
33
3
5
(2.3)
For a 3D problem, the stress tensor has nine stress components at any point:
• Direct (Normal) Stress Components:
• Shear Stress Components:
12 ,
13 ,
11 ,
23 ,
22 ,
21 ,
33
31 ,
32
It is essential to understand where these stresses are acting on the body and the sign convention used. A
point P within a body can be enlarged to give the following infinitesimal volume dx ⇥ dy ⇥ dz .
page 6 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
x2
x2
P
P
x1
x3
x1
x3
Stress components ij act on the interfaces of this volume. The first index i denotes the interface and
the second index j denotes the direction of the component, with positive directions corresponding to the
outward normal vector of each face.
Direct stresses are positive if both indices have
direction vectors of the same sign, e.g. 11 is
positive if it acts on an interface with a normal
in the direction of x1 and with a positive force in
the direction of x2 . This gives tension as positive and compression as negative. Positive direct stresses are shown below.
Shear stresses are positive if both indices have
direction vectors of the same sign, e.g. 12 is
positive if it acts on an interface with a normal
in the direction of x1 and with a positive force in
the direction of x2 . Positive shear stresses are
shown below.
x2
x2
σ22
σ23
σ32
P
x3
P
σ11
x1
σ33
σ21
σ12
σ31 σ13
x3
x1
Example 2.1: Stress Tensor Symmetry
Prove that
equilibrium.
ij
=
ji
for all i 6= j at any point in a continuum by using the three equations of moment
page 7 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
x2
σ23
σ22
σ23
σ32
x3
σ33
σ32
σ21
σ12
σ31 σ13
O
σ32
σ11
σ23
x1
M x1 = 0 = (
23 dx1 dx2 dx3
23
=
=
Similar summations of Mx2 and Mx3 show
x2
x3
Traction stress 23 acts on an area dx1 dx3 . Traction stress
sum of moments about axis x1 at point O :
X
O
32
23 dx1 dx3 )dx2
(
acts on an area dx1 dx2 . Considering the
32 dx1 dx2 )dx3
32 dx1 dx2 dx3
32
13
=
31
and
12
=
21 ,
respectively.
The moment equations of equilibrium can thus be used to prove ij = ji . The stress tensor is therefore
symmetric with six unique stress components, written as stress vector { }T = { 11 , 22 , 33 , 12 , 13 , 23 }.
Stress Transformation
A cut can be taken through point P to generate a plane with unit normal vector n. There will be stresses on
the new interface, represented by traction vector {Tin }. This stress vector can be obtained from the stress
tensor as:
{Tin } = [ ij ]{n}
(2.4)
The traction stress vector is composed of normal (direct) stress vector { n } and shear stress vector {⌧ }.
The magnitude of the normal stress can be found be taking the dot product of {n} and {Tin }.
n
The normal stress vector is then
and {⌧ } can be found by subtraction of
{Tin }
{
˙ n}
= {n}T {T
i
(2.5)
n}
(2.6)
=
and {
n}
{⌧ } = {Tin }
n {n}
{
n}
(2.7)
page 8 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
3D Case
x2
2D Case
x2
n
n
Tin
τ
Tin
x3
τ
σn
σn
x1
x1
Example 2.2: Octahedral Traction Stress
The octahedral plane is the plane whose
pnormal vector makes equal angles with coordinate system axes,
that is with equal direction cosines of 1/ 3. Calculate the normal (direct) and shear stress components on
the octahedral plane through point P given it has the following stress tensor:
ij
2
3
10 3 12
= 4 3 8 4 5 MPa
12 4 5
x2
The octahedral plane has the following normal vector:
3 2 p 3
1/p3
n1
{n} = 4 n2 5 = 4 1/p3 5
n3
1/ 3
2
n
x3
x1
The traction vector is given as:
{Tin } = [
ij ]{n}
= [14.4, 8.7, 12.1]T MPa
The normal component is:
{
n}
= {n}T {Tin }{n} = [11.7, 11.7, 11.7]T MPa
page 9 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
The shear stress component is:
{⌧ } = {Tin }
{
n}
= [2.7, 3.1, 0.4]T MPa
In addition to finding stress on target plane, a complete [ ij ] defined in a new coordinate system ui can be
obtained with rotation of stress tensor[ ij ] defined in old coordinate system xi . Old and new stress tensors
are related by:
[ ij ] = [L][ ij ][L]T
(2.8)
where [L] is a rotation matrix containing direction cosines a between old and new system axes.
2
3
au 1 x 1 au 1 x 2 au 1 x 3
[L] = 4 au2 x1 au2 x2 au2 x3 5
au 3 x 1 au 3 x 2 au 3 x 3
x2
(2.9)
u2
cos-1au1 x2
x3
u1
u3
x1
cos-1au1 x1
cos-1 au1 x3
Stress Invariants, Principal Stresses, and Stress Decomposition
A stress tensor will change depending on a chosen coordinate system orientation, however it possesses
three stress invariants that are constant across all orientations. As stress invariants are the same in any
orientation, they can be used to check stress transformations, i.e. I1 = I1 , I2 = I2 , and I3 = I3 , where I1 ,
I2 , and I3 are the first, second, and third stress invariants, respectively.
The first stress invariant is the sum of direct stresses:
I1 =
11
+
22
+
(2.10)
33
The second stress invariant is the sum of the three minors of the stress tensor:
I2 =
11
12
21
22
+
11
13
31
33
+
22
23
32
33
(2.11)
page 10 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
The third stress tensor is the determinant of the stress tensor:
I3 = |
(2.12)
ij |
If a cut is made on an appropriate plane through a point in a continuum, the traction stress vector will
correspond to the normal stress vector, i.e. shear stress on that plane is zero. This corresponds to the
principal stress state. It is the 3D version of the 2D principal stresses seen in CIVL2330.
x2
τ
n
n
Tin= σ n
τ3
σ3
x1
σ2
τ2
σ1
σ
τ1
Mathematically this is represented as:
[
ij ]{n}
The solution to this equation in terms of unknown
2
4
(
)
11
is given as:
12
(
21
31
13
)
22
(2.13)
= {n}
23
(
32
33
)
3
5 {n} = 0
(2.14)
A non-trivial solution to this equation occurs when Det| ij
| = 0, which is a cubic polynomial in terms
of . The three cubic roots 1 , 2 , 3 are the three principal stresses at that point, such that 1 > 2 > 3 .
The characteristic cubic equation for principal stresses can be written as
3
I1
2
+ I2
I3 = 0
(2.15)
Three principal stress directions are {n1 }, {n2 }, and {n3 } associated with principal stress directions
2 , and 3 , respectively. They can be found by back-substitution of the principal stresses into (2.14).
1,
For a principal stress state, the stress invariants simplify to:
I1 =
I2 =
I3 =
+
2
1 2
+
1
1 2 3
+
(2.16)
3
1 3
+
2 3
(2.17)
(2.18)
page 11 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
Any stress state [
p:
ij ]
can be decomposed into the deviatoric stress tensor [sij ] and the hydrostatic pressure
[
where p = I1 /3 and [
is thus given by:
ij ]
ij ]
= [sij ] + p[
(2.19)
ij ]
= 1 if i = j but otherwise is zero, i.e. it is a 3⇥3 identity matrix. Deviatoric stress
[sij ] = [
ij ]
p[
ij ]
2
=4
(
p)
11
12
(
21
p)
22
31
13
23
(
32
p)
33
3
5
(2.20)
These two values represent important phyical aspects of the point under consideration. The deviatoric
stress corresponds to deformation. It represents a pure shear stress state which has n = 0, ⌧ 6= 0, and
I1 = 0 and is usually responsible for failure of the material; it is used to derive the von-Mises yield criterion
discussed below. The hydrostatic stress is responsible for dilation.
Hydrostatic
Deviatoric
There are six stress components in a general stress state or three stress components in a principal stress
state. When assessing material failure is is convenient to express the stress as a single value. For ductile
materials such as metals, the von-Mises (effective) stress is most appropriate and is given by:
VM
=
r
(
22 )
11
2
+(
33 )
22
2
+(
11 )
33
2
+ 6(
2
12
2
+
2
23
+
2
13 )
(2.21)
For a principal stress state this simplifies to:
VM
=
r
(
1
2)
2
+(
3)
2
2
2
+(
3
1)
2
(2.22)
von-Mises stress is always positive so cannot be used to indicate load direction and it can be higher than
the maximum principal stress 1 . Different effective failure stress relationships should be used for other
materials, for example the Drucker-Prager yield criterion can be used for concrete.
The principal shear stresses can be obtained from principal direct stresses from Mohr’s circle manipulations
as:
⌧1 = |
⌧2 = |
⌧3 = |
1
1
2
2 |/2
(2.23)
3 |/2
(2.25)
3 |/2
(2.24)
page 12 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
Equilibrium Equations
The three moment equilibrium equations were used to generate a symmetric stress tensor. Three force
equilibrium equations remain. Consider forces acting on an infinitesimal element in the x1 direction:
∂σ21
∂x
∂ x2 2
∂σ
σ11 + 11 ∂ x
∂ x1 1
dx2
B1
σ11
x3
x1
dx1
σ31
σ11
x2
σ21
x2
dx3
σ21 +
σ31 +
x1
∂σ31
∂x
∂ x3 3
In addition to the traction forces acting on element interfaces there is a body force B1 .
⌃Fx1 = 0 =
✓
◆
✓
◆
✓
◆
@ 11
@ 21
@ 31
@x1 @x2 @x3 +
@x2 @x1 @x3 +
@x3 @x2 @x1 + B1 @x1 @x2 @x3 (2.26)
@x1
@x2
@x3
which reduces to
@ 11 @ 21 @ 31
+
+
+ B1 = 0
@x1
@x2
@x3
This can be repeated for directions x2 and x3 , which can be written in shorthand as:
ji,j
where
ji,j
is the differential of
ji
(2.27)
(2.28)
+ Bi = 0
with respect to j .
In matrix form this becomes:
[@]T { } + {B} = 0
where
[B]T = {B1 , B2 , B3 }
T
[ ] ={
2
11 ,
@
@x1
[@]T = 4 0
0
22 ,
0
@
@x2
0
(2.29)
(2.30)
33 ,
12 ,
0
0
@
@x3
The differential operator [@]T is extensively used in FEM.
23 ,
@
@x2
@
@x1
0
13 }
0
@
@x3
@
@x2
@
@x3
3
0 5
@
@x1
(2.31)
(2.32)
page 13 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L2
Continuum Mechanics: Stress and Equilibrium
Example 2.3: Principal Stresses
Calculate the principal stresses and associated principal stress directions, given that:
ij
and one of the principal stresses is 4MPa.
2
3
10 9 5
0 0 5 MPa
=4
Sym.
8
The invariants of the given stress tensor are:
I1 =
I2 =
I3 = |
11
+
22
+
11
12
21
22
ij |
33
+
=
Given a principal stress of 4MPa, (
(
11
13
31
33
+
9⇥9⇥8+0=
=0
3
2
22
23
32
33
=
81
0
3
4) is a factor of the characteristic equation
which gives a = 1, b = 6, and c =
which gives principal stresses as:
2
162. The roots of (a
= 10.08 MPa ,
186
648
I1 2 + I2
I3 = 0 = 3 + 2 2 186 + 648
4)(a 2 + b + c) = a 3 + (b 4a) 2 + (c 4b)
1
105 =
2
= 4 MPa ,
3
I1
2
+ I2
I 3 = 0:
4c
+ b + c) are 10.08MPa and -16.08MPa,
=
16.08 MPa
Substitution of a principal stress into the princpal stress solution gives:
2
4
( 10
1)
9
(0
5
0
1)
Sym.
(8
32
3 2 3
n1x1
0
5 4 n1x 5 = 4 0 5
2
n1x3
0
1)
(2.33)
This equation cannot be solved directly as it has already been used to generate the principal stresses. Use
the additional condition that {n1 }T {n1 } = 1:
2
which gives {n1 }T
±{ 0.362,
4
n1x1
Sym.
(0
n1x2
n1x3
0
1)
(8
32
3 2 3
n1x1
1
5 4 n1x 5 = 4 0 5
2
n1x3
0
1)
(2.34)
= ±{0.363, 0.324, 0.873}.
A similar substitution gives {n2 }T
3 T
0.815, 0.453} and {n } = ±{ .859, 0.481, 0.178}.
=
page 14 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive
Laws
by Joe Gattas, Faris Albermani
Analysis of Strain
The strain tensor ["ij ] is similar to the stress tensor, i.e. it defines the strain field at a point in a continuum:
2
3
"11 "12 "13
["ij ] = 4 "21 "22 "23 5
"31 "32 "33
(3.35)
The tensor is symmetric, "ij = "ji , and so has six unique strain components, written as stress vector
{"}T = {"11 , "22 , "33 , 12 , 13 , 23 }. The first three components are direct strains and the second three
components are the engineering shear strain components where ij = 2"ij , discussed further below.
Direct strain components represent the length change between two points in a continuum, with positive
taken as extension and negative as contraction. Finite-element uses Green-Lagrange strain, defined as:
1 (Lo + L)2 L2o
L 1
"=
=
+
2
2
Lo
Lo
2
L
⇡
for small strain ( < 1%)
Lo
✓
L
Lo
◆2
(3.36)
where Lo is the initial length between two points and Lo + L is the length of the same two points after
deformation. If L = 0 after load is applied to a body than there has been a displacement without change
in length and the body has undergone a rigid body motion.
This small displacement strain " = L/Lo is called engineer’s strain and is as previously used in structural
mechanics courses. For large displacements, logarithmic or true strain e is used instead of ":
e=
Z
L
Lo
dL
dL
= ln
L
L
(3.37)
page 15 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
Shear strain components represent the change in angle between three points in a continuum:
=✓
(3.38)
✓o
where ✓o is the initial angle between three points and ✓ is the angle of the same three points after deformation.
Direct Strain
Shear Strain
B L +Δ L
o
B Lo
A
C
B
B
θo
θ
A
A
C
A
For all strain components, the first subscript denotes the direction of the fibre under strain and the second
subscript denotes the direction of the fibre’s displacement. All transformations derived for the stress tensor
are also valid for the strain tensor, e.g. a traction vector for strain on an interface with unit normal vector n
is n = ["]{n}. How the strains are occurring within the body and can be understood as follows.
For direct strains, consider a 1D fibre with initial
length dx.
dx1
∂u
dx1 + ∂ x1 dx1
x1
For shear strains, consider two fibres with side
lengths dx1 and dx2 :
dx2 ε21
1
dx1
@u1
dx
@x1
"12 =
The engineer’s strain is then:
"11 =
L
@u1
=
Lo
@x1
ε12
∂ u2
x1
γ12
After load is applied, these are distorted to generate two angles. Using a small angle trigonometric approximation (tan x = x), there are:
After load is applied, it has length:
dx +
x2
∂ u1
(3.39)
@u2
@u1
, "21 =
@x1
@x2
(3.40)
"12 , "23 , and "13 are referred to as tensorial
shear strains as they correspond to strain tensor components. It is more common to the alternate definition referred to as engineering shear
strains where all shear displacement acts on a
single edge: ij = 2"ij .
page 16 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
Example 3.1: Strain Transformations
The is a interface cut ABC within a continuum. Point A, B , and C are located a unit distance along axes
x1 , x2 , and x3 respectively. Point D is located halfway between points A and B .
During an experiment, the strain ["] is measured at D as:
2
["] = 4
0.01
0.005
0.02
Sym.
3
0
0.01 5
0.03
(3.41)
Calculate the change in the right angle ADC .
x2
B
D
x3
A
C
x1
The points have the following coordinates:
A = [1, 0, 0]
B = [0, 1, 0]
C = [0, 0, 1]
D = [0.5, 0.5, 0]
The change in angle is a shear strain .
Material direction of two fibres
!
DA = A
!
DC = C
D = [0.5, 0.5, 0]
D = [ 0.5, 0.5, 1]
page 17 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
Convert these to a unit vector:
nDA
nDC
8
9
!
1 =
<
DA
[0.5, 0.5, 0]
1
p
1
=
=
=p
|DA|
1/ 2
2: 0 ;
8
9
!
1 =
<
DC
[ 0.5, 0.5, 1]
1
p p
1
=
=
=p
|DA|
3/ 2
6: 2 ;
We can check if unit vectors are correct as they are orthogonal nTDA nDC = 0.
Strain vector of fibre DC
n
DC
n
DC
8
9
0.002 =
<
1
n
0.002
{ DC
} = ["]{nDC } = p
6 : 0.028 ;
(3.42)
can be projected onto {nDC } to find the direct strain component. As {nDC } and {nDA } are orthogonal,
can be projected onto {nDA } to find the shear strain component.
"ADC = {nDA }T {
The change in angle ADC is
ADC
= 2"ADC =
n
DC }
=
0.0029 rad.
(3.43)
0.0058 rad.
x2
n
δDC
ε ADC
x3
x1
page 18 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
Strain-Displacement Relations
At any point P in a continuum, there are three displacements ui , where i = 1, 2, 3. Strain is the partial
derivative of displacement and so given the displacement vector {u}T = {u1 u2 u3 }, strain-displacement
relations can be written as:
2
6
6
6
6
6
6
4
{"} = [@]{u}
3 2 @
"11
@x
6 01
7
"22 7 6
6 0
"33 7
7=6
7 6
6 @x@ 2
12 7
5 6
4 0
13
23
@
@x3
3
0
2
0
3 6
0 7
72
6
u
6
@ 7
1
7
6
@x3
7 4 u2 5 = 6
0 7
6
u3
6
@ 7
5
4
@x2
@
@x2
0
@
@x1
@
@x3
@
@x1
0
@u2
@x1
@u3
@x2
@u1
@x3
@u1
@x1
@u2
@x2
@u3
@x3
+
+
+
(3.44)
3
@u1
@x2
@u2
@x3
@u3
@x1
7
7
7
7
7
7
7
5
(3.45)
where [@] is defined for stress equilibrium relations and engineering shear strains are given in the strain
vector, not tensorial shear strains.
This relation shows that three displacements generate six components of strain. Going in the opposite
direction however, six strain components cannot determine a unique continuous displacement field, as
the system is overdeteriminant. The strain components therefore have to be constrained by compatibility
equations. Six compatibility equations similar to the one below need to be satisfied in a 3D system.
@ 2 "11 @ 2 "22
+
@x22
@x21
2
@ 2 "12
=0
@x1 @x2
(3.46)
Of the six 3D compatibility equations, three are independent. All but the first equation shown above is
automatically constrained in a plane strain or plane stress field.
The compatibility equations are generated as follows. Shear strain is related to displacement with:
12
=
✓
@u1 @u2
+
@x2 @x1
◆
= 2"12
Deformation u must be continuous and there must be some gradient in the strain field, i.e. @"12 /@x1 6= 0
and @"12 /@x2 6= 0. The strain gradient can therefore be obtained by taking the derivative of the previous
equation:
@ 3 u1
@ 3 u2
@ 2 "12
+
=
2
@x1 @x22 @x21 @x2
@x1 @x2
Direct strain relations "11 =
@u1
@x1
and "22 =
@u2
@y1 2
can be substituted to simplify:
@ 2 "11 @ 2 "22
@ 2 "12
+
=
2
@x22
@x21
@x1 @x2
which gives the compatibility equation (3.46).
page 19 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
Constitutive Laws
Thus far, we have related forces to stress and displacements to strain. The final relations required are those
to link stress and strain. The relations are termed constitutive laws and are to do with the system material.
It is therefore more complicated that prior relations which only relate to system geomety.
The general form of the constitutive law is written the matrix [D] that relates stress and strain as follows.
(3.47)
{ } = [D]{"}
The simplest material is an isotropic, linear elastic material. The linear elastic material requires only two
material properties to define: Young’s Modulus E and Poisson’s ratio v which are obtained from material
tests. The isotropic linear elastic material is the simplest case of the constitutive law. Orthotropic materials
such as composite laminates require 9 material properties to define, and completely anisotropic materials
require 21 material properties to define.
For direct stresses in an isotropic material, there is coupling from the Poisson’s effect. An axial stress
will induce an axial strain of E"11 and transverse strains of "22 = v"11 and "33 = v"11 .
ε22 = -v ε11
σ11
σ12
E
σ11
G
σ11
ε11
ε11
For shear stresses in an isotropic material there is no coupling. A shear stress
of G 12 , where G is the shear modulus related as:
G=
11
γ12
12
will induce an axial strain
E
2(1 + v)
(3.48)
This gives the following stress-strain relation:
2
6
6
6
6
6
6
4
"11
"22
"33
12
13
23
3
2
7
6
7
6
6
7
1
7= 6
7 E6
7
6
5
4
1
Sym.
v
1
v
v
1
0
0
0
2(1 + v)
0
0
0
0
2(1 + v)
0
0
0
0
0
2(1 + v)
32
76
76
76
76
76
76
54
11
22
33
12
13
23
3
7
7
7
7
7
7
5
(3.49)
page 20 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
the inverse of this gives the constitutive matrix as:
[D] =
E
(1 + v)(1
2
6
6
6
6
2v) 6
6
4
1
v
v
1
v
v
v
1
v
0
0
0
1 2v
2
Sym.
0
0
0
0
1 2v
2
0
0
0
0
0
1 2v
2
3
7
7
7
7
7
7
5
(3.50)
All natural materials have 0 < v < 0.5. As v ! 0.5 the material becomes incompressible as the 1/(1 2v)
causes [D] ! 1. Meta-materials are those that have been engineered to possess properties not found
in nature, including negative Poisson’s ratios, i.e. 1 < v < 0. There are termed auxetic materials and
include origami-inspired meta-materials, applied for example as a deployable stent1 :
Recalling the equilibrium relation of this previous lecture. This can now be written with the constitutive law
and using the strain-displacement relation as:
[@]T { } + {B} = 0
[@]T [D]{"} + {B} = 0
[@]T [D]{@}{u} + {B} = 0
(3.51)
1
Figure taken from You, Z. and Kaori K. ”Expandable tubes with negative Poissons ratio and their application in medicine.”
Origami4: Fourth International Meeting of Origami Science, Mathematics, and Education. 2009.
page 21 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
Continuum Mechanics Summary
The relations in 3D continuum mechanics can be summarised as follows.
Forces
Bi , Tin
Stiffness
T
[@] [D]{@}{u} + {B} = 0
Equilibrium
Equations ⇥3
{ }
{ui }
Strain-Displacement
Relations ⇥6
[@]T { } + {B} = 0
Stress components ⇥6
Displacements ⇥3
{"} = [@]{u}
Constitutive Laws ⇥6
{ } = [D]{"}
Strain components ⇥6
{"}
There are 15 unknown quantities: 6 stress components, 6 strain components, and 3 displacement components. These are found with 15 relations: 3 equations of equilibrium, 6 strain-displacement relations, 6
constitutive laws. The stiffness relation can be used to solve displacements directly, but element stresses
and strains must then be calculated back-substitution into other relations.
Simplified (1D and 2D) Mechanics
The above derivations are for complete 3D continuum systems. All lower-order structural systems can be
obtained from simplified continuum conditions as follows.
1D Truss Element with x1 longitudinal axis and u1 longitudinal displacements only.
{u} = u1
{"} = "11 = @u1 /@x1
[@] = @/@x1
{ } = 11 = E"11
[D] = E
Fx
1
x1 ,u1
page 22 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
1D Beam Element with x1 longitudinal axis, x2 transverse axis, and u1 and u2 displacements only.
@u2
@x1
{"} = "11 = @u1 /@x1 =
[@] = x2 @ 2 /@x21
{ } = 11 = E"11
[D] = E
{u} = u1 =
x2 ,u2
x2
x2 @ 2 u2 /@x21
Fx
2
Fx
θ = d u2 /dx1
1
x1 ,u1
2D Plane Stress A 2D continuum located in the x1 x2 plane with all stresses in-plane and an out-of-plane
length much smaller than in-plane lengths x3 << x1 and x3 << x2 , for example as in a cantilever with an
end point load.
Two in-plane displacement components:
{u}T = {u1 u2 }
All stress is in plane, i.e. there is no out-of-plane
stress 33 = 13 = 23 = 0, leaving three stress
components:
{ }={
11
22
x2 ,u2
x3
12 }
Fx
1
O
Fx
2
x1 ,u1
σ22
σ12
There is no coupling in shear strain so 13 = 23 =
0. There is coupling for direct strain so there will
be out-of-plane (Poisson) expansion or contraction
"33 6= 0:
σ11
O
σ11
σ12
T
{"} = {"11 "22 12 }
"33 = v("11 + "22 )
σ22
Stress-displacement relations and constitutive laws are then:
2
@
@x1
[@] = 4 0
@
@x2
0
@
@x2
@
@x1
3
2
1 v
5 and [D] = E 4 v 1
1 v2
0 0
3
0
0 5
(3.52)
1 v
2
page 23 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
2D Plane Strain A 2D continuum located in the x1 x2 plane with all strains in-plane and an out-of-plane
length much larger than in-plane lengths x3 >> x1 and x3 >> x3 , for example as in a dam with uniform
hydrostatic pressure along length.
Two in-plane displacement components:
{u}T = {u1 u2 }
All strain is in plane, i.e. there is no out-of-plane
strain "33 = "13 = "23 = 0, leaving three strain
components:
T
{"} = {"11 "22
12 }
There is no coupling in shear stress so 13 = 23 =
0. There is coupling for direct stress so there will be
out-of-plane stress 33 6= 0:
{ }T = { 11 22
33 = v( 11 +
ε22
x2 ,u2 O
ε12
ε11
x1 ,u1
x3
O
ε11
ε12
12 }
ε22
22 )
Stress-displacement relations and constitutive laws are then:
2
@
@x1
[@] = 4 0
@
@x2
0
@
@x2
@
@x1
3
5 and [D] =
E
(1 + v)(1
2v)
2
4
1
v
v
0
v
1
0
0
v
1 2v
2
0
3
5
(3.53)
2D Thin Plate Element A 2D element with x1 longitudinal axis, x2 transverse axis, and u1 , u2 , and u3
displacement components. The element has out-of-plane stress and strain, but is assumed to be thin
x3 << x1 and x3 << x2 such that out-of-plane shear can be neglected 13 = 23 = 0.
{u} =
⇢
u1
u2
=
x3
⇢
@
@x1
@
@x2
x2 ,u2
u3
{"}T = {"11 "22 12 }
2
@ @2
2@ 2
T
[@] =
@x21 @x22 @x1 @x2
{ }T = { 11 22 12 }
and constitutive matrix [D] the same as for the
plane stress case.
x3 ,u3
Fx
3
θ13= d u3 /dx1
x1 ,u1
θ23= d u3 /dx2
page 24 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L3
Continuum Mechanics: Strain and Constitutive Laws
Example 3.2: 2D Continuum Mechanics
Establish an equivalent 2D system for the following 3D bodies:
• a) A long, thick-walled cylinder under constant internal pressure.
• b) A fin web connection plate.
a) The cylinder has no longitudinal stress, so a plane strain condition can be assumed.
σr
σθ
b) The fin plate has no out-of-plane stress, so a plane stress condition can be assumed:
σ22
σ11
page 25 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L4
FEM Formulation
CIVL4332 L4
FEM Formulation
by Joe Gattas, Faris Albermani
As stated in earlier lectures, the Finite Element Method transforms the continuum mechanics equilibrium
equation [@]T [D]{@}{u} + {B} = 0 into a system of numerically-solvable simultaneous algebraic equations of the form [K]{r} = {R}. The following lecture describes the necessary steps to achieve this
transformation and thus generate a complete FEM formulation.
Discretization
The first step in the Finite Element Method is to break up the continuum to be solved into discrete elements
in a process that is called discretization. The need for a discretized form arises because the equilibrium
equation is written in terms of an unknown displacement field {u}. For a general continuum, it is difficult
to know the form of this displacement field. However it is easy know the displacement field for a small
element, for example a 2-node bar element or 4-node square element. The continuous displacement field
for the whole continuum is therefore easier to approximate as a stepwise assembly of small elements. It is
essential to choose an element suitable for the particular problem, e.g. a disc cannot be approximated with
1D truss elements, but could be approximated with 2D plate elements.
The process is analogous to curve-fitting with a straight-line approximation, i.e. it is difficult to determine a
function to fit a complex curve, but it is easy to assume a straight line between discrete points on the curve
to generate approximately the same form.
page 26 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L4
FEM Formulation
Exact
Coarse Appx.
Fine Appx.
As with any approximation, there is some error between the approximate and ideal system. The necessary
level of discretization varies substantially between FEM models. It is therefore always necessary to undertake a mesh refinement or mesh sensitivity study. Such studies increase the number of elements (e.g. from
80 to 160 to 320 elements) or the change element type (e.g. quad or tri plate elements) systematically to
establish a mesh type and density that gives a stable solution.
Displacement (Shape) Functions
Shape functions are used to transform nodal displacements {r} into a continuous displacement field {u}.
(4.54)
{u} = [N ]{r}
where [N ] is the shape function matrix. This consists of individual shape functions N to relate each nodal
displacement to the continuous displacement in a particular element:
8
9
r
>
>
1
>
>
<
=
r2
{u} = [N1 N2 N3 N4 ]
r3 >
>
>
>
:
;
r4
{u} = N1 r1 + N2 r2 + N3 r3 + N4 r4
u
x2
r4
r1
x3
x1
1
r3
4
3
r2
2
page 27 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L4
FEM Formulation
The above relation allows stress and strain fields to be expressed directly in terms of nodal displacements:
(4.55)
{"} = [@]{u} = [@][N ]{r} = [B]{r}
{ } = [D]{"} = [D][B]{r}
(4.56)
where [B] is the shape function derivative matrix:
(4.57)
[B] = [@][N ]
The next lecture wll discuss how to generate suitable shape functions.
Energy Formulation for Element Stiffness
Previously, stiffness has been derived for elements directly as the inverse of flexibility coefficients obtained
from structural mechanics solutions. This is feasible for simple elements such as 1D truss, beam, or frame
elements, however for more complex elements it is challenging, e.g. an 8 or 20-node brick element.
Instead, an energy approach is used in FEM to calculate the element stiffness matrix as follows.
Internal (Strain) Energy
The internal (strain) energy U of a system is found by integrating the stress times strain over the volume V
of material in the body:
Z
U=
1
2
V
{ }T {"}dV
(4.58)
This can be expanded in terms of stress and strain components. 1D case with uniform cross-section:
2D case with uniform thickness:
t
U=
2
Full 3D case:
1
U=
2
Z Z Z
11 "11
A
U=
2
Z
11 "11
+
Z Z
+
22 "22
+
33 "33
11 "11 dx1
22 "22
+
+
12 "12
12 "12 dx1 dx2
+
23 "23
+
13 "13 dx1 dx2 dx3
Internal energy (4.58) can also be expressed in terms of nodal displacements by substituting (4.55) and
(4.56). This gives:
Z
1
U=
{ }T {"}dV
2 V
Z
1
=
([D][B]{r})T ([B]{r})dV
2 V
✓Z
◆
1
T
T
= {r}
[B] [D][B]dV {r}
2
(4.59)
page 28 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L4
FEM Formulation
External Energy
The external energy is generated as the sum of work WS from traction forces {T }, WB from body forces
{B}, and WN from nodal forces {fn } applied to the body:
W = WS + WB + WN
Z
Z
T
= {u} {T }dS + {u}T {B}dV + {r}T {fN }
(4.60)
where S is the surface over which the traction force {T } is applied.
WS and WB can also be written directly in terms of nodal displacement vector. From (4.54), it is known that
{u}T = {r}T [N ]T . This gives:
Z
Z
T
T
WS = {u} {T }dS = {r}
[N ]T {T }dS = {r}T {fS }
(4.61)
Z
Z
T
T
WB = {u} {B}dV = {r}
[N ]T {B}dV = {r}T {fB }
(4.62)
W = {r}T ({fB } + {fS } + {fN })
T
= {r} {R}
(4.63)
(4.64)
where {fS }, {fB }, and {R} are energy-equivalent nodal load vector for surface, body, and all loads,
respectively.
Energy Equilibrium
Of all displacements that might satisfy the boundary conditions of a structure, those that satisfy the equations of equilibrium occur when there is a stationary value of potential energy, i.e. the difference between
internal work and external work is at a minimum.
Π
Unstable Equilibrium
Neutral Equilibrium
u
Stable Equilibrium
The total potential energy ⇧ is related to internal work U and external work W as:
⇧=U
W
(4.65)
W =0
(4.66)
The stationary condition is then
⇧= U
where is a small admissible variation. In other words, when a structure is subjected to a load, it will find a
deformed configuration that uses the minimum amount of energy to achieve a certain displacement.
page 29 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L4
FEM Formulation
Equilibrium therefore is given by:
@⇧
@U
=
@{r}
@{r}
@U
@W
=
@{r}
@{r}
@W
=0
@{r}
Substituting (4.58) and (4.64) then gives:
@( 12 {r}T
R
[B]T [D][B]dV {r})
@({r}T {R})
=
@{r}
@{r}
✓Z
◆
[B]T [D][B]dV {r} = {R}
[K]{r} = {R}
where stiffness matrix [K] is:
[K] =
Z
[B]T [D][B]dV
(4.67)
Example 4.1: Spring Element
Use the energy approach to derive the stiffness matrix of 1D spring element:
ke re = f e
1
k
2
r1 , f 1
r2 , f 2
A two-node spring element has nodal displacements {r}T = {r1 r2 } and nodal forces {f }T = {f1 f2 }.
Internal energy is:
Z
Z
1
A
T
U=
{ } {"}dV =
11 "11 dx1
2 V
2
◆2
Z
Z ✓
AE
AE L r2 r1
2
=
"11 dx1 =
dx1
2
2 0
L
AE (r2 r1 )2
(r2 r1 )2
=
=k
L
2
2
External work is:
W = r1 f 1 + r2 f 2
page 30 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L4
FEM Formulation
Potential energy is:
⇧=U
W =k
which is stationary when:
⇧=0=
The non-trivial solutions to this are when
@⇧
@r1
r1 ) 2
(r2
k
1
1
= 0 and
1
1
r2 f 2
@⇧
@⇧
r1 +
r2
@r1
@r2
@⇧
@r2
@⇧
= 0 gives k(r1
@r1
@⇧
= 0 gives k(r2
@r2
which is matrix form becomes
r1 f 1
2
r1
r2
= 0:
r2 ) = f 1
r1 ) = f 2
=
f1
f2
FEM Formulation Summary
The FEM formulation is therefore primarily concerned with expressing the main unknowns in a system
stiffness equation in terms of nodal displacements. It can be summarised as follows:
Displacement Field
Strain Field
Stress Field
Element Strain Energy
External Energy
Stationary Potential
Stiffness Relation
Stiffness Matrix
{u} = [N ]{r}
{"} = [@]{u} = [@][N ]{r} = [B]{r}
{ } = [D]{"} = [D][B]{r}
✓Z
◆
Z
1
1
T
T
T
U=
{ } {"}dV = {r}
[B] [D][B]dV {r}
2
2
W = WN + WB + WS = {r}T {R}
⇧= U
W = 0 , which gives
✓Z
◆
T
{R} = [K]{r} =
[B] [D][B]dV {r}
Z
[K] = [B]T [D][B]dV
Example 4.2: FEM Truss Stiffness
Revisit the Finite Element formulation of a 1D truss element shown in Example 1.1.
page 31 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
CIVL4332 L5
FEM Shape Functions
by Joe Gattas, Faris Albermani
Displacement Fields
Consider the following element with an axial load, length L, cross-section area A, and Young’s Modulus E .
In a finite element formulation it can be discretise into five 1D elements, each with length l.
L,A,E
1
2
3
4
5
l
A general form of the displacement field for axial (1D) loading is as a polynomial function over the beam
length with degree n 1:
u(x) = a1 + a2 x + a3 x2 + ... + an xn 1
(5.68)
which has n coefficients and 0 x L. Coefficient a1 does not contribute to the strain field and so it
corresponds to rigid body motion. The remaining coefficients correspond to displacement gradients.
The degree of polynomial necessary to approximate the field depends on the complexity of the problem. An
element with a uniform axial load has a uniform stress and strain. Strain is the derivative of displacement,
so a uniform strain gives a linear displacement field, i.e. a first-degree polynomial. An element with a
non-uniform axial load will have a non-uniform strain and so a higher-order polynomial is necessary for
approximation.
The number of derivatives of displacement that are continuous between elements is referred to as the
degree of continuity of an element. A C 0 element has zero continuous derivatives i.e. it is continuous in
page 32 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
terms of displacement only. A C 1 element has a continuous first derivative of displacement (strain) as well
as continuous displacement.
C0
u
C0
C1
u
ε
ε
u
ε
Displacement Fields with Shape Functions
The 1D element in the previous section with a uniform axial load has a linear displacement field. This can
be expressed as:
u = a1 + a2 x
{u} =< 1 x >
⇢
a1
a2
(5.69)
{u} =< x > {a}
where {a} is the vector of polynomial coefficients.
Nodal displacements values u(x = 0) = r1 and u(x = l) = r2 can be used to relate polynomial coefficients
to nodal displacements. In matrix form this becomes:
⇢
r1
r2
=
1 0
1 l
⇢
a1
a2
{r} = [A]{a}
{a} = [A] 1 {r}
1
l 0
1
where [A] =
1 1
l
(5.70)
(5.71)
(5.72)
Substituting (5.71) into (5.69) give:
{u} =< x > [A] 1 {r}
{u} = [N ]{r}
(5.73)
where [N ] is a matrix containing the shape or interpolation functions:
[N ] =< x > [A]
1
(5.74)
page 33 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
which for this example is:
1
l 0
[N ] =< 1 x >
1 1
l
x x
=< 1
>
l l
x
N1 = 1
l
x
N2 =
l
(5.75)
(5.76)
This is expressed in the physical coordinate system however it can also be expressed in the natural coordinate system by replacing the normalised x/L term with ⇠ :
N1 = 1
N2 = ⇠
⇠
where 0 ⇠ 1.
All shape functions have some common properties:
• they are always between 0 and 1;
• they have a value of 1 at their own node and 0 at every other node;
• the sum of shape functions is equal to 1 at any point in the element; and
• the superposition of shape functions times nodal displacements gives the whole displacement field.
1
1
1
N1
2
N2
1
1
2
r1
N1 r1
N1 + N2
u
r2
N1 r1 + N2 r2
N2 r2
Lagrange Interpolation
The above uses a polynomial function to generate shape functions. Another approach is to use Lagrange
interpolation to generate shape functions directly. Lagrange interpolation represents a field for an element
with a polynomial field of degree p is represented as:
=
n
X
L xi
i
(5.77)
1
page 34 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
where Lxi is the Lagrange function, is some field (displacement, stress, strain, etc.), i is the field value
at node i, and the number of nodes n is one greater than the polynomial degree, i.e. n = p + 1.
For a Lagrange displacement field
= u,
=
n
X
i
= ri , and so Lxi = Ni .
L xi
i
1
= Lx1 1 + Lx2 2 + ... + Lxn
u = N1 r1 + N2 r2 + ... + Nn rn
n+
As Lagrange interpolation is for displacement only, Lagrange elements are C 0 elements.
The Lagrange function is a chain product (⇧) along all element axes:
⇧nj+1 (xj
L xi = n
⇧j+1 (xj
x)
, for i 6= j
xi )
(5.78)
Example 5.1: Lagrange Shape Functions
Use Lagrange interpolation to find shape functions for a 1D element:
i) with a linear (first-order) displacement field.
ii) with a quadratic (second-order) displacement field.
Plot the quadratic shape functions.
i) A 1D linear displacement field requires p + 1 = 2 nodes.
(x2
(x2
(x1
= N2 =
(x1
L x1 = N1 =
L x2
x)
(l x)
x
=
=1
x1 )
l
l
x)
(0 x)
x
=
=
x2 )
l
l
1
2
x1
x2
l
ii) A 2D quadratic displacement field requires p + 1 = 3 nodes, with coordinates x1 = 0, x2 = 0.5l, x3 = l.
(x2 x)(x3
(x2 x1 )(x3
(x1 x)(x3
= N2 =
(x1 x2 )(x3
(x1 x)(x2
= N3 =
(x1 x3 )(x2
L x1 = N1 =
L x2
L x3
⇣ x ⌘2
x)
x
=1 3 +2
x1 )
l
l
⇣
⌘
x)
x
x 2
=4
4
x2 )
l
l
⇣
x)
x
x ⌘2
=
+2
x3 )
l
l
1
2
x1
3
x2
x3
page 35 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
Quadratic shape functions are:
1
1
1
N2
N1
N3
2D Shape functions
Tri Element
A triangular element has 3 nodes, each with two displacements (rx , ry ) per node.
r6
r5
3
r2
y
x
1
r4
2
r3
r1
The element has a displacement field that can be represented as a two-variable polynomial:
u = a1 + a2 x + a3 y + a4 x2 + a5 xy + a6 y 2 + ...
(5.79)
A bilinear triangular has a linear displacement field in both x and y direction:
u = a1 + a2 x + a3 y
{u} =< x > {a}
8
9
< a1 =
a2
{u} =< 1 x y >
:
;
a3
(5.80)
Considering first x-displacements, nodal coordinates (x1 , y1 ), (x2 , y2 ), and (x3 , y3 ) are used to relate polypage 36 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
nomial coefficients to nodal displacements:
(5.81)
{r} = [A]{a}
8
9 2
9
38
1 x 1 y 1 < a1 =
< r1 =
r3
= 4 1 x 2 y 2 5 a2
:
;
:
;
r5
1 x3 y3
a3
(5.82)
The displacement field {u} in the x directions is then:
{u} =< x > [A] 1 {r}
= [N ]{r}
8
9
< r1 =
= [N1 N2 N3 ] r3
:
;
r5
(5.83)
1
3
1
1
N1
N2
2
1
1
N3
r5
1
u
r1
1
r3
N1 r1 + N2 r3 + N3 r5
N1 + N2 + N3
The displacement field {v} in the y directions is also linear, so can be represented by the same displacement functions:
8
9
{v} = [N1 N2
and a complete displacement field description is then:
{u} =
⇢
u
v
=
< r2 =
N3 ] r 4
:
;
r6
N1 0 N 2 0 N3 0
0 N1 0 N2 0 N3
(5.84)
8
9
r
>
>
1
>
>
>
>
>
>
r
>
2 >
>
>
<
=
r3
>
> r4 >
>
>
>
>
r5 >
>
>
>
>
:
;
r6
(5.85)
page 37 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
Each shape function is associated with a single element node and shares the same properties as the 1D
example shape functions, i.e. N1 + N2 + N3 = 1, etc.
The general form of the shape functions for a triangle C 0 element with a linear displacement field is:
Ni =
where:
xbi + yci + fi
xbi + yci + fi
=
P3
2A
1 fi
(5.86)
(5.87)
bi = y j yk
ci = xk xj
f i = xj yk xk yj
(5.88)
(5.89)
where if i = 1, j = 2 and k = 3; if i = 2, j = 3 and k = 1; and if i = 3, j = 1 and k = 2.
Example 5.2: Tri Element Displacement Field
A three-node constant strain triangular finite element has nodal coordinates (x, y ) of (2,2), (6,4), and (3,8)
and nodal displacements (u, v ) of (1,1), (-1,1), and (-2,-1). For a plane stress case, calculate the element:
i) shape functions; and
ii) stress components,
assuming the element has a Young’s Modulus of 100MPa and a Poisson’s ratio of 0.1.
i) A constant strain element has a linear displacement field, so Lagrange interpolation can be used to find
shape functions:
b1 = y2 y 3 = 4
b2 = y3 y 1 = 6
b3 = y 1 y 2 = 2
2A = f1 + f2 + f3 = 22
c1 = x3
c2 = x1
c3 = x2
x2 = 3
x3 = 1
x1 = 4
f 1 = x2 y3
f 2 = x3 y1
f 3 = x1 y2
x3 y2 = 36
x1 y3 = 10
x2 y1 = 4
Shape functions are then as per (5.86)
3y + 36
22
6x + 1y 10
N2 =
22
2x + 4y + 4
N3 =
22
N1 =
4x +
page 38 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
ii) The shape function derivative matrix is given as:
2
@
@x
[Bi ] = [@][Ni ] = 4 0
@
@y
0
@
@y
@
@x
3
5
N1 0
0 N1
2
3
b 0
1 4 i
0 ci 5
=
2A
ci bi
Stress and strain can be generated from shape function derivatives:
{ } = [D]{"} = [D][B]{r}
8
9
u
>
>
1
>
>
>
>
>
>
2
3
v
>
1 >
>
>
1 v 0
<
=
E 4
u
2
5
v
1
0
=
[B1 |B2 |B3 ]
v2 >
>
1 v2
>
>
0 0 12v
>
>
>
>
u
>
>
3
>
>
:
;
v3
2
1 0.1
100 4
0.1
1
=
1 0.12
0
0
=
8
<
:
9
31.2 =
39.5
MPa
;
12.4
0
0
1 0.1
2
3
2
4
5 1 4 0
22
3
0
3
4
6
0
1
0
1
6
2
0
4
8
9
1 >
>
>
>
>
>
>
3>
1
>
>
>
>
0
<
=
1
4 5
> 1 >
>
2 >
>
>
>
>
2
>
>
>
>
:
;
1
Quad Element
A bilinear quadrilateral plate element has linear displacement field in both directions. A linear first-order
polynomial in requires n = p + 1 = 2 nodes, per direction, so the quad element requires (p + 1)2 = 4
nodes. Nodes should be numbered 1 to 4 either anti-clockwise or clockwise. Either is suitable as long as it
is consistent across elements.
If expressed in the physical (x, y) system, the quad plate has width 2a and height 2b. In FEM formulations
it is easier to work in the natural (⇠, ⌘) system, where x = ⇠a, and y = ⌘b.
The Lagrange chain product generates C 0 element shape functions when multiplied along all coordinate
page 39 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
axes:
Ni = L ⇠ L ⌘
⇠ 2 ⇠ ⌘4
N1 =
⇠ 2 ⇠ 1 ⌘4
⇠ 1 ⇠ ⌘3
N2 =
⇠ 1 ⇠ 3 ⌘3
⇠ 4 ⇠ ⌘2
N3 =
⇠ 4 ⇠ 3 ⌘2
⇠ 3 ⇠ ⌘1
N4 =
⇠ 3 ⇠ 4 ⌘1
⌘
⌘1
⌘
⌘2
⌘
⌘3
⌘
⌘4
⇠)(1 ⌘)
4
(1 + ⇠)(1 ⌘)
=
4
(1 + ⇠)(1 + ⌘)
=
4
(1 ⇠)(1 + ⌘)
=
4
=
(1
The general form of this is:
Ni =
(1 + ⇠⇠i )(1 + ⌘⌘i )
4
v3
v4
u4 4
3
y
u1
1
u3
(-1,1)
(1,1)
η
2b
v1
(5.90)
ξ
x
2a
2
v2
u2
(-1,-1)
(1,-1)
Higher Continuity and Hermite Interpolation
Increasing the degree of polynomial for a particular element will increase the complexity of the displacement
field, however it will not increase the continuity of the field between elements. For example, a beam element
has a cubic displacement field so has n = p + 1 = 4 nodes per element. A series of cubic C 0 beam
elements will have continuous displacement v but not a continuous displacement gradient ✓ .
{u} =< 1 x x2
8
9
a
>
>
1
>
>
<
=
a2
3
x >
a3 >
>
>
>
:
;
a4
(5.91)
page 40 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
Lagrange interpolation always produces a C 0 element so a different interpolation is used for higher-continuity:
the Hermite interpolation. It uses the same polynomial but increases the DOF per node instead of the number of nodes per element. A Hermite C 1 beam element will therefore interpolate both deflection v and
deflection gradient ✓ .
C0
v
v
v
v
v
v
θ = d v /dx
C1
θ
Deflection v and rotation ✓ can be written as polynomials as:
v = a1 + a2 x + a3 x 2 + a4 x 3
@v
✓=
= a2 + 2a3 x + 3a4 x2
@x
vi
θj
θi
vj
Four boundary conditions are then found with substitution of nodal values:
v(x = 0) = v1 = a1
✓(x = 0) = ✓1 = a2
v(x = l) = v2 = a1 + a2 l + a3 l2 + a4 l3
✓(x = l) = ✓2 = a2 + 2a3 l + 3a4 l2
The polynomial coefficient matrix is therefore a 4 ⇥ 4 matrix:
{r} = [A]{a}
8
9 2
v
1 0
>
>
1
>
>
<
= 6
✓1
0 1
=6
4
v2 >
1 l
>
>
>
:
;
✓2
0 1
38
a1
0 0
>
>
<
0 0 7
7 a2
2
3 5
l
l
a2
>
>
:
2l 3l2
a3
Shape functions can then be obtained from [N ] =< x > [A]
N1
N2
N3
N4
= 1 3⇠ 2 + 2⇠ 3
= ⇠L(⇠ 1)2
= 3⇠ 2 2⇠ 3
= ⇠ 2 L(⇠ 1)
1
as
9
>
>
=
(5.92)
>
>
;
for v1
(5.93)
for ✓1
(5.94)
for v2
(5.95)
for ✓2
(5.96)
page 41 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L5
FEM Shape Functions
1
1
N1
N3
1
1
N2
N4
page 42 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
CIVL4332 L6
FEM Isoparametric Elements
by Joe Gattas, Faris Albermani
Introduction
Development of finite elements in terms of global coordinate system is only possible for simple types of elements. For more versatile elements (e.g. non-rectangular elements, elements with curved sides, elements
a different orientations in space, etc.) isoparametric formulation is used.
2
7
3
4
6
8
5
1
1
2
4
3
2
1
Isoparametric elements are elements for which the same shape functions are used to interpolate element
displacement field as well as element geometry. The element can then be formulated in natural coordinate
system defined by the element geometry rather than its orientation in the physical coordinates system.
Mapping between the natural and physical systems is used in the element formulation as:
Displacement field: {u} = [N ]{r}
Element geometry : {X} = [N ]{C}
Where {r} and {C} are element nodal displacement and element nodal coordinates, respectively. For
isoparametric elements [N ] and [N ] are identical. If [N ] is of a higher degree than [N ] the element is
subparametric (the reverse is superparametric).
page 43 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
Example 6.1: Isoparametric Geometry
A three-node triangular finite element has the following interpolation for element geometry and displacement
field:
=
n
X
L xi
i
1
Nodal coordinates (x, y ) are (1,1), (8,2), and (4,6) and corresponding nodal horizontal displacements are
1, -3, and 3 mm. Calculate the horizonal displacement within the element at location (2,2).
Lagrange interpolation is used for element geometry and displacement field. The element therefore has a
linear interpolation and shape functions can be evaluated from polynomial u = a1 + a2 x + a3 y as seen in
previous examples.
However, as displacement is only required at point P = (2, 2), an alternate method can be used to only
evaluate shape function values at point P:
uP = N1,P u1 + N2,P u2 + N3,P u3
As it is an isoparametric element, geometry can be used to solve these shape function values:
xP = N1,P x1 + N2,P x2 + N3,P x3 = 2
yP = N1,P y1 + N2,P y2 + N3,P y3 = 2
P
One additional equation is obtained from
Ni = 1 :
N1,P + N2,P + N3,P = 1
Solving this system of equations gives:
N1,P =
3
1
3
, N2,P =
, N3,P =
4
16
16
Substitution gives horizonal displacement as:
uP = 1 ⇥
3
4
3⇥
1
16
3⇥
3
=0
16
Lagrange interpolation is used to map the physical coordinates (x, y ) of an irregular element to a regular
template element expressed in natural coordinates (⇠, ⌘ ).
The coordinate from any point P within the template element can be mapped to the physical element using
the same shape functions obtained for displacement field mapping, multiplied by the nodal coordinates
rather than nodal displacements.
page 44 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
( x4 , y4 )
3
4
( x3 , y3 )
(-1,1)
(1,1)
4
P (x , y )
3
P (ξ,η)
1
( x1 , y1 )
2
( x2 , y2 )
y,v
x,u
1
(-1,-1)
2
(1,-1)
η
ξ
Interpolation of displacement field:
{u} =
⇢
u
v
= [N ]{r} =
N1 0 N2 0 N3 0 N4 0
0 N 1 0 N2 0 N 3 0 N4
8
9
u1 >
>
>
>
>
>
>
>
v
>
>
1
>
>
>
>
>
>
u
>
>
2
>
>
<
=
v2
u3 >
>
>
>
>
>
>
v3 >
>
>
>
>
>
>
>
>
u
>
>
4
>
>
:
;
v4
Interpolation of element geometry:
{X} =
⇢
x
y
= [N ]{C} =
N1 0 N2 0 N3 0 N4 0
0 N1 0 N2 0 N3 0 N4
8
9
x
>
>
1
>
>
>
>
>
>
y
>
>
1
>
>
>
>
>
>
x
>
2 >
>
>
<
=
y2
x3 >
>
>
>
>
>
>
>
y
>
>
3
>
>
>
>
>
>
x
>
>
4
>
>
:
;
y4
(6.97)
where the shape function is as described in the previous lecture for a bilinear quad element:
Ni =
(1 + ⇠⇠1 )(1 + ⌘⌘i )
4
page 45 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
Jacobian Matrix
The shape functions Ni are written in the natural system (⇠, ⌘ ), however the strain matrix [Bi ] = [@][Ni ]
requires differentiation with respect to the physical system (x, y ). The Jacobian matrix is therefore used to
map differentials w.r.t. the natural system to differentials w.r.t. the physical system:
⇢
@
@⇠
@
@⌘
= [J]
where the Jacobian [J], is:
[J] =
"
@x
@⇠
@x
@⌘
⇢
@
@x
@
@y
@y
@⇠
@y
@⌘
(6.98)
#
(6.99)
Computationally, this is evaluated as:
[J] =
"
@N1
@⇠
@N1
@⌘
@N2
@⇠
@N2
@⌘
@N3
@⇠
@N3
@⌘
@N4
@⇠
@N4
@⌘
#
2
x1
6 x2
6
4 x3
x4
3
y1
y2 7
7
y3 5
y4
(6.100)
⇢
(6.101)
After calculation of [J], the inverse is found as:
⇢
@
@x
@
@y
= [J]
1
⇢
@
@⇠
@
@⌘
=
j11 j12
j21 j22
⇢
@
@⇠
@
@⌘
=
@
@
j11 @⇠
+ j12 @⌘
@
@
j21 @⇠
+ j22 @⌘
where j11 , j12 , j21 , j22 are elements of the Jacobian inverse. The shape function derivative matrix can then
be expressed in natural coordinates as:
2
@Ni
@x
[B(x, y)] = 4 0
@Ni
@y
0
@Ni
@y
@Ni
@x
3
@Ni
i
j11 @N
+
j
0
12
@⇠
@⌘
i
i 7
5=6
0
j21 @N
+ j22 @N
4
@⇠
@⌘ 5 = [B(⇠, ⌘)]
i
i
i
i
j21 @N
+ j22 @N
j11 @N
+ j12 @N
@⇠
@⌘
@⇠
@⌘
3
2
(6.102)
Example 6.2: Jacobian Matrix
For the Quad-4 rectangular element shown below, the nodal displacements are:
{r}T = {0, 0, 0, 0, 0.25, 0.5, 0, 0}
Calculate the shear strain
xy
at the centre of the element.
page 46 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
v3
v4
u4 4
(1,1)
ξ
x
2a
1
u1
(-1,1)
η
2b
v1
u3
3
y
2
v2
u2
(-1,-1)
(1,-1)
Strain field is related to nodal displacements as:
2
3
"xx
{"} = 4 "yy 5 = [B]{r} = [B1 |B2 |B3 |B4 ]
xy
8
>
>
>
>
>
>
>
>
>
>
<
>
>
>
>
>
>
>
>
>
>
:
0
0
0
0
0.25
0.5
0
0
9
>
>
>
>
>
>
>
>
>
>
=
>
>
>
>
>
>
>
>
>
>
;
Only node three has displacement so only matrix [B3 ] is required for interpolation.
2
@N3
@x
[B3 ] = [@][N3 ] = 4 0
@N3
@y
3
0
@N3
@y
@N3
@x
5
where N3 is given by the bilinear Quad-4 shape function for i = 3 so (⇠3 , ⌘3 ) = (1, 1):
N3 =
(1 + ⇠)(1 + ⌘)
4
Mapping from physical to natural coordinates gives x = a⇠ and y = b⌘ . This is used to populate the
Jacobian matrix:
[J] =
[J]
1
"
@x
@⇠
@x
@⌘
1
=
|J|
@y
@⇠
@y
@⌘
#
b 0
0 a
a 0
0 b
1 b 0
=
ab 0 a
=
=
1/a 0
0 1/b
page 47 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
which can be used to swap from physical to natural partial derivatives:
⇢
@
@x
@
@y
= [J]
1
⇢
@
@⇠
@
@⌘
=
⇢
1/a 0
0 1/b
@
@⇠
@
@⌘
=
⇢
1 @
a @⇠
1 @
b @⌘
⇢
0.25
0.5
The strain components are therefore given by:
2
3
"xx
4 "yy 5 = [B3 (⇠, ⌘)]
xy
⇢
0.25
0.5
and the shear component as:
xy
2
6
=4
1 @N3
a @⇠
0
1 @N3
b @⌘
0
1 @N3
b @⌘
1 @N3
a @⇠
3
7
5
1 @N3
1 @N3
(0.25) +
(0.5)
b @⌘
a @⇠
1+⇠
1+⌘
=
(0.25)
(0.5)
4b
4a
=
At the centre of the element, (⇠, ⌘) = (0, 0), which gives shear strain of:
xy
=
1
1
+
16a 8b
The stiffness matrix integral can be re-formulated in the (2D) natural system as:
Z
[B]T [D][B]dV
Z Z
=t
[B]T [D][B]dxdy
Z 1Z 1
=t
[B(⇠, ⌘)]T [D][B(⇠, ⌘)]|J|d⇠d⌘
[K] =
1
(6.103)
1
where |J| is the determinant of the Jacobian matrix which gives an element area mapping between physical
and natural systems. The physical finite element must be geometrically well-proportioned to avoid a singular
[J] matrix. Ill-proportioning could include large side length aspect ratios and internal element angles.
page 48 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
Example 6.3: Jacobian Stiffness Formulation
For a 1D quadratic (three-node) element with length L, Young’s modulus E , and cross-section area A:
i) Formulate the shape functions of Example 5.1 in the natural system ( 1 ⇠ 1).
ii) Find the element stiffness matrix.
i) Physical coordinates are x1 = 0, x2 = 0.5l, x3 = L and corresponding natural coordinates are coordinates ⇠1 = 1, ⇠2 = 0, ⇠3 = 1.
1
The mapping function is therefore given as:
⇠=2
x
L
2
x1
1
3
x2
x3
Shape functions from Example 5.1 can then be reformulated in the natural system as:
⇣ x ⌘2 1
x
N1 = 1 3 + 2
= ⇠(⇠ 1)
l
l
2
⇣
⌘
x
x 2
N2 = 4
4
= (1 ⇠ 2 )
l
l
⇣ x ⌘2 1
x
N3 =
+2
= ⇠(⇠ + 1)
l
l
2
ii) The inverse Jacobian matrix is:
[J]
1
=
d⇠
2
=
dx
L
and the shape function differential matrix with respect to the natural system is:
dN1 dN2 dN3
B = [B1 B2 B3 ] =
= [J]
dx dx dx
2
1
1
=
⇠
,
2⇠ , ⇠ +
L
2
2
1
dN1 dN2 dN3
d⇠ d⇠ d⇠
page 49 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
The stiffness matrix is then formulated from:
Z
Z
Z
T
+1
[B] [D][B]dV = A [B] [D][B]dx = A
[B]T [D][B]|J|d⇠
1
2
3
1
Z +1
⇠ 2
24
2
1
1 L
2⇠ 5 [E]
⇠
,
2⇠ , ⇠ +
d⇠
=A
L
2
2 2
1
1 L
⇠+2
2
3
Z +1 (⇠ 21 )2
2⇠(⇠ 12 ) (⇠ 12 )(⇠ + 21 )
2AE
4
4⇠ 2
2⇠(⇠ + 12 ) 5 d⇠
=
L
1
Sym.
(⇠ + 12 )2
2
3+1
(⇠ 12 )3 /3
(⇠ 2 (4⇠ 3))/6 (⇠(4⇠ 2 3))/12
2AE 4
4⇠ 3 /3
(⇠ 2 (4⇠ + 3))/6 5
=
L
Sym.
(⇠ + 12 )3 /3
1
2
3
14
16 2
AE 4
32
16 5
=
6L
Sym.
14
[K] =
T
Numerical Integration (Gauss Quadrature) and Stress Recovery
Integration in the natural system is much easier, as bounds are between -1 and +1. There is still however a
large (and computationally demanding) number of integrals that need to be evaluated to determine element
stiffnesses. An efficient numerical integral process is therefore adopted termed Gauss quadrature. This
integral is written as:
[K] =
XX
i
wi wj f (⇠i ⌘j )
(6.104)
j
where
f (⇠i ⌘j ) = t[B(⇠i , ⌘j )]T [D][B(⇠i , ⌘j )]|J(⇠i , ⌘j )|
(6.105)
and wi and wj are weight functions, i and j are the sampling (Gauss) points upto the number of Gauss
points NGP , i.e. 1 i NGP and 1 j NGP .
Gauss quadrature can be understood as a more accurate and efficient version of common numerical integral methods such as the midpoint, trapezium, or Simpon’s rules. It yields exact results for polynomials of
degree 2n 1 with n function evaluation points.
Gauss points are selected at a certain location with the element and given a pre-determined weighting,
2
listed in the below table. NGP as listed in the table is a 1D case. A 2D case will use NGP
and a 3D case
3
will NGP , with the same listed weightings.
page 50 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
Midpoint
-1
Trapezoidal
f( ξ )
0
f( ξ )
+1
ξ
-1
NGP
1
2
3
NGP = 12
0
+1
ξ
-1/√3
⇠i or ⌘i
wi or wj
p 0
p
+1/
p 3, 1/p 3
+ 0.6, 0,
0.6
2.0
1.0, 1.0
5/9, 8/9, 5/9
NGP = 22
η
η
+1/√3
ξ
η
ξ
+1/√3 -√0.6
-1
+1
-1/√3
-1
+1
f( ξ )
NGP = 32
ξ
-1
Gauss
ξ
+√0.6
+1
Once nodal displacements are obtained, element stresses can be calculated or each element from
{ } = [D][B]{r}
Stresses are most accurate at Gauss points of a quadrature rule one order less than that required for full
integration of the element stiffness. This is because FEM typically generates an over-stiff response from the
displacement field mapping assumption and reduced Gauss point integration counteracts this somewhat.
To give satisfactory numerical values for a bilinear element, two gauss points is sufficient. For quadratic
elements, two to three gauss points is sufficient. Stresses at any location within the element can be obtained
using interpolation/extrapolation from Gauss points.
Example 6.3: Numerical Integration
Compare explicit and numerical (gauss quadrature) integration of:
I=
Z
1
f (⇠)d⇠ =
1
Z
1
(1 + ⇠ 2 )d⇠
1
page 51 of 52
SCHOOL OF CIVIL ENGINEERING
CIVL4332 L6
FEM Isoparametric Elements
Explicit:
Z
1
1
(1 + ⇠ 2 )d⇠ = [⇠ + ⇠ 3 /3]1 1 =
8
= 2.6667
3
Numerical:
Gauss is exact if p 2(NGP
1). Above
p function is second-order polynomial, gauss quadrature is exact
with NGP = 2. For NGP = 2, (⇠i = ±1/ 3, wi = 1):
I=
which has 0% error.
X
p
p
wi f (⇠i ) = 1(1 + ( 1/ 3)2 ) + 1(1 + (1/ 3)2 ) = 2.6667
For NGP = 1, (⇠i = 0, wi = 2):
I=
which has 33% error.
X
wi f (⇠i ) = 2(1 + 02 ) = 2.0
page 52 of 52
© Copyright 2026 Paperzz