OpenCAEPoro
0.2.0 Sep/22/2022
A simulator for multicomponent porous media flow
|
EoSParam contains the params for Compositional Model and functions to read them. More...
#include <ParamReservoir.hpp>
Public Member Functions | |
void | InitEoSparam () |
Init Params. | |
void | InputCOM (ifstream &ifs) |
Input the information of components. More... | |
void | InputCOMPONENTS (ifstream &ifs, const string &keyword) |
Input the information of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > * | FindPtr (const string &varName) |
void | InputCNAMES (ifstream &ifs) |
Input the names of hydrocarbon components. | |
void | InputLBCCOEF (ifstream &ifs) |
Input LBC coefficients for viscosity calculation. | |
void | InputBIC (ifstream &ifs) |
Input the Binary interaction of components. More... | |
void | InputSSMSTA (ifstream &ifs) |
TODO: Add Doxygen. | |
void | InputNRSTA (ifstream &ifs) |
TODO: Add Doxygen. | |
void | InputSSMSP (ifstream &ifs) |
TODO: Add Doxygen. | |
void | InputNRSP (ifstream &ifs) |
TODO: Add Doxygen. | |
void | InputRR (ifstream &ifs) |
TODO: Add Doxygen. | |
Public Attributes | |
USI | NTPVT {1} |
num of EoS region, constant now. | |
USI | numCom {0} |
num of components, water is excluded. | |
USI | numPhase {2} |
num of phase, water is excluded, constant now. | |
vector< vector< string > > | COM |
Components information. | |
vector< string > | Cname |
Name of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | Tc |
Critical temperature of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | Pc |
Critical pressure of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | Vc |
Critical volume of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | Zc |
Critical Z-factor of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | MW |
Molecular Weight of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | Acf |
Acentric factor of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | OmegaA |
OMEGA_A of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | OmegaB |
OMEGA_B of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | Vshift |
Volume shift of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | Parachor |
PARACHOR of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > | Vcvis |
Critical volume used for viscosity calculations only. | |
Type_A_r< vector< OCP_DBL > > | Zcvis |
Critical Z-factor used for viscosity calculations only. | |
vector< OCP_DBL > | LBCcoef |
LBC coefficients for viscosity calculation. | |
vector< vector< OCP_DBL > > | BIC |
Binary interaction. | |
bool | miscible {false} |
Miscible treatment of hydrocarbons, used in compositional Model. | |
vector< string > | SSMparamSTA |
Params for Solving Phase Spliting with SSM. | |
vector< string > | NRparamSTA |
Params for Solving Phase Spliting with NR. | |
vector< string > | SSMparamSP |
Params for Solving Phase Spliting with SSM. | |
vector< string > | NRparamSP |
Params for Solving Phase Spliting with NR. | |
vector< string > | RRparam |
Params for Solving Rachford-Rice equations. | |
EoSParam contains the params for Compositional Model and functions to read them.
Definition at line 65 of file ParamReservoir.hpp.
Find corresponding variable according to the name of variable. It is used for the basic properties of hydrocarbon components such as TCRIT
Definition at line 811 of file ParamReservoir.cpp.
References Acf, Map_Str2Int(), MW, OmegaA, OmegaB, Parachor, Pc, Tc, Vc, Vcvis, Vshift, Zc, and Zcvis.
void EoSparam::InputBIC | ( | ifstream & | ifs | ) |
Input the Binary interaction of components.
Input Binary Interaction Coefficients Matrix.
Definition at line 958 of file ParamReservoir.cpp.
References BIC, NTPVT, numCom, OCP_ASSERT, and ReadLine().
void EoSparam::InputCOM | ( | ifstream & | ifs | ) |
Input the information of components.
TODO: Add Doxygen.
Definition at line 777 of file ParamReservoir.cpp.
References COM, numCom, OCP_ASSERT, OCP_FUNCNAME, and ReadLine().