Finite Elements (Notes) 2015-16
Finite Elements (Notes) 2015-16
a.y. 2015-16
Contents
Appendix .. 27
ii
Equivalent Equivalent
nodal forces nodal forces
procedure, {} is redefined to denote the system node numbers associated with each of the
e
Example E.1.1
Consider an axial member with a varying
cross-sectional area (A) subjected to a
concentrated axial force (P) and a uniformly
distributed axial loading (p). The variation of
the cross-sectional area is assumed to be
quadratic as given by:
2
x
A A0 A L A0 (E.1)
L
where A 0 and A L are the cross-sectional
area at ( x 0 ) and ( x L ), respectively.
Continuous model
The cross-sectional axial force (F) can be expressed in terms of the first derivative of u with
respect to x:
F E A u (E.2)
Equilibrium of an infinitesimal length (dx) of the member can be expressed as:
The continuous model can therefore be represented by the second-order differential equation
in (E.3) subject to the two boundary conditions:
P
u (0) , u(L) 0 (E.4)
E A0
A first-order differential equation can also be established, either by integration of (E.3) or by
considering equilibrium at x:
F P px 0
E A u P p x 0 (E.5)
The continuous model can therefore also be represented by the first-order differential
equation in (E.5) subject to the boundary condition:
u(L) 0 (E.6)
Taking the special case of a member with ( AL 2A0 ) and ( p 2P / L ), the exact analytical
solution to (E.5) subject to (E.6) is as follows:
u(x)
PL tan 1 x log 2
(E.7)
E A0 4 L 1 x / L 2
Values of u(x) at ( x 0 ) and ( x L / 2 ) become:
PL PL
u 0 1.47855 , u L / 2 0.791754 (E.8)
E A0 E A0
Discrete model
Assume that the previous system is discretised into two elements, each employing two
degrees of freedom, as shown below.
R1 U1
R1e U1e
R R2 , U U 2 e ,
e
e e
R U
R U R2 U1
3 3
E A1e Ae2
R1e
2Le
U e
1
Ue2
pLe
2
(E.9.a)
E A1e Ae2
R e2
2Le
U1e Ue2 pLe
2
(E.9.b)
Note that the above relationship is approximate for each of the discrete elements, although a
similar but more accurate relationship can be derived. Matrix notation can be used to express
such relationships, which for (E.9) leads to:
{R}e [K]e {U}e {Pp }e (E.10.a)
where,
[K]
E A1e Ae2 1 1
e
1 1 (E.10.b)
2Le
pLe 1
{Pp }e (E.10.c)
2 1
For the special case of a member with ( AL 2A0 ) and ( p 2P / L ), the response of each
element can be determined in terms of the system parameters.
Element 1: A11 A0 , A12 1.25A0 , L1 L / 2, U11 U1 , U12 U 2
2.25E A0 P
R11 U1 U 2 (E.11.a)
L 2
2.25E A0 P
R12 U1 U 2 (E.11.b)
L 2
Element 2: A12 1.25A0 , A22 2A0 , L2 L / 2, U12 U 2 , U22 U3
3.25E A0 P
R12 U 2 U 3 (E.12.a)
L 2
3.25E A0 P
R 22 U 2 U 3 (E.12.b)
L 2
The overall system response can be assembled from element contributions as follows:
2.25E A0 P
R1 R11 U1 U 2 (E.13.a)
L 2
E A0
R2 R12 R12 2.25U1 5.5U 2 3.25U3 P (E.13.b)
L
3.25E A0 P
R3 R 22 U 2 U 3 (E.13.c)
L 2
Example E.1.2
Consider the adjacent system discretised into a
triangular element, a quadrilateral element and
two line elements. The various stages of
assembly are shown below, where it is
assumed that each node is associated with only
one parameter (i.e. p 1 ). For the case of
( p 1), each term in {Pp } should be replaced by a p sub-vector from {Pp }e corresponding to
node i, and each term in [ K ] should be replaced by p p sub-matrix from [K]e
corresponding to nodes i and j.
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
P
p 0 K 0 0 0 0 0 0 P
p 0 K 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0
0 0
0 0
P
p K 0 0 0 P
p K 0 0 0
0 0
0 0
The above expression is applicable to both linear and nonlinear material responses. When the
material constitutive law is linear, the stress-strain relationship may be expressed as:
{} [D] {} {o } (1.12)
Comparing (1.13) to (1.4), the linear element response is determined by the following
stiffness matrix and equivalent nodal forces due to distributed loading and initial strains:
[K]e [B] [D][B]de
T
(1.14)
e
Example E.1.3
Consider an axial bar element with a cross-sectional area that R1e U1e
R e , U e
e e
varies according to a quadratic function:
R2 U1
xe
A(x e ) A1e (4A em 3A1e A e2 )
Le
2 (E.18)
xe
2(2A em A1e A e2 ) e
L
Considering two axial degrees of freedom for the element,
linear shape functions can be used to approximate u(x e ) :
xe
u(x e ) U1e (U e2 U1e ) (E.19)
Le
which, with reference to (1.8), leads to a 12 [N] matrix:
Clearly, the above [K]e and {Pp }e compare well with the previous corresponding entities
given in (E.10), which are determined from a crude application of structural mechanics
e
principles. The only difference is that [K] in (E.25) is based on the true average area over
the element length instead of an approximate average based on the nodal areas. Importantly,
the finite element formulation procedure has the benefit that it relies mainly on the
determination of the approximation shape functions [N], everything else arising automatically
from the application of the principle of virtual work.
W FE
({P} {Pp })T {U } Wexact (1.16)
Clearly, if there is a single point load applied to the system, then the displacement associated
with the load is typically smaller for the finite element solution than for the exact solution.
Given that the finite element approximation improves as the number of elements is increased,
convergence to the exact solution occurs from below when considering the work done by the
loads.
Another important characteristic of finite element analysis is that the approximation of
displacements is much better than that of displacement derivatives. Therefore, strains and
stresses are not as accurately predicted as displacements for a specific mesh of elements.
However, displacements as well as strains/stresses converge to the exact analytical solution
as the mesh is refined, though convergence to within a specific tolerance occurs earlier for
displacements than for strains/stresses.
Example E.1.4
Consider the problem of example E.1 which is now discretised using two finite elements of
equal length according to the formulation derived in example E.3. The average areas for the
two elements are given by ( A1av 1.0833A0 , Aav
2
1.5833A0 ), leading to new values for
[ K ] and {Pp } which replace (E.14):
2.1667 2.1667 0 P / 2
E A0
[K ] 2.1667 5.3333 3.1667 , {Pp } P (E.26)
L
0 3.1667 3.1667 P / 2
Applying the boundary conditions, as before, leads to the following solution:
PL PL
U1 1.4818 , U 2 0.7895 (E.27)
E A0 E A0
where the error in the nodal displacements is now less than 0.3%. In this case, the stiffer
response of the finite element solution is manifested in only one of the nodal displacements,
namely U 2 , being smaller than the exact solution, and is demonstrated in a smaller work
done by the loads:
P2 L
WFE ({P} {Pp }) {U } 3.0121
T
(E.28.a)
EA0
L
P2 L
Wexact P u(0) p u(x) dx 3.0301 (E.28.b)
0
EA0
The plane stress condition is appropriate for relatively thin solids which are loaded in plane,
such that the out-of-plane direct and shear stresses are negligible. It is defined as:
u u(x, y), v v(x, y) (independent of z)
z xz yz 0 (2.1)
On the other hand, the plane strain condition is appropriate for solids that are loaded in plane
and restrained in the out-of-plane direction. Typically, this condition is applied to a slice of a
longitudinally uniform 3D body which is restrained at its two ends, for example a dam
structure. The plane strain condition is defined as:
u u(x, y), v v(x, y) (independent of z)
w 0 z xz yz 0
(2.2)
For both conditions, the displacement fields u(x, y) and v(x, y) represent the primary
unknowns of the exact mathematical model, while the planar strains (x , y , xy ) and
corresponding stresses (x , y , xy ) are secondary unknowns. Therefore, both conditions fall
1
Cn refers to continuity in the nth derivative.
4 elements
External nodes should not cause Internal nodes should not cause
displacement of opposite edges displacement of element edges
The triangular element is derived in a local reference system, with transformations applied to
establish the element response characteristics in the global system.
In the local system, the tr iangular element has 6 displacement parameters and corresponding
resistance forces:
The displacement fields within the element and the distributed applied forces are denoted by:
u(x, y) p(x, y)
{u} , {p} (2.6)
v(x, y) q(x, y)
In approximating u(x, y) and v(x, y) over the element domain in terms of the nodal
parameters, the following conditions must be satisfied:
u(0,0) u1 , u(x 2 ,0) u 2 , u(x3 , y3 ) u3 (2.7.a)
v(0,0) v1 , v(x 2 ,0) v2 , v(x 3 , y3 ) v3 (2.7.b)
Since there are three conditions on each of u(x, y) and v(x, y) , complete linear functions can
be used for their approximation: Complete
1 linear
u(x, y) a 0 a1x a 2 y (2.8.a)
x y
v(x, y) b0 b1x b2 y (2.8.b) x xy y2
2
These terms represent the first two rows of Pascal's polynomial x3 x2y xy2 y3
triangle.
Solving for (a 0 ,a1 ,a 2 ) in terms of (u1 , u 2 , u 3 ) , using (2.7.a) and (2.8.a), and for (b0 , b1 , b2 )
in terms of (v1 , v2 , v3 ) , using (2.7.b) and (2.8.b), leads to the approximation of u(x, y) and
v(x, y) in terms of the element nodal parameters:
u(x, y) 1 (x, y) u1 2 (x, y) u 2 3 (x, y) u 3 (2.9.a)
v(x, y) 1 (x, y) v1 2 (x, y) v2 3 (x, y) v3 (2.9.b)
or,
u1
v
1
u(x, y) 1 0 2 0 3 0 u 2
{u} [N]{d} (2.10)
v(x, y) 0 1 0 2 0 3 v 2
u3
v3
2.3.3 Strains
Note that [B] is independent of x and y. Therefore, for a specific displacement configuration
of the triangular element the strains are constant within the element, hence the name constant
strain triangle.
The local element stiffness and equivalent nodal forces can now be determined from the
principle of virtual work as:
{f} [k]{d} {f p } (2.14)
where t is the element thickness, and [D] is the constitutive matrix defined in (2.4), both of
which can vary over the element domain in terms of (x,y).
For plane strain problems, and for plane stress problems in which the thickness is constant
over the full system domain, the response of all elements can be determined and assembled
for a unit thickness, in which case thickness specification is not necessary.
When t and [D] are constant over the element domain, the integrand matrix in (2.15)
becomes constant since [B] is constant, and the stiffness matrix simply becomes:
x 2 y3
[k] [B]T [D][B]t A, A (2.17)
2
The equivalent nodal forces {f p } for uniform body and edge forces, assuming a constant
element thickness, are illustrated in the following table.
Actual load
Equivalent
nodal forces
The global element response can be obtained from transformation of the local response
considering the element orientation in the global system:
{d} [T]{U}, {R} [T]T {f} (2.18)
where for the triangular element:
c s 0 0 0 0
s c 0 0 0 0
0 0 c s 0 0
[T] , c cos(), s sin() (2.19)
0 0 s c 0 0
0 0 0 0 c s
0 0 0 0 s c
in which is the angle between local x-axis and global X-axis.
Considering (2.14) and (2.18), the global element response is obtained as:
{R} [K]{U} {Pp } (2.20)
where,
[K] [T]T [k][T], {Pp } [T]T {f p } (2.21)
The basic triangular element assumes constant strains within the element domain. Hence, it is
not very suitable for modelling plane stress and plane strain problems with high variations in
strain due to non-uniform loading or geometric irregularities. However, such problems can
still be modelled with the constant strain triangular element if a finer mesh is used in regions
of high strain variations. A good measure of analysis accuracy for problems in which the
strains are continuous over the system domain is the smoothness of the predicted strain
solution between adjacent elements.
For simplicity, the shape functions will be derived in a local system based on natural
coordinates () instead of (x,y). The origin is taken at the centre of the element, and the
natural coordinates are assumed to extend between 1 and +1.
Hence, the real coordinates of any material point (x,y) are related to its natural coordinates
() as follows:
x a , y b (2.22)
The 4-noded rectangular element employs 8 local degrees of freedom and corresponding
resistance forces:
u1 p1
v q
1 1
u 2 p2
v2 q
{d} , {f} 2 (2.23)
u3 p3
v3 q3
u 4 p4
v q
4 4
Since there are four conditions on u(x, y) and v(x, y) , bilinear functions can be used for
their approximation:
Curvilinear
These shape functions satisfy the C0
continuity requirements, since the
displacements of each edge are uniquely
defined by the nodal displacements of that
edge alone.
2.4.2 Strains
Since the shape functions are obtained in terms of the natural coordinates, the material strains
must be derived as a function of displacement derivatives with respect to ():
u 1
0
x a
x
v 1 u(, )
{} y 0 [L]{u} [L][N]{d} [B]{d} (2.28)
y b v(, )
xy
u v 1 1
y x b a
The same general expressions used for the triangular element, (2.14) to (2.16), are also
applicable to the rectangular. Given that the infinitesimal area can be expressed as:
dA dx dy a bd d (2.30)
the integration of the stiffness matrix and equivalent nodal forces can be performed using the
natural coordinates ():
1 1
[k] [B] [D][B](a b t) d d
T
(2.31)
1 1
1 1 1 1
{f p } [N] {p}(a b t) d d [B] [D]{o }(a b t) d d
T T
(2.32)
1 1 1 1
The use of one rectangular instead of two triangular elements for modelling a rectangular
sub-domain is particularly beneficial for representing bending modes, since two triangular
elements lead in such cases to discontinuous strain distributions.
1
x y
x xy y2
2
x3 x2y xy2 y3
x x y x2y2 xy3 y3
4 3
where the shape function associated with a node k located at (x n , ym ) is easily obtained as:
(x x i ) (y y j )
k (x, y) (3.1)
i 1,3: i n (x n x i ) j1,3: jm (y m y j )
1
x y
x xy y2
2
x3 x2y xy2 y3
The shape functions associated with the mid-side nodes are easily established as quadratic
along the corresponding side, and varying in the orthogonal direction linearly to zero at the
opposite side. For example, the shape functions associated with mid-side nodes 6 and 7 are
expressed in the natural coordinates system as:
1 1
6 (, ) ( )(1 )(1 ), 7 (, ) ( )(1 )(1 ) (3.3)
2 2
The shape functions associated with the corner nodes are obtained from those of the lower
order bilinear element, adjusting the mid-side values to zero through combination with the
mid-side shape functions. For example, the shape function associated with corner node 3 is
given by:
1 1 1
3 (, ) 3L (, ) 6 (, ) 7 (, ), 3L (, ) (1 )(1 )
2 2 4
1
3 (, ) (1 )(1 )( 1) (3.4)
4
The first (implicit) step involved in structural analysis is building a mathematical model of
the physical problem. Errors can be introduced at this stage if the assumptions of the
mathematical model do not reflect accurately the physical problem, such as the incorrect
choice of material properties, or the assumption of a plane strain model for a 3D problem
which is only approximately uniform in the longitudinal direction. These errors are termed
modelling errors.
Finite element analysis involves the discretisation of the mathematical model into a finite
number of degrees of freedom, and the subsequent numerical solution of the discrete system
of equilibrium equations. Round-off errors are generated due to the inability of computers to
store real numbers with an infinite degree of precision. Consequently, the addition of a very
small number to a very large number is often not performed and represented accurately by the
computer. Round-off errors can lead to considerable inaccuracies in the numerical solution of
the discrete system equations, particularly in the presence of an ill-conditioned overall
stiffness matrix for the finite element model. Discretisation errors reflect the inability of a
finite element model with a finite number of degrees of freedom to predict the exact solution
of the corresponding mathematical model, irrespective of the presence of round-off errors.
The finite element method is based on approximating the structural response in terms of a set
of discrete parameters through the use of shape functions. In linear analysis, the use of
conventional finite elements guarantees the following relationship between the discrete
system solution and the exact solution:
W FE
({P} {Pp })T {U } Wexact (3.5)
provided that (i) the geometric domain and material characteristics are represented accurately,
(ii) continuity requirements of the shape functions are satisfied, (iii) the integration of the
stiffness matrix and equivalent nodal forces is accurate, and (iv) all essential boundary
conditions are associated with zero values. The relationship in (3.5) expresses the stiffer-
response characteristic of finite element approximation. Since better accuracy can be
achieved with more elements, a finer mesh of finite elements is generally associated with a
more flexible response, provided the previous four conditions are satisfied.
It can be shown that the discretisation errors associated with a finite element mesh are of the
following orders:
Displacement error O(h p1 ), Stress/strain error O(h p1m ) (3.6)
where h is the characteristic element size, p is the order of complete polynomial used for the
displacement shape functions in terms of (x,y), and m is the order of differentiation relating
2
Note that mixing basic and higher order elements within the same mesh violates continuity requirements.
Linear Quadratic
Average value
Element values
3
ANSYS provides element and nodal (averaged) values for stresses and strains. The contour plots of element
stresses typically show discontinuity between elements when the solution is not accurate.
For example, for the constant strain triangular element with uniform thickness and properties:
[k]i, j [B]iT [D][B] j t A