A non-hydrostatic flat-bottom ocean model entirely based on Fourier expansion