|
opm-simulators
|
Type that implements "constant dissolved gas-oil ratio" (Rs) from RSCONST keyword. More...
#include <EquilibrationHelpers.hpp>
Public Types | |
| using | Scalar = typename FluidSystem::Scalar |
Public Member Functions | |
| RsConst (const Scalar rs_constant, const Scalar pb_constant) | |
| Constructor. | |
| Scalar | operator() (const Scalar depth, const Scalar press, const Scalar temp, const Scalar satGas=0.0) const override |
| Function call - returns constant Rs if pressure above bubble point. | |
| Scalar | bubblePoint () const |
| Get the constant bubble point pressure. | |
| Scalar | constantRs () const |
| Get the constant Rs value. | |
| bool | isConstantRs () const |
| Scalar | satRs (const Scalar press, const Scalar temp) const |
| Public Member Functions inherited from Opm::EQUIL::Miscibility::RsFunction< FluidSystem::Scalar > | |
| virtual Scalar | operator() (const Scalar depth, const Scalar press, const Scalar temp, const Scalar sat=0.0) const=0 |
| Function call operator. | |
Type that implements "constant dissolved gas-oil ratio" (Rs) from RSCONST keyword.
This is a global constant value for dead oil. Oil should use PVDO tables, and gas phase should not be active. Simulation terminates if pressure falls below bubble point.
| Opm::EQUIL::Miscibility::RsConst< FluidSystem >::RsConst | ( | const Scalar | rs_constant, |
| const Scalar | pb_constant ) |
Constructor.
| [in] | rs_constant | Constant Rs value from RSCONST |
| [in] | pb_constant | Constant bubble point from RSCONST |
|
override |
Function call - returns constant Rs if pressure above bubble point.
Should ensure undersaturated PVT calculation is always used.