A thermal stress finite element analysis of beam structures by hierarchical modeling,