Thermodynamics of Materials