Three-way junction in an isothermal liquid system
Simscape / Fluids / Isothermal Liquid / Pipes & Fittings

The T-Junction (IL) block models a three-way pipe junction with a branch line at port
C connected at a 90o angle to the
main pipe line, between ports A and B. You can
specify a custom or standard junction type. When Three-way junction
type is set to Custom, you can specify the
loss coefficients of each pipe segment for converging and diverging flows. The standard
model applies industry-standard loss coefficients to the momentum equations.
The flow is converging when the branch flow, the flow through port C, merges into the main flow. The flow is diverging when the branch flow splits from the main flow. The flow direction between A and I, the point where the branch meets the main, and B and I must be consistent for all loss coefficients to be applied. If they are not, as shown in the last two diagrams in the figure below, the losses in the junction are approximated with the main branch loss coefficient for converging or diverging flows.
Flow Scenarios

When Three-way junction type is set to
Standard, the pipe loss coefficients,
Kmain and
Kside, and the pipe friction factor,
fT, are calculated according to Crane [1]:
In contrast to the custom junction type, the standard junction loss coefficient is the same for both converging and diverging flows. KA, KB, and KC are then calculated in the same manner as custom junctions.
Friction Factor per Nominal Pipe Diameter

When Three-way junction type is set to
Custom, the pipe loss coefficient at each port,
K, is calculated based on the user-defined loss parameters
for converging and diverging flow and mass flow rate at each port. The coefficients
are defined generally for positive and negative flows:
where
Kmain,conv is the Main branch converging loss coefficient.
Kmain,div is the Main branch diverging loss coefficient.
where:
Kside,conv is the Side branch converging loss coefficient.
Kside,div is the Side branch diverging loss coefficient.
The positive mass flow direction at each port, when the flow direction is from A to B, from A to C, and from C to B, is defined as:
The negative mass flow direction is defined as:
The mass flow rate threshold, which is the point at which the flow in the pipe begins to reverse direction, is calculated as:
where:
Rec is the Critical Reynolds number, beyond which the transitional flow regime begins.
ν is the fluid viscosity.
is the average fluid density.
Amin is the smallest cross-sectional area in the pipe junction.
Mass is conserved in the pipe segment:
Flow through the pipe junction is calculated from momentum conservation equations between ports A, B, and C:
where Amain is the Main branch area (A-B) and Aside is the Side branch area (A-C, B-C).
[1] Crane Co. Flow of Fluids Through Valves, Fittings, and Pipe TP-410. Crane Co., 1981.
Area Change (IL) | Elbow (IL) | Local Resistance (IL) | Pipe Bend (IL)