Numerical simulation of incompressible flows