Simulations of debris flows in erodible channels