Debris flows are rapid, destructive landslides that pose significant risks in mountainous regions. This study presents a novel algorithm to simulate debris flow dynamics, focusing on sediment transport from 0-order basins to depositional zones. The algorithm integrates the D8 flow direction method with an adjustable friction coefficient to enhance the accuracy of debris flow trajectory and depo…