Professional Documents
Culture Documents
Chapter 1. 1D Heat Equation
Chapter 1. 1D Heat Equation
Chapter 1. 1D Heat Equation
1D Heat Equation
1. Problem definition
The bar is thermally insulated along its lateral sides so that heat
can only flow in the longitudinal direction.
Material properties
The heat flux q is the amount of heat that passes through the
cross-section A per unit of area and unit of time.
It has the unit: [J/(m2.s) = W/m2].
Heat flows from hot to cold points. Hence, in the 1D bar, heat
flows in the direction opposite to the temperature gradient.
According to Fourier’s law of heat conduction, the heat flux
between two close points in the bar is proportional to the
temperature gradient between these two points.
uB u A
q K (3)
x
When x dx (infinitely small element), the heat flux at a point in
the bar is given by
u
q K (4)
x
Equation (4) is an expression of Fourier’s law of heat conduction.
The minus sign ensures that heat flux has a direction opposite to
the temperature gradient as stated before.
u
q K
x
W K W
U K U K
m2 m m.K
2. The heat equation
Heat is provided to the bar in such a way that a heat flux q1
enters the bar at the cross-section 1 and a heat flux q2 leaves the
bar at the cross-section 2.
L u L 2u
(6) 0 cA t dx 0 KA x 2 dx
u 2u
cA KA 2
t x
u 2u
c K 2
t x
And after dividing by c
u 2 u
2
K
(7) where
2
(8)
t x 2 c
u 2
u
2
(1)
t x 2
u( 0 ,t ) 0
(2) Boundary conditions (BCs)
u( L,t ) 0
u( x,t ) F( x )G( t )
u 2 u
2
FG 2 "
FG
t x 2
2
dG d F
Where G
and F 2
"
dt dx
Dividing by 2
FG
G F"
FG 2 F " G (4)
G F
2
The left side of (4) depends only of t and the right side depends
only of x.
Both sides must be equal to a constant k.
F( x ) Acos( px ) B sin( px )
u( 0 ,t ) F( 0 )G( t ) 0
(2)
u( L,t ) F( L )G( t ) 0
sin( pL ) 0 pL n ; n 1, 2 ,...
n
p L
As B is arbitrary, we set B = 1
n x
Solutions of (5) are Fn ( x ) sin , n 1, 2 ,...
L
n
Now we solve (6) for p L
2
2 n
G G 0
L
n
Let n G n 2G 0
L
n x n2t (7)
Hence un ( x,t ) Fn ( x )Gn ( t ) Bn sin e
L
Functions un(x,t) are solutions of the heat equation (1), satisfying
the BCs (2).
So far, solution (7) satisfies the BCs (2). In order to satisfy the
initial condition (3), we write u(x,t) as a series of the
eigenfunctions.
n x n2t
u( x,t ) un ( x,t ) Bn sin e (8)
n 1 n 1 L
n x
IC. (3) u( x,0 ) Bn sin ( x )
n 1 L
n x
The expression ( x ) Bn sin
n 1 L
2 L n x
Bn ( x )sin dx (9)
L 0 L
Note that, due to the exponential factor in (8), all terms approach
0 as t approaches infinity.
Example 1. Sinusoidal initial temperature
( x ) 100 sin( x / 80 ) C
n x x
u( x,0 ) Bn sin ( x ) 100 sin
n 1 L L
x 12t
u( x,t ) 100 sin e
L
2 2
2
1
2
L
K 397
2 1.156 104 m2 / s
c 8920 385
1.156 104 2
1
2
2
1 .783 10 3 1
s
0.8
x 1.783103 t
u( x,t ) 100 sin e
L
- How long will it take for the maximum temperature in the bar to
drop to 50°C?
Temperature is max at
x = L/2 and has a value
of 100 °C. As time
elapses, temperature
drops.
L
L 2 1.783103 t 1.783103 t
u ,t 100 sin e 100e
2
L
1.783103 t
100e 50
1.783103 t 1
e
2
1.783103 t
e 2
ln(2)
t 3
389 s 6.5 [min]
1.783 10
Appendix
G F"
k (1) k (2) u( x,t ) F( x )G( t )
G
2
F
F"
For k = 0 , (2) 0 F" 0 F( x ) Ax B
F
u( 0,t ) 0 F( 0 ) 0 B 0
u( L,t ) 0 F( L ) 0 AL 0 A 0
F( x ) 0 u( x,t ) 0
G F"
k (1) k (2) u( x,t ) F( x )G( t )
G
2
F
u( 0 ,t ) 0 F( 0 ) 0 A B 0
u( L,t ) 0 F( L ) 0 Ae kL
Be kL
1 1 A 0
kL kL
e e B 0
F( x ) 0 u( x,t ) 0