Role of capillary and viscous forces in mobilization of residual oil