Your CFD simulation was running fine — then the residuals exploded to infinity and everything turned to NaN. Nine times out of ten, the culprit is a time step that's too large, violating the CFL condition . The Courant–Friedrichs–Lewy number is the single most important control on the stability of any transient (time-marching) simulation, and getting it right is the difference between a clean run and a wasted afternoon. This guide gives you a free CFL calculator (validated against the standard formulas), explains the condition in plain language, and shows you exactly how to choose a stable, efficient time step. Figure 1. The Courant number measures how far the flow travels per time step relative to the cell size. Keep it below 1 (explicit solvers) and the simulation stays stable; exceed it and the solution diverges. Table of Contents The CFL / Courant Number Calculator What Is the CFL / Courant Number? The CFL Stability Condition The Formula...
This blog offers easy-to-follow tutorials on CFD, FEA, CAD modeling, and AI/ML applications. You’ll find practical examples using OpenFOAM, FreeCAD, FDS, eQuest, ANSYS, and other tools—built to help students, researchers, and engineers learn simulation and machine-learning techniques step by step.