modelPipe
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Length | D | Pipe diameter | |
| Modelica.SIunits.Length | L | Pipe length | |
| Modelica.SIunits.PerUnit | cf | 0.005 | Fanning friction factor |
| Types.Velocity | unom | Nominal air speed | |
| Modelica.SIunits.PerUnit | delta | 0.1 | Fraction of nominal velocity for friction regularization |
| Types.RelativePressure | pstart | 0 | start value for relative pressure p |
| Modelica.SIunits.PerUnit | pi | Modelica.Constants.pi | |
| Modelica.SIunits.Area | A | pi*D^2/4 | Pipe cross-sectional surface |
| Modelica.SIunits.Volume | V | A*L | |
| Modelica.SIunits.Length | omega | pi*D | Wet perimeter |
| Modelica.SIunits.Length | l | L/2 | Length of a single finite vol. |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.PneumaticPort_a | inlet | ||
| Interfaces.PneumaticPort_b | outlet |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Media.AirAdiabatic | air | ||
| Types.MassFlowRate | win | Entering flow rate | |
| Types.MassFlowRate | wout | Leaving flow rate | |
| Types.Velocity | uin | Entering fluid speed | |
| Types.Velocity | uout | Leaving fluid velocity | |
| Types.RelativePressure | pin | Entering relative pressure | |
| Types.RelativePressure | pout | Leaving relative pressure | |
| Types.RelativePressure | dpin | Pressure loss, inlet side | |
| Types.RelativePressure | dpout | Pressure loss, outlet side | |
| Types.RelativePressure | dp | Pressure loss, total | |
| Types.VelocitySquared | uin2 | Regularized squared inlet velocity | |
| Types.VelocitySquared | uout2 | Regularized squared inlet velocity | |
| Types.RelativePressure | p | Relative pressure at the middle of the pipe | |
| Modelica.SIunits.Mass | M | Mass of fluid in the pipe |
Contents
| Name | Description |
|---|---|