With regard to Alex's diagram.
Forces at valve end (Edit) depends on the leg length. B31.1 App 2 implies that (Forces anywhere but the open end) edit *** can be ignored if leg length to the first elbow is less than 4 pipe diameters AND the pipe is constant diameter. (*** Previously listed as F1...