3D SPH porous flow model for wave interaction with permeable structures