Coupled thermoelasticity beam problems