Modelling the hydrodynamics of offshore sandbanks