Modelling of a batch crystallization of brittle material