A compositional single phase fluid system consisting of two components, which are H2O and NaCl.
|
static const std::string | phaseName (int phaseIdx=liquidPhaseIdx) |
| Return the human readable name of the phase. More...
|
|
static constexpr bool | isMiscible () |
| Returns whether the fluids are miscible. More...
|
|
static constexpr bool | isGas (int phaseIdx=liquidPhaseIdx) |
| Return whether a phase is gaseous. More...
|
|
static bool | isIdealMixture (int phaseIdx=liquidPhaseIdx) |
| Returns true if and only if a fluid phase is assumed to be an ideal mixture. More...
|
|
static bool | isCompressible (int phaseIdx=liquidPhaseIdx) |
| Returns true if and only if a fluid phase is assumed to be compressible. More...
|
|
static bool | isIdealGas (int phaseIdx=liquidPhaseIdx) |
| Returns true if and only if a fluid phase is assumed to be an ideal gas. More...
|
|
static std::string | componentName (int compIdx) |
| Return the human readable name of a component. More...
|
|
static Scalar | molarMass (int compIdx) |
| Return the molar mass of a component in \(\mathrm{[kg/mol]}\). More...
|
|
static void | init () |
| Initialize the fluid system's static parameters generically. More...
|
|
static void | init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress) |
| Initialize the fluid system's static parameters using problem specific temperature and pressure ranges. More...
|
|
template<class FluidState > |
static Scalar | density (const FluidState &fluidState, int phaseIdx=liquidPhaseIdx) |
| Return the phase density [kg/m^3]. More...
|
|
template<class FluidState > |
static Scalar | fugacityCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx) |
| Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase. More...
|
|
template<class FluidState > |
static Scalar | viscosity (const FluidState &fluidState, int phaseIdx=liquidPhaseIdx) |
| Return the viscosity of the phase. More...
|
|
template<class FluidState > |
static Scalar | vaporPressure (const FluidState &fluidState, int compIdx) |
| Vapor pressure of a component \(\mathrm{[Pa]}\). More...
|
|
template<class FluidState > |
static Scalar | enthalpy (const FluidState &fluidState, int phaseIdx) |
| Given a phase's composition, temperature and pressure, return its specific enthalpy \(\mathrm{[J/kg]}\). More...
|
|
template<class FluidState > |
static Scalar | componentEnthalpy (const FluidState &fluidState, int phaseIdx, int componentIdx) |
| Returns the specific enthalpy \(\mathrm{[J/kg]}\) of a component in a specific phase. More...
|
|
template<class FluidState > |
static Scalar | molarDensity (const FluidState &fluidState, int phaseIdx=liquidPhaseIdx) |
| Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase. More...
|
|
template<class FluidState > |
static Scalar | diffusionCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx) |
| Calculate the binary molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\). More...
|
|
template<class FluidState > |
static Scalar | binaryDiffusionCoefficient (const FluidState &fluidState, int phaseIdx, int compIIdx, int compJIdx) |
| Given a phase's composition, temperature and pressure, return the binary diffusion coefficient \(\mathrm{[m^2/s]}\) for components \(\mathrm{i}\) and \(\mathrm{j}\) in this phase. More...
|
|
template<class FluidState > |
static Scalar | thermalConductivity (const FluidState &fluidState, int phaseIdx) |
| Thermal conductivity of a fluid phase \(\mathrm{[W/(m K)]}\). More...
|
|
template<class FluidState > |
static Scalar | heatCapacity (const FluidState &fluidState, int phaseIdx) |
| Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\). More...
|
|
template<class Scalar , class H2OType = Components::TabulatedComponent<Dumux::Components::H2O<Scalar>>>
template<class FluidState >
static Scalar Dumux::FluidSystems::Brine< Scalar, H2OType >::diffusionCoefficient |
( |
const FluidState & |
fluidState, |
|
|
int |
phaseIdx, |
|
|
int |
compIdx |
|
) |
| |
|
inlinestatic |
Molecular diffusion of a component \(\mathrm{\kappa}\) is caused by a gradient of the chemical potential and follows the law
\[ J = - D \nabla \mu_\kappa \]
where \(\mathrm{\mu_\kappa}\) is the component's chemical potential, \(\mathrm{D}\) is the diffusion coefficient and \(\mathrm{J}\) is the diffusive flux. \(\mathrm{\mu_\kappa}\) is connected to the component's fugacity \(\mathrm{f_\kappa}\) by the relation
\[ \mu_\kappa = R T_\alpha \mathrm{ln} \frac{f_\kappa}{p_\alpha} \]
where \(\mathrm{p_\alpha}\) and \(\mathrm{T_\alpha}\) are the fluid phase' pressure and temperature.
- Parameters
-
fluidState | The fluid state |
phaseIdx | Index of the fluid phase |
compIdx | Index of the component |
template<class Scalar , class H2OType = Components::TabulatedComponent<Dumux::Components::H2O<Scalar>>>
template<class FluidState >
- Parameters
-
fluidState | represents all relevant thermodynamic quantities of a fluid system |
phaseIdx | Index of the fluid phase |
Given a fluid state, an up-to-date parameter cache and a phase index, this method computes the isobaric heat capacity \(c_{p,\alpha}\) of the fluid phase. The isobaric heat capacity is defined as the partial derivative of the specific enthalpy \(h_\alpha\) to the fluid pressure \(p_\alpha\):
\( c_{p,\alpha} = \frac{\partial h_\alpha}{\partial p_\alpha} \)