Flow visualization and numerical simulation of a two-dimensional fluid flow over a foil