template<class Scalar, class FluidSystem, int phaseIdx, bool useSpe5Relations = false>
class Dumux::PengRobinsonParamsMixture< Scalar, FluidSystem, phaseIdx, useSpe5Relations >
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) [59]
and
J.E. Killough, et al. (1987) [36]
|
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...
|
|