Text this: Numerical Study of a Thermally Stressed State of a Rod