Computational Fluid Dynamics (CFD) uses mathematics and software to simulate and visualize the behaviour of gases and liquids. Most practical problems can only be solved by treating the fluid as a large number of connected cells, calculating a small step change for each cell, and repeating the calculation for the next step.