.MultiPhaseMixture.Templates.ExternalTwoPhaseMixture.Auxilary.calcProperties_duX

Information

Return thermodynamic state record from d and u

Interface

function calcProperties_duX
  extends Modelica.Icons.Function;
  input Modelica.SIunits.Density d "Density";
  input Modelica.SIunits.SpecificInternalEnergy u "Specific internal energy";
  input Modelica.SIunits.MassFraction X[nC] = reference_X "Mass fractions";
  input Integer X_unit = UnitBasis.MassFraction;
  input Integer phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known";
  input MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObject eo;
  output Properties state;
end calcProperties_duX;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos