Creep Relaxation of a Beam of General Cross Section Subjected to Mechanical and Thermal Loads