Computational modelling of interacting phenomena in the shape casting process