Mechanical characterization and quality of iron castings using optimized mold design: simulations and experimental validation