Simulation of turbulent flows