Modelling the filtration process in molten metals