SMS: Thermodynamics for geologists/