OpenCAEPoro  v0.5.0
A simulator for multicomponent porous media flow
Public Member Functions | Protected Attributes | List of all members
FlowUnit_ODGW02 Class Reference
Inheritance diagram for FlowUnit_ODGW02:
FlowUnit_ODGW FlowUnit

Public Member Functions

 FlowUnit_ODGW02 (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 CalKro_Stone2Der (OCP_DBL krow, OCP_DBL krog, OCP_DBL krw, OCP_DBL krg, OCP_DBL dkrwdSw, OCP_DBL dkrowdSo, OCP_DBL dkrgdSg, OCP_DBL dkrogdSo, OCP_DBL &out_dkrodSo) const
 
OCP_DBL CalKro_DefaultDer (const OCP_DBL &Sg, const OCP_DBL &Sw, const OCP_DBL &krog, const OCP_DBL &krow, const OCP_DBL &dkrogSo, const OCP_DBL &dkrowSo, OCP_DBL &dkroSo) const
 
OCP_DBL GetPcowBySw (const OCP_DBL &sw) override
 Pcow = Po - Pw.
 
OCP_DBL GetSwByPcow (const OCP_DBL &pcow) override
 
OCP_DBL GetPcgoBySg (const OCP_DBL &sg) override
 Pcgo = Pg - Po.
 
OCP_DBL GetSgByPcgo (const OCP_DBL &pcgo) override
 
OCP_DBL GetSwByPcgw (const OCP_DBL &pcgw) override
 Pcgw = Pg - Pw.
 
void Generate_SWPCWG ()
 
- Public Member Functions inherited from FlowUnit_ODGW
OCP_DBL CalKro_Stone2 (const OCP_DBL &krow, const OCP_DBL &krog, const OCP_DBL &krw, const OCP_DBL &krg) const
 
OCP_DBL CalKro_Default (const OCP_DBL &Sg, const OCP_DBL &Sw, const OCP_DBL &krog, const OCP_DBL &krow) const
 
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 SWFN
 saturation table about water.
 
OCPTable SGFN
 saturation table about gas.
 
OCPTable SOF3
 saturation table about oil.
 
OCPTable SWPCGW
 
- Protected Attributes inherited from FlowUnit_ODGW
OCP_DBL kroMax
 oil relative permeability in the presence of connate water only, used in stone2
 
vector< OCP_DBLScm
 critical saturation when phase becomes mobile / immobile
 
- Protected Attributes inherited from FlowUnit
OCP_DBL Swco
 
vector< OCP_DBLdata
 container to store the values of interpolation.
 
vector< OCP_DBLcdata
 container to store the slopes of interpolation.
 

Detailed Description

Definition at line 336 of file FlowUnit.hpp.

Member Data Documentation

◆ SWPCGW

OCPTable FlowUnit_ODGW02::SWPCGW
protected

auxiliary table: saturation of water vs. capillary pressure between water and gas.

Definition at line 389 of file FlowUnit.hpp.


The documentation for this class was generated from the following files: