Viscous dissipation is the production of heat due to the slip of fluid layers and can raise the temperature of the fluid that is affected by high shear stresses. This raise of temperature in fluids with explosive properties can cause the explosion during the processing. The present paper investigates the temperature distribution of an explosive fluid beside the wall of a converging tube. This study has been done by using the computational fluid dynamics and OpenFOAM software. The studied cases contain the fluid with two viscosities (50 and 500 kg/m × s) and two inlet conditions (constant and developed velocity profile). The results of this study show that at the end of a converging pipe, duo to the viscous dissipation effects, the temperature rise for high viscosity fluid is more intensive and this is a dangerous fact for high viscosity explosive fluids discharging. Also, it has been considered that the constant inlet velocity is safer in comparison with the developed profile, as the slope of temperature rise is less.