B6c - upwinding

C5 - advection equation-2.png|500
image: B Hnat, lecture notes

ykj+1ykjΔt+vΔx(ykjyk1j)=0for v>0ykj+1ykjΔtvΔx(ykjyk1j)=0for v<0