A numerical model of dust particle impacts during a cometary encounter with application to ESA’s Comet Interceptor mission