template<class Scalar>
class Dumux::FluidSystems::Spe5< Scalar >
A three-phase fluid system featuring gas, oil and water as phases and the seven components distilled water, Methane \((\mathrm{C_1})\), Propane \((\mathrm{C_3})\), Pentane \((\mathrm{C_5})\), Heptane \((\mathrm{C_7})\), Decane \((\mathrm{C_{10}})\), Pentadecane \((\mathrm{C_{15}})\) and Icosane \((\mathrm{C_{20}})\). For the water phase the IAPWS-97 formulation is used as equation of state, while for the gas and oil phases a Peng-Robinson equation of state with slightly modified parameters is used. This fluid system is highly non-linear, and the gas and oil phases also cannot be considered ideal.
See:
J.E. Killough, et al.: Fifth Comparative Solution Project: Evaluation of Miscible Flood Simulators, Ninth SPE Symposium on Reservoir Simulation, 1987 [45]
|
static std::string | phaseName (int phaseIdx) |
| Return the human readable name of a fluid phase. More...
|
|
static constexpr bool | isMiscible () |
| Returns whether the fluids are miscible. More...
|
|
static constexpr bool | isGas (int phaseIdx) |
| Return whether a phase is gaseous. More...
|
|
static constexpr bool | isCompressible (int phaseIdx) |
| Return whether a phase is compressible. More...
|
|
static bool | isIdealMixture (int phaseIdx) |
| Returns true if and only if a fluid phase is assumed to be an ideal mixture. More...
|
|
static bool | isIdealGas (int phaseIdx) |
| 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 Scalar | criticalTemperature (int compIdx) |
| Critical temperature of a component \(\mathrm{[K]}\). More...
|
|
static Scalar | criticalPressure (int compIdx) |
| Critical pressure of a component \(\mathrm{[Pa]}\). More...
|
|
static Scalar | criticalMolarVolume (int compIdx) |
| Molar volume of a component at the critical point \(\mathrm{[m^3/mol]}\). More...
|
|
static Scalar | acentricFactor (int compIdx) |
| The acentric factor of a component \(\mathrm{[-]}\). More...
|
|
static Scalar | interactionCoefficient (int comp1Idx, int comp2Idx) |
| Returns the interaction coefficient for two components. More...
|
|
static void | init () |
| Initialize the fluid system's static parameters. More...
|
|
template<class FluidState > |
static Scalar | density (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase. More...
|
|
template<class FluidState > |
static Scalar | molarDensity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| The molar density \(\rho_{mol,\alpha}\) of a fluid phase \(\alpha\) in \(\mathrm{[mol/m^3]}\). More...
|
|
template<class FluidState > |
static Scalar | viscosity (const FluidState &fs, const ParameterCache ¶mCache, int phaseIdx) |
| Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\). More...
|
|
template<class FluidState > |
static Scalar | fugacityCoefficient (const FluidState &fs, const ParameterCache ¶mCache, int phaseIdx, int compIdx) |
| Calculate the fugacity coefficient \(\mathrm{[-]}\) of an individual component in a fluid phase. More...
|
|
template<class FluidState > |
static Scalar | diffusionCoefficient (const FluidState &fs, const ParameterCache ¶mCache, 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, const ParameterCache ¶mCache, 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 \(i\) and \(j\) in this phase. More...
|
|
template<class FluidState > |
static Scalar | enthalpy (const FluidState &fs, const ParameterCache ¶mCache, int phaseIdx) |
| Given a phase's composition, temperature and pressure, calculate its specific enthalpy \(\mathrm{[J/kg]}\). More...
|
|
template<class FluidState > |
static Scalar | thermalConductivity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Given a phase's composition, temperature and pressure, calculate its thermal conductivity \(\mathrm{[W/(m K)]}\). More...
|
|
template<class FluidState > |
static Scalar | heatCapacity (const FluidState &fluidState, const ParameterCache ¶mCache, int phaseIdx) |
| Given a phase's composition, temperature and pressure, calculate its heat capacity \(\mathrm{[J/(kg K)]}\). More...
|
|
template<class Scalar >
template<class FluidState >
Molecular diffusion of a component \(\mathrm{\kappa}\) is caused by a gradient of the chemical potential and follows the law
\[ J = - D grad \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
-
fs | An arbitrary fluid state |
paramCache | Container for cache parameters |
phaseIdx | The index of the fluid phase to consider |
compIdx | The index of the component to consider |