On the simulation of the flaking paint due to internal stresses: A simple model