The mixing rule for the oil and the gas phases of the SPE5 problem. More...
#include <dumux/material/eos/pengrobinsonparamsmixture.hh>

The mixing rule for the oil and the gas phases of the SPE5 problem.
This problem comprises \(H_2O\), \(C_1\), \(C_3\), \(C_6\), \(C_10\), \(C_15\) and \(C_20\) as components.
See:
R. Reid, et al. (1987, pp. 43-44) [53]
and
J.E. Killough, et al. (1987) [34]
Public Member Functions | |
| template<class FluidState> | |
| void | updatePure (const FluidState &fluidState) |
| Update Peng-Robinson parameters for the pure components. | |
| void | updatePure (Scalar temperature, Scalar pressure) |
| Peng-Robinson parameters for the pure components. | |
| template<class FluidState> | |
| void | updateMix (const FluidState &fs) |
| Calculates the "a" and "b" Peng-Robinson parameters for the mixture. | |
| 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. | |
| const PureParams & | pureParams (int compIdx) const |
| Return the Peng-Robinson parameters of a pure substance,. | |
| const PureParams & | operator[] (int compIdx) const |
| Returns the Peng-Robinson parameters for a pure component. | |
| void | checkDefined () const |
| If run under valgrind, this method produces an warning if the parameters where not determined correctly. | |
| Scalar | a () const |
| Returns the attractive parameter 'a' of the Peng-Robinson fluid. | |
| Scalar | b () const |
| Returns the repulsive parameter 'b' of the Peng-Robinson fluid. | |
| void | setA (Scalar value) |
| Set the attractive parameter 'a' of the Peng-Robinson fluid. | |
| void | setB (Scalar value) |
| Set the repulsive parameter 'b' of the Peng-Robinson fluid. | |
Protected Attributes | |
| PureParams | pureParams_ [numComponents] |
| Scalar | a_ |
| Scalar | b_ |
|
inlineinherited |
Returns the attractive parameter 'a' of the Peng-Robinson fluid.
|
inlineinherited |
Returns the repulsive parameter 'b' of the Peng-Robinson fluid.
|
inline |
If run under valgrind, this method produces an warning if the parameters where not determined correctly.
|
inline |
Returns the Peng-Robinson parameters for a pure component.
| compIdx | the component index |
|
inline |
Return the Peng-Robinson parameters of a pure substance,.
| compIdx | the component index |
|
inlineinherited |
Set the attractive parameter 'a' of the Peng-Robinson fluid.
| value | value of the attractive parameter |
|
inlineinherited |
Set the repulsive parameter 'b' of the Peng-Robinson fluid.
| value | value of the repulsive parameter |
|
inline |
Calculates the "a" and "b" Peng-Robinson parameters for the mixture.
The updatePure() method needs to be called before calling this method!
| fs | the thermodynamic state of the fluids |
|
inline |
Update Peng-Robinson parameters for the pure components.
| fluidState | Thermodynamic state of the fluids |
|
inline |
Peng-Robinson parameters for the pure components.
| temperature | Temperature in \(\mathrm{[K]}\) |
| pressure | pressure in \(\mathrm{[Pa]}\) This method is given by the SPE5 paper. |
|
inline |
Calculates the "a" and "b" Peng-Robinson parameters for the mixture provided that only a single mole fraction was changed.
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 |