Numerical modelling of ice