Analysis of Three-Dimensional Turbulent Flow in an S-Shaped Rectangular Channel