An Application of Path-Percolation Theory and Lattice-Boltzmann Model on Mass Transfer in Inhomogeneous Porous Media