The process of the metal liquid flows in the die cavity, with finite element method used, was simulated in the article. The article fully introduced the foundation of the die cavity, definition of the material parameters, model meshing and boundary conditions setting. Conclusion included velocity and pressure distribution of the liquid. The reasons of the casting defect were detected according to the analysis, which provided a theoretical basis for practical production in order to improve the quality of the products.