A centrifugal compressor works on the principle of