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. More...
|
|
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. More...
|
|
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. More...
|
|
Scalar | a (int phaseIdx) const |
| The Peng-Robinson attractive parameter for a phase. More...
|
|
Scalar | b (int phaseIdx) const |
| The Peng-Robinson co-volume for a phase. More...
|
|
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. More...
|
|
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. More...
|
|
Scalar | molarVolume (int phaseIdx) const |
| Returns the molar volume of a phase \(\mathrm{[m^3/mol]}\). More...
|
|
const OilPhaseParams & | oilPhaseParams () const |
| Returns the Peng-Robinson mixture parameters for the oil phase. More...
|
|
const GasPhaseParams & | gasPhaseParams () const |
| Returns the Peng-Robinson mixture parameters for the gas phase. More...
|
|
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. More...
|
|
void | updateAll (const FluidState &fs, int exceptQuantities=None) |
| Update all cached quantities for all phases. More...
|
|
void | updateAllPressures (const FluidState &fs) |
| Update all cached quantities which depend on the pressure of any fluid phase. More...
|
|
void | updateAllTemperatures (const FluidState &fs) |
| Update all cached quantities which depend on the temperature of any fluid phase. More...
|
|
void | updateTemperature (const FluidState &fs, int phaseIdx) |
| Update all cached parameters of a specific fluid phase which depend on temperature. More...
|
|
void | updatePressure (const FluidState &fs, int phaseIdx) |
| Update all cached parameters of a specific fluid phase which depend on pressure. More...
|
|
void | updateComposition (const FluidState &fs, int phaseIdx) |
| Update all cached parameters of a specific fluid phase which depend on composition. More...
|
|
|
template<class FluidState > |
void | updatePure_ (const FluidState &fs, int phaseIdx) |
| Update all parameters of a phase which only depend on temperature and/or pressure. More...
|
|
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. More...
|
|
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 |