In this paper, a three-dimensional body force model for predicting compressor performance and stability is implemented in the Ansys CFX. The influence of the blade rows on the flow field is represented by the source terms of CFX-solver equation. At first, a high-speed and high-pressure-ratio transonic compressor with the clean inlet is investigated. The overall performance and the flow fields are in agreement well with those of the experimental date, so the model is reliable and correct. Then, the effects of the circumferential distortions in the inlet total pressure and the total temperature on the compressor performance and flow field are also illustrated, respectively. In summary, the proposed body force model is suitable to investigate the flow field of the compressor with the inlet distortions.