5. From the Characterization and Modeling of Cure-Dependent Properties of Composite Materials to the Simulation of Residual Stresses