functionVoidFraction
Calculation of (cross sectional) void fraction for two phase flow
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach | voidFractionApproach | Dissipation.Utilities.Types.VoidFractionApproach.Homogeneous | Choice of void fraction approach |
| Boolean | crossSectionalAveraged | true | = true, if cross sectional averaged void fraction, otherwise volumetric |
| SI.Density | rho_g | Density of gaseous phase | |
| SI.Density | rho_l | Density of liquid phase | |
| Real | x_flow | 0 | Mass flow rate quality |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | epsilon | Void fraction | |
| Real | slipRatio | Slip ratio |