template<class RawComponent, bool useVaporPressure = true>
class Dumux::Components::TabulatedComponent< RawComponent, useVaporPressure >
At the moment, this class can only handle the sub-critical fluids since it tabulates along the vapor pressure curve.
- Template Parameters
-
| Scalar | The type used for scalar values |
| RawComponent | The component which ought to be tabulated |
| useVaporPressure | If set to true, the min/max pressure values for gas&liquid phase will be set depending on the vapor pressure. |
|
| static void | init (Scalar tempMin, Scalar tempMax, std::size_t nTemp, Scalar pressMin, Scalar pressMax, std::size_t nPress) |
| | Initialize the tables.
|
| |
| static std::string | name () |
| | A human readable name for the component.
|
| |
| static constexpr Scalar | molarMass () |
| | The molar mass in \(\mathrm{[kg/mol]}\) of the component.
|
| |
| static Scalar | criticalTemperature () |
| | Returns the critical temperature in \(\mathrm{[K]}\) of the component.
|
| |
| static Scalar | criticalPressure () |
| | Returns the critical pressure in \(\mathrm{[Pa]}\) of the component.
|
| |
| static Scalar | tripleTemperature () |
| | Returns the temperature in \(\mathrm{[K]}\) at the component's triple point.
|
| |
| static Scalar | triplePressure () |
| | Returns the pressure in \(\mathrm{[Pa]}\) at the component's triple point.
|
| |
| static Scalar | vaporPressure (Scalar T) |
| | The vapor pressure in \(\mathrm{[Pa]}\) of the component at a given temperature.
|
| |
| static Scalar | vaporTemperature (Scalar pressure) |
| | The vapor pressure in \(\mathrm{[Pa]}\) of the component at a given temperature.
|
| |
| static const Scalar | gasEnthalpy (Scalar temperature, Scalar pressure) |
| | Specific enthalpy of the gas \(\mathrm{[J/kg]}\).
|
| |
| static const Scalar | liquidEnthalpy (Scalar temperature, Scalar pressure) |
| | Specific enthalpy of the liquid \(\mathrm{[J/kg]}\).
|
| |
| static const Scalar | gasHeatCapacity (Scalar temperature, Scalar pressure) |
| | Specific isobaric heat capacity of the gas \(\mathrm{[J/(kg*K)]}\).
|
| |
| static const Scalar | liquidHeatCapacity (Scalar temperature, Scalar pressure) |
| | Specific isobaric heat capacity of the liquid \(\mathrm{[J/(kg*K)]}\).
|
| |
| static const Scalar | gasInternalEnergy (Scalar temperature, Scalar pressure) |
| | Specific internal energy of the gas \(\mathrm{[J/kg]}\).
|
| |
| static const Scalar | liquidInternalEnergy (Scalar temperature, Scalar pressure) |
| | Specific internal energy of the liquid \(\mathrm{[J/kg]}\).
|
| |
| static Scalar | gasPressure (Scalar temperature, Scalar density) |
| | The pressure of gas in \(\mathrm{[Pa]}\) at a given density and temperature.
|
| |
| static Scalar | liquidPressure (Scalar temperature, Scalar density) |
| | The pressure of liquid in \(\mathrm{[Pa]}\) at a given density and temperature.
|
| |
| static constexpr bool | gasIsCompressible () |
| | Returns true if the gas phase is assumed to be compressible.
|
| |
| static constexpr bool | liquidIsCompressible () |
| | Returns true if the liquid phase is assumed to be compressible.
|
| |
| static constexpr bool | gasIsIdeal () |
| | Returns true if the gas phase is assumed to be ideal.
|
| |
| static Scalar | gasDensity (Scalar temperature, Scalar pressure) |
| | The density of gas at a given pressure and temperature \(\mathrm{[kg/m^3]}\).
|
| |
| static Scalar | gasMolarDensity (Scalar temperature, Scalar pressure) |
| | The molar density of gas in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.
|
| |
| static Scalar | liquidDensity (Scalar temperature, Scalar pressure) |
| | The density of liquid at a given pressure and temperature \(\mathrm{[kg/m^3]}\).
|
| |
| static Scalar | liquidMolarDensity (Scalar temperature, Scalar pressure) |
| | The molar density of liquid in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.
|
| |
| static Scalar | gasViscosity (Scalar temperature, Scalar pressure) |
| | The dynamic viscosity \(\mathrm{[Pa*s]}\) of gas.
|
| |
| static Scalar | liquidViscosity (Scalar temperature, Scalar pressure) |
| | The dynamic viscosity \(\mathrm{[Pa*s]}\) of liquid.
|
| |
| static Scalar | gasThermalConductivity (Scalar temperature, Scalar pressure) |
| | The thermal conductivity of gaseous water \(\mathrm{[W/(m*K)]}\).
|
| |
| static Scalar | liquidThermalConductivity (Scalar temperature, Scalar pressure) |
| | The thermal conductivity of liquid water \(\mathrm{[W/(m*K)]}\).
|
| |