.FreeFluids.ExternalPure.ExternalMedium

Contents

NameDescription
FluidConstants
ThermodynamicState
BaseProperties
saturationPressureReturn saturation pressure from T
saturationTemperatureReturn saturation temperature from P
saturationTemperature_derpReturn derivative of saturation temperature w.r.t. pressure
eosCriticalConstants
pressureEOS_dTReturn pressure given temperature and density, by EOS
densities_pTReturn liquid and gas densities at give temperature and pressure, by EOS, bellow the critical temperature
dhsFrom_pTReturn liquid and gas densities at give temperature and pressure, by EOS, bellow the critical temperature
solveEOSCalls the external function that calculates some basic thermodynamic properties of the phases, used later for the definition of the ThermodynamicState and the calculation of all thermodynamic properties
setState_pTXReturn ThermodynamicState record as function of p,T and composition X or Xi. The function from T and P is unable to compute any gas fraction different from 0 or 1
setState_dTXReturn thermodynamic state as function of density, T and composition X or Xi
setState_phXReturn thermodynamic state as function of pressure, enthalpy and composition X or Xi
setState_psXReturn thermodynamic state as function of pressure, entropy and composition X or Xi
setDewStateThe input is a SaturationProperties record called sat. Returns the ThermodynamicState record at the dew point
setBubbleStateThe input is a SaturationProperties record called sat. Returns the ThermodynamicState record at the bubble point
setSmoothStateReturn thermodynamic state so that it smoothly approximates: if x > 0 then state_a else state_b
pressureReturn pressure
temperatureReturn temperature
densityReturn density
density_derp_TReturn density derivative w.r.t. pressure at const temperature
density_derT_pReturn density derivative w.r.t. temperature at constant pressure
density_derp_hReturn density derivative w.r.t. pressure at const specific enthalpy
density_derh_pReturn density derivative w.r.t. specific enthalpy at constant pressure
specificEnthalpyReturn specific enthalpy
specificInternalEnergyReturn specific internal energy
specificEntropyReturn specific entropy
specificGibbsEnergyReturn specific Gibbs energy
specificHelmholtzEnergyReturn specific Helmholtz energy
specificHeatCapacityCpReturn specific heat capacity at constant pressure
specificHeatCapacityCvReturn specific heat capacity at constant volume
isentropicExponentReturn isentropic exponent
velocityOfSoundReturn velocity of sound
isobaricExpansionCoefficientReturns the isobaric expansion coefficient beta
isothermalCompressibilityReturns overall the isothermal compressibility factor
jouleThomsonCoefficient
isothermalThrottlingCoefficientOK. The ExternalMedia function is not found !!
dynamicViscosityReturn dynamic viscosity from a ThermodynamicState record
thermalConductivityReturn thermal conductivity
liquidDynamicViscosityReturn liquid dynamic viscosity from a ThermodynamicState record
gasDynamicViscosityReturn gas dynamic viscosity from a ThermodynamicState record
liquidThermalConductivityReturn liquid thermal conductivity from a ThermodynamicState record
gasThermalConductivityReturn gas thermal conductivity from a ThermodynamicState record
surfaceTensionReturn surface tension
bubbleDensityReturn bubble point density
dBubbleDensity_dPressureReturn bubble point density derivative
dewDensityReturn dew point density
dDewDensity_dPressureReturn dew point density derivative
bubbleEnthalpyReturn bubble point specific enthalpy
dBubbleEnthalpy_dPressureReturn bubble point specific enthalpy derivative
dewEnthalpyReturn dew point specific enthalpy
dDewEnthalpy_dPressureReturn bubble point specific enthalpy derivative
vaporizationEnthalpy
bubbleEntropyReturn bubble point specific entropy
dewEntropyReturn dew point specific entropy
dPressureVap_dSpecificVolume_TvDerivative of pressure with regards to specific volume, at constant T
dPressureVap_dTemperature_TvDerivative of pressure with regards to temperature, at constant v
enthalpySatLiq_TFunction that calculates the enthalpy of saturated liquid based on temperature
enthalpySatVap_TFunction that calculates the specific enthalpy of saturated vapor based on temperature
isentropicExponentVap_TvFunction that calculates the isentropic exponent of vapor based on temperature and specific volume
pressureSatVap_TFunction that calculates the pressure of saturated vapor based on temperature
pressureVap_TvFunction that calculates the pressure vapor based on temperature and specific volume
specificIsobaricHeatCapacityVap_TvFunction that calculates the specific isobaric heat capacity of vapor based on temperature and specific volume
specificIsochoricHeatCapacityVap_TvFunction that calculates the specific isochoric heat capacity of vapor based on temperature and specific volume
specificVolumeVap_pTFunction that calculates the specific volume of the vapor based on pressure and temperature

Generated at 2025-12-11T19:14:02Z by OpenModelicaOpenModelica 1.25.7 using GenerateDoc.mos