Non-Equilibrium Thermodynamics with Application to Solids