Pore-scale modelling of multiphase flow: the impact of geometry and wettability