Response of open-channel flow to a sudden change from smooth to rough bed