SMS dit: A hybrid discrete–continuum framework for modelling filtration