Viscous dissipation in duct flow of molten polymers