.ExternalMedia.Media.BaseClasses.ExternalTwoPhaseMedium

Generic external two phase medium package

Contents

Name Description
 ThermodynamicState
 SaturationProperties
 BaseProperties
 molarMass Return the molar mass of the medium
 getMolarMass
 getCriticalTemperature
 getCriticalPressure
 getCriticalMolarVolume
 setState_ph Return thermodynamic state record from p and h
 setState_pT Return thermodynamic state record from p and T
 setState_pT_noErr Return thermodynamic state record from p and T - does not use workaround to handle ModelicaError
 setState_dT Return thermodynamic state record from d and T
 setState_ps Return thermodynamic state record from p and s
 setState_hs Return thermodynamic state record from h and s
 partialDeriv_state Return partial derivative from a thermodynamic state record
 setState_phX
 setState_pTX
 setState_dTX
 setState_psX
 setState_hsX
 density_ph Return density from p and h
 density_ph_state returns density for given p and h
 density_ph_der Total derivative of density_ph
 temperature_ph Return temperature from p and h
 temperature_ph_state returns temperature for given p and h
 specificEntropy_ph Return specific entropy from p and h
 specificEntropy_ph_state returns specific entropy for a given p and h
 specificEntropy_ph_der time derivative of specificEntropy_ph
 density_pT Return density from p and T
 density_pT_state
 density_pT_der Total derivative of density_pT
 specificEnthalpy_pT Return specific enthalpy from p and T
 specificEnthalpy_pT_noErr Return specific enthalpy from p and T - doesn't use workaround for ModelicaError
 specificEnthalpy_pT_state returns specific enthalpy for given p and T
 specificEntropy_pT returns specific entropy for a given p and T
 specificEntropy_pT_state returns specific entropy for a given p and T
 pressure_dT Return pressure from d and T
 pressure_dT_state
 specificEnthalpy_dT Return specific enthalpy from d and T
 specificEnthalpy_dT_state
 specificEntropy_dT returns specific entropy for a given d and T
 specificEntropy_dT_state returns specific entropy for a given d and T
 density_ps Return density from p and s
 density_ps_state Return density from p and s
 density_ps_der Total derivative of density_ps
 temperature_ps Return temperature from p and s
 temperature_ps_state returns temperature for given p and s
 specificEnthalpy_ps Return specific enthalpy from p and s
 specificEnthalpy_ps_state Return enthalpy from p and s
 density_hs Return density for given h and s
 density_hs_state Return density for given h and s
 pressure_hs Return pressure from h and s
 pressure_hs_state Return pressure for given h and s
 temperature_hs Return temperature from h and s
 temperature_hs_state Return temperature for given h and s
 prandtlNumber Returns Prandtl number
 temperature Return temperature from state
 velocityOfSound Return velocity of sound from state
 isobaricExpansionCoefficient Return isobaric expansion coefficient from state
 isentropicExponent Return isentropic exponent
 specificHeatCapacityCp Return specific heat capacity cp from state
 specificHeatCapacityCv Return specific heat capacity cv from state
 density Return density from state
 density_derh_p Return derivative of density wrt enthalpy at constant pressure from state
 density_derp_h Return derivative of density wrt pressure at constant enthalpy from state
 density_derp_T
 density_derT_p
 dynamicViscosity Return dynamic viscosity from state
 specificEnthalpy Return specific enthalpy from state
 specificInternalEnergy Returns specific internal energy
 isothermalCompressibility Return isothermal compressibility from state
 thermalConductivity Return thermal conductivity from state
 pressure Return pressure from state
 specificEntropy Return specific entropy from state
 isentropicEnthalpy
 setSat_p Return saturation properties from p
 setSat_p_state Return saturation properties from the state
 setSat_T Return saturation properties from p
 setSat_T_state Return saturation properties from the state
 setBubbleState set the thermodynamic state on the bubble line
 setDewState set the thermodynamic state on the dew line
 saturationTemperature
 saturationTemperature_sat
 saturationTemperature_derp Returns derivative of saturation temperature w.r.t.. pressureBeing this function inefficient, it is strongly recommended to use saturationTemperature_derp_sat and never use saturationTemperature_derp directly
 saturationTemperature_derp_sat Returns derivative of saturation temperature w.r.t.. pressure
 dBubbleDensity_dPressure Returns bubble point density derivative
 dDewDensity_dPressure Returns dew point density derivative
 dBubbleEnthalpy_dPressure Returns bubble point specific enthalpy derivative
 dDewEnthalpy_dPressure Returns dew point specific enthalpy derivative
 bubbleDensity Returns bubble point density
 dewDensity Returns dew point density
 bubbleEnthalpy Returns bubble point specific enthalpy
 dewEnthalpy Returns dew point specific enthalpy
 saturationPressure
 saturationPressure_der Return saturation pressure time derivative
 saturationPressure_sat
 surfaceTension Returns surface tension sigma in the two phase region
 bubbleEntropy Returns bubble point specific entropy
 dewEntropy Returns dew point specific entropy

Generated at 2026-03-31T18:29:59Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos