12 #ifndef __PHASEPERMEABILITY_HEADER__
13 #define __PHASEPERMEABILITY_HEADER__
32 void InputParam(
const Miscstr& misterm);
34 void Setup(
const OCP_USI& numBulk);
80 void Setup(
const Grid& myGrid);
Definition of build-in datatypes and consts.
double OCP_DBL
Double precision.
unsigned int OCP_USI
Long unsigned integer.
unsigned int OCP_BOOL
OCP_BOOL in OCP.
ParamReservoir class declaration.
OCP_DBL GetSurTen(const OCP_USI &n) const
Return surTen.
OCP_DBL surTenRef
The reference surface tension - flow is immiscible when the surface tension.
OCP_DBL GetFp(const OCP_USI &n) const
Return Fp.
vector< OCP_DBL > Fp
The capillary pressure interpolation parameter.
OCP_BOOL IfUseMiscible() const
Return ifUseMiscible.
void ResetTolastTimeStep()
Reset Miscible term to last time step.
OCP_DBL GetFk(const OCP_USI &n) const
Return Fk.
vector< OCP_DBL > surTen
Surface tensions between hydrocarbon phases.
vector< OCP_DBL > lsurTen
last surTen.
void UpdateLastTimeStep()
Update Miscible term at last time step.
void AssignValue(const OCP_USI &n, const OCP_DBL &v)
Assign value to surTen.
OCP_DBL Fkexp
Exponent set used to calculate Fk.
OCP_DBL surTenPc
Maximum surface tension for capillary pressure / surTenRef.
vector< OCP_DBL > Fk
The relative permeability interpolation parameter.
Collect more detailed information of each time step.
OCP_DBL GetScaleVal(const OCP_USI &n) const
Return scaleVal.
OCP_BOOL IfScale() const
Return ifScale.
void AssignScaleValue(const OCP_USI &n, const OCP_DBL &v)
Assign value to scaleVal.
vector< OCP_DBL > scaleVal
Scale values for Pcow, it will be calculated from swatInit.
vector< OCP_DBL > swatInit
Initial water distribution.