Flat wave
delay
framerate:fps
Linear waves on 512×512 square.
2D wave equation
For the wave equation
∂t2u = Δu ,
u|t=0 = exp(-(r -
ro )2/ a2),
∂t u|t=0 = 0,
the simple explicit scheme
ux,yt+1 =
2ux,yt - ux,yt-1 +
(ux+1,yt + ux-1,yt +
ux,y+1t + ux,y-1t -
4ux,yt)(Δt/Δx)2
on square grid is used.
See 2D flat wave for detail.
Electromagnetic wave simulation
updated 22 Oct 2013