functioncalcProperties_duX
Return thermodynamic state record from d and u
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Density | d | Density | |
| Modelica.SIunits.SpecificInternalEnergy | u | Specific internal energy | |
| Modelica.SIunits.MassFraction[nC] | X | reference_X | Mass fractions |
| Integer | X_unit | UnitBasis.MassFraction | |
| Integer | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
| MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObject | eo |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Properties | state |