In this lesson, we are going to solve the advection equation numerically using the Lax-Wendroff scheme. We'll see that including a dissipation term in the numerical scheme can improve its stability. However, this must be done in a clever way! The python code that I use in this class can be found on my website.
Do you want to learn more about numerical methods and CFD?
Check out my book "The minimum you need to know to write your own CFD solver" on my store: https://www.psvolpiani.com/store
Also available on Amazon!
Python code: https://www.psvolpiani.com/courses