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

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_DBLsurTen
 Surface tensions between hydrocarbon phases.
 
vector< OCP_DBLFk
 The relative permeability interpolation parameter.
 
vector< OCP_DBLFp
 The capillary pressure interpolation parameter.
 
vector< OCP_DBLlsurTen
 last surTen.
 

Detailed Description

Definition at line 27 of file PhasePermeability.hpp.

Member Data Documentation

◆ ifSetup

OCP_BOOL Miscible::ifSetup {OCP_FALSE}
protected

Only one setup is needed.

Definition at line 53 of file PhasePermeability.hpp.


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