Calculation of turbulent boundary layers on curved surfaces