A numerical study of a vortex ring impacting a permeable wall