Professional Documents
Culture Documents
T ( x ) q ( x ) d e e T ( x ) k ( x ) T de + e T ( x ) G ( x ) de = 0 .
The next step in developing a finite element formulation for this problem is to
approximate the solution and the weight function using shape or interpolation functions
as
n
T ( x ) = N i ( x ) Ti e
i=1
Te
1
Nn ( x )
Te
n
= N1 ( x )
= N ( x ) {T e }
Similarly,
T ( x ) = N ( x ) { T e } .
{ }
In the above expressions, T e and T e are the values of the temperature field and
test function at the nodes of the element. The gradients of the temperature and test
function are computed as
N1,x N n,x
T ( x ) = N1,y N n,y
N1,z N n,z
= [ B ]{T e }
T e
1
e
Tn
and
T ( x ) = [ B ]{ T e } ,
respectively.
Substituting the above approximations into the weak form, we get
{ T }
e T
T
T
T
T
N ( x ) q ( x ) d e e T e [ B ] k ( x )[ B ] de T e + e T e N ( x ) G ( x ) de = 0
T
T
T
T e e N ( x ) q ( x ) d e e [ B ] k ( x )[ B ] de T e + e N ( x ) G ( x ) de = 0
{ }
{ }
{ }
{ }
{ }
T
N ( x ) q ( x ) d e e [ B ] k ( x )[ B ] de T e + e N ( x ) G ( x ) de = 0 .
{ }
e {T e } = {q e } + {G e } ,
where the thermal conductivity matrix is
T
e = e [ B ] k ( x )[ B ] de ,
T
N ( x ) q ( x ) d e ,
N ( x ) G ( x ) de .
{q } =
e
{G } =
e
{ } { } { }
g Tg = qg + Gg .
Where
g =
qg =
elements
e ,
{q } ,
e
elements
and
{G } = {G }
e
elements
are the global conductivity matrix, global external heat flux vector, and global heat
source vector, respectively.
1.2
Solid Mechanics
Let {d ( x )} = u ( x ) v ( x ) w ( x )
{x
y z
} . u ( x ) v ( x ) , and w ( x )
T
are the components of the displacement vector in the directions x , y , and z , respectively.
We will choose interpolation functions of the following form,
n
u ( x ) = N i ( x ) uie
i=1
v ( x ) = N i ( x ) vie
i=1
w ( x ) = N i ( x ) wie
i=1
where uie ,vie , and wie are the element nodal displacements and N i ( x ) are the element
shape functions.
In matrix form, we have
u ( x ) = N1 ( x ) N 2 ( x )
Nn ( x )
u1e
u2e
une
The same form is also used for v ( x ) and w ( x ) . The displacement vector can be
represented now in matrix form as
u ( x )
v(x)
w ( x )
N ( x )
0
0
Nn ( x )
0
1
N1 ( x )
0
0
Nn ( x )
= 0
0
N1 ( x )
0
0
0
0
Nn ( x )
u1
v1
w1
un
vn
wn
{ }
The strain-displacement relationships can be now written using the above expressions.
For instance,
xx =
u
x
= N1,x
N 2,x N n,x
In 3D we have,
xx N1,x
yy 0
zz 0
=
xy N1,y
xz N1,z
yz 0
N n,x
N1,y
N1,z
0
N1,x
0
N1,z
N n,y
N n,z
N n,x
N n,x
N n,z
N n,y
N n,y
N1,x N n,z
N1,y
u1
u2
un
u1
v1
w1
un
vn
wn
{ ( x )} = B ( x ) {d } .
e
Where, [B( x)] is the matrix above containing the derivatives of the shape functions.
Using the above expressions, the stresses can be calculated as
{ ( x )} = [ D ]{ ( x )}
= [ D ][ B ]{d e }
{ d} {b} d + { d} { } d = { } { } d
T
Now we will substitute the expressions derived for the displacements, strains, and
stresses using shape functions. Recall that,
{ d} = [ N ]{ d e }
Then, these approximations are substituted into weak form to get the element equations.
For clarity, lets proceed with the calculations term by term. The body force vector is
computed as
([ N ]{ d }) {b} d = { d } [ N ] {b} d
e
e T
([ N ]{ d }) { } d = { d } [ N ] { } d
e
e T
while the term containing stresses and derivative of the test functions is given as
([ B ]{ d }) [ D ][ B ]{d } d = { d } [ B ] [ D ][ B ]{d } d .
e
e T
T
T
T
T
d e [ N ] {b} de + [ N ] { } d e e [ B ] [ D ][ B ] d e de = 0
e
Since the above equation is true for arbitrary values of the test (functions) nodal
displacements, the expression in parentheses is equal to zero. Then,
{ }
{ }
[ N ] {b} d + [ N ] { } d = [ B ] [ D ][ B ]{d } d
T
Now let,
K e = e [ B ] [ D ][ B ] de
{b } = [ N ] {b} d
{ f } = [ N ] { } d
K e {d e } = { f e } + {b e } .
a. Assembly of elements
The element equations are assembled using interelement continuity and compatibility.
Notice that inside the domain the tractions in connecting elements cancel out and nodal
displacements coincide with global displacements. As in the 1D case, these conditions are
used to form a global system of equations from individual element contributions.
Defining
K g =
elements
K e
{P } = ({b } + { f }) + {F} ,
{d } = Global displacement vector
e
elements
{ } { }
Notice that point loads can be applied at the nodes of the finite element mesh. These
nodal loads contained in a vector {F} are added directly to the global load vector as
shown above.
It is important to realize that in order to obtain a unique solution for the system of
equations shown above, appropriate boundary conditions must be applied. Otherwise, the
global stiffness matrix is singular and the system of equations has infinite many solutions.
We will show the treatment of essential boundary conditions later on.