the appliion of thermodynamics in mining engineering