Thermal stress in a material is proportional to