modelJunction
Partial junction
Extends from ThermofluidStream.Utilities.DropOfCommonsPlus (Extend this to use 'dropOfCommons', 'instanceName', 'displayInstanceName' and 'displayParameters').
Information
Base model for ideal junction that should be used when the mass flow rate is specified at one or both inlets.
The model is locally underdetermined (one equation missing) and therefore must be connected to an overdetermined component (e.g., MassFlowRate) to ensure that the overall system is not underdetermined.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| Specification | free | ThermofluidStream.Idealized.Topology.Types.FreeJunctionInlet.A | Free inlet |
| String | name | getInstanceName() | |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Advanced | |||
| SI.MassFlowRate | m_flow_eps | dropOfCommons.m_flow_reg | Regularization threshold for small mass flows |
| Boolean | considerInertance | dropOfCommons.considerInertance | =true, if transient momentum (inertance) term is considered; disable only for advanced use |
| ThermofluidStream.Utilities.Units.Inertance | L | dropOfCommons.L | Inertance of each inlet/outlet |
| Warnings | |||
| AssertionLevel | assertionLevel | AssertionLevel.warning | Assertion level |
| Real | relTol_dp_AB | 1e-3 | Relative tolerance for inlet pressure difference pA, pB |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.Interfaces.Outlet | outlet | Outlet |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | isDPWithinTol | = 1.0 if pressure difference is within tolerance, = -1.0 if tolerance is exceeded | |
| Medium.ThermodynamicState | stateA | Inlet A state | |
| Medium.ThermodynamicState | stateB | Inlet B state | |
| SI.MassFlowRate | m_flowA | Mass flow rate inlet A | |
| SI.MassFlowRate | m_flowB | Mass flow rate inlet B | |
| SI.MassFlowRate | m_flowA_reg | abs(m_flowA) + m_flow_eps | Regularized mass flow rate |
| SI.MassFlowRate | m_flowB_reg | abs(m_flowB) + m_flow_eps | Regularized mass flow rate |
| Real | dp_AB_rel | Relative difference in pressure at junction inlets | |
| Medium.SpecificEnthalpy | h_mix | Outlet specific enthalpy | |
| Medium.AbsolutePressure | p_mix | Outlet (steady mass-flow) pressure | |
| SI.Pressure | r_mix | Outlet inertial pressure | |
| Medium.MassFraction[Medium.nXi] | Xi_mix | Outlet mass fractions |
Contents
| Name | Description |
|---|---|
| Medium model |
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.