Steady convection-diffusion, N cells
Pulse on a ring, time marching

How CFD Works: Finite Volumes, Cell Peclet Number, Numerical Diffusion and the Courant Limit (2D)

The finite-volume method on two one-dimensional model problems with exact answers: a steady convection-diffusion profile on N cells (central, upwind and exponential face values, tridiagonal solve) and a pulse on a ring marched by upwind, Lax-Wendroff or central time stepping. The page reports the error against the exact solution, the observed order of accuracy, the cell Peclet number, the numerical diffusion a dx (1-C)/2 and the von Neumann amplification factor, and runs eight independent numerical checks.

Made with 🟠 Blender