The measurement of thermal expansion of a liquid’s volume or the dimensions of a solid caused by phenomena such as compression and magnetostriction.