Numerical Partial Differential Equations

Part 1 of Advanced Engineering Mathematics A

Dr Sergey A. Suslov, ssuslov@usq.edu.au

Contents


Note: in order to download content of any file referred to at this page you should right-click on the link and choose the option "Save Link As ..." or "Save Target As..." from the menu, specify the name of the directory where you want to save the file and click OK.

Tutorials

In order to access tutorial solutions type "student" as a User ID. The passwords will be given to daytime students in the end of each practical session. External students will need to email their codes to the lecturer before requesting the passwords.
  1. Tutorial 1. Numerical solution of the Poisson's equation on a unit square by direct method. Click here to download or to view the file with the suggested MATLAB code structure and detailed comments. You will need to complete some of the lines before running this code. Run your code for the progressively larger number of discretisation points and determine the maximum value N which can be handled by your computer. Click here to see the structure of the resulting matrix. Compare it with the one given on pages 480-482 and note the differences associated with the node numbering and treatment of the boundary conditions. The matrix given here is more general and will be used in further developments of other numerical schemes while the one in the textbook is suitable for solving the Laplace's equation with explicitly given boundary conditions only. Solution
  2. Tutorial 2. Solve the problem from Tutorial 1 using
  3. iterations. Start with N=4 and zero initial guess, perform a few iterations by hand. Write a computer code which performs each of the above iterations and compute solution for N=20 to the accuracy of 0.001. Count how many iterations of each kind you need and conclude which method is the most efficient. Play with different values of the relaxation parameter and conclude how sensitive the SOR iterations are to its choice. Click here to download a MATLAB code skeleton which you may use to complete this problem. Solution
  4. Tutorial 3.


Hints for Assignment 1



Errata for Study Book for 2003

Please, report any errors to the lecturer.


Back to the course home page