PREVIOUS: Higher Order Schemes | UP: Course Outline | NEXT: Diffusive Systems |
u = sin(np.pi t), rx = 0, ry = 0, s = du/dt.You should see a nearly plane wave propagating across the domain. What is its wavelength? Is it consistent with expectations?
u[:,0] = u[:,1] u[:,J-1] = u[:,J-2]and similarly for the other variables.
u = rx = ry = s = 0at x = 0, -2 < y < 2 ?