Modelling of curling in desiccating clay