Coupled influence of wettability alteration and geometry on two-phase flow in porous media. (November 2021)