
modelPartialStraightPipe
Base class for straight pipe models
Extends from Modelica.Fluid.Interfaces.PartialTwoPort (Partial component with two ports).
Information
Base class for one dimensional flow models. It specializes a PartialTwoPort with a parameter interface and icon graphics.
Parameters
| Type | Name | Default | Description |
| SI.Volume | V | crossArea*length*nParallel | Volume size |
| Assumptions |
| Boolean | allowFlowReversal (from PartialTwoPort) | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Geometry |
| Real | nParallel | 1 | Number of identical parallel pipes |
| SI.Diameter | diameter | | Diameter of circular pipe |
| Modelica.Fluid.Types.Roughness | roughness | 2.5e-5 | Average height of surface asperities (default: smooth steel pipe) |
| General › Geometry |
| SI.Length | length | | Length |
| Boolean | isCircular | true | = true, if cross sectional area is circular |
| SI.Area | crossArea | Modelica.Constants.pi*diameter*diameter/4 | Inner cross section area |
| SI.Length | perimeter | Modelica.Constants.pi*diameter | Inner perimeter |
| Static head |
| SI.Length | height_ab | 0 | Height(port_b) - Height(port_a) |
Contents
| Name | Description |
FlowModel | |