OpenCAEPoro  v0.5.0
A simulator for multicomponent porous media flow
Public Member Functions | Protected Attributes | List of all members
FlowUnit Class Referenceabstract

#include <FlowUnit.hpp>

Inheritance diagram for FlowUnit:
FlowUnit_ODGW FlowUnit_OG FlowUnit_OW FlowUnit_W FlowUnit_ODGW01 FlowUnit_ODGW02 FlowUnit_ODGW01_Miscible

Public Member Functions

 FlowUnit ()=default
 Default constructor.
 
virtual void SetupOptionalFeatures (const Grid &myGrid, OptionalFeatures &optFeatures)=0
 
virtual void SetupScale (const OCP_USI &bId, OCP_DBL &Swin, const OCP_DBL &Pcowin)=0
 
virtual OCP_DBL GetPcowBySw (const OCP_DBL &sw)=0
 Pcow = Po - Pw.
 
virtual OCP_DBL GetSwByPcow (const OCP_DBL &pcow)=0
 
virtual OCP_DBL GetPcgoBySg (const OCP_DBL &sg)=0
 Pcgo = Pg - Po.
 
virtual OCP_DBL GetSgByPcgo (const OCP_DBL &pcgo)=0
 
virtual OCP_DBL GetSwByPcgw (const OCP_DBL &pcgw)=0
 Pcgw = Pg - Pw.
 
virtual const vector< OCP_DBL > & GetScm () const =0
 Return the value of Scm.
 
virtual void CalKrPc (const OCP_DBL *S_in, OCP_DBL *kr_out, OCP_DBL *pc_out, const OCP_USI &bId)=0
 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_USI &bId)=0
 Calculate derivatives of relative permeability and capillary pressure.
 
OCP_DBL GetSwco () const
 

Protected Attributes

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

designed to deal with matters related to saturation table. relative permeability, capillary pressure will be calculated here.

Definition at line 25 of file FlowUnit.hpp.


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