The analysis of virtual mass effects in two-phase flow