Experiments with 1 dimensional waves. I am using this project to learn to use git, and GitHub.
The system is initialized with a square wave. The UI provides several choices of problems, and discretization schemes. The wave speed is also a user controlled parameter. FLTK and OpenGL are used for the UI.
The program solves the 1D hyperbolic partial differential equation:
It also solves the wave advection equation:
The following numerical discretization schemes are used to solve the equations.
- Explicit time, centered space (unstable).
- Lax scheme
- Explicit time, centered space (unstable).
- Lax scheme
- Upwind differencing
- BFECC
- Modified BFECC
- MacCormack
- Flux limited MacCormack