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

Public Member Functions

 FlowUnit_W (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 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.
 
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
 

Additional Inherited Members

- 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 71 of file FlowUnit.hpp.


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