modelling of slag flow and prediction of corrosion state