Text this: Multiscale analysis of deformation and failure of materials