.FreeFluids.TMedia.TMedium

Contents

Name Description
 referenceEnthalpy
 referenceEntropy
 saturationPressure Return saturation pressure from T
 saturationPressure_derT Return derivative of saturation pressure w.r.t. temperature
 saturationTemperature Return saturation temperature from P
 saturationTemperature_derp Return derivative of saturation temperature w.r.t. pressure
 liqViscPcorLucas Lucas liquid viscosity pressure correction.
 gasViscLowPressureChung Dynamic viscosity of a low pressure gas according to Chung
 gasViscPcorLucas
 liqThCondLatini
 gasThCondLowPressureChung Thermal conductivity of a low pressure gas according to Chung
 gasThCondTVcorChung Density correction for low pressure gas thermal conductivity, according to Chung
 liqSurfTensSastriRao
 BaseProperties
 ThermodynamicState
 setState_pTX Return ThermodynamicState record as function of p,T and composition X or Xi
 setState_dTX Return ThermodynamicState record as function of T,d and composition X or Xi
 setState_phX Return ThermodynamicState record as function of p,H and composition X or Xi
 setState_psX Return thermodynamic state as function of p, s and composition X or Xi
 setBubbleState The input is a SaturationProperties record called sat. Returns the ThermodynamicState record at the bubble point
 setDewState The input is a SaturationProperties record called sat. Returns the ThermodynamicState record at the dew point
 pressure Return pressure
 temperature Return temperature
 density Return density
 density_derp_T Return density derivative w.r.t. pressure at const temperature. OK
 density_derT_p Return density derivative w.r.t. temperature at constant pressure. OK
 density_derp_h Return density derivative w.r.t. pressure at const specific enthalpy. Numerical derivative in two phases differs from HelmholtzMedia, but is similar to ExternalMedia
 density_derh_p Return density derivative w.r.t. specific enthalpy at constant pressure. OK
 specificEnthalpy Return specific enthalpy
 specificInternalEnergy Return specific internal energy
 specificEntropy Return specific entropy
 specificGibbsEnergy Return specific Gibbs energy
 specificHelmholtzEnergy Return specific Helmholtz energy
 specificHeatCapacityCp Return specific heat capacity at constant pressure. OK
 specificHeatCapacityCv Return heat capacity at constant volume
 isentropicExponent Return isentropic exponent
 isobaricExpansionCoefficient Returns the approximate isobaric expansion coefficient beta=dV_dT/V
 isothermalCompressibility Returns overall the isothermal compressibility factor
 velocityOfSound Return velocity of sound
 jouleThomsonCoefficient
 isothermalThrottlingCoefficient OK. The ExternalMedia function is not found !!
 dynamicViscosity Return dynamic viscosity
 thermalConductivity Return thermal conductivity
 surfaceTension Return surface tension
 bubbleDensity Return bubble point density from a sat record
 dBubbleDensity_dPressure Return bubble point density derivative
 dewDensity Return bubble point density from a sat record
 dDewDensity_dPressure Return dew point density derivative
 bubbleEnthalpy Return bubble point specific enthalpy
 dBubbleEnthalpy_dPressure Return bubble point specific enthalpy derivative
 dewEnthalpy Return dew point specific enthalpy
 dDewEnthalpy_dPressure Return dew point specific enthalpy derivative
 bubbleEntropy Return bubble point specific entropy
 dewEntropy Return dew point specific entropy
 setSmoothState Return thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b
 density_pT
 density_pT_state
 specificEnthalpy_pT
 specificEnthalpy_pT_state
 density_pT_der
 specificEnthalpy_pT_der
 density_ph
 density_ph_state
 temperature_ph
 temperature_ph_state
 density_ph_der
 temperature_ph_der
 pressure_dT
 pressure_dT_state
 specificEnthalpy_dT
 specificEnthalpy_dT_state
 pressure_dT_der
 pressure_derd_T pressure derivative w.r.t. density at constant T. OK
 pressure_derT_d pressure derivative w.r.t. T at constant density. OK
 specifiEnthalpy_dT_der
 specificEnthalpy_derd_T pressure derivative w.r.t. density at constant T.
 specificEnthalpy_derT_d pressure derivative w.r.t. density at constant T. To be finished analyticaly for two phases

Generated at 2026-04-06T18:18:36Z by OpenModelicaOpenModelica 1.26.3 using GenerateDoc.mos