In the name of God Pore-Scale Modeling of Three-Phase Flow in Mixed-Wet Systems Mohammad Piri Martin Blunt Centre for Petroleum Studies Department of Earth.