Gravar-mail: Analytical and experimental study on the evolution of residual stresses in composite materials