Tools like OpenFOAM (for CFD) or Salome-Meca can sometimes be adapted for casting simulations with enough technical expertise.