using expansion or contraction of bodies due to heating, cooling, moistening, drying or the like