Text this: Modeling of defects and fracture mechanics