Phenomenological model of the inhomogeneous state of a material under a pulse effect