Design and performance of centrifugal and axial flow pumps and compressors