You can model a rigid without weight element from centerline to the outer surface of the pipe (with the pipe temperature) and to place the spring hanger there.
_________________________
Dan