Elastic-plastic analysis of deformation induced by thermal stress in eutectic composites: III. thermal-cycling damage