Modeling binary alloy solidification by a random projection method