31template <
class Scalar>
52 {
return 2.01588e-3; }
98 return 1e5 * exp(A - B/(temperature + C));
193 const Scalar omega = -0.216;
195 const Scalar dipole = 0.0;
198 Scalar mu_r4 = 131.3 * dipole / sqrt(Vc * Tc);
204 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
205 Scalar Tstar = 1.2593 * temperature/Tc;
207 1.16145*pow(Tstar, -0.14874) +
208 0.52487*exp(- 0.77320*Tstar) +
209 2.16178*exp(- 2.43787*Tstar);
210 Scalar mu = 40.785*Fc*sqrt(M*temperature)/(pow(Vc, 2./3)*Omega_v);
222template <
class Scalar>
224 {298.0, 1000.0, 2500.0, 6000.0},
226 {33.066178, -11.363417, 11.432816, -2.772874, -0.158558, -9.980797, 172.707974, 0.0},
227 {18.563083, 12.257357, -2.859786, 0.268238, 1.97799, -1.147438, 156.288133, 0.0},
228 {43.41356, -4.293079, 1.272428, -0.096876, -20.533862, -38.515158, 162.081354, 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 hydrogen .
Definition h2.hh:35
static const Scalar gasEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy of pure hydrogen gas. Shomate Equation is used for a temperature range of 298K to ...
Definition h2.hh:153
static Scalar criticalTemperature()
Returns the critical temperature of molecular hydrogen.
Definition h2.hh:57
static Scalar gasMolarDensity(Scalar temperature, Scalar pressure)
The molar density of in , depending on pressure and temperature.
Definition h2.hh:119
static std::string name()
A human readable name for the .
Definition h2.hh:45
static constexpr bool gasIsCompressible()
Returns true if the gas phase is assumed to be compressible.
Definition h2.hh:125
static constexpr Scalar molarMass()
The molar mass in of molecular hydrogen.
Definition h2.hh:51
static Scalar gasDensity(Scalar temperature, Scalar pressure)
The density of at a given pressure and temperature.
Definition h2.hh:107
static constexpr bool gasIsIdeal()
Returns true if the gas phase is assumed to be ideal.
Definition h2.hh:131
static Scalar vaporPressure(Scalar temperature)
The vapor pressure in of pure molecular hydrogen at a given temperature.
Definition h2.hh:84
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of at a given pressure and temperature.
Definition h2.hh:189
static const ShomateMethod shomateMethod
Definition h2.hh:40
static Scalar criticalPressure()
Returns the critical pressure of molecular hydrogen.
Definition h2.hh:63
static Scalar tripleTemperature()
Returns the temperature at molecular hydrogen's triple point.
Definition h2.hh:69
static Scalar gasPressure(Scalar temperature, Scalar density)
The pressure of gaseous in at a given density and temperature.
Definition h2.hh:140
static const Scalar gasHeatCapacity(Scalar T, Scalar pressure)
Specific isobaric heat capacity of pure hydrogen gas. Shomate Equation is used for a temperature ran...
Definition h2.hh:170
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.