During casting process design, CAD/CAE technology can play important role to avoid macroscopic irregularity, internal defect and assure casting performance. Based on the casting process analysis and gating system design, the numerical simulation of gray iron butterfly valve was done by hydrodynamic software Flow-3D to obtain its optimal process scheme. According to the simulation results including flow field, temperature field and defect distribution, the merits and faults of designed schemes were investigated and then the feasible gating system was proposed. The results showed that, compared with top or intermediate casting, when adopting bottom casting, steady flow of molten metal and reasonable temperature distribution could be achieved. And workpiece defects mainly distributed in riser. The predicted results are in good agreement with practical ones.