Study on the downcutting rate of a debris flow dam based on grain-size distribution