1 d heat equation

31,587 views 8 slides Apr 21, 2012
Slide 1
Slide 1 of 8
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8

About This Presentation

No description available for this slideshow.


Slide Content

2
2
2
uu
c
tx
Introduction: -A uniform homogenous rod is made of infinite number of molecules. They are
interconnected by cohesive force. When heat is applied to a rod through a one side of it, they tends to
get expand, because of that they gets even more interconnected and hence heat flows molecule to
molecule more rapidly. The flow of heat in this way in a uniform of rod is known as Heat Conduction.
One-Dimensional Heat Flow: -

α R1 R2
0 x x X
Consider a homogeneous bar of uniform cross section α (cm
2
.) Suppose that the sides are covered with
a material impervious to heat so that streamlines of heat-flow are all parallel and perpendicular to area.
Take one end of the bar as the origin and the direction of flow as the positive x-axis. Let be the density
(gr/cm
3
), s the specific heat (cal/gr. deg.) and k the thermal conductivity (cal/gr. deg. sec).
Let u(x, t)be the temperature at a distance x from O. If u be the temperature change in a slab
of thickness of x then the quantity of heat in this slab=Sαxu. Hence the rate of increase of heat in
this slab i.e. t
u
xs =R1-R2, where R1 and R2 are respectively the rate (cal/sec.) of inflow and outflow
of heat.
Now R1=x
x
u
k and R2=xxx
u
k
The negative sign appearing as result of decrease of temperature as t increase
Hence t
u
xs =x
x
u
k +xxx
u
k
ONE DIMENSIONAL HEAT EQUATION

i.e. t
u =x
x
u
x
u
s
k
xxx
Writing 2
c
s
k , called the diffusivity of the substance (cm
2
/sec.,) and taking limit x0, we get
is called the one-dimensional Heat-flow equation.

Solution of One-Dimensional Heat Equation by the method of separating
variables: (with insulated faces)
We first consider the temperature in a long thin bar or thin wire of constant cross section
and homogeneous material, which is oriented along x-axis and is perfectly insulated laterally, so
that heat flows in the x-direction only. Then u depends only on x and time t, and the heat
equation becomes the one-dimensional heat equation

-------------------------------------------------(1)

We take the case that both ends x=0 and x=L are kept at zero degree temperature, we have the
boundary conditions

-------------------------------(2)

and the temperature in the bar is f(x), so that we have the initial condition

-------------------------------(3)

Method of separating the variables:
In the method of separating variables or product method, we determine the solution of
Heat equation (1) of the form,
2
2
2
uu
c
tx
2
2
2
uu
c
tx

u(0,t)=0, u(L, t)=0 for all t
u(x, 0)=f(x)
u(x, t)=F(x)G(t)

-------------------------------(4)

Where F(x) is only a function of x and G(t) is only a function t only, on differentiating equation
(4), we obtain,
2
"
2

uu
F G F G
tx

Where dot denotes the partial derivatives with respect to t and primes derivatives with respect to
x. By inserting this into differential equation (1), we get 2
"F G c F G

On dividing by c
2
FG we obtain, "
2
GF
c G F


The left-hand side the right hand side of the above equation are function t and x respectively and
since both x & t are both independent variables, they must be equal to some constant k=-p
2
.
We assume k = - p
2
because the solution for k =0 and k = p
2
is not consistent with the physical
problem i.e. it will not give the transient solution where the temperature decreases as time
inceases.
"
2
2

GF
kp
c G F

This yields two differential equations, namely
----------------------------------------------------------(5)
And
---------------------------------------------------(6)

Satisfying the boundary conditions: -
Solving (5) the general solution is given by F(x)=Acospx+Bsinpx. ---------(i)
From the boundary (2) it follows that
u(0, t)=F(0)G(t)=0 and u(L, t)=F(L)G(t)=0.
Since G0 would gives u0. Which is of no interest. Hence G0. This gives F(0)=0 and F(L)=0.


F

+ p
2
F=0. 22
0G p c G

.

From (i) F(0)=0 0 = A F(x) = B sinpx
F(L)=0 0 = B sin(pL) sin(pL) = 0 ( B 0)
pL = nπ ( zeros of sine)
p = nπ/ L, n=0,1,2,-------
Applying above conditions, we obtain the infinitely many solutions of F(x) are given by

-----------------------------------------------------(7)

Solving (6), The constant k is now restricted to the values k=-p
2
=-2
L
n . Inserting it into the
equation (6) we get 2
0
nn
nc
GG
L

Its general solution is given by -----1,2,3n eCtG
t
nn
2
n where Cn is constant. Hence the
functions

-------(8)

are solutions of the heat equation (1) satisfying (2). These are the Eigenfunctions of the problem,
corresponding to the Eigen values .
L
cn
n
Since the equation (1) is linear and homogeneous applying principle of superposition we
obtain the general solution of (1) is given by

----(9)

Applying (3) on the above equation (9), we obtain
.xf
L
xn
sina0,xu
1n
n
So, f(x) is Half-range Fourier series with an’s as Fourier coefficients and is given by

------------------------------------------------------------(10) L
xn
sinB)x(F
nn
nnn
t
nnnn
CBa where--)---1,2,3(n e
L
xn
sinatG)x(Ft,xu
2
n
L
cn
where--)---1,2,3(n e
L
xn
sinat,xut,xu
n
1n
t
n
1n
n
2
n
dx
L
xn
sinxf
L
2
a
L
0
n

Examples
1. A rod of length l with insulated sides is initially at a uniform temperature u0. Its ends are
suddenly cooled at 0
0
C and are kept at that temperature. Find the temperature function
u(x,t).
Solution:
The temperature function u(x,t) satisfies the differential equation
2
2
x
u
c
t
u
The boundary conditions associated with the problem are
u(0,t)=0, u(l,t)=0
The initial condition is u(x,0)=u0
Its solution is
2
11
, , sin ,
n
t
n n n
nn
n x n c
u x t u x t a e
ll
Since u(x,0)=u0 we have
0
1
sin
n
n
nx
ua
l which is the half-range sine series for u0 where
0
0
0
0,
2
sin 4
,
l
n
whenniseven
nx
a u dx u
ll whennisodd
n
Hence the temperature function is
2 2 2
0
2
1,3,5,.....
4 1
( , ) sin
n
u n x c n t
u x t e
n l l

2. (a) An insulated rod of length l has its ends A and B maintained at 0
0
C and 100
0
C
respectively until steady state conditions prevail. If B is suddenly reduced to 0
0
C and
maintained at 0
0
C, find the temperature at a distance x from A at time t.
(b) Find also the temperature if the change consists of raising the temperature of A to
20
0
C and that of 80
0
C.

Solution:
(a) The temperature function u(x,t) satisfies the differential equation
2
2
2
uu
c
tx .......(1)
The boundary conditions associated with the problem are
u(0,t)=0, u(l,t)=0
When t=0, the heat flow is independent of time( steady state condition) and so eqn.(1)
becomes 2
2
0
u
x
Its general solution is given by u= ax + b …….(2)
where a and b are arbitrary.
Since u= 0 for x=0 and u=100 for x=l we get from eqn.(2), b=0 and 100
a
l .
Thus the initial condition is expressed by u(x,0)=100
x
l .
The solution of (1) with the respective boundary conditions is given by
2
11
, , sin ,
n
t
n n n
nn
n x n c
u x t u x t a e
LL
Since u(x,0)=100
x
l ,
1
100
sin
n
n
nx
xa
lL
Where 0
2 100
sin
l
n
nx
a x dx
l l l =22
0
cos sin
200
(1)
l
n x n x
ll
x
nl n
l
l
=2
2
200
cos
l
x
ln = 1200 200
( 1) ( 1)
nn
nn
Hence 2 2 2
2
1
1
200 ( 1)
( , ) sin
c n tn
l
n
nx
u x t e
nl

(b) The boundary conditions associated in this case are
u(0,t)=20, u(l,t)=80 for all values of t.
The initial condition is same as in part(a) i.e. u(x,0)=100
x
l .
Since the boundary values are non-zero we modify the procedure.
Let u(x,t) = us(x)+ut(x,t) ……(1)
where us(x) is the steady state solution and ut(x,t) may be regarded as the transient
part of the solution which decreases with increase of time.
We shall obtain the solution for ut(x,t).
So we need the boundary conditions and initial condition associated with ut(x,t).
Boundary conditions for ut(x,t)
From (1) u(0,t)=us(0)+ut(0,t) ut(0,t) = u(0,t) – us(0) = 20 – us(0). ….(2)
ut(l,t) = u(l,t) – us(l) = 80 – us(0) ….(3)
Now, us(x) = ax + b ( steady state condition)
u(0,t)=20, u(l,t)=80 a=60
l , b= 20
us(x) = 60
l x + 20 us(0) = 20 and us(l) = 80.
Thus, (1) gives ut(0,t) = 20 – 20 = 0 …..(3)
ut(l,t) = 80 – 80 = 0 ….(4)
Initial condition for ut(x,t)
From (1) u(x,0) = us(x) + ut(x,0)
ut(x,0) = u(x,0) – us(x)
= 100
x
l - 60
l x + 20
ut(x,0) = 40
x
l - 20 …..(5)
Since the boundary values for ut are zero at both the ends, we can write the solution
for ut(x,t) as
2
1
, sin ,
n
t
t n n
n
n x n c
u x t a e
LL wgw
ww

0
2 40 40
20 sin (1 cos )
0,
80
,
l
n
nx
where a x dx n
l l l n
when nisodd
whenniseven
n
Hence, 2 2 2
2
2,4,6,...
80 1
( , ) sin
c n t
l
t
n
nx
u x t e
nl
Thus the required solution is
u(x,t) = us(x) + ut(x,t)
u(x,t) = 60
l x + 20 2 2 2
2
2,4,6,...
80 1
sin
c n t
l
n
nx
e
nl
3. Determine the solution of one-dimensional heat equation 2
2
2
uu
c
tx
Where u(0,t)=u(1,t)=0(t > 0) and the initial condition u(x,0) = x, l being the length of bar.
(Ans: u(x,t) = 60
l x + 20 2 2 2
2
1
2 cos
sin
c n t
l
n
l n n x
e
nl )
4. A homogeneous rod of conducting material of length 100cm has its ends kept at zero
temperature and the temperature initially is 010x50x -100
50x 0 x
0,xu
Find the temperature at any time.
(Ans. 2
(2 1) /100
22
0
400 ( 1) (2 1)
( , ) sin
(2 1) 100
m
m c t
m
mx
u x t e
m )
5. A bar 10 cm long with insulated sides has its ends A & B maintained at the temperature
50
0
C & 100
0
C until steady-state conditions prevails. Then both ends are suddenly
reduced to 0
0
C and maintained at the same temperature. Find the temperature
distribution in the bar at any time.
(Ans. 2 2 2
/ 25
1
80 1
( , ) 90 3 sin
5
c n t
n
nx
u x t x e
n
Tags