Computer modeling of non-isothermal crystallization