Development of a numerical model for predicting the effect of defence structures on debris flow