.FreeFluids.LMedia.LMedium

Contents

NameDescription
liqViscPcorLucasLucas liquid viscosity pressure correction.
liqThCondLatini
liqSurfTensSastriRao
BaseProperties
ThermodynamicState
setState_pTXReturn ThermodynamicState record as function of p,T and composition X or Xi
setState_dTXReturn ThermodynamicState record as function of T,d and composition X or Xi
setState_phXReturn ThermodynamicState record as function of p,H and composition X or Xi
setState_psXReturn thermodynamic state as function of p, s and composition X or Xi
pressureReturn pressure
temperatureReturn temperature
densityReturn density
density_derp_TReturn density derivative w.r.t. pressure at const temperature. OK
density_derT_pReturn density derivative w.r.t. temperature at constant pressure. OK
density_derp_hReturn 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_pReturn density derivative w.r.t. specific enthalpy at constant pressure. OK
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. OK
specificHeatCapacityCvReturn heat capacity at constant volume
isentropicExponentReturn isentropic exponent
isobaricExpansionCoefficientReturns the approximate isobaric expansion coefficient beta=dV_dT/V
isothermalCompressibilityReturns overall the isothermal compressibility factor
velocityOfSoundReturn velocity of sound
jouleThomsonCoefficient
dynamicViscosityReturn dynamic viscosity
thermalConductivityReturn thermal conductivity
molarMassReturn the molar mass of the medium
surfaceTensionReturn surface tension
setSmoothStateReturn 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_Tpressure derivative w.r.t. density at constant T. OK
pressure_derT_dpressure derivative w.r.t. T at constant density. OK
specifiEnthalpy_dT_der
specificEnthalpy_derd_Tpressure derivative w.r.t. density at constant T. OK, but it seems clear that beta and kappa are bad calculated for the gas
specificEnthalpy_derT_dpressure derivative w.r.t. density at constant T. To be finished analyticaly for two phases

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