Ferrofluid Permeation into Three-Dimensional Random Porous Media: A Numerical Study Using the Lattice Boltzmann Method