Simulation of the degradation of oilwell cement for the prediction of long-term performance