template<class TypeTag>
class Dumux::Properties::MaxwellStefanTracerFluidSystem< TypeTag >
A simple fluid system with one MaxwellStefan component.
|
| static constexpr bool | isTracerFluidSystem () |
| static std::string | componentName (int compIdx) |
| | Human readable component name (index compIdx) (for vtk output).
|
| static std::string | phaseName (int phaseIdx=0) |
| | Human readable phase name (index phaseIdx) (for velocity vtk output).
|
| static Scalar | molarMass (unsigned int compIdx) |
| | Molar mass in kg/mol of the component with index compIdx.
|
| static Scalar | binaryDiffusionCoefficient (unsigned int compIdx, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| static Scalar | binaryDiffusionCoefficient (unsigned int compIIdx, unsigned int compJIdx, const Problem &problem, const Element &element, const SubControlVolume &scv) |
| template<class FluidState> |
| static Scalar | molarDensity (const FluidState &fluidState, int phaseIdx) |
| | The molar density \(\rho_{mol,\alpha}\) of a fluid phase \(\alpha\) in \(\mathrm{[mol/m^3]}\).
|
| static constexpr int | getMainComponent (int phaseIdx) |
| | Get the main component of a given phase if possible.
|
| static constexpr bool | isCompressible (int phaseIdx) |
| | Returns true if and only if a fluid phase is assumed to be compressible.
|
| static constexpr bool | isMiscible () |
| | Returns whether the fluids are miscible.
|
| static constexpr bool | viscosityIsConstant (int phaseIdx) |
| | Returns true if and only if a fluid phase is assumed to have a constant viscosity.
|
| static Scalar | density (const FluidState &fluidState, int phaseIdx) |
| | Calculate the density \(\mathrm{[kg/m^3]}\) of a fluid phase.
|
| static Scalar | molarDensity (const FluidState &fluidState, int phaseIdx) |
| | Calculate the molar density \(\mathrm{[mol/m^3]}\) of a fluid phase.
|
| static Scalar | fugacityCoefficient (const FluidState &fluidState, int phaseIdx, int compIdx) |
| | Calculate the fugacity coefficient \(\mathrm{[Pa]}\) of an individual component in a fluid phase.
|
| static Scalar | viscosity (const FluidState &fluidState, int phaseIdx) |
| | Calculate the dynamic viscosity of a fluid phase \(\mathrm{[Pa*s]}\).
|
| 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)]}\).
|
| 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.
|
| static Scalar | enthalpy (const FluidState &fluidState, int phaseIdx) |
| | Given a phase's composition, temperature, pressure and density, calculate its specific enthalpy \(\mathrm{[J/kg]}\).
|
| static Scalar | thermalConductivity (const FluidState &fluidState, int phaseIdx) |
| | Thermal conductivity \(\lambda_\alpha \) of a fluid phase \(\mathrm{[W/(m K)]}\).
|
| static Scalar | heatCapacity (const FluidState &fluidState, int phaseIdx) |
| | Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\).
|
Calculate the binary molecular diffusion coefficient for a component in a fluid phase \(\mathrm{[mol^2 * s / (kg*m^3)]}\).
- Parameters
-
| fluidState | The fluid state |
| phaseIdx | Index of the fluid phase |
| compIdx | Index of the component Molecular diffusion of a component \(\mathrm{\kappa}\) is caused by a gradient of the chemical potential and follows the law |
\[ J = - D \mathbf{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.
Specific isobaric heat capacity \(c_{p,\alpha}\) of a fluid phase \(\mathrm{[J/(kg*K)]}\).
- 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} \)