Exercise: FDM stability — violating the CFL constraint
The explicit FDM scheme is stable when (where -grid index is ).
Tasks
-
Set up the explicit FDM with .
-
Run with — well within the stability bound. Verify the price is reasonable.
-
Run with — close to the bound . Does the scheme stay stable?
-
Run with — twice the bound. Plot vs at . Describe what goes wrong.
-
CFL number. Define . Tabulate the maximum oscillation amplitude at as a function of CFL .