I do know that the potential energy increases as you compress a solid but will there be a corresponding decrease in kinetic energy? SImilarly, will extension of a solid lead to decrease in potential energy and corresponding increase in kinetic energy?
I recently read that the change in volume changes the internal energy in solids unlike that of ideal gases (where internal energy depends only on temperature). It explained that the there is increase in the internal potential energy when volume of solid is reduce by compression. But I think that internal energy (i.e sum of internal kinetic and potential energy) shouldn't really changes if one form of energy converts to another. Maybe my interpretation is wrong but I can't see where.