As such , thermodynamic work is a generalization of the concept of mechanical work in physics .
It is a generalization of the concept of mechanical work in mechanics .