Up: Return
EGN 5456 Project Fall 1999

This project is 25% of your grade.

Solve the following convection equation:

ut + a ux + b uy = u

with a=2 and b=0.5, in a rectangular domain of length and height h=1, for . Take as initial condition:

and as boundary conditions:

Derive the exact solution for the P.D.E. in general and in particular for this special case.

Then write a Peaceman-Rachford scheme to compute a finite difference solution.

Optimize the ratio of mesh size to time step for a given computational effort (= points computed) to give best results for a given effort.

Next create a Mitchell-Fairweather scheme from the Peaceman-Rachford one.

Optimize the ratio of square mesh size to time step for the same computational effort as for the Peaceman-Rachford scheme to give the best results.

See whether the Mitchwell-Fairweather scheme gives better results than the Peaceman-Rachford

Increase the effort by a factor 10 and compare again.

Program requirements:

If any requirement marked as ``No exceptions'' is not met, the maximum assigned for the program is 10%. (Total for the project 50% or less.)

Contour lines of constant temperature are a good way to plot the temperature evolution. Otherwise you might want to plot the temperature evolutions at and the ones at as six individual graphs.


Up: Return
Author: Leon van Dommelen