Assignments
Introduction to Finite Differences
Summer Session 2016
http://people.sc.fsu.edu/~jburkardt/classes/fdm_2016/assignments.html
-
10 May:
-
17 May:
Notebook #1: Linear convection in 1D.
-
24 May:
-
Notebook #2: Nonlinear convection in 1D.
-
Assuming that x1, x2, and x3 are equally spaced,
show how the second derivative of a function f(x)
defined at x2 can be approximated by a finite
difference. Explain the steps involved, starting
with a Taylor series. Explain the remainder terms.
-
31 May:
-
Notebook #3; Diffusion in 1D.
-
Assume that x1, x2 and x3 are not equally spaced.
Let h be the spacing x2-x1, and k be the spacing x3-x2.
The finite difference approximation for the second derivative
of the function u(x) at x2 is
2 * ( k * u1 - ( h + k ) * u2 + h * u3 ) / ( h * k * ( h + k )
Show that, if h = k, this formula agrees with the central
difference formula.
-
In the formula, replace u1 by the Taylor series with remainder
for u(x1), continuing up to the O(h^4) term. Do the same for
u3. Work out the algebra and show why you arrive at an
approximation for u''(x2). What is the order of the error?
-
7 June:
-
Notebook #4: The Burgers equation in 1D.
-
Finish the unequally-spaced second derivative approximation.
-
Redo Notebook #3 using an implicit time stepping method.
-
14 June:
Notebook #5: Linear convection in 2D.
-
21 June:
Notebook #6: Nonlinear convection in 2D.
-
28 June:
Notebook #7: Diffusion in 2D.
-
5 July:
Notebook #8: The Burgers equation in 2D.
-
12 July:
Notebook #9: Laplace equation in 2D.
-
19 July:
Notebook #10: Poisson equation in 2D.
-
26 July:
Notebook #11: Navier-Stokes cavity flow in 2D.
-
2 August:
Notebook #12: Navier-Stokes channel flow in 2D.
You can return to the
FEM 2016 web page.
Last revised on 01 June 2016.