The elastocaloric effect is a phenomenon where a material displays a temperature change when it is exposed to a mechanical stress. The change in temperature occurs due to an entropy difference resulting from a martensitic transformation accompanied by material's crystal structure change under stress.
Source:
phys.org