How to add thermal expansion effect in structural member?

Hi All,

I am trying to simulate a beam frame which is expanded by temperature increase.

I have found that if I make the model by "Structural Member", I cannot find the option of "Thermal Effects" in simulation(pic 1).  If I make the model by "Extrude", I can find the option(pic 2).

So, how to apply thermal effect in model with "Structural Member"?

pic 1

pic 2

SolidworksSimulation