Numerical simulation of turbulent flows