Curing shrinkage and residual stresses in viscoelastic thermosetting resins and composites door