Numerical assessment of the effects of a porous medium in transient sloshing-induced impulsive hydrodynamics