Modeling of thermal wave propagation in damaged composites with internal source