|
My Project
|
The mixing rule for the oil and the gas phases of the SPE5 problem. More...
#include <PengRobinsonParamsMixture.hpp>
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. 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, unsigned) |
| Calculates the "a" and "b" Peng-Robinson parameters for the mixture provided that only a single mole fraction was changed. More... | |
| const PureParams & | pureParams (unsigned compIdx) const |
| Return the Peng-Robinson parameters of a pure substance,. | |
| const PureParams & | operator[] (unsigned 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. | |
Public Member Functions inherited from Opm::PengRobinsonParams< Scalar > | |
| 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 | checkDefined () const |
| If run under valgrind, this method produces an warning if the parameters where not determined correctly. | |
| 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] |
Protected Attributes inherited from Opm::PengRobinsonParams< Scalar > | |
| Scalar | a_ |
| Scalar | b_ |
The mixing rule for the oil and the gas phases of the SPE5 problem.
This problem comprises
,
,
,
,
,
and
as components.
See:
R. Reid, et al.: The Properties of Gases and Liquids, 4th edition, McGraw-Hill, 1987, pp. 43-44
and
J.E. Killough, et al.: Fifth Comparative Solution Project: Evaluation of Miscible Flood Simulators, Ninth SPE Symposium on Reservoir Simulation, 1987
|
inline |
Calculates the "a" and "b" Peng-Robinson parameters for the mixture.
The updatePure() method needs to be called before calling this method!
|
inline |
Peng-Robinson parameters for the pure components.
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!