Numerical simulation of the effect of fluid flow on solute distribution and dendritic morphology