modelidealGasLimit

Information

This model is used to validate the behavior of the EoS in the ideal gas limit, that is at lim d → 0 .
How to use:
  1. Simulate with any T_trip < T < T_max
  2. Plot f.rd and B
  3. Make d the independent variable of the plot
  4. Set the horizontal axis (d) to logarithmic scale
  5. Set line style to dotted and marker style to cross
  6. Look at the graphs

Parameters

TypeNameDefaultDescription
Medium.TemperatureT298.15
Medium.MolarMassMMMedium.fluidConstants[1].molarMass
Medium.SpecificHeatCapacityR_sModelica.Constants.R/MMspecific gas constant

Components

TypeNameDefaultDescription
Modelica.Units.SI.SpecificVolumev
Medium.Densityd1/v
Medium.ThermodynamicStatestateMedium.setState_dT(d = d, T = T, phase = 1)
Medium.EoS.HelmholtzDerivsfMedium.EoS.setHelmholtzDerivsThird(d = d, T = T, phase = 1)
RealZ(state.p*v)/(R_s*state.T)
Medium.SpecificHeatCapacitycvMedium.specificHeatCapacityCv(state)
Medium.SpecificHeatCapacitycpMedium.specificHeatCapacityCp(state)
Medium.SpecificHeatCapacitycp0Medium.EoS.cp0(f)
Medium.IsentropicExponentgammaMedium.isentropicExponent(state)
Medium.IsentropicExponentgamma0cp/cv
RealBf.rd/f.d_crit
RealCf.rdd/f.d_crit^2
RealDf.rddd/f.d_crit^3

Contents

NameDescription
Medium