Process-based modelling of morphodynamics and bar architecture in confined basins with fluvial and tidal currents