Application of Multiscale analysis techniques in continuous and discontinuous fiber-reinforced composite materials to investigate the failure induced by microscopic instability phenomena