In this paper, the calculation formulae of high-speed gas flow in a pipe with friction has been set up in the light of varied thermal process. The calculating method and related problems are made out.