functioncalcProperties_duX_ext

Return thermodynamic state record from d and u

Extends from MultiPhaseMixture.Icons.ExternalFunction.

Inputs

TypeNameDefaultDescription
Modelica.SIunits.DensitydDensity
Modelica.SIunits.SpecificInternalEnergyuSpecific internal energy
Modelica.SIunits.MassFraction[nC]Xreference_XMass fractions
IntegerX_unitUnitBasis.MassFraction
Integerphase02 for two-phase, 1 for one-phase, 0 if not known
MultiPhaseMixture.Templates.ExternalObjects.ExternalMediaObjecteo

Outputs

TypeNameDefaultDescription
Modelica.SIunits.AbsolutePressurep_overall_pressure
Modelica.SIunits.TemperatureT_overall_temperature
Modelica.SIunits.Densityd_overall_density
Modelica.SIunits.SpecificEnthalpyh_overall_specific enthalpy
Modelica.SIunits.SpecificEntropys_overall_specific entropy
Modelica.SIunits.Density[nP]d_1ph_density
Modelica.SIunits.SpecificEnthalpy[nP]h_1ph_specific enthalpy
Modelica.SIunits.SpecificEntropy[nP]s_1ph_specific entropy
Modelica.SIunits.PrandtlNumber[nP]Pr_1ph_prandtl number
Modelica.SIunits.VelocityOfSound[nP]a_1ph_velocity of sound
Modelica.SIunits.CubicExpansionCoefficient[nP]beta_1ph_isobaric expansion coefficient
Modelica.SIunits.SpecificHeatCapacity[nP]cp_1ph_specific heat capacity cp
Modelica.SIunits.SpecificHeatCapacity[nP]cv_1ph_specific heat capacity cv
Modelica.SIunits.Compressibility[nP]kappa_1ph_compressibility
Modelica.SIunits.ThermalConductivity[nP]lambda_1ph_thermal conductivity
Modelica.SIunits.DynamicViscosity[nP]eta_1ph_dynamic viscosity
Modelica.SIunits.DerPressureByTemperature[nP]dpdT_dN_1ph_Derivative of pressure w.r.t. temperature
Modelica.SIunits.DerPressureByDensity[nP]dpdd_TN_1ph_Derivative of pressure w.r.t. density
IntegernbrOfPresentPhases_Number of present phases, 0= unknown,1=single phase
Integer[nP]presentPhaseIndex_
Modelica.SIunits.MassFraction[nP*nC]phaseCompositions_matrix with composition for each phase
Modelica.SIunits.MoleFraction[nP]phaseFractions_molar fraction of the fluid that is in the specified phase