Cation Exchange in the Presence of Oil in Porous Media