A simple version of pure CO2. More...
#include <dumux/material/components/simpleco2.hh>
Scalar | The type used for scalar values |
Public Types | |
using | Scalar = Scalar |
export the scalar type used by the component | |
Static Public Member Functions | |
static std::string | name () |
A human readable name for the CO2. | |
static constexpr Scalar | molarMass () |
The mass in \(\mathrm{[kg/mol]}\) of one mole of CO2. | |
static Scalar | criticalTemperature () |
Returns the critical temperature \(\mathrm{[K]}\) of CO2. | |
static Scalar | criticalPressure () |
Returns the critical pressure \(\mathrm{[Pa]}\) of CO2. | |
static Scalar | tripleTemperature () |
Returns the temperature \(\mathrm{[K]}\) at CO2's triple point. | |
static Scalar | triplePressure () |
Returns the pressure \(\mathrm{[Pa]}\) at CO2's triple point. | |
static const Scalar | gasEnthalpy (Scalar temperature, Scalar pressure) |
Specific enthalpy of CO2 \(\mathrm{[J/kg]}\). source: Shomate Equation for a temperature range of 298. to 1200K. with components published by NIST [NIST] https://webbook.nist.gov/cgi/cbook.cgi?ID=C124389&Mask=1&Type=JANAFG&Table=on. | |
static const Scalar | gasInternalEnergy (Scalar temperature, Scalar pressure) |
Specific internal energy of CO2 \(\mathrm{[J/kg]}\). | |
static constexpr bool | gasIsCompressible () |
Returns true if the gas phase is assumed to be compressible. | |
static constexpr bool | gasViscosityIsConstant () |
Returns true if the gas phase viscostiy is constant. | |
static Scalar | gasDensity (Scalar temperature, Scalar pressure) |
The density \(\mathrm{[kg/m^3]}\) of CO2 at a given pressure and temperature. | |
static Scalar | gasMolarDensity (Scalar temperature, Scalar pressure) |
The molar density of CO2 in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. | |
static constexpr bool | gasIsIdeal () |
Returns true if the gas phase is assumed to be ideal. | |
static Scalar | gasPressure (Scalar temperature, Scalar density) |
The pressure of CO2 in \(\mathrm{[Pa]}\) at a given density and temperature. | |
static Scalar | gasViscosity (Scalar temperature, Scalar pressure) |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of CO2. Equations given in: - Vesovic et al., 1990. | |
static Scalar | gasThermalConductivity (Scalar temperature, Scalar pressure) |
Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of CO2. | |
static Scalar | gasHeatCapacity (Scalar temperature, Scalar pressure) |
Specific isobaric heat capacity of CO2 \(\mathrm{[J/(kg*K)]}\). source: Shomate Equation for a temperature range of 298. to 1200K. with components published by NIST [NIST] https://webbook.nist.gov/cgi/cbook.cgi?ID=C124389&Mask=1&Type=JANAFG&Table=on. | |
static void | init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress) |
A default routine for initialization, not needed for components and must not be called. | |
static Scalar | vaporPressure (Scalar t) |
The vapor pressure in \(\mathrm{[Pa]}\) of the component at a given temperature in \(\mathrm{[K]}\). | |
Static Public Attributes | |
static constexpr bool | isTabulated |
if the component relies on tabulated values | |
|
inherited |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
Definition of enthalpy: \f$h= u + pv = u + p / \rho\f$. Rearranging for internal energy yields: \f$u = h - pv\f$. Exploiting the Ideal Gas assumption (\f$pv = R_{\textnormal{specific}} T\f$)gives: \f$u = h - R / M T \f$. The universal gas constant can only be used in the case of molar formulations.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestatic |
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
temperature | temperature of component in \(\mathrm{[K]}\) |
density | density of component in \(\mathrm{[kg/m^3]}\) |
|
inlinestatic |
Thermal conductivity of CO2 at T=20°C, see: http://www.engineeringtoolbox.com/carbon-dioxide-d_1000.html
temperature | absolute temperature in \(\mathrm{[K]}\) |
pressure | of the phase in \(\mathrm{[Pa]}\) |
|
inlinestatic |
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) TODO: this does not look like a really "simple" parameterization. Can this be simplified further? |
|
inlinestaticconstexpr |
|
inlinestaticinherited |
tempMin | The minimum of the temperature range in \(\mathrm{[K]}\) |
tempMax | The maximum of the temperature range in \(\mathrm{[K]}\) |
nTemp | The number of entries/steps within the temperature range |
pressMin | The minimum of the pressure range in \(\mathrm{[Pa]}\) |
pressMax | The maximum of the pressure range in \(\mathrm{[Pa]}\) |
nPress | The number of entries/steps within the pressure range |
This function throws a warning when called: "No init routine defined - make sure that this is not necessary!"
|
inlinestaticconstexpr |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticinherited |
t | temperature of the component in \(\mathrm{[K]}\) |
|
staticconstexprinherited |