#include <SaturationPropsInterface.hpp>
|
virtual | ~SaturationPropsInterface () |
| Virtual destructor. More...
|
|
virtual int | numPhases () const =0 |
|
virtual void | relperm (const int n, const double *s, const int *cells, double *kr, double *dkrds) const =0 |
|
virtual void | capPress (const int n, const double *s, const int *cells, double *pc, double *dpcds) const =0 |
|
virtual void | satRange (const int n, const int *cells, double *smin, double *smax) const =0 |
|
virtual void | updateSatHyst (const int n, const int *cells, const double *s)=0 |
|
virtual void | swatInitScaling (const int cell, const double pcow, double &swat)=0 |
|
Enumerator |
---|
Aqua |
|
Liquid |
|
Vapour |
|
virtual Opm::SaturationPropsInterface::~SaturationPropsInterface |
( |
| ) |
|
|
inlinevirtual |
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.
const int Opm::BlackoilPhases::MaxNumPhases = 3 |
|
staticinherited |
Referenced by Opm::Equil::isConstPc(), Opm::Equil::PcEq::PcEq(), Opm::Equil::PcEqSum::PcEqSum(), Opm::Equil::phaseSaturations(), Opm::phaseUsageFromDeck(), Opm::Equil::Miscibility::RsSatAtContact::RsSatAtContact(), Opm::Equil::Miscibility::RsVD::RsVD(), Opm::Equil::Miscibility::RvSatAtContact::RvSatAtContact(), Opm::Equil::Miscibility::RvVD::RvVD(), Opm::Equil::satFromDepth(), Opm::Equil::satFromPc(), Opm::Equil::satFromSumOfPcs(), and Opm::ExplicitArraysFluidState::setIndex().
The documentation for this class was generated from the following file:
|