![]() |
OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
#include <FlowUnit.hpp>
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_DBL > | data |
| container to store the values of interpolation. | |
| vector< OCP_DBL > | cdata |
| container to store the slopes of interpolation. | |
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.