thermal expansion of beam elements

Does anyone know, can you model thermal expansion of beam elements?  I don't think it's possible but thought I'd ask.