thermodynamic in material science