Text this: Elastic and inelastic stress analysis