Unit test for
TeeJunctionVolumeLoss. A constant 0.05 kg/s of air enters
the run inlet (port_1) and divides between the
straight run (port_2 → a downstream resistance →
ambient) and a 90° branch (port_3, 0.025 m) whose
draw-off is ramped so the branch flow ratio Qr sweeps
from 0 to 0.8. This exercises the angle- and flow-ratio-dependent
Crane branch and run loss coefficients (tee.K_branch,
tee.K_run) over their range.
The branch split is imposed (rather than left to equal-pressure outlets, which would over-constrain the split with the tee as the only resistance), and a downstream resistance is placed on the run leg so the volume pressure is not pinned directly to an ideal boundary – representative of normal network usage.