Modeling the evolution of droplet size distribution in two-phase flows