Next: Fortran Shifts Up: Fields Previous: Classification of Field Equations

## Diffusion Equation

• The first field problem we're going to tackle will be very simple: distribution of temperature on a square hot plate with some edges of the plate kept hot at some fixed temperature, and other edges kept cold, also at some fixed temperature.
• We'll seek a static solution, i.e., our PDE is going to be:

• As you recall from lectures on numerical analysis, that you have undoubtedly been attending, the meaning of a Laplace operator is that at every point (x0, y0) it averages T(x,y) over the neighbourhood of that point.
• Discretised form of :

This equation has the following simple solution:
 T(x0, y0) = (3.19)

• This solution is the essence   of the Jacobi iteration method that is always quoted in this context and scorned upon. But there is nothing wrong with it. It is slow but simple and very stable, and it provides an ideal demonstration for High Performance Fortran and for Fortran-90.

Next: Fortran Shifts Up: Fields Previous: Classification of Field Equations
Zdzislaw Meglicki
2001-02-26