Skip to content

omersan/5.02.Wave1D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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

About

PDE's: Solvers for wave equation in 1D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published