Hydrodynamic modelling of roughness discontinuities