Question #58205

8. A rod 20 cm long, has both its ends maintained at 0*C at all times. At time t = 0 the
temperature distribution in the rod is

T (x,0) = { 50*C for 0<x<10cm
{0*C for 10cm<x<20cm

Obtain the temperature distribution u(x,t) in the rod if u(x,t) satisfies the diffusion
equation:

d^2 u(x,t) / dx^2 = 0.5 ( du(x,t)/dt )
1

Expert's answer

2016-03-09T09:04:05-0500

Answer on Question #58205/ Physics – Molecular Physics | Thermodynamics

A rod 20 cm long, has both its ends maintained at 0°C at all times. At time t = 0 the temperature distribution in the rod is

T(x,0) = {50°C for 0<x<10cm <x<20cm="" for="" 10cm<x<20cm="" obtain="" temperature="" the="" to="">

Obtain the temperature distribution u(x,t)u(x,t) in the rod if u(x,t)u(x,t) satisfies the diffusion equation:


d2u(x,t)dx2=0.5(du(x,t)dt)\frac{d^2 u(x,t)}{dx^2} = 0.5 \left( \frac{du(x,t)}{dt} \right)

Solution

Let us write down whole differential equation with boundary and initial conditions

uu – is temperature of rod and function of x,tx,t u=u(x,t)u=u(x,t), length of rod is l=20l=20 cm


2ux2=12ut,0<x<l,t>0\frac{\partial^2 u}{\partial x^2} = \frac{1}{2} \frac{\partial u}{\partial t}, \quad 0 < x < l, \quad t > 0u(0,t)=0u(0,t) = 0u(l,t)=0u(l,t) = 0u(x,0)={50=T0,0<x<100,10<x<20u(x,0) = \begin{cases} 50 = T_0, & 0 < x < 10 \\ 0, & 10 < x < 20 \end{cases}


So, we start from separation of variables.

Let u(x,t)=X(x)T(t)u(x,t) = X(x) \cdot T(t), where X(x)X(x) – function that depends only on xx variable, T(t)T(t) – function that depends only on tt variable.


2ux2=Td2Xdx2\frac{\partial^2 u}{\partial x^2} = T \cdot \frac{d^2 X}{dx^2}ut=XdTdt\frac{\partial u}{\partial t} = X \cdot \frac{dT}{dt}


And


X(0)=0X(0) = 0X(l)=0X(l) = 0


From initial equation


2ux2=12ut\frac{\partial^2 u}{\partial x^2} = \frac{1}{2} \frac{\partial u}{\partial t}Td2Xdx2=12XdTdtT \cdot \frac{d^2 X}{dx^2} = \frac{1}{2} X \cdot \frac{dT}{dt}


Or


d2Xdx2X=12dTdtT=λ\frac{\frac{d^2 X}{dx^2}}{X} = \frac{1}{2} \frac{\frac{dT}{dt}}{T} = \lambda


And our task now is to find λ\lambda</x<10cm>


d2Xdx2X=λ\frac {d ^ {2} X}{\frac {d x ^ {2}}{X}} = \lambda


Here we see spectral problem with boundary conditions.


d2Xdx2=λX\frac {d ^ {2} X}{d x ^ {2}} = \lambda XX(0)=0X (0) = 0X(l)=0X (l) = 0


1) Put λ=0\lambda = 0

X=Cx+DX = C x + DX(0)=0=DX (0) = 0 = DX(l)=0=ClC=0X (l) = 0 = C l \rightarrow C = 0


So, λ=0\lambda = 0 can't give us a solution

2) Put λ>0,λ=w2\lambda > 0, \lambda = w^2

d2Xdx2w2X=0\frac {d ^ {2} X}{d x ^ {2}} - w ^ {2} X = 0


Solution for this equation can be found in form of:


X=Csh(wx)+Dch(wx)X = C s h (w x) + D c h (w x)X(0)=0=C0+DD=0X (0) = 0 = C 0 + D \rightarrow D = 0X(l)=0=Csh(wl)orC=0orsh(wl)=0.Ifsh(wl)=0λ=0, and initial assumption was λ>0.IfC=0, again solution is trivial\begin{array}{l} X (l) = 0 = C s h (w l) \rightarrow o r C = 0 o r s h (w l) = 0. I f s h (w l) = 0 \rightarrow \lambda \\ = 0, \text{ and initial assumption was } \lambda > 0. I f C = 0, \text{ again solution is trivial} \\ \end{array}


3) Put λ<0,λ=w2\lambda < 0, \lambda = -w^2

d2Xdx2+w2X=0\frac {d ^ {2} X}{d x ^ {2}} + w ^ {2} X = 0


Solution for this equation can be found in form of:


X=Csin(wx)+Dcos(wx)X = C \sin (w x) + D \cos (w x)X(0)=0=C0+DD=0X (0) = 0 = C 0 + D \rightarrow D = 0X(l)=0=Csin(wl), so if C0, then sin(wl)=0X (l) = 0 = C \sin (w l), \text{ so if } C \neq 0, \text{ then } \sin (w l) = 0wl=nπ,n=1,2,3,w l = n \pi , n = 1, 2, 3, \dotswn=nπlw _ {n} = \frac {n \pi}{l}


And here we have spectrum of eigenvalues.

Eigenfunctions are Xn=Cnsin(wnx)X_{n} = C_{n}\sin (w_{n}x)

λ=w2=12dTdtT\lambda = - w ^ {2} = \frac {1}{2} \frac {\frac {d T}{d t}}{T}


From previous row: Tn=Dne2w2tT_{n} = D_{n}e^{-2w^{2}t}

So,


un(x,t)=Dn~e2wn2tsin(wnx)u _ {n} (x, t) = \widetilde {D _ {n}} e ^ {- 2 w _ {n} ^ {2} t} \sin (w _ {n} x)u(x,t)=n=1+un(x,t)\mathrm{u}(\mathrm{x}, \mathrm{t}) = \sum_{\mathrm{n} = 1}^{+\infty} u_n(x, t)


Then, we put initial condition


u(x,0)=n=1+un(x,0)=n=1+Dn~sin(wnx)u(x, 0) = \sum_{\mathrm{n} = 1}^{+\infty} u_n(x, 0) = \sum_{\mathrm{n} = 1}^{+\infty} \widetilde{D_n} \sin(w_n x)


And Dn~\widetilde{D_n} are coefficients of Fourier transform


Dn~=2l0lu(x,0)sin(wnx)dx\widetilde{D_n} = \frac{2}{l} \int_0^l u(x, 0) \sin(w_n x) \, dx


From


u(x,0)={50,0<x<100,10<x<20u(x, 0) = \begin{cases} 50, & 0 < x < 10 \\ 0, & 10 < x < 20 \end{cases}Dn~=2l010T0sin(wnx)dx=2T0l(cos(wnx)wn010)=2T0ll(cos(nπxl)nπ10=l20)=2T0nπ(1cos(nπ2))=2T0nπ2sin2(nπ4)=4T0nπsin2(nπ4)\begin{aligned} \widetilde{D_n} &= \frac{2}{l} \int_0^{10} T_0 \sin(w_n x) \, dx = \frac{2T_0}{l} \left( -\left. \frac{\cos(w_n x)}{w_n} \right|_0^{10} \right) = \frac{2T_0 l}{l} \left( \left. \frac{\cos \left(\frac{n\pi x}{l}\right)}{n\pi} \right|_{10 = \frac{l}{2}}^0 \right) \\ &= \frac{2T_0}{n\pi} \left(1 - \cos \left(\frac{n\pi}{2}\right)\right) = \frac{2T_0}{n\pi} 2 \sin^2 \left(\frac{n\pi}{4}\right) = \frac{4T_0}{n\pi} \sin^2 \left(\frac{n\pi}{4}\right) \end{aligned}


Result


u(x,t)=n=1+un(x,t)=n=1+4T0nπsin2(nπ4)e2(nπl)2tsin(nπxl)\mathrm{u}(\mathrm{x}, \mathrm{t}) = \sum_{\mathrm{n} = 1}^{+\infty} u_n(x, t) = \sum_{\mathrm{n} = 1}^{+\infty} \frac{4T_0}{n\pi} \sin^2 \left(\frac{n\pi}{4}\right) e^{-2 \left(\frac{n\pi}{l}\right)^2 t} \sin \left(\frac{n\pi x}{l}\right)


https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS