(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