OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
Public Member Functions | |
FlowUnit_OG (const ParamReservoir &rs_param, const USI &i) | |
void | SetupOptionalFeatures (const Grid &myGrid, OptionalFeatures &optFeatures) override |
void | SetupScale (const OCP_USI &bId, OCP_DBL &Swin, const OCP_DBL &Pcowin) override |
void | CalKrPc (const OCP_DBL *S_in, OCP_DBL *kr_out, OCP_DBL *pc_out, const OCP_USI &bId) override |
Calculate relative permeability and capillary pressure. | |
void | CalKrPcDeriv (const OCP_DBL *S_in, OCP_DBL *kr_out, OCP_DBL *pc_out, OCP_DBL *dkrdS, OCP_DBL *dPcjdS, const OCP_USI &bId) override |
Calculate derivatives of relative permeability and capillary pressure. | |
OCP_DBL | GetPcgoBySg (const OCP_DBL &sg) override |
Pcgo = Pg - Po. | |
OCP_DBL | GetSgByPcgo (const OCP_DBL &pcgo) override |
OCP_DBL | GetPcowBySw (const OCP_DBL &sw) override |
Pcow = Po - Pw. | |
OCP_DBL | GetSwByPcow (const OCP_DBL &pcow) override |
OCP_DBL | GetSwByPcgw (const OCP_DBL &pcgw) override |
Pcgw = Pg - Pw. | |
const vector< OCP_DBL > & | GetScm () const override |
Return the value of Scm. | |
Public Member Functions inherited from FlowUnit | |
FlowUnit ()=default | |
Default constructor. | |
OCP_DBL | GetSwco () const |
Protected Attributes | |
OCPTable | SGOF |
saturation table about gas and oil. | |
OCP_DBL | kroMax |
Protected Attributes inherited from FlowUnit | |
OCP_DBL | Swco |
vector< OCP_DBL > | data |
container to store the values of interpolation. | |
vector< OCP_DBL > | cdata |
container to store the slopes of interpolation. | |
Definition at line 151 of file FlowUnit.hpp.