1D Mathematical modelling of debris flow