Tide-induced currents in a phase-resolving wave model