Numerical Investigation of Wave Energy Absorbed by the Edinburgh Nodding Duck Device in Front of a Vertical Wall