A multiscale approach for fluid flow effect on microstructure and segregation