next up previous
Next: Finite differences solution Up: P131-Computational Physics Previous: Exercise 5.10: String with

Heat Flow

The problems consiste in determining the temperature variation along a bar of length $l$ at any instant of time, given the initial gradient of temperature.

Figure 13: A bar with the ends in contact with heat reservoirs.
\begin{figure}\begin{center}
\epsfig{file=bar.eps,width = 12cm}\end{center}\end{figure}

The problem is described by the ``Heat Equation'' that can be derived as follows:

At any instant of time, the heat flow through the bar equals the variatioon of energy inside the bar:

\begin{displaymath}
\mathrm{Heat  Flow=Variation  of  internal  energy}
\end{displaymath}

or
\begin{displaymath}
\nabla \cdot Q = -\frac{dE}{dt}.
\end{displaymath} (60)

The variation of the internal energy is given by the body's ability to store heat by raising its temperature:
\begin{displaymath}
\frac{dE}{dt} = \rho c \frac{dT}{dt},
\end{displaymath} (61)

where $\rho $ is the density, and $c$ is the specific heat of the material. Fourier's Law of heat conduction states that
\begin{displaymath}
Q=-K\nabla T,
\end{displaymath} (62)

where $K$ is the thermal conductivity. Hence, we obtain
\begin{displaymath}
\nabla \cdot \left( K \nabla T\right) = \rho c \frac{dT}{dt},
\end{displaymath} (63)

or
\begin{displaymath}
\frac{dT}{dt}=\alpha \nabla^2T,
\end{displaymath} (64)

with $\alpha = K/(c\rho)$. In 1d this equation is written
\begin{displaymath}
\frac{\partial T(x,t)}{\partial t} = \alpha \frac{\partial ^2T}{\partial x^2}.
\end{displaymath} (65)

We must solve this equation given the initial condition
\begin{displaymath}
T(x,t=0) = f(x)   \mathrm{(initial  condition)}
\end{displaymath} (66)

and the boundary condition
$\displaystyle T(x=0,t)$ $\textstyle =$ $\displaystyle T_1,$ (67)
$\displaystyle T(x=l,t)$ $\textstyle =$ $\displaystyle T_2.$ (68)



Subsections
next up previous
Next: Finite differences solution Up: P131-Computational Physics Previous: Exercise 5.10: String with
Adrian E. Feiguin 2004-06-01