A general stochastic dynamic model of continuum damage mechanics