OpenCAEPoro  0.2.0 Sep/22/2022
A simulator for multicomponent porous media flow
Public Member Functions | Protected Attributes | List of all members
FlowUnit_ODGW01 Class Reference
Inheritance diagram for FlowUnit_ODGW01:
FlowUnit_ODGW FlowUnit FlowUnit_ODGW01_Miscible

Public Member Functions

 FlowUnit_ODGW01 (const ParamReservoir &rs_param, const USI &i)
 
virtual void CalKrPc (const OCP_DBL *S_in, OCP_DBL *kr_out, OCP_DBL *pc_out, const OCP_DBL &MySurTen, OCP_DBL &MyFk, OCP_DBL &MyFp) override
 Calculate relative permeability and capillary pressure.
 
virtual void CalKrPcDeriv (const OCP_DBL *S_in, OCP_DBL *kr_out, OCP_DBL *pc_out, OCP_DBL *dkrdS, OCP_DBL *dPcjdS, const OCP_DBL &MySurTen, OCP_DBL &MyFk, OCP_DBL &MyFp) 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 dkrowdSw, OCP_DBL dkrgdSg, OCP_DBL dkrogdSg, OCP_DBL &out_dkrodSw, OCP_DBL &out_dkrodSg) const
 
OCP_DBL CalKro_DefaultDer (const OCP_DBL &Sg, const OCP_DBL &Sw, const OCP_DBL &krog, const OCP_DBL &krow, const OCP_DBL &dkrogSg, const OCP_DBL &dkrowSw, OCP_DBL &dkroSg, OCP_DBL &dkroSw) 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
 
OCP_DBL GetSwco () const override
 Return the value of Swco.
 
const vector< OCP_DBL > & GetScm () const override
 Return the value of Scm.
 
- Public Member Functions inherited from FlowUnit
 FlowUnit ()=default
 Default constructor.
 

Protected Attributes

OCPTable SGOF
 saturation table about gas and oil.
 
OCPTable SWOF
 saturation table about water and oil.
 
vector< OCP_DBLdata
 container to store the values of interpolation.
 
vector< OCP_DBLcdata
 container to store the slopes of interpolation.
 
OCPTable SWPCGW
 
- Protected Attributes inherited from FlowUnit_ODGW
OCP_DBL kroMax
 oil relative permeability in the presence of connate water only, used in stone2
 
OCP_DBL Swco
 Saturation of connate water.
 
vector< OCP_DBLScm
 critical saturation when phase becomes mobile / immobile
 

Detailed Description

Definition at line 181 of file FlowUnit.hpp.

Member Data Documentation

◆ SWPCGW

OCPTable FlowUnit_ODGW01::SWPCGW
protected

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

Definition at line 223 of file FlowUnit.hpp.


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