31template <
class Scalar>
99 const Scalar C = -2.137460;
100 const Scalar D = 3.454481;
101 const Scalar epsilon = 1.514;
105 return triplePressure()*exp(X*(A + X*(B + C*X) + D*pow(1 - X, epsilon)));
182 const Scalar cpVapA = 28.11;
183 const Scalar cpVapB = -3.680e-6;
184 const Scalar cpVapC = 1.746e-5;
185 const Scalar cpVapD = -1.065e-8;
209 const Scalar omega = 0.025;
211 const Scalar dipole = 0.0;
214 Scalar mu_r4 = 131.3 * dipole / sqrt(Vc * Tc);
218 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
219 Scalar Tstar = 1.2593 * temperature/Tc;
224 1.16145*pow(Tstar, -0.14874) +
225 0.52487*exp(- 0.77320*Tstar) +
226 2.16178*exp(- 2.43787*Tstar);
227 Scalar mu = 40.785*Fc*sqrt(M*temperature)/(pow(Vc, 2./3)*Omega_v);
246 return 8.044e-5 * (temperature - 273.15) + 0.024486;
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition components/base.hh:47
Scalar Scalar
export the scalar type used by the component
Definition components/base.hh:51
Interface for components that have a gas state.
Definition gas.hh:29
Properties of pure molecular oxygen .
Definition o2.hh:35
static constexpr Scalar gasPressure(Scalar temperature, Scalar density)
The pressure of gaseous in at a given density and temperature.
Definition o2.hh:149
static Scalar gasEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy of pure oxygen gas.
Definition o2.hh:161
static Scalar gasMolarDensity(Scalar temperature, Scalar pressure)
The molar density of pure in , depending on pressure and temperature.
Definition o2.hh:134
static constexpr Scalar criticalTemperature()
Returns the critical temperature in of molecular oxygen.
Definition o2.hh:54
static std::string name()
A human readable name for the .
Definition o2.hh:42
static constexpr bool gasIsCompressible()
Returns true if the gas phase is assumed to be compressible.
Definition o2.hh:111
static constexpr Scalar molarMass()
The molar mass in of molecular oxygen.
Definition o2.hh:48
static Scalar vaporPressure(Scalar T)
The vapor pressure in of pure molecular oxygen at a given temperature.
Definition o2.hh:85
static Scalar gasHeatCapacity(Scalar T, Scalar pressure)
Specific isobaric heat capacity of pure oxygen gas.
Definition o2.hh:178
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of at a given pressure and temperature.
Definition o2.hh:205
static constexpr Scalar triplePressure()
Returns the pressure in at molecular oxygen's triple point.
Definition o2.hh:72
static constexpr Scalar criticalPressure()
Returns the critical pressure in of molecular oxygen.
Definition o2.hh:60
static constexpr bool gasIsIdeal()
Returns true if the gas phase is assumed to be ideal.
Definition o2.hh:140
static constexpr Scalar gasDensity(Scalar temperature, Scalar pressure)
The density in of pure at a given pressure and temperature.
Definition o2.hh:122
static constexpr Scalar gasThermalConductivity(Scalar temperature, Scalar pressure)
Thermal conductivity of nitrogen.
Definition o2.hh:244
static constexpr Scalar tripleTemperature()
Returns the temperature in at molecular oxygen's triple point.
Definition o2.hh:66
Relations valid for an ideal gas.
Definition idealgas.hh:25
static constexpr Scalar pressure(Scalar temperature, Scalar rhoMolar)
The pressure of the gas in , depending on the molar density and temperature.
Definition idealgas.hh:48
static constexpr Scalar density(Scalar avgMolarMass, Scalar temperature, Scalar pressure)
The density of the gas in , depending on pressure, temperature and average molar mass of the gas.
Definition idealgas.hh:37
static constexpr Scalar molarDensity(Scalar temperature, Scalar pressure)
The molar density of the gas , depending on pressure and temperature.
Definition idealgas.hh:58
Base class for all components Components provide the thermodynamic relations for the liquid,...
Interface for components that have a gas state.
Relations valid for an ideal gas.