A bar 100 cm long, with insulated sides, has its ends kept at 0° Celsius and 100° Celsius until
steady state condition prevails. The two ends are then suddenly insulated and kept so. Find
the temperature distribution.
Solution
The heat flow flow equation is
∇2u(x,t)=α21∂t∂u...................(i)
where u(x,t) is the temperature. Because the sides of the bar are insulated, the heat flows only in the x direction; the same happens for a slab of finite thickness but infinitely large. The initial condition is u(x,0)=100 and the boundary condition for t>0 is u(0,t)=u(100,t)=0 . We search for a solution of the form u(x,t)=F(x)T(t) ; the differential equation (i) gives
∂x2∂2F+k2F=0,⟹F=Acoskx+Bsinkx.............(ii)
∂t∂T=−k2α2T,⟹T=e−k2α2t....................(iii)
Because of the boundary condition in x=0 , we have A=0 . To satisfy u(100,t)=0 , we find discrete values of k:
sin100k=0,⟹kn=100nπ, .........(iv) ,for n=1,2,3,...
Finally, we must satisfy the initial condition
u(x,0)=n=1∑∞bnsin100nπx=100...............(v) ,for 0≤x≤10.
Now,solving for bn we have
bn=1002∫0100sin100nπxdx=−nπ200cos100nπx∣0100
=nπ200[1−(−1)n]
={πn4000for oddnfor evenn ..............(vii)
after using cos(nπ)=(−1)n for integer n . The solution to the differential equation (i) with the given boundary conditions is then
u(x,t)=π400∑oddnn1e−(100nπα)2tsin100nπx
where “odd n” means a sum over n = 1, 3, 5, . . ..
Comments