27#include <dune/common/math.hh>
43template <
class Scalar>
152 const Scalar Vc = 84.525138;
153 const Scalar omega = 0.078;
156 const Scalar Fc = 1.0 - 0.2756*omega;
161 const Scalar Omega_v = 1.16145*pow(Tstar, -0.14874)
162 + 0.52487*exp(-0.77320*Tstar)
163 + 2.16178*exp(-2.43787*Tstar);
170 return mu/1.0e6/10.0;
192 const Scalar pressureCorrectionFactor = 9.7115e-9*tempCelsius*tempCelsius - 5.5e-6*tempCelsius + 0.0010809;
196 * (1.0 + (
pressure/1.0e5 - 1.0)*pressureCorrectionFactor);
232 const Scalar epsk = 103.3;
238 const Scalar Omega = exp(0.431
240 + 0.08406*logTstar*logTstar
241 + 0.005341*logTstar*logTstar*logTstar
242 - 0.00331*logTstar*logTstar*logTstar*logTstar);
244 const Scalar sigma = 0.36;
250 const Scalar rhoc = 10.4477;
252 const Scalar etaR = 10.72 * pow(tau, 0.2) * delta
253 + 1.122 * pow(tau, 0.05) * power(delta, 4)
254 + 0.002019 * pow(tau, 2.4) * power(delta, 9)
255 - 8.876 * pow(tau, 0.6) * delta * exp(-delta)
256 - 0.02916 * pow(tau, 3.6) * power(delta, 8) * exp(-delta);
258 return (eta0 + etaR)*1e-6;
317 +0.201650E+00 * power(phi,2)
318 -0.196930E-01 * power(phi,3)
319 +0.106460E-02 * power(phi,4)
320 -0.303284E-04 * power(phi,5)
321 +0.355861E-06 * power(phi,6);
322 c_p += -0.549169E+01 * power(phi,-1)
323 +0.585171E+01 * power(phi,-2)
324 -0.372865E+01 * power(phi,-3)
325 +0.133981E+01 * power(phi,-4)
326 -0.233758E+00 * power(phi,-5)
327 +0.125718E-01 * power(phi,-6);
Some exceptions thrown in DuMux
Interface for components that have a gas state.
Relations valid for an ideal gas.
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:51
std::string pressure(int phaseIdx) noexcept
I/O name of pressure for multiphase systems.
Definition: name.hh:34
std::string density(int phaseIdx) noexcept
I/O name of density for multiphase systems.
Definition: name.hh:65
A class for the air fluid properties.
Definition: air.hh:47
static Scalar exactGasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of Air at a given pressure and temperature.
Definition: air.hh:230
static Scalar gasDensity(Scalar temperature, Scalar pressure)
The density of Air at a given pressure and temperature.
Definition: air.hh:85
static constexpr Scalar molarMass()
The molar mass in of Air.
Definition: air.hh:62
static const Scalar gasHeatCapacity(Scalar temperature, Scalar pressure)
Specific isobaric heat capacity of pure air.
Definition: air.hh:307
static Scalar criticalPressure()
Returns the critical pressure of Air.
Definition: air.hh:74
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of Air at a given pressure and temperature.
Definition: air.hh:187
static constexpr bool gasIsCompressible()
Returns true, the gas phase is assumed to be compressible.
Definition: air.hh:103
static Scalar gasThermalConductivity(Scalar temperature, Scalar pressure)
Thermal conductivity of air.
Definition: air.hh:345
static constexpr bool gasIsIdeal()
Returns true, the gas phase is assumed to be ideal.
Definition: air.hh:109
static Scalar simpleGasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of Air at a given pressure and temperature.
Definition: air.hh:211
static Scalar gasEnthalpy(Scalar temperature, Scalar pressure)
Specific enthalpy of Air with 273.15 as basis.
Definition: air.hh:270
static Scalar criticalTemperature()
Returns the critical temperature of Air.
Definition: air.hh:68
static Scalar oldGasViscosity(Scalar temperature, Scalar pressure)
The dynamic viscosity of Air at a given pressure and temperature.
Definition: air.hh:149
static const Scalar gasInternalEnergy(Scalar temperature, Scalar pressure)
Specific internal energy of Air .
Definition: air.hh:286
static std::string name()
A human readable name for Air.
Definition: air.hh:54
static Scalar gasPressure(Scalar temperature, Scalar density)
The pressure of gaseous Air at a given density and temperature.
Definition: air.hh:120
static Scalar gasMolarDensity(Scalar temperature, Scalar pressure)
The molar density of air in , depending on pressure and temperature.
Definition: air.hh:97
Base class for all components Components provide the thermodynamic relations for the liquid,...
Definition: components/base.hh:59
Scalar Scalar
export the scalar type used by the component
Definition: components/base.hh:63
Interface for components that have a gas state.
Definition: gas.hh:41
Relations valid for an ideal gas.
Definition: idealgas.hh:37
static constexpr Scalar pressure(Scalar temperature, Scalar rhoMolar)
The pressure of the gas in , depending on the molar density and temperature.
Definition: idealgas.hh:60
static constexpr Scalar R
The ideal gas constant .
Definition: idealgas.hh:40
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:49
static constexpr Scalar molarDensity(Scalar temperature, Scalar pressure)
The molar density of the gas , depending on pressure and temperature.
Definition: idealgas.hh:70
Base class for all components Components provide the thermodynamic relations for the liquid,...