Introduction to Thermodynamics of Materials