The influence of hydrodynamic flow on microstructure evolution during solidification