Académique Documents
Professionnel Documents
Culture Documents
(
( = =
(
N
(Recall 1D truss element)
d d 1 1
d d
j
i
x x
x x
x x l l l l
(
(
= = =
(
(
N
B
Therefore,
( )
1
1 1
1 1
d
1 1 1
j
i
x
e
D
x
kA
l
D x
l l l
l
(
(
(
(
= =
(
(
(
(
(
}
k
(Recall stiffness
matrix of truss
element)
AE
l
for truss element
Finite Element Method by G. R. Liu and S. S. Quek
17
1D fin
( )
2 1
d
1 2 6
j
i
j
x
j e
i
g
x
i
x x
x x
x x hPl
l
g x
l l x x
l
(
(
( (
( = =
( (
(
(
}
k
(Recall mass
matrix of truss
element)
A l for truss element
( )
Heat supply
Heat convection
1 1
d ( )
1 1 2 2
j
i
j
x
e
Q f
x
i
x x
Ql l
l
Q x q hP
x x
l
|
(
(
( = = = +
` `
( ) )
(
}
f
Finite Element Method by G. R. Liu and S. S. Quek
18
1D fin
( ) ( )
( )
d
0
d
d
d
d d
d d
d
0
d
j
i
i
i
j
j
e e
L R
x
x x
e T
x x
x
x x
x x
kA
x
kA
x
D
kA
x
x kA
x
|
|
|
|
|
=
=
=
=
= = = +
` ` `
) )
)
b b
b N
( ) ( ) ( ) e e e
L R
= + b b b
or
(Left end) (Right end)
i
1
(n)
i i+1
(n
1)
i
1
i (n
1)
d
d
i
x x
D
x
|
=
1
d
d
i
x x
D
x
|
=
i
i+1 (n)
1
d
d
i
x x
D
x
|
+
=
d
d
i
x x
D
x
|
=
0
At the internal nodes of the fin, b
L
(e)
and b
L
(e)
vanish upon assembly.
At boundaries, where temperature is
prescribed, no need to calculate b
L
(e)
or b
L
(e)
first.
Finite Element Method by G. R. Liu and S. S. Quek
19
1D fin
When there is heat convection at
boundary,
( )
f b
hA
dx
d
kA | |
|
=
( )
( )
0
0 0
e
R
j f
b f
hA hA
hA
| |
| |
= =
` ` `
) )
)
b
E.g.
Since |
b
is the temperature of the fin at the boundary point,
|
b
= |
j
Therefore,
( )
( )
( )
0
0 0
0
e
e
M
s
i
e
R
j f
hA
hA
|
| |
(
=
` `
(
) )
k
f
b
Finite Element Method by G. R. Liu and S. S. Quek
20
1D fin
( ) ( ) ( ) ( ) e e e e
R M s
= b k f
where
( )
0 0
0
e
M
hA
(
=
(
k ,
( )
0
e
s
f
hA|
=
`
)
f
For convection on left side,
( ) ( ) ( ) ( ) e e e e
L M s
= b k f
where
( )
0
0 0
e
M
hA
(
=
(
k ,
( )
0
f e
s
hA|
=
`
)
f
Finite Element Method by G. R. Liu and S. S. Quek
21
1D fin
Therefore,
( ) ( )
{ }
( )
( )
( ) ( ) ( ) ( ) ( )
[ ]
e
e
e e
e e e e e
D g M Q S
= + + +
k
f
R k k k f f
( ) ( ) ( ) ( )
e e
e e
= R k f
Residuals are assembled for all elements
and enforced to zero: KD = F
Same form for static mechanics problem
Finite Element Method by G. R. Liu and S. S. Quek
22
1D fin
Direct assembly procedure
( ) ( ) ( ) ( )
e e
e e
= R k f
or
1 11 12 1 1
2 21 22 2 2
( ) ( ) ( ) ( ) ( )
( ) ( ) ( ) ( ) ( )
e e e e e
e e e e e
R k k f
R k k f
|
|
(
=
( ` ` `
(
) ) )
(1) (2)
1
2
3
|
1
|
2
|
3
Element 1:
1 11 1 12 1
(1) (1) (1) (1)
2
R k k f | | = +
2 21 1 22 2
(1) (1) (1) (1)
2
R k k f | | = +
Finite Element Method by G. R. Liu and S. S. Quek
23
1D fin
Direct assembly procedure (Contd)
Element 2:
1 11 12 1
(2) (2) (2) (2)
2 3
R k k f | | = +
2 21 22 2
(2) (2) (2) (2)
2 3
R k k f | | = +
1 11 1 12 1
(1) (1) (1) (1)
2
0: 0 R k k f | | = + =
Considering all contributions to a node, and enforcing to zero
(Node 1)
2 21 1 22 11 12 2 1
(1) (1) (1) (1) (2) (2) (1) (2)
1 2 3
0: ( ) ( ) 0 R R k k k k f f | | | + = + + + + =
(Node 2)
2 21 2 22
(2) (2) (2) (2)
3 2
0: 0 R k k f | | = + = (Node 3)
Finite Element Method by G. R. Liu and S. S. Quek
24
1D fin
Direct assembly procedure (Contd)
In matrix form:
11 12 1 1
21 22 11 12 2 1
21 22 2
(1) (1) (1)
(1) (1) (2) (2) (1) (2)
2
(2) (2) (2)
3
0
0
k k f
k k k k f f
k k f
|
|
|
(
(
+ = +
` `
(
(
) )
(Note: same as assembly
introduced before)
Finite Element Method by G. R. Liu and S. S. Quek
25
1D fin
Worked example: Heat transfer in 1D fin
1 2 3 4 5
8 cm
(1) (2) (3) (4)
0.4 cm
1 cm
C cm
W
k
0
3
=
C cm
W
h
0 2
1 . 0
= C
f
0
20 = |
80 C
Calculate temperature
distribution using FEM.
4 linear elements, 5 nodes
Finite Element Method by G. R. Liu and S. S. Quek
26
1D fin
1 2 3 4 5
8 cm
(1) (2) (3) (4)
0.4 cm
1 cm
C cm
W
k
0
3
=
C cm
W
h
0 2
1 . 0
= C
f
0
20 = |
80 C
Element 1, 2, 3:
( ) e
M
k
,
( ) e
S
f not required
Element 4:
( ) e
M
k
,
( ) e
S
f
required
( )
0
3 0.4
0.6
2
kA W
l C
= =
( )
0
0.1 2.8 2
0.093
6 6
hPl W
C
= =
( )
0
0.1 0.4 0.04
W
hA
C
= =
( )( )( )
0.1 2.8 20 2
5.6
2 2
f
hPl
W
|
= =
( )( )
0.1 0.4 20 0.8
f
hA W | = =
Finite Element Method by G. R. Liu and S. S. Quek
27
1D fin
For element 1, 2, 3
( )
1 1 2 1
1 1 1 2 6
e
kA hPl
l
( (
= +
( (
k
( )
1
1 2
e f
hPL|
=
`
)
f
( ) 1,2,3
0.786 0.507
0.507 0.786
(
=
(
k
( ) 1,2,3
5.6
5.6
=
`
)
f
For element 4
( )
1 1 2 1 0 0
1 1 1 2 0 6
e
kA hPL
hA L
( ( (
= + +
( ( (
k
( )
0
1
1 2
e f
f
hPL
hA
|
|
= +
` `
)
)
f
( ) 4
0.786 0.507
0.507 0.826
(
=
(
k
( ) 4
5.6
6.4
=
`
)
f
( ) ( ) ( )
e
e e
D g
= + k k k
( ) ( ) ( ) ( )
e
e e e
D g M
= + + k k k k
( ) ( )
e
e
Q
= f f
,
,
( ) ( ) ( )
e
e e
Q S
= + f f f
Finite Element Method by G. R. Liu and S. S. Quek
28
1D fin
*
1
2
3
4
5
0.786 0.507 0 0 0 5.6
0.507 1.572 0.507 0 0 11.2
0
0 0.507 1.572 0.507 0 11.2 0
0 0 0.507 1.572 0.507 11.2 0
0 0 0 0.507 0.826 6.4
0
Q
|
|
|
|
|
(
(
(
( = +
` ` `
(
(
(
) ) )
Heat source
(Still
unknown)
*
1
2
3
4
5
80 0.786 0.507 0 0 0 5.6
0.507 1.572 0.507 0 0 11.2 80 0.507
0 0.507 1.572 0.507 0 11.2
0 0 0.507 1.572 0.507 11.2
0 0 0 0.507 0.826 6.4
Q
|
|
|
|
|
= + (
(
+
(
( =
` `
(
(
(
) )
|
1
= 80, four unknowns eliminate Q
*
Solving:
{80.0 42.0 28.2 23.3 22.1}
T
=
Finite Element Method by G. R. Liu and S. S. Quek
29
Composite wall
(1) (2) (3)
x
y
2
2
Heat supply
Heat conduction
0
d
kA q
dx
|
+ =
( )
f b
hA
dx
d
kA | |
|
=
( )
f b
hA
dx
d
kA | |
|
=
Convective boundary:
at x = 0
at x = H
All equations for 1D fin still
applies except
( ) e
G
k
and
( ) e
Q
f
Therefore,
( ) ( )
1 1
1 1
e e
M
kA
l
(
= +
(
k k
,
( ) ( ) e e
S
= f f
vanish.
Recall: Only for heat
convection
Finite Element Method by G. R. Liu and S. S. Quek
30
Composite wall
Worked example: Heat transfer through composite
wall
5 cm 2
C
f
0
5 = |
C cm
W
k
0
06 . 0
=
C
0
20 = |
C cm
W
k
0
2 . 0
=
C cm
W
h
0 2
1 . 0
=
(1) (2)
1
2 3
Calculate the temperature
distribution across the
wall using the FEM.
2 linear elements, 3 nodes
Finite Element Method by G. R. Liu and S. S. Quek
31
Composite wall
5 cm 2
C
f
0
5 = |
C cm
W
k
0
06 . 0
=
C
0
20 = |
C cm
W
k
0
2 . 0
=
C cm
W
h
0 2
1 . 0
=
(1) (2)
1
2 3
For element 1,
( )
C
W
L
kA
0
1 . 0
2
1 2 . 0
= =
( )
C
W
hA
0
1 . 0 1 1 . 0 = =
( )( ) W hA
f
5 . 0 5 1 1 . 0 = = |
( ) 1
0.2 0.1
0.1 0.1
(
=
(
k
( ) 1
0.5
0
S
=
`
)
f
( )
1 1 0 0
1 1 0
e
kA
hA L
( (
= +
( (
k
( ) ( )
0
f e e
s
hA|
= =
`
)
f f
Finite Element Method by G. R. Liu and S. S. Quek
32
Composite wall
5 cm 2
C
f
0
5 = |
C cm
W
k
0
06 . 0
=
C
0
20 = |
C cm
W
k
0
2 . 0
=
C cm
W
h
0 2
1 . 0
=
(1) (2)
1
2 3
For element 2,
( )
0
0.06 1
0.012
5
kA W
L C
= =
( )
1 1
1 1
e
kA
L
(
=
(
k
( ) 2
0.012 0.012
0.012 0.012
(
=
(
k
Upon assembly,
1
2
3
0.20 0.10 0 0.5 0
0.10 0.112 0.012 0 0
0 0.012 0.012 ( 20) 0 Q
|
|
|
-
(
(
= +
` ` `
(
( =
) ) )
(Unknown but
required to balance
equations)
Finite Element Method by G. R. Liu and S. S. Quek
33
Composite wall
1
2
0.20 0.10 0.5
0.10 0.112 0.24( 20 0.012)
|
|
(
=
` `
(
=
) )
Solving:
{ }
2.5806 0.1613 20
T
=
Finite Element Method by G. R. Liu and S. S. Quek
34
Composite wall
Worked example: Heat transfer through thin film
layers
Raw material
0.2 mm
h =0.01 W/cm
2
/
C |
f
= 150
C
0.2mm
Heater
k =0.1 W/cm/
C 2mm Glass
Iron
Platinum
k =0.5 W/cm/
C
k =0.4 W/cm/
C
Substrate
Plasma
-
-
-
-
1
2
3
4
(1)
(2)
(3)
300C
Finite Element Method by G. R. Liu and S. S. Quek
35
Composite wall
-
-
-
-
1
2
3
4
(1)
(2)
(3)
For element 1,
( )( )
0
0.1 1
0.5
0.2
kA W
L C
= =
( ) 1
0.5 0.5
0.5 0.5
(
=
(
k
( )
1 1
1 1
e
kA
L
(
=
(
k
For element 2,
( )( )
0
0.5 1
25
0.02
kA W
L C
= =
( )
1 1
1 1
e
kA
L
(
=
(
k
( ) 2
25 25
25 25
(
=
(
k
Finite Element Method by G. R. Liu and S. S. Quek
36
Composite wall
For element 3,
( )
0
0.4 1
20
0.02
kA W
L C
= =
( )
0
0.01 1 0.01
W
hA
C
= =
( )( )
0.01 1 150 1.5
f
hA W | = =
( ) 3
20 20
20 20.01
(
=
(
k
( ) 3
0
1.5
S
=
`
)
f
( )
1 1 0 0
1 1 0
e
kA
hA L
( (
= +
( (
k
( ) ( )
0
e e
s
f
hA|
= =
`
)
f f
Finite Element Method by G. R. Liu and S. S. Quek
37
Composite wall
*
1
2
3
4
0.5 0.5 0 0
0.5 25.5 25 0
0
0 25 45 20
0
0 0 20 20.01
1.5
Q
|
|
|
|
(
(
(
=
` `
(
(
) )
2
3
4
25.5 25 0 150
25 45 20 0
0 20 20.01 1.5
T
T
T
(
(
=
` `
(
(
) )
Since, |
1
= 300C,
Solving:
| |
300.0 297.1 297.0 296.9
T
=
* 2
0.5 300 0.5 297.1 1.45 W/cm Q = =
Finite Element Method by G. R. Liu and S. S. Quek
38
2D HEAT TRANSFER
PROBLEM
Element equations
2 2
2 2
0
x y
D D g Q
x y
| |
|
c c
+ + =
c c
I
O
1
2
3
For one element,
2 2
( )
2 2
( )d
e
h h
e T h
x y
A
D D g Q A
x y
| |
|
c c
= + +
c c
}
R N
Note: W = N : Galerkin approach
Finite Element Method by G. R. Liu and S. S. Quek
39
Element equations
(Need to use Gausss
divergence theorem to
evaluate integral in residual.)
2 2
( )
2 2
( )d
e
h h
e T h
x y
A
D D g Q A
x y
| |
|
c c
= + +
c c
}
R N
2
2
T
T T
x x x x x
| | | c c c c c
| |
= +
|
c c c c c
\ .
N
N N
2
2 2
d ( )d d
e e e
T
T T
x x x
A A A
D A D A D A
x x x x x
| | | c c c c c
= +
c c c c c
} } }
N
N N
Therefore,
( )d cos d
e e
T T
A
A
x x x
| |
u
I
c c c
= I
c c c
} }
N N
Gausss divergence
theorem:
2
2
d cos d d
e
T
T T
x x x
A A
D A D D A
x x x x
| | |
u
I
c c c c
= I +
c c c c
} } }
N
N N
(Product rule of differentiation)
Finite Element Method by G. R. Liu and S. S. Quek
40
Element equations
2
nd
integral:
2
2
d sin d d
e
T
T T
y y y
A A
D A D D A
y y y y
| | |
u
I
c c c c
= I+
c c c c
} } }
N
N N
( )
cos sin d
e
h h
e T
x y
D D
x y
| |
u u
I
| | c c
= + I
|
c c
\ .
}
R N
d
e
T h T h
x y
A
D D A
x x y y
| | | | c c c c
+ +
|
c c c c
\ .
}
N N
d d
e e
T h T
A A
g A Q A | +
} }
N N
Therefore,
Finite Element Method by G. R. Liu and S. S. Quek
41
Element equations
( )
( ) ( )
h e
x x | = N
( )
( )
cos sin d
e
e
h h
e T
x y
D D
x y
| |
u u
I
| | c c
= + I
|
c c
\ .
}
b
R N
( )
( )
d
e
e
D
T T
e
x y
A
D D A
x x y y
| |
| | c c c c
+ +
|
|
c c c c
\ .
\ .
}
k
N N N N
( ) ( )
( )
( d ) d
e e
e e
g Q
T e T
A A
g A Q A +
} }
k f
N N N
Finite Element Method by G. R. Liu and S. S. Quek
42
Element equations
( ) ( ) ( ) ( ) ( ) ( )
[ ]
e e e e e e
D g Q
= + + R b k k f
where
( )
cos sin d
e
h h
e T
x y
D D
x y
| |
u u
I
| | c c
= + I
|
c c
\ .
}
b N
( )
d
e
T T
e
D x y
A
D D A
x x y y
| | c c c c
= +
|
c c c c
\ .
}
N N N N
k
( )
d
e
e T
g
A
g A =
}
k N N
( )
d
e
e T
Q
A
Q A =
}
f N
Finite Element Method by G. R. Liu and S. S. Quek
43
Element equations
( )
d
e
T T
e
D x y
A
D D A
x x y y
| | c c c c
= +
|
c c c c
\ .
}
N N N N
k
0
0
x
y
D
D
(
=
(
D Define
( ) ( ) e e
x x
y y
|
|
|
c c
(
(
c c
( V = = =
`
c c
(
(
c c
)
N
B
N
,
1 2
1 2
d
d
n
n
N
N N
x x x x
N
N N
y
y y y
c
(
c c c
(
(
(
c c c c
(
( = =
c c
( c c
(
(
(
c
c c c
N
B
N
(Strain matrix)
T T
T
x y
D D
x x y y
c c c c
= +
c c c c
N N N N
B DB
( )
d
e
e T
D
A
A =
}
k B DB
Finite Element Method by G. R. Liu and S. S. Quek
44
Triangular elements
1
( ) ( )
1 2 3 2
3
[ ]
e e
N N N
|
| |
|
= =
`
)
N
x, |
y, |
1 (x
1
, y
1
)
|
1
2 (x
2
, y
2
)
|
2
3 (x
3
, y
3
)
|
3
A
e
i i i i
N a b x c y = + +
1
( )
2
1
( )
2
1
( )
2
i j k k j
e
i j k
e
i k j
e
a x y x y
A
b y y
A
c x x
A
=
=
=
( )
d d
e e
e T T T
D e
A A
A A A = = =
} }
k B DB B DB B DB
2 2
( ) 2 2
2 2
4 4
i i j i k i i j i k
y e
x
D i j j j k i j j j k
i k j k k i k j k k
b bb bb c c c c c
D
D
bb b b b c c c c c
A A
bb b b b c c c c c
( (
( (
= +
( (
( (
k
Note: constant strain matrix
(Or N
i
= L
i
)
Finite Element Method by G. R. Liu and S. S. Quek
45
Triangular elements
1
( )
2 1 2 3
3
2
1 1 2 1 3
2
1 2 2 2 3
2
1 3 2 3 3
d [ ]d
d
e e
e
e T
g
A A
A
N
g A g N N N N A
N
N N N N N
g N N N N N A
N N N N N
= =
`
)
(
(
=
(
(
} }
}
k N N
A
p n m
p n m
A L L L
p n
A
m
2
)! 2 (
! ! !
d
3 2 1
+ + +
=
}
Note:
(Area coordinates)
E.g.
1 1 0
1 2 1 2 3
1!1!0! 1
d d 2 2
(1 1 0 2)! 4 3 2 1 12
e e
A A
A
N N A L L L A A A = = = =
+ + +
} }
( )
2 1 1
1 2 1
12
1 1 2
e
g
gA
(
(
=
(
(
k
Therefore,
Finite Element Method by G. R. Liu and S. S. Quek
46
Triangular elements
1
( )
2
3
1
d 1
3
1
e e e
i
e T
Q j
A A A
k
N L
QA
Q A Q N A Q L A
N L
= = = =
` ` `
) ) )
} } }
f N d d
Similarly,
Note: b
(e)
will be discussed later
Finite Element Method by G. R. Liu and S. S. Quek
47
Rectangular elements
1
2 ( ) ( )
1 2 3 4
3
4
[ ]
e e
N N N N
|
|
|
|
|
= =
`
)
N
x
y
1 (x
1
, y
1
)
2 (x
2
, y
2
)
3 (x
3
, y
3
)
2a
4 (x
4
, y
4
)
2b
q
1 (1, 1)
2 (1, 1)
3 (1, +1)
2a
4 (1, +1)
2b
q
) 1 )( 1 (
) 1 )( 1 (
) 1 )( 1 (
) 1 )( 1 (
4
1
4
4
1
3
4
1
2
4
1
1
q
q
q
q
+ =
+ + =
+ =
=
N
N
N
N
, b y a x = = q
1 1 1 1
1 1 1 1
1 1 1 1 1 1 1 1
0 0 0 0
0 0 0 0
a a a a
b b b b
a a a a b b b b
q q q q
q q q q
+ +
+ +
+ + + +
(
(
=
(
(
B
Finite Element Method by G. R. Liu and S. S. Quek
48
Rectangular elements
1 1
( )
1 1
d d d
2 2 1 1 2 1 1 2
2 2 1 1 1 2 2 1
1 1 2 2 1 2 2 1 6 6
1 1 2 2 1 1 1 2
e
e T T
D
A
y
x
A ab
D a
D b
a b
q
+ +
= =
( (
( (
( (
= +
( (
( (
} } }
k B DB B DB
1 1
( )
1 1
2
1 1 2 1 3 1 4
2
1 2 2 2 3 2 3
2
1 3 2 3 3 3 4
2
1 4 2 4 3 4 4
d d d
d d
e
e
e T T
g
A
A
g A abg
N N N N N N N
N N N N N N N
abg
N N N N N N N
N N N N N N N
q
q
+ +
= =
(
(
(
=
(
(
(
} } }
}
k N N N N
( )
4 2 1 2
2 4 2 1
1 2 4 2 36
2 1 2 4
e
g
gA
(
(
(
=
(
(
k
Finite Element Method by G. R. Liu and S. S. Quek
49
Rectangular elements
1
2 ( )
3
4
1
1
d
1 4
1
e e
e T
Q
A A
N
N
QA
Q A Q A
N
N
= = =
` `
) )
} }
f N d
Note: In practice, the integrals are
usually evaluated using the Gauss
integration scheme
Finite Element Method by G. R. Liu and S. S. Quek
50
Boundary conditions and vector b
(e)
( ) ( ) ( ) e e e
I B
= + b b b
Internal Boundary
i
j
k
p
m
1
2
3
n
q
r
(2)
I
b
(2)
I
b
(3)
B
b
(3)
I
b
Vanishing of b
I
(e)
b
B
(e)
needs to be
evaluated at boundary
Finite Element Method by G. R. Liu and S. S. Quek
51
Boundary conditions and vector b
(e)
I
1
I
2
Essential boundary
| is known
Natural boundary:
the derivatives of | is known
u
n
x
u
n
x
Need not
evaluate
( ) e
B
b
Need to be
concern with
b
B
(e)
Finite Element Method by G. R. Liu and S. S. Quek
52
Boundary conditions and vector b
(e)
( )
cos sin d
e
h h
e T
x y
D D
x y
| |
u u
I
| | c c
= + I
|
c c
\ .
}
b N
cos sin
h h
x y b
D D M S
x y
| |
u u |
c c
+ = +
c c
on natural
boundary I
2
cos sin
h h h
x y b
D D k M S
x y n
| | |
u u |
c c c
+ = = +
c c c
Heat flux across boundary
I
1
I
2
Essential boundary
| is known
Natural boundary:
the derivatives of | is known
u
n
x
u
n
x
Finite Element Method by G. R. Liu and S. S. Quek
53
Boundary conditions and vector b
(e)
Insulated boundary:
M = S = 0
( )
0
e
B
= b
Convective boundary condition:
q
c
n c
c|
n
( )
k
h b f
q k
n
q h
|
| |
c
=
c
`
=
)
f b
h h
n
k | |
|
+ =
c
c
|
M
|
S
k
q k
n
| c
=
c
( )
h b f
q h | | =
b f
M
S
k h h
n
|
| |
c
= +
c
,
f
M h S h| = =
Finite Element Method by G. R. Liu and S. S. Quek
54
Boundary conditions and vector b
(e)
Specified heat flux on boundary:
n c
c|
n
k
s
q k
n
q
| c
=
c
`
)
s
k q
n
| c
=
c
q
k
q
s
M=0
S=q
s
0
b s
M
S
k q
n
|
|
c
=
c
0,
s
M S q = =
Positive if heat flows into the boundary
Negative if heat flows out off the boundary
0 insulated
S
I
= I =
`
)
} }
f N
( )
( )
( )
1
1
1 1
1 1
d
0 2 0
0 0
e
S
Sa
Sa
+
= =
` `
) )
}
f
(Equal sharing between nodes 1
and 2)
Finite Element Method by G. R. Liu and S. S. Quek
57
Boundary conditions and vector b
(e)
Equal sharing valid for all elements with
linear shape functions
( )
,2 3
0
1
1
0
e
S
Sb
=
`
)
f
( )
,3 4
0
0
1
1
e
S
Sa
=
`
)
f
( )
,1 4
1
0
0
1
e
S
Sb
=
`
)
f
x, |
y, |
1 (x
1
, y
1
)
|
1
2 (x
2
, y
2
)
|
2
3 (x
3
, y
3
)
|
3
A
e
Applies to triangular
elements too
( )
12
,1 2
1
1
2
0
e
S
SL
=
`
)
f
( )
23
,2 3
0
1
2
1
e
S
SL
=
`
)
f
( )
13
,1 3
1
0
2
1
e
S
SL
=
`
)
f
Finite Element Method by G. R. Liu and S. S. Quek
58
Boundary conditions and vector b
(e)
( ) e
M
k
for rectangular element
2
2
1 1 2 1 3 1 4
2
( ) 1 2 2 2 3 2 4
2
1 3 2 3 3 3 4
2
1 4 2 4 3 4 4
d
e
M
N N N N N N N
N N N N N N N
M
N N N N N N N
N N N N N N N
I
(
(
(
= I
(
(
(
}
k
2
1 1 2
2
1
( ) 2 1 2
,1 2
1
0 0
0 0
d
0 0 0 0
0 0 0 0
e
M
N N N
N N N
aM
(
(
(
=
(
(
(
}
k
Finite Element Method by G. R. Liu and S. S. Quek
59
Boundary conditions and vector b
(e)
( )
2
1 1
2
1
1 1
1
2
d d
4 3
N
= =
} }
( )( )
1 1
1 2
1 1
1 1
2
d d
4 6
N N
+
= =
} }
( )
2
1 1
2
2
1 1
1
2
d d
4 3
N
+
= =
} }
( )
,1 2
2 1
6 6
1 2
6 6
2 1 0 0
1 2 0 0
2
0 0 0 0 6
0 0 0 0
0 0
0 0
(2 )
0 0 0 0
0 0 0 0
e
M
aM
aM
(
(
(
=
(
(
(
(
(
=
(
(
(
k
Shared in ratio 2/6, 1/6, 1/6, 2/6
( )
,2 3
0 0 0 0
0 2 1 0
2
0 1 2 0 6
0 0 0 0
e
M
M b
(
(
(
=
(
(
k
( )
,3 4
0 0 0 0
0 0 0 0
2
0 0 2 1 6
0 0 1 2
e
M
M a
(
(
(
=
(
(
k
( )
,1 4
2 0 0 1
0 0 0 0
2
0 0 0 0 6
1 0 0 2
e
M
M b
(
(
(
=
(
(
k
Finite Element Method by G. R. Liu and S. S. Quek
60
Boundary conditions and vector b
(e)
Similar for triangular elements
( )
,
2 1 0
1 2 0
6
0 0 0
ij e
M i j
ML
(
(
=
(
(
k
( )
,
0 0 0
0 2 1
6
0 1 2
jk e
M j k
ML
(
(
=
(
(
k
( )
,
2 0 1
0 0 0
6
1 0 2
e
ik
M i k
ML
(
(
=
(
(
k
Finite Element Method by G. R. Liu and S. S. Quek
61
Point heat source or sink
Preferably place node at
source or sink
Q
*
i
j
k
{ }
1
2
*
F
f
f
j Q
+
`
)
Finite Element Method by G. R. Liu and S. S. Quek
62
Point heat source or sink within the element
( )
d
e
e T
Q
A
Q A =
}
f N
(X
0
, Y
0
)
Q
*
i
j
k
x
y
( ) ( )
0 0
Y y X x Q Q =
-
o o
(Delta function)
( ) ( )
( )
0 0
d d
e
i
e
Q j
A
k
N
Q N x X y Y x y
N
o o
-
=
`
)
}
f
Point source/sink
( )
( )
( )
( )
0 0
0 0
0 0
,
,
,
i
e
Q j
k
N X Y
Q N X Y
N X Y
-
=
`
)
f
Finite Element Method by G. R. Liu and S. S. Quek
63
SUMMARY
2 2
2 2
2 2
0
f x
y
h h k t
k
y
t
x
D D g Q
x y
|
| |
|
c c
+ + =
c c
0
2
2
2
2
= +
c
c
+
c
c
Q G
y
D
x
D
y x
|
| |
*
( )
( )
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
[ ] ( )
e
e
e e e e e e e e e
D g M Q S
Q
= + + + + +
k
f
R b k k k f f f
( )
cos sin d
h
f
h
b
M S
e T
x y
D D
x y
|
|
| |
u u
+
I
| | c c
= + I
|
c c
\ .
}
b N
y
u
n
x
Source
and sink
Only for elements on the
derivative boundary
Finite Element Method by G. R. Liu and S. S. Quek
64
CASE STUDY
6 cm
2 cm
4 cm
Heating cables
Representative section
to be analyzed
Insulation
|
f
=6
0
C
Road surface heated by heating cables under road surface
Finite Element Method by G. R. Liu and S. S. Quek
65
CASE STUDY
Heat convection
M=h=0.0034
S=|
f
h=-0.017
Repetitive
boundary no
heat flow across
M=0, S=0
Repetitive
boundary no
heat flow across
M=0, S=0
Insulated
M=0, S=0
f
Q*
Finite Element Method by G. R. Liu and S. S. Quek
66
CASE STUDY
Node
Temperature
(C)
1
5.861
2
5.832
3
5.764
4
5.697
5
5.669
Surface temperatures: