Thermodynamics of Turbomachinery