Home▸Fluid Dynamics & Aerodynamics▸How CFD Works: Finite Volumes, Cell Peclet Number, Numerical Diffusion and the Courant Limit (2D)

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

The same finite-volume lab in 2D: Blender-rendered trays under columns for the steady convection-diffusion profile and for a pulse on a ring, with the exact solutions overlaid, grid-convergence, pulse-height, error and von Neumann charts. Same controls and checks as the 3D version.

Fluid Dynamics & Aerodynamics2DModerate60 FPS📱 Mobile-adapted🟠 Blender💧 Water💨 Air & Wind⇄ 3D version
How CFD Works: Finite Volumes, Cell Peclet Number, Numerical Diffusion and the Courant Limit (2D) ↗ Open standalone

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.

⚙ Under the hood

The same finite-volume lab in 2D: Blender-rendered trays under columns for the steady convection-diffusion profile and for a pulse on a ring, with the exact solutions overlaid, grid-convergence, pulse-height, error and von Neumann charts. Same controls and checks as the 3D version.

CFDfinite volume methodnumerical diffusionCourant numberPeclet numberupwind schemeLax-Wendroffgrid convergencevon Neumann stability

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)