Spring 2009
http://www.amath.washington.edu/courses/586-spring-2009
MWF 2:30-3:20: Loew 206
This class is being offered on-line through EDGE, which provides live streaming of each class and archived lecture videos within two hours thereafter. See http://www.engr.washington.edu/EDGE/amath586/amath586vd.html.
|
Instructor: Prof. Chris Bretherton breth@washington.edu ATG 704, x5-7414 Office hours: MWF 1:30-2:20, or by appointment. TA: Alan Chen amath586@gmail.com Office hours: MW 11:30-12:30, Guggenheim 416 |
| Schedule | Homework and Exams | Lecture Notes and Handouts | Matlab scripts |
Numerical methods for time-dependent ordinary and partial-differential equations, including explicit and implicit methods for hyperbolic and parabolic equations. Stability, accuracy, and convergence theory. Spectral and pseudospectral methods
Scanned lecture notes will be posted. However, for a more comprehensive treatment, I recommend the following texts:
| Topic |
| Archetypical PDEs. Initial and boundary conditions, well-posedness, types of numerical methods. |
| Finite difference operators, consistency, order of accuracy |
| Stability, convergence, Von Neumann analysis, discrete dispersion relation, CFL stability condition. |
| Time-differencing methods for ODEs and systems of ODEs. |
| Finite difference methods for the 1D advection equation |
| Finite difference methods for the heat equation |
| Pseudospectral methods for time-dependent problems |
| Finite-element, finite volume, and monotonicity-preserving methods. |
| Item | Due Date | Download Solutions |
| Homework #1 | due Mo 13 Apr | HW #1 solutions |
| Homework #2 | due Mo 20 Apr | HW #2 solutions |
| Homework #3 | due Mo 27 Apr | HW #3 solutions |
| Homework #4 | due Mo 4 May | HW #4 solutions |
| Take-home midterm | due Mo 11 May | Midterm solutions |
| Homework #5 | due Mo 18 May | HW #5 solutions |
| Homework #6 | due Fr 29 May | HW #6 solutions |
| Take-home final | due 5 pm Fr 12 Jun | Final solutions |
TimeDifferencingStabilityRegion.m: Plots stability region for amplification eqn for RK2 and RK4 methods; easily adapted to other time-differencing methods.
Nonlinear pendulum d2theta/dt2 = - sin(theta), theta(0) = 1, dtheta/dt = 0 treated as a system of two 1st order ODEs
Fourier spectral differentiation
Fourier spectral method on q_t + q_x = 0 in x = [0,1], periodic BCs, 4th order Runge Kutta (RK4) time differencing.
Fourier spectral method on KdV eqn, periodic BCs, RK4 time differencing.
pois_FFT.m: - Fourier spectral method for 2D Poisson eqn. with periodic BC's and RHS = Laplacian of a bivariate Gaussian hump. Makes plot of solution (which recovers the Gaussian hump).
FS_heat.m: - Fourier spectral method for heat equation u_t = u_xx, 0 < x < 1, with Dirichlet/Neumann BCs, using odd/even extension to a periodic domain. Makes plot of results and error convergence at time 0.0625.
FS_vortex.m: Fourier pseudospectral method applied to advection of an elliptical vortex in an incompressible 2D fluid. Uses Szeta.m. Figures and technical description in Lecture 23 notes.
advect_FEM.m: Finite element method on q_t + c*q_x = 0, c=1, 0 < x < 1, 0 < t < 0.5, q(x,0) = 0, q(0,t) = 50*t on a uniform grid with dx = 0.01. Makes plot of solution u(x,0.9). Uses advect_FEMsolve.m, which can also handle a nonuniform grid and a spatially varying c(x).
chebyshev_advect_RK4.m: Chebyshev spectral method applied to q_t + c(x)*q_x = 0, q(x,0) = 0, q(0,t) = 1. Plots. Uses chebfft.m.
Homework solution scripts