Deterministic model for ice cream solidification