Apply modified PDE approach to upwind scheme
I try to apply modified PDE approach to firstorder upwind scheme while I am reading the fluid simulation book^{1} by Robert Bridson today.
The procedure is very similar to which I used in my previous post. However the viscosity term I get is a bit different from the ones in the book.
This is my code:
The result I get is:
The modified PDE(up to a secondorder truncation error) I get is
which is different from the one in the book:
References

Bridson, Robert. Fluid simulation for computer graphics. CRC Press, 2015. ↩