Concrete class implementing the incompressible property interface for a simplified single-phase setting, reading all data and properties from eclipse deck input. More...
#include <IncompPropertiesSinglePhase.hpp>
Public Member Functions | |
IncompPropertiesSinglePhase (const Opm::Deck &deck, const Opm::EclipseState &eclState, const UnstructuredGrid &grid) | |
Initialize from deck and grid. More... | |
virtual | ~IncompPropertiesSinglePhase () |
Destructor. | |
virtual int | numDimensions () const |
virtual int | numCells () const |
virtual const double * | porosity () const |
virtual const double * | permeability () const |
virtual int | numPhases () const |
virtual const double * | viscosity () const |
virtual const double * | density () const |
Densities of fluid at reservoir conditions. More... | |
virtual const double * | surfaceDensity () const |
Densities of fluid phases at surface conditions. More... | |
virtual void | relperm (const int n, const double *s, const int *cells, double *kr, double *dkrds) const |
Relative permeability. More... | |
virtual void | capPress (const int n, const double *s, const int *cells, double *pc, double *dpcds) const |
Capillary pressure. More... | |
virtual void | satRange (const int n, const int *cells, double *smin, double *smax) const |
Obtain the range of allowable saturation values. More... | |
Concrete class implementing the incompressible property interface for a simplified single-phase setting, reading all data and properties from eclipse deck input.
The oil phase properties are used where applicable and available.
Supports variable number of spatial dimensions, called D. Supports a single phase only. In general, when arguments call for n values of some vector or matrix property, such as saturation, they shall always be ordered cellwise: [s^1_0 s^2_0 s^3_0 s^1_1 s^2_2 ... ] in which s^i_j denotes saturation of phase i in cell j.
Opm::IncompPropertiesSinglePhase::IncompPropertiesSinglePhase | ( | const Opm::Deck & | deck, |
const Opm::EclipseState & | eclState, | ||
const UnstructuredGrid & | grid | ||
) |
Initialize from deck and grid.
deck | Deck input parser |
eclState | The EclipseState (processed deck) produced by the opm-parser code |
grid | Grid to which property object applies, needed for the mapping from cell indices (typically from a processed grid) to logical cartesian indices consistent with the deck. |
|
virtual |
Capillary pressure.
Always returns zero.
[in] | n | Number of data points. |
[in] | s | Array of n saturation values. |
[in] | cells | Array of n cell indices to be associated with the s values. |
[out] | pc | Array of n capillary pressure values, array must be valid before calling. |
[out] | dpcds | If non-null: array of n derivative values, array must be valid before calling. |
Implements Opm::IncompPropertiesInterface.
|
virtual |
Densities of fluid at reservoir conditions.
Implements Opm::IncompPropertiesInterface.
|
virtual |
Implements Opm::IncompPropertiesInterface.
|
virtual |
Implements Opm::IncompPropertiesInterface.
|
virtual |
Implements Opm::IncompPropertiesInterface.
|
virtual |
Implements Opm::IncompPropertiesInterface.
|
virtual |
Implements Opm::IncompPropertiesInterface.
|
virtual |
Relative permeability.
Always returns 1 (and 0 for derivatives).
[in] | n | Number of data points. |
[in] | s | Array of n saturation values. |
[in] | cells | Array of n cell indices to be associated with the s values. |
[out] | kr | Array of n relperm values, array must be valid before calling. |
[out] | dkrds | If non-null: array of n relperm derivative values, array must be valid before calling. |
Implements Opm::IncompPropertiesInterface.
|
virtual |
Obtain the range of allowable saturation values.
Saturation range is just the point 1 for this class
[in] | n | Number of data points. |
[in] | cells | Array of n cell indices. |
[out] | smin | Array of n minimum s values, array must be valid before calling. |
[out] | smax | Array of n maximum s values, array must be valid before calling. |
Implements Opm::IncompPropertiesInterface.
|
virtual |
Densities of fluid phases at surface conditions.
Implements Opm::IncompPropertiesInterface.
|
virtual |
Implements Opm::IncompPropertiesInterface.