According to the theory of variational principle for aerodynamic direct problem on 3-d transonic flow with shock waves in a rotating turbo-impeller, a combined version of finite element method and artificial compressibility method is proposed for capturing the shock waves on the transonic flow. The results show that this version is reliable and practicable.