Pipes and Junctions
AFT xStream employs two fundamental pipe system constructs: pipes and junctions.
Pipes are conduits for one-dimensional gas flow. Pressure drop due to friction occurs in pipes.
Junctions are connector points for pipes and are elements at which flow balances are made and where transients are initiated. Some junction types can only connect to one pipe; others can connect with up to twenty-five.
In addition to balancing flow, junctions also influence the flow or pressure behavior of the system. For example, an infinite tank junction applies a constant pressure at a location, and the flow there is free to adjust in whatever manner is consistent with the governing equations. In contrast, an assigned flow junction applies a known flow rate at its location, allowing the pressure to adjust to that level dictated by the governing equations. The various junction types allow you to specify special kinds of transient behavior, irrecoverable pressure losses, or fluid behavior.
Junctions communicate with each other through the pipes connecting them. Each pipe must be connected to two junctions. There are no exceptions to this rule.
A pipe differs from a junction in that it has a reference positive flow direction. To say a pipe has a flow rate of 1 lbm/sec is meaningless unless the flow direction is specified.
In general, you do not need to specify the actual flow direction in a pipe, because AFT xStream sorts out the true physical flow directions of the system you define. For example, if you specify the reference positive flow direction from left to right, and the solution is in fact the opposite direction, then that information will be presented in the output as a negative flow rate. Inlet and outlet conditions correspond to the reference positive flow direction, not the actual flow direction. However, for easier analysis of results, it can be helpful to ensure all pipes are configured so that they have positive flow in the steady state system.
It is important to specify the proper flow direction for pipes which connect to junctions such as compressors/fans or control valves. AFT xStream uses the flow direction of the pipes to determine in which direction to increase or reduce pressure.