Calculation of three-dimensional turbulent subsonic flows in transition ducts