The numerical micro/macro model of solidification process