Generalized mathematical modelling of spray barriers