Numerical Simulation of Attenuator Wave Energy Converter Using One-Fluid Formulation