PDE's: Solvers for wave equation in 1D
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
wave1d.f90

README.md

5.02.Wave1D

PDE's: Solvers for wave equation in 1D

FTCS scheme (unconditionally unstable)

Upwind scheme

Lax-Wendroff scheme

Lax scheme

MacCormack scheme

RK4 scheme

Sine wave propagation in periodic domain: Upwind scheme for 1 period upwind

Sine wave propagation in periodic domain: Lax-Wendroff scheme for 1 period lw

Sine wave propagation in periodic domain: Runge-Kutta scheme for 1 period rk4

Upwind scheme (c=0.5): comparison with exact solution after 1 period upwind_1p

Upwind scheme (c=0.5): comparison with exact solution after 10 periods upwind_10p

Upwind scheme (c=0.5): comparison with exact solution after 100 periods upwind_100p

Lax-Wendroff scheme (c=0.5): comparison with exact solution after 1 period lw_1p

Lax-Wendroff scheme (c=0.5): comparison with exact solution after 10 periods lw_10p

Lax-Wendroff scheme (c=0.5): comparison with exact solution after 100 periods lw_100p

Runge-Kutta 4 scheme (c=0.5): comparison with exact solution after 1 period rk4_1p

Runge-Kutta 4 scheme (c=0.5): comparison with exact solution after 10 periods rk4_10p

Runge-Kutta 4 scheme (c=0.5): comparison with exact solution after 100 periods rk4_100p