Standard package icon.
Extends from Modelica.Icons.Package
(Icon for standard packages).
Name | Description |
---|---|
ConvergingTee |   |
DivergingTee |   |
PipeExt |   |
Pipe with geometric parameters, temperature-dependent viscosity, and optional heat exchange.
Thermodynamic equations are defined by Partials.TwoPort. Q_flow is defined by heatPort.Q_flow (useHeatPort=true) or zero (useHeatPort=false).
Note: Setting parameter m (mass of medium within pipe) to zero leads to neglect of temperature transient cv * m * der(T).
Note: Injecting heat into a pipe with zero mass flow causes temperature rise defined by storing heat in medium's mass.
Extends from Modelica.Thermal.FluidHeatFlow.Interfaces.Partials.TwoPort
(Partial model of two port).
Type | Name | Default | Description |
---|---|---|---|
Length | diameter | 0.032 | Pipe diameter |
Length | length | 5 | Pipe length |
Length | h_g | 0 | Geodetic height (height difference from flowPort_a to flowPort_b) |
Real | relRoughness | 1e-6 | Relative roughness |
Real | sumZeta | 0 | Sum of loss factors (bends, elbows) |
Real | frictionLoss | 0 | Part of friction losses fed to medium |
Real | nueT[:,:] | [273,4e-4; 313,3.2e-5] | Table kin. viscosity(T) |
Boolean | useHeatPort | false | enable HeatPort |
Acceleration | g | Modelica.Constants.g_n | Gravitation |
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Medium in the component |
Mass | m | Mass of medium | |
Temperature | T0 | Initial temperature of medium | |
Boolean | T0fixed | false | Initial temperature guess value or fixed |
Real | tapT | 1 | Defines temperature of heatPort between inlet and outlet temperature |
Type | Name | Description |
---|---|---|
FlowPort_a | flowPort_a |   |
FlowPort_b | flowPort_b |   |
HeatPort_a | heatPort | Heat port |
The component ConvergingTee is a specialized element that works only in a narrow boundary condition. It represents a 90° T-branch with equal diameter for main passage (sides c and st) and any diameter for branch s.
The flow direction is mandantory and has to be from port st to port c and port s to port c. Other flow directions are not supported.
Calculation of zeta is taken from Idelchik 'Handbook of Hydraulic Resistance', 4th Edition 2007, Diagram 7.4
Type | Name | Default | Description |
---|---|---|---|
Length | Dc | 0.005 | Diameter of main passage |
Length | Ds | 0.005 | Diameter of branch |
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Medium in the component |
Temperature | T0 | Initial temperature of medium | |
Boolean | T0fixed | false | Initial temperature guess value or fixed |
Real | frictionLoss | Part of friction losses fed to medium | |
Boolean | enableZetaOutput | false | Enable zeta output |
Boolean | useHeatPort | false | Enable HeatPort |
Type | Name | Description |
---|---|---|
FlowPort_b | flowPort_c | Outlet port c |
FlowPort_a | flowPort_st | Inlet port straight passage |
FlowPort_a | flowPort_s | Inlet port side branch |
output RealOutput | zeta_st | zetacst |
output RealOutput | zeta_s | zetacs |
output RealOutput | QsQc | Qs/Qc |
HeatPort_a | heatPort |   |
The component DivergingTee is a specialized element that works only in a narrow boundary condition. It represents a 90° T-branch with equal diameter for main passage (sides c and st) and any diameter for branch s.
The flow direction is mandantory and has to be from port c to port st and port c to port s. Other flow directions are not supported.
Calculation of zeta is taken from Idelchik 'Handbook of Hydraulic Resistance', 4th Edition 2007, Diagram 7.18 and 7.20
Type | Name | Default | Description |
---|---|---|---|
Length | Dc | 0.005 | Diameter of main passage |
Length | Ds | 0.005 | Diameter of branch |
Medium | medium | Modelica.Thermal.FluidHeatFlow.Media.Medium() | Medium in the component |
Temperature | T0 | Initial temperature of medium | |
Boolean | T0fixed | false | Initial temperature guess value or fixed |
Real | frictionLoss | Part of friction losses fed to medium | |
Boolean | enableZetaOutput | false | Enable zeta output |
Boolean | useHeatPort | false | Enable HeatPort |
Type | Name | Description |
---|---|---|
FlowPort_a | flowPort_c | Inlet port c |
FlowPort_b | flowPort_st | Outlet port straight passage |
FlowPort_b | flowPort_s | Outlet port side branch |
output RealOutput | zeta_st | zetacst |
output RealOutput | zeta_s | zetacs |
output RealOutput | QsQc | Qs/Qc |
HeatPort_a | heatPort |   |