Numerical simulation of an oscillating water column device using a code based on Navier–Stokes equations