Elastic-Plastic Behavior of a Cylinder Subject to Mechanical and Thermal Loads