Solidification and compositional convection of a ternary alloy