modelTeeJunctionVolumeLoss

Dividing-flow tee with an angle-dependent 90 deg branch take-off to a smaller pipe

Extends from TRANSFORM.Icons.Example (Icon for runnable examples).

Information

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.

Components

TypeNameDefaultDescription
Modelica.Fluid.Systemsystem
TRANSFORM.Fluid.SystemTFsystemTF
TRANSFORM.Fluid.FittingsAndResistances.TeeJunctionVolumeLosstee90 deg tee, 0.05 m run, 0.025 m branch
Modelica.Fluid.Sources.MassFlowSource_TIN1Constant 0.05 kg/s combined inlet
TRANSFORM.Fluid.FittingsAndResistances.SpecifiedResistanceR_runDownstream run resistance (sets a well-posed network / avoids pinning)
Modelica.Fluid.Sources.FixedBoundaryOUT2Run outlet
Modelica.Fluid.Sources.MassFlowSource_TBRANCHImposes the branch draw-off (sweeps the flow ratio)
Modelica.Blocks.Sources.Rampbranch_drawBranch extraction 0 -> 0.04 kg/s, so the branch flow ratio Qr sweeps 0 -> 0.8