APMA 930 Matlab Examples
Mar 10:
godunov.m
(solves Burgers' equation using the Godunov scheme)
Mar 10:
burgers.m
(solves Burgers' equation using upwind, Lax-Friedrichs, Lax-Wendroff and MacCormack schemes)
Mar 3:
q5spot.zip
(an IMPES-type reservoir simulation code that solves the quarter five spot problem; by Aarnes, Gimse and Lie, 2007)
Feb 22:
mit18086_navierstokes.m
(solves the 2D Navier-Stokes equations using a projection method; by Benjamin Seibold, 2008)
Feb 8:
heat2d.m
(solves the 2D heat equation using the BTCS method)
Jan 25:
heat1d.m
(solves the 1D heat equation using the BTCS method)
Jan 25:
implicit.m
(applies two implicit time-stepping schemes -- BTCS and BTBS -- for the linear advection equation)
Jan 20:
linadv.m
(solves the linear advection equation with a variety of different schemes)
Jan 20:
upwind.m
(solves the linear advection equation with the upwind scheme)
Jan 20:
fderrors.m
(plots errors in finite difference formulas for the first derivative)
Last modified: Wed Mar 9 2011