Text this: Simulating damage mechanics of electromigration and thermomigration