Numerical simulation of multi-phase flow in a driven cavity with application to gas/liquid pump