The mixing rule for the oil and the gas phases of the SPE5 problem. More...
#include <dumux/material/eos/pengrobinsonparamsmixture.hh>
This problem comprises
See:
R. Reid, et al. (1987, pp. 43-44) [76]
and
J.E. Killough, et al. (1987) [49]
Public Member Functions | |
template<class FluidState > | |
void | updatePure (const FluidState &fluidState) |
Update Peng-Robinson parameters for the pure components. More... | |
void | updatePure (Scalar temperature, Scalar pressure) |
Peng-Robinson parameters for the pure components. More... | |
template<class FluidState > | |
void | updateMix (const FluidState &fs) |
Calculates the "a" and "b" Peng-Robinson parameters for the mixture. More... | |
template<class FluidState > | |
void | updateSingleMoleFraction (const FluidState &fs, int compIdx) |
Calculates the "a" and "b" Peng-Robinson parameters for the mixture provided that only a single mole fraction was changed. More... | |
const PureParams & | pureParams (int compIdx) const |
Return the Peng-Robinson parameters of a pure substance,. More... | |
const PureParams & | operator[] (int compIdx) const |
Returns the Peng-Robinson parameters for a pure component. More... | |
Scalar | a () const |
Returns the attractive parameter 'a' of the Peng-Robinson fluid. More... | |
Scalar | b () const |
Returns the repulsive parameter 'b' of the Peng-Robinson fluid. More... | |
void | setA (Scalar value) |
Set the attractive parameter 'a' of the Peng-Robinson fluid. More... | |
void | setB (Scalar value) |
Set the repulsive parameter 'b' of the Peng-Robinson fluid. More... | |
Protected Attributes | |
PureParams | pureParams_ [numComponents] |
Scalar | a_ |
Scalar | b_ |
|
inlineinherited |
|
inlineinherited |
|
inline |
compIdx | the component index |
|
inline |
compIdx | the component index |
|
inlineinherited |
value | value of the attractive parameter |
|
inlineinherited |
value | value of the repulsive parameter |
|
inline |
The updatePure() method needs to be called before calling this method!
fs | the thermodynamic state of the fluids |
|
inline |
fluidState | Thermodynamic state of the fluids |
|
inline |
temperature | Temperature in |
pressure | pressure in |
|
inline |
The updatePure() method needs to be called before calling this method!
fs | the thermodynamic state of the fluids |
compIdx | the component index |
|
protectedinherited |
|
protectedinherited |
|
protected |