Roger
the applied load at a point displacement / rotation acts only on the degrees of freedom restrained, ie. a rotation is imposed by a moment. But this also causes displacement (check your output), so to keep the flange in position a displacement fixity is also required.
This sort of analysis starts to get tricky if you want to see what happens when the pipe is operating.. 5 degrees is a big rotation btw.