Hi
Your imagination about the application of Thermal forces in Pipe rack structural design consideration is correct.
This force is applicable in the longitidinal direction of rack i.e. the direction pipe is going and transfering liquid / gas.
This is additive to pipe friction forces applied...