CFD modeling of void distribution in two-phase flows