An important element of the automobile manufacturing process involves the utilization of foundries. Today's foundries' quality and output are low because of variations in the casting process's many variables. The solidification procedure following pouring is crucial to the final quality of the casting. In order to plan the casting process for making castings before castings are produced or before new or better equipment is built, foundries are increasingly turning to computerized casting modelling and solidification simulation. With the use of computerized casting modelling and solidification simulation, manufacturers may improve the quality of their castings at a lower cost, without sacrificing quantity. As a result of casting solidification simulation, the number of trials performed on the shop floor may be cut significantly, and defect-free castings can be guaranteed. Finite element method (FEM), finite difference method (FDM), and finite volume method (FVM) are the theoretical basis of the casting simulation methods (FVM). In this study, we explore the application of the finite difference method (FDM) and the finite volume method (FVM) to simulate the solidification of a casting and to optimise the casting gating system for maximum yield. This research looks at how modelling and simulation can help improve our understanding of Flange. Flanges are made of ductile iron using a shell moulding method. Mechanically, ductile iron may be used to make a variety of vehicle components.