![]() |
OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
Public Member Functions | |
| void | InputParam (const Miscstr &misterm) |
| Input param from input file. | |
| void | Setup (const OCP_USI &numBulk) |
| Allocate memory for Miscible term. | |
| OCP_BOOL | IfUseMiscible () const |
| Return ifUseMiscible. | |
| void | AssignValue (const OCP_USI &n, const OCP_DBL &v) |
| Assign value to surTen. | |
| OCP_BOOL | CalFkFp (const OCP_USI &n, OCP_DBL &fk, OCP_DBL &fp) |
| Calculate Fk, Fp and return if miscible. | |
| void | ResetTolastTimeStep () |
| Reset Miscible term to last time step. | |
| void | UpdateLastTimeStep () |
| Update Miscible term at last time step. | |
| OCP_DBL | GetSurTen (const OCP_USI &n) const |
| Return surTen. | |
| OCP_DBL | GetFk (const OCP_USI &n) const |
| Return Fk. | |
| OCP_DBL | GetFp (const OCP_USI &n) const |
| Return Fp. | |
Protected Attributes | |
| OCP_BOOL | ifSetup {OCP_FALSE} |
| OCP_BOOL | ifUseMiscible {OCP_FALSE} |
| Miscible treatment of hydrocarbons, only used in compositional Model. | |
| OCP_DBL | surTenRef |
| The reference surface tension - flow is immiscible when the surface tension. | |
| OCP_DBL | surTenPc |
| Maximum surface tension for capillary pressure / surTenRef. | |
| OCP_DBL | Fkexp |
| Exponent set used to calculate Fk. | |
| vector< OCP_DBL > | surTen |
| Surface tensions between hydrocarbon phases. | |
| vector< OCP_DBL > | Fk |
| The relative permeability interpolation parameter. | |
| vector< OCP_DBL > | Fp |
| The capillary pressure interpolation parameter. | |
| vector< OCP_DBL > | lsurTen |
| last surTen. | |
Definition at line 27 of file PhasePermeability.hpp.
|
protected |
Only one setup is needed.
Definition at line 53 of file PhasePermeability.hpp.