Sediment exchange between the main channel and the groyne fields of a river