Simulation of drop motion and breakup in narrow pores