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) [61]
and
J.E. Killough, et al. (1987) [37]
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 |
Returns the attractive parameter 'a' of the Peng-Robinson fluid.
|
inlineinherited |
Returns the repulsive parameter 'b' of the Peng-Robinson fluid.
|
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 |