Numerical study of the scratch-closing behavior of coatings containing an expansive layer