Numerical investigation of two phase flow in micromodel porous media: Effects of wettability, heterogeneity, and viscosity