You will have to consult the literature regarding transport phenomena in porous media. A very good textbook on the subject is [1]. For orientation, you may consult [2,3].
[1] J Bear, Modeling Phenomena of Flow and Transport in Porous Media (Springer, Cham, Switzerland, 2018).