functiondp_twoPhaseMomentum_DP
Momentum pressure loss of straight pipe for two phase flow | calculate pressure loss
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach | voidFractionApproach | Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach.Homogeneous | Choice of void fraction approach |
| Boolean | massFlowRateCorrection | false | Consider heterogeneous mass flow rate correction |
| SI.Area | A_cross | PI*0.1^2/4 | Cross sectional area |
| SI.Length | perimeter | PI*0.1 | Perimeter |
| SI.Density | rho_g | Density of gas | |
| SI.Density | rho_l | Density of liquid | |
| Real | x_flow_end | 0 | Mass flow rate quality at end of length |
| Real | x_flow_sta | 0 | Mass flow rate quality at start of length |
| SI.MassFlowRate | m_flow | Mass flow rate |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | DP_mom | Momentum pressure loss |