Numerical simulation of bed degradation and bed armouring