Hello
if you use a very low value for the depth threshold you will generate extreme forcing values for wind which is not physically accepted but also challenging numerically.
Moreover, if you use a constant value in space, you will apply the same wind force for any water depth in the domain. I suggest to use a space varying value (that depend on the water depth, for instance), an expression like max(0.1,H%R(I)/2.d0) could be used to define the threshold for any node I.
In all case, you have to use advection schemes that satisfy tidal flats and use raisonable time steps.
wit my best regards
Riadh