Analysis of the effect of viscous dissipation for laminar flow in stadium-shaped ducts