Specifies the parameters required by the SPE5 problem which are despondent on the thermodynamic state.
More...
template<class Scalar, class FluidSystem>
class Dumux::Spe5ParameterCache< Scalar, FluidSystem >
Specifies the parameters required by the SPE5 problem which are despondent on the thermodynamic state.
|
| | Spe5ParameterCache () |
| | The constructor.
|
| template<class FluidState> |
| void | updatePhase (const FluidState &fs, int phaseIdx, int except=ParentType::None) |
| | Update all parameters required by the fluid system to calculate some quantities for the phase.
|
| template<class FluidState> |
| void | updateSingleMoleFraction (const FluidState &fs, int phaseIdx, int compIdx) |
| | Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single component.
|
| Scalar | a (int phaseIdx) const |
| | The Peng-Robinson attractive parameter for a phase.
|
| Scalar | b (int phaseIdx) const |
| | The Peng-Robinson co-volume for a phase.
|
| Scalar | aPure (int phaseIdx, int compIdx) const |
| | The Peng-Robinson attractive parameter for a pure component given the same temperature and pressure of the phase.
|
| Scalar | bPure (int phaseIdx, int compIdx) const |
| | The Peng-Robinson co-volume for a pure component given the same temperature and pressure of the phase.
|
| Scalar | molarVolume (int phaseIdx) const |
| | Returns the molar volume of a phase \(\mathrm{[m^3/mol]}\).
|
| const OilPhaseParams & | oilPhaseParams () const |
| | Returns the Peng-Robinson mixture parameters for the oil phase.
|
| const GasPhaseParams & | gasPhaseParams () const |
| | Returns the Peng-Robinson mixture parameters for the gas phase.
|
| template<class FluidState> |
| void | updateEosParams (const FluidState &fs, int phaseIdx, int exceptQuantities=ParentType::None) |
| | Update all parameters required by the equation of state to calculate some quantities for the phase.
|
| void | updateAll (const FluidState &fs, int exceptQuantities=None) |
| | Update all cached quantities for all phases.
|
| void | updateAllPressures (const FluidState &fs) |
| | Update all cached quantities which depend on the pressure of any fluid phase.
|
| void | updateAllTemperatures (const FluidState &fs) |
| | Update all cached quantities which depend on the temperature of any fluid phase.
|
| void | updateTemperature (const FluidState &fs, int phaseIdx) |
| | Update all cached parameters of a specific fluid phase which depend on temperature.
|
| void | updatePressure (const FluidState &fs, int phaseIdx) |
| | Update all cached parameters of a specific fluid phase which depend on pressure.
|
| void | updateComposition (const FluidState &fs, int phaseIdx) |
| | Update all cached parameters of a specific fluid phase which depend on composition.
|
|
| template<class FluidState> |
| void | updatePure_ (const FluidState &fs, int phaseIdx) |
| | Update all parameters of a phase which only depend on temperature and/or pressure.
|
| template<class FluidState> |
| void | updateMix_ (const FluidState &fs, int phaseIdx) |
| | Update all parameters of a phase which depend on the fluid composition. It is assumed that updatePure() has been called before this method.
|
| template<class FluidState> |
| void | updateMolarVolume_ (const FluidState &fs, int phaseIdx) |
template<class Scalar, class FluidSystem>
template<class FluidState>
Update all parameters of a phase which depend on the fluid composition. It is assumed that updatePure() has been called before this method.
Here, the mixing rule kicks in.
template<class Scalar, class FluidSystem>
template<class FluidState>
| void Dumux::Spe5ParameterCache< Scalar, FluidSystem >::updateSingleMoleFraction |
( |
const FluidState & | fs, |
|
|
int | phaseIdx, |
|
|
int | compIdx ) |
|
inline |
Update all cached parameters of a specific fluid phase which depend on the mole fraction of a single component.
Only use this method if just a single component's concentration changed between two update*() calls. If more than one concentration changed, call updatePhaseComposition() of updatePhase()!
- Parameters
-
| fs | An arbitrary fluid state |
| compIdx | The index of the component to consider |
| phaseIdx | The index of the fluid phase to consider |