Numerical modelling of tidal turbines in the vicinity of a weir