Thermal analysis of a glass bending process