Two-dimensional analyses related to wave-energy extraction by submerged resonant ducts