Numerical Simulation of Wave Interaction with Submerged Porous Structures and Application for Coastal Resilience