A GENERAL NUMERICAL MODEL FOR WAVE ROTOR ANALYSIS