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) u ( x , t ) in the rod if u ( x , t ) u(x,t) u ( x , t ) satisfies the diffusion equation:
d 2 u ( x , t ) d x 2 = 0.5 ( d u ( x , t ) d t ) \frac{d^2 u(x,t)}{dx^2} = 0.5 \left( \frac{du(x,t)}{dt} \right) d x 2 d 2 u ( x , t ) = 0.5 ( d t d u ( x , t ) ) Solution
Let us write down whole differential equation with boundary and initial conditions
u u u – is temperature of rod and function of x , t x,t x , t u = u ( x , t ) u=u(x,t) u = u ( x , t ) , length of rod is l = 20 l=20 l = 20 cm
∂ 2 u ∂ x 2 = 1 2 ∂ u ∂ t , 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 > 0 ∂ x 2 ∂ 2 u = 2 1 ∂ t ∂ u , 0 < x < l , t > 0 u ( 0 , t ) = 0 u(0,t) = 0 u ( 0 , t ) = 0 u ( l , t ) = 0 u(l,t) = 0 u ( l , t ) = 0 u ( x , 0 ) = { 50 = T 0 , 0 < x < 10 0 , 10 < x < 20 u(x,0) = \begin{cases}
50 = T_0, & 0 < x < 10 \\
0, & 10 < x < 20
\end{cases} u ( x , 0 ) = { 50 = T 0 , 0 , 0 < x < 10 10 < x < 20
So, we start from separation of variables.
Let u ( x , t ) = X ( x ) ⋅ T ( t ) u(x,t) = X(x) \cdot T(t) u ( x , t ) = X ( x ) ⋅ T ( t ) , where X ( x ) X(x) X ( x ) – function that depends only on x x x variable, T ( t ) T(t) T ( t ) – function that depends only on t t t variable.
∂ 2 u ∂ x 2 = T ⋅ d 2 X d x 2 \frac{\partial^2 u}{\partial x^2} = T \cdot \frac{d^2 X}{dx^2} ∂ x 2 ∂ 2 u = T ⋅ d x 2 d 2 X ∂ u ∂ t = X ⋅ d T d t \frac{\partial u}{\partial t} = X \cdot \frac{dT}{dt} ∂ t ∂ u = X ⋅ d t d T
And
X ( 0 ) = 0 X(0) = 0 X ( 0 ) = 0 X ( l ) = 0 X(l) = 0 X ( l ) = 0
From initial equation
∂ 2 u ∂ x 2 = 1 2 ∂ u ∂ t \frac{\partial^2 u}{\partial x^2} = \frac{1}{2} \frac{\partial u}{\partial t} ∂ x 2 ∂ 2 u = 2 1 ∂ t ∂ u T ⋅ d 2 X d x 2 = 1 2 X ⋅ d T d t T \cdot \frac{d^2 X}{dx^2} = \frac{1}{2} X \cdot \frac{dT}{dt} T ⋅ d x 2 d 2 X = 2 1 X ⋅ d t d T
Or
d 2 X d x 2 X = 1 2 d T d t T = λ \frac{\frac{d^2 X}{dx^2}}{X} = \frac{1}{2} \frac{\frac{dT}{dt}}{T} = \lambda X d x 2 d 2 X = 2 1 T d t d T = λ
And our task now is to find λ \lambda λ </x<10cm>
d 2 X d x 2 X = λ \frac {d ^ {2} X}{\frac {d x ^ {2}}{X}} = \lambda X d x 2 d 2 X = λ
Here we see spectral problem with boundary conditions.
d 2 X d x 2 = λ X \frac {d ^ {2} X}{d x ^ {2}} = \lambda X d x 2 d 2 X = λ X X ( 0 ) = 0 X (0) = 0 X ( 0 ) = 0 X ( l ) = 0 X (l) = 0 X ( l ) = 0
1) Put λ = 0 \lambda = 0 λ = 0
X = C x + D X = C x + D X = C x + D X ( 0 ) = 0 = D X (0) = 0 = D X ( 0 ) = 0 = D X ( l ) = 0 = C l → C = 0 X (l) = 0 = C l \rightarrow C = 0 X ( l ) = 0 = Cl → C = 0
So, λ = 0 \lambda = 0 λ = 0 can't give us a solution
2) Put λ > 0 , λ = w 2 \lambda > 0, \lambda = w^2 λ > 0 , λ = w 2
d 2 X d x 2 − w 2 X = 0 \frac {d ^ {2} X}{d x ^ {2}} - w ^ {2} X = 0 d x 2 d 2 X − w 2 X = 0
Solution for this equation can be found in form of:
X = C s h ( w x ) + D c h ( w x ) X = C s h (w x) + D c h (w x) X = C s h ( w x ) + Dc h ( w x ) X ( 0 ) = 0 = C 0 + D → D = 0 X (0) = 0 = C 0 + D \rightarrow D = 0 X ( 0 ) = 0 = C 0 + D → D = 0 X ( l ) = 0 = C s h ( w l ) → o r C = 0 o r s h ( w l ) = 0. I f s h ( w l ) = 0 → λ = 0 , and initial assumption was λ > 0. I f C = 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} X ( l ) = 0 = C s h ( wl ) → or C = 0 ors h ( wl ) = 0. I f s h ( wl ) = 0 → λ = 0 , and initial assumption was λ > 0. I f C = 0 , again solution is trivial
3) Put λ < 0 , λ = − w 2 \lambda < 0, \lambda = -w^2 λ < 0 , λ = − w 2
d 2 X d x 2 + w 2 X = 0 \frac {d ^ {2} X}{d x ^ {2}} + w ^ {2} X = 0 d x 2 d 2 X + w 2 X = 0
Solution for this equation can be found in form of:
X = C sin ( w x ) + D cos ( w x ) X = C \sin (w x) + D \cos (w x) X = C sin ( w x ) + D cos ( w x ) X ( 0 ) = 0 = C 0 + D → D = 0 X (0) = 0 = C 0 + D \rightarrow D = 0 X ( 0 ) = 0 = C 0 + D → D = 0 X ( l ) = 0 = C sin ( w l ) , so if C ≠ 0 , then sin ( w l ) = 0 X (l) = 0 = C \sin (w l), \text{ so if } C \neq 0, \text{ then } \sin (w l) = 0 X ( l ) = 0 = C sin ( wl ) , so if C = 0 , then sin ( wl ) = 0 w l = n π , n = 1 , 2 , 3 , … w l = n \pi , n = 1, 2, 3, \dots wl = nπ , n = 1 , 2 , 3 , … w n = n π l w _ {n} = \frac {n \pi}{l} w n = l nπ
And here we have spectrum of eigenvalues.
Eigenfunctions are X n = C n sin ( w n x ) X_{n} = C_{n}\sin (w_{n}x) X n = C n sin ( w n x )
λ = − w 2 = 1 2 d T d t T \lambda = - w ^ {2} = \frac {1}{2} \frac {\frac {d T}{d t}}{T} λ = − w 2 = 2 1 T d t d T
From previous row: T n = D n e − 2 w 2 t T_{n} = D_{n}e^{-2w^{2}t} T n = D n e − 2 w 2 t
So,
u n ( x , t ) = D n ~ e − 2 w n 2 t sin ( w n x ) u _ {n} (x, t) = \widetilde {D _ {n}} e ^ {- 2 w _ {n} ^ {2} t} \sin (w _ {n} x) u n ( x , t ) = D n e − 2 w n 2 t sin ( w n x ) u ( x , t ) = ∑ n = 1 + ∞ u n ( x , t ) \mathrm{u}(\mathrm{x}, \mathrm{t}) = \sum_{\mathrm{n} = 1}^{+\infty} u_n(x, t) u ( x , t ) = n = 1 ∑ + ∞ u n ( x , t )
Then, we put initial condition
u ( x , 0 ) = ∑ n = 1 + ∞ u n ( x , 0 ) = ∑ n = 1 + ∞ D n ~ sin ( w n x ) u(x, 0) = \sum_{\mathrm{n} = 1}^{+\infty} u_n(x, 0) = \sum_{\mathrm{n} = 1}^{+\infty} \widetilde{D_n} \sin(w_n x) u ( x , 0 ) = n = 1 ∑ + ∞ u n ( x , 0 ) = n = 1 ∑ + ∞ D n sin ( w n x )
And D n ~ \widetilde{D_n} D n are coefficients of Fourier transform
D n ~ = 2 l ∫ 0 l u ( x , 0 ) sin ( w n x ) d x \widetilde{D_n} = \frac{2}{l} \int_0^l u(x, 0) \sin(w_n x) \, dx D n = l 2 ∫ 0 l u ( x , 0 ) sin ( w n x ) d x
From
u ( x , 0 ) = { 50 , 0 < x < 10 0 , 10 < x < 20 u(x, 0) = \begin{cases} 50, & 0 < x < 10 \\ 0, & 10 < x < 20 \end{cases} u ( x , 0 ) = { 50 , 0 , 0 < x < 10 10 < x < 20 D n ~ = 2 l ∫ 0 10 T 0 sin ( w n x ) d x = 2 T 0 l ( − cos ( w n x ) w n ∣ 0 10 ) = 2 T 0 l l ( cos ( n π x l ) n π ∣ 10 = l 2 0 ) = 2 T 0 n π ( 1 − cos ( n π 2 ) ) = 2 T 0 n π 2 sin 2 ( n π 4 ) = 4 T 0 n π sin 2 ( 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} D n = l 2 ∫ 0 10 T 0 sin ( w n x ) d x = l 2 T 0 ( − w n cos ( w n x ) ∣ ∣ 0 10 ) = l 2 T 0 l ⎝ ⎛ nπ cos ( l nπ x ) ∣ ∣ 10 = 2 l 0 ⎠ ⎞ = nπ 2 T 0 ( 1 − cos ( 2 nπ ) ) = nπ 2 T 0 2 sin 2 ( 4 nπ ) = nπ 4 T 0 sin 2 ( 4 nπ )
Result
u ( x , t ) = ∑ n = 1 + ∞ u n ( x , t ) = ∑ n = 1 + ∞ 4 T 0 n π sin 2 ( n π 4 ) e − 2 ( n π l ) 2 t sin ( n π x l ) \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) u ( x , t ) = n = 1 ∑ + ∞ u n ( x , t ) = n = 1 ∑ + ∞ nπ 4 T 0 sin 2 ( 4 nπ ) e − 2 ( l nπ ) 2 t sin ( l nπ x )
https://www.AssignmentExpert.com
Comments