31template <
class Scalar>
 
  100        const Scalar A = 7.568956;
 
  101        const Scalar B = 5.004836;
 
  102        const Scalar C = -2.137460;
 
  103        const Scalar D = 3.454481;
 
  104        const Scalar epsilon = 1.514;
 
  108        return triplePressure()*exp(X*(A + X*(B + C*X) + D*pow(1 - X, epsilon)));
 
 
  202        const Scalar omega = 0.025; 
 
  204        const Scalar dipole = 0.0; 
 
  207        Scalar mu_r4 = 131.3 * dipole / sqrt(Vc * Tc);
 
  211        Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
 
  212        Scalar Tstar = 1.2593 * temperature/Tc;
 
  217            1.16145*pow(Tstar, -0.14874) +
 
  218            0.52487*exp(- 0.77320*Tstar) +
 
  219            2.16178*exp(- 2.43787*Tstar);
 
  220        Scalar mu = 40.785*Fc*sqrt(M*temperature)/(pow(Vc, 2./3)*Omega_v);
 
 
  239        return 8.044e-5 * (temperature - 273.15) + 0.024486;
 
 
 
  248template <
class Scalar>
 
  250    {100.0, 700.0, 2000.0, 6000.0},
 
  252        {31.32234, -20.23531, 57.86644, -36.50624, -0.007374, -8.903471, 246.7945, 0.0},
 
  253        {30.03235, 8.772972, -3.988133, 0.788313, -0.741599, -11.32468, 236.1663, 0.0},
 
  254        {20.91111, 10.72071, -2.020498, 0.146449, 9.245722, 5.337651, 237.6185, 0.0}
 
 
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition components/base.hh:46
Scalar Scalar
Definition components/base.hh:50
Interface for components that have a gas state.
Definition gas.hh:28
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:152
static Scalar gasEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy  of pure oxygen gas. Shomate Equation is used for a temperature range of 100K to 60...
Definition o2.hh:165
static Scalar gasMolarDensity(Scalar temperature, Scalar pressure)
The molar density of pure  in , depending on pressure and temperature.
Definition o2.hh:137
static constexpr Scalar criticalTemperature()
Returns the critical temperature in  of molecular oxygen.
Definition o2.hh:57
static std::string name()
A human readable name for the .
Definition o2.hh:45
static const ShomateMethod shomateMethod
Definition o2.hh:40
static constexpr bool gasIsCompressible()
Returns true if the gas phase is assumed to be compressible.
Definition o2.hh:114
static constexpr Scalar molarMass()
The molar mass in  of molecular oxygen.
Definition o2.hh:51
static Scalar vaporPressure(Scalar T)
The vapor pressure in  of pure molecular oxygen at a given temperature.
Definition o2.hh:88
static Scalar gasHeatCapacity(Scalar T, Scalar pressure)
Specific isobaric heat capacity  of pure oxygen gas. Shomate Equation is used for a temperature range...
Definition o2.hh:181
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity  of  at a given pressure and temperature.
Definition o2.hh:198
static constexpr Scalar triplePressure()
Returns the pressure in  at molecular oxygen's triple point.
Definition o2.hh:75
static constexpr Scalar criticalPressure()
Returns the critical pressure in  of molecular oxygen.
Definition o2.hh:63
static constexpr bool gasIsIdeal()
Returns true if the gas phase is assumed to be ideal.
Definition o2.hh:143
static constexpr Scalar gasDensity(Scalar temperature, Scalar pressure)
The density in  of pure  at a given pressure and temperature.
Definition o2.hh:125
static constexpr Scalar gasThermalConductivity(Scalar temperature, Scalar pressure)
Thermal conductivity  of nitrogen.
Definition o2.hh:237
static constexpr Scalar tripleTemperature()
Returns the temperature in  at molecular oxygen's triple point.
Definition o2.hh:69
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
The Shomate method to compute enthalpy and heat capacity.
Definition shomate.hh:50
std::conditional_t< intervals==-1, std::vector< CoefficientSet >, std::array< CoefficientSet, std::size_t(intervals)> > Coefficients
Definition shomate.hh:56
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.
Shomate equations for enthalpy and heat capacity.