thermodynamics in manufacturing