The Flow of Heterogeneous Fluids Through Porous Media