This paper analyses the liquid flow and heat transfer during the centrifugal casting. Based on the N-S equation of the liquid flow and the equation of continuity, an appropriate mathematical model is built and a software is developed on the Visual C++6.0 platform. The software can simulate the process of the centrifugal casting. By practical application, the software can validate the technology scheme and optimize the process parameters.