OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
ComponentParam contains information of components. More...
#include <ParamReservoir.hpp>
Public Member Functions | |
void | Init () |
Init Params. | |
void | InputCOMPONENTS (ifstream &ifs, const string &keyword) |
Input the information of hydrocarbon components. | |
Type_A_r< vector< OCP_DBL > > * | FindPtr01 (const string &varName) |
void | InputRefPR (ifstream &ifs, const string &keyword) |
input reference pressure, temperature | |
vector< OCP_DBL > * | FindPtr02 (const string &varName) |
Find corresponding variable according to the name of variable. | |
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 | InputVISCTAB (ifstream &ifs) |
Input VISCTAB. | |
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< 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. | |
Type_A_r< vector< OCP_DBL > > | molden |
Type_A_r< vector< OCP_DBL > > | cp |
component compressibility, 1/psi | |
Type_A_r< vector< OCP_DBL > > | ct1 |
the first ifThermal expansion coefficient, 1/F | |
Type_A_r< vector< OCP_DBL > > | ct2 |
the second ifThermal expansion coefficient, 1/F | |
Type_A_r< vector< OCP_DBL > > | cpt |
Type_A_r< vector< OCP_DBL > > | cpl1 |
Type_A_r< vector< OCP_DBL > > | cpl2 |
Type_A_r< vector< OCP_DBL > > | cpl3 |
Type_A_r< vector< OCP_DBL > > | cpl4 |
Type_A_r< vector< OCP_DBL > > | cpg1 |
Type_A_r< vector< OCP_DBL > > | cpg2 |
Type_A_r< vector< OCP_DBL > > | cpg3 |
Type_A_r< vector< OCP_DBL > > | cpg4 |
Type_A_r< vector< OCP_DBL > > | hvapr |
coefficients in the component gas enthalpy calculations, Btu/lbmol | |
Type_A_r< vector< OCP_DBL > > | hvr |
coefficients in the vaporization enthalpy calculations | |
Type_A_r< vector< OCP_DBL > > | ev |
coefficients in the vaporization enthalpy calculations | |
Type_A_r< vector< OCP_DBL > > | avisc |
coefficients in water and oil viscosity correlation formulae | |
Type_A_r< vector< OCP_DBL > > | bvisc |
coefficients in water and oil viscosity correlation formulae | |
Type_A_r< vector< OCP_DBL > > | avg |
coefficients Ak in gas viscosity correlation formulae | |
Type_A_r< vector< OCP_DBL > > | bvg |
TableSet | viscTab |
vector< OCP_DBL > | Pref |
reference pressure | |
vector< OCP_DBL > | Tref |
reference temperature | |
OCP_BOOL | miscible {OCP_FALSE} |
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. | |
ComponentParam contains information of components.
Definition at line 87 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 941 of file ParamReservoir.cpp.
References Acf, avg, avisc, bvg, bvisc, cp, cpg1, cpg2, cpg3, cpg4, cpl1, cpl2, cpl3, cpl4, cpt, ct1, ct2, ev, hvapr, hvr, Map_Str2Int(), molden, MW, OmegaA, OmegaB, Parachor, Pc, Tc, Vc, Vcvis, Vshift, Zc, and Zcvis.
void ComponentParam::InputBIC | ( | ifstream & | ifs | ) |
Input the Binary interaction of components.
Input Binary Interaction Coefficients Matrix.
Definition at line 1213 of file ParamReservoir.cpp.
References BIC, NTPVT, numCom, and OCP_ASSERT.
coefficients Bk in gas viscosity correlation formulae
Definition at line 176 of file ParamReservoir.hpp.
coefficients in the component liquid enthalpy calculations, Btu/lbmol/F
Definition at line 155 of file ParamReservoir.hpp.
coefficients in the component liquid enthalpy calculations, Btu/lbmol/F^2
Definition at line 157 of file ParamReservoir.hpp.
coefficients in the component liquid enthalpy calculations, Btu/lbmol/F^3
Definition at line 159 of file ParamReservoir.hpp.
coefficients in the component liquid enthalpy calculations, Btu/lbmol/F^4
Definition at line 161 of file ParamReservoir.hpp.
coefficients in the component liquid enthalpy calculations, Btu/lbmol/F
Definition at line 147 of file ParamReservoir.hpp.
coefficients in the component liquid enthalpy calculations, Btu/lbmol/F^2
Definition at line 149 of file ParamReservoir.hpp.
coefficients in the component liquid enthalpy calculations, Btu/lbmol/F^3
Definition at line 151 of file ParamReservoir.hpp.
coefficients in the component liquid enthalpy calculations, Btu/lbmol/F^4
Definition at line 153 of file ParamReservoir.hpp.
the coefficient of density dependence on temperature and pressure, 1/psi-F
Definition at line 145 of file ParamReservoir.hpp.
OCP_BOOL ComponentParam::miscible {OCP_FALSE} |
Miscible treatment of hydrocarbons, used in compositional Model.
Definition at line 185 of file ParamReservoir.hpp.
component molar density at reference temperature and reference pressure, lb/ft3
Definition at line 140 of file ParamReservoir.hpp.
TableSet ComponentParam::viscTab |
viscosity-versus-temperature dependence, This table can specify the viscosity-versus-temperature-pressure dependence.
Definition at line 179 of file ParamReservoir.hpp.