|
virtual | ~SaturationPropsInterface () |
| Virtual destructor.
|
|
virtual int | numPhases () const =0 |
|
virtual void | relperm (const int n, const double *s, const int *cells, double *kr, double *dkrds) const =0 |
| Relative permeability. More...
|
|
virtual void | capPress (const int n, const double *s, const int *cells, double *pc, double *dpcds) const =0 |
| Capillary pressure. More...
|
|
virtual void | satRange (const int n, const int *cells, double *smin, double *smax) const =0 |
| Obtain the range of allowable saturation values. More...
|
|
virtual void | updateSatHyst (const int n, const int *cells, const double *s)=0 |
| Update saturation state for the hysteresis tracking. More...
|
|
virtual void | swatInitScaling (const int cell, const double pcow, double &swat)=0 |
| Update capillary pressure scaling according to pressure diff. More...
|
|
|
enum | PhaseIndex { Aqua = 0,
Liquid = 1,
Vapour = 2
} |
|
static const int | MaxNumPhases = 3 |
|
virtual void Opm::SaturationPropsInterface::capPress |
( |
const int |
n, |
|
|
const double * |
s, |
|
|
const int * |
cells, |
|
|
double * |
pc, |
|
|
double * |
dpcds |
|
) |
| const |
|
pure virtual |
Capillary pressure.
- Parameters
-
[in] | n | Number of data points. |
[in] | s | Array of nP saturation values. |
[out] | pc | Array of nP capillary pressure values, array must be valid before calling. |
[out] | dpcds | If non-null: array of nP^2 derivative values, array must be valid before calling. The P^2 derivative matrix is m_{ij} = {dpc_i}{ds^j}, and is output in Fortran order (m_00 m_10 m_20 m01 ...) |
Implemented in Opm::SaturationPropsFromDeck.
virtual int Opm::SaturationPropsInterface::numPhases |
( |
| ) |
const |
|
pure virtual |
virtual void Opm::SaturationPropsInterface::relperm |
( |
const int |
n, |
|
|
const double * |
s, |
|
|
const int * |
cells, |
|
|
double * |
kr, |
|
|
double * |
dkrds |
|
) |
| const |
|
pure virtual |
Relative permeability.
- Parameters
-
[in] | n | Number of data points. |
[in] | s | Array of nP saturation values. |
[out] | kr | Array of nP relperm values, array must be valid before calling. |
[out] | dkrds | If non-null: array of nP^2 relperm derivative values, array must be valid before calling. The P^2 derivative matrix is m_{ij} = {dkr_i}{ds^j}, and is output in Fortran order (m_00 m_10 m_20 m01 ...) |
Implemented in Opm::SaturationPropsFromDeck.
virtual void Opm::SaturationPropsInterface::satRange |
( |
const int |
n, |
|
|
const int * |
cells, |
|
|
double * |
smin, |
|
|
double * |
smax |
|
) |
| const |
|
pure virtual |
Obtain the range of allowable saturation values.
- Parameters
-
[in] | n | Number of data points. |
[out] | smin | Array of nP minimum s values, array must be valid before calling. |
[out] | smax | Array of nP maximum s values, array must be valid before calling. |
Implemented in Opm::SaturationPropsFromDeck.
virtual void Opm::SaturationPropsInterface::swatInitScaling |
( |
const int |
cell, |
|
|
const double |
pcow, |
|
|
double & |
swat |
|
) |
| |
|
pure virtual |
Update capillary pressure scaling according to pressure diff.
and initial water saturation.
- Parameters
-
[in] | cell | Cell index. |
[in] | pcow | P_oil - P_water. |
| in/out] | swat Water saturation. / Possibly modified Water saturation. |
Implemented in Opm::SaturationPropsFromDeck.
virtual void Opm::SaturationPropsInterface::updateSatHyst |
( |
const int |
n, |
|
|
const int * |
cells, |
|
|
const double * |
s |
|
) |
| |
|
pure virtual |
Update saturation state for the hysteresis tracking.
- Parameters
-
[in] | n | Number of data points. |
[in] | s | Array of nP saturation values. |
Implemented in Opm::SaturationPropsFromDeck.
The documentation for this class was generated from the following file: