A numerical study of the flow past an isolated airfoil with separation