2 Motivation

Consider an example of the type seen in the earlier material concerning separable solutions of the heat conduction equation. Suppose that u = u ( x , t ) is the temperature of a metal bar a distance x from one end and at time t . For the sake of argument let us suppose that the metal bar has length equal to and that the ends are held at constant temperatures u L at the left and u R at the right.

Figure 2

No alt text was set. Please request alt text from the person who provided you with this resource.

We also suppose that the temperature distribution at the initial time is known to be f ( x ) , with f ( 0 ) = u L and f ( ) = u R so that the initial and boundary conditions do not give rise to a conflict at the ends of the bar at the initial time.

This physical situation may be modelled by

u t = α u x x ( 0 < x < , t > 0 ) u ( 0 , t ) = u L ( t > 0 ) u ( , t ) = u R ( t > 0 ) u ( x , 0 ) = f ( x ) ( 0 < x < )

in which α > 0 is a constant called the thermal diffusivity or simply the diffusivity of the metal. If the bar is made of aluminium then α = 0.86 cm 2 s 1 , and if made of copper then α = 1.14 cm 2 s 1 .

Using separation of variables and Fourier series (neither of which are required for the remainder of this Section) it can be shown that the solution to the above problem (in the case where u L = u R = 0 ) is

u ( x , t ) = m = 1 B m e m 2 α π 2 t 2 sin ( m π x ) , where B m = 2 0 f ( s ) sin ( m π s ) d s .

Now, let us be realistic. Any evaluation of u for particular choices of x and t must involve approximating the infinite series that defines u (that is, just taking the first few terms - and care is required if we are to be sure that we have taken enough). Also, in each of the terms we retain in the sum, we need to find B m by integration. It is not surprising that computation of this procedure is a common approach. So if we (eventually) resort to computation in order to find u , why not start with a computational approach?

(This is not to say that there is no value in the analytic solution involving the B m . The solution above is of great value, but we simply observe here that there are times when a computational approach is all we may end up needing.)

So, the aim of this Section is to derive methods for obtaining numerical solutions to parabolic problems of the type above. In fact, it is sufficient for our present purposes to restrict attention to that particular problem.