Transfer function from signal flow graph
The transfer function Y/U1 tells you in which way the output of the system (Y) depends on the input signal U1 (only!). Hence, each other input to the system must be set to zero. Another question could be how the output signal Y depends on both inputs - here, we must apply superposition. However, the result would not be a transfer function - just y=f(U1, U2)