Thermo-Mechanical Analysis of Isotropic and Orthotropic Beams using a Unified Formulation