On the link between mechanics and thermal properties: mechanothermics