Abstract This study presents a novel computational solver, DiecastCompressibleInterFoam, for the investigation of air entrapment and porosity formation during high-pressure aluminum die casting, with a focus on visualizing and predicting internal defects that significantly impact product reliability in automotive and precision components. Using the multiphase fluid dynamics framework in OpenFOAM, an open-source fluid analysis software, both compressibility and solidification effects are incorporated in three-dimensional simulations. The solver combines the Volume of Fluid method and Large Eddy Simulations to enable precise analysis of bubble dynamics during turbulent filling and cooling. Polyhedral mesh strategies and mesh optimization improve conformity to complex casting geometries, while real injection waveform data and mapped molten metal temperature distributions ensure realistic boundary conditions. Comparative analysis with X-ray computed tomography data from actual products demonstrates a porosity location agreement rate of up to 60%, confirming the validity of the simulations. Furthermore, optimization of the vent design and outlet boundary conditions effectively reduces air entrapment and porosity rates. Regarding computational efficiency, mesh structure refinement, symmetry modeling, and split analysis for sleeve components are employed, reducing the computation time by up to 55% for the optimized case, compared with the baseline configuration based on the full domain. The proposed modeling approach significantly improves defect prediction accuracy, enabling valuable process feedback and supporting quality assurance in die-cast aluminum components. Graphical Abstract
Yamada et al. (Mon,) studied this question.