OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
#include <ParamWell.hpp>
Public Member Functions | |
void | Init () |
Initialize the inputting the params of wells. | |
void | InitTime () |
Initialize the critical time. | |
void | InputWELSPECS (ifstream &ifs) |
void | InputCOMPDAT (ifstream &ifs) |
void | InputWCONINJE (ifstream &ifs) |
void | InputWCONPROD (ifstream &ifs) |
void | InputTSTEP (ifstream &ifs) |
void | InputWELTARG (ifstream &ifs) |
void | InputWTEMP (ifstream &ifs) |
Input the temperature of injected fluid. | |
void | InputUNWEIGHT (ifstream &ifs) |
Input injector type – MOBWEIGHT(defaulted) or UNWEIGHT. | |
void | InputWELLSTRE (ifstream &ifs) |
void | InputPSURF (ifstream &ifs) |
Input surface pressure. | |
void | InputTSURF (ifstream &ifs) |
Input surface temperature. | |
void | CheckParam (const OCP_BOOL &boModel) const |
Check if wrong params are input. | |
void | CheckPerf () const |
Check if params of Perforation is wrong. | |
void | CheckINJFluid () const |
Public Attributes | |
vector< WellParam > | well |
Contains all the information of wells. | |
vector< OCP_DBL > | criticalTime |
Records the critical time given by users. | |
vector< Solvent > | solSet |
Sets of Solvent. | |
OCP_DBL | Psurf {PRESSURE_STD} |
Pressure in surface condition. | |
OCP_DBL | Tsurf {TEMPERATURE_STD} |
Temperature in surface condition. | |
ParamWell is an internal structure used to stores the information of wells from input files. It is an intermediate interface and independent of the main simulator. After all file inputting finishes, the params in it will pass to corresponding modules.
Definition at line 99 of file ParamWell.hpp.
void ParamWell::InputCOMPDAT | ( | ifstream & | ifs | ) |
Input the well keyword COMPDAT. COMPDAT contains the information of perforations of wells, for example the location, the trans or directions.
Definition at line 80 of file ParamWell.cpp.
References DealDefault(), ReadLine(), and well.
void ParamWell::InputTSTEP | ( | ifstream & | ifs | ) |
Input the keyword: TSTEP. TSTEP is used to divide the simulation time and ususally the time point is critical, at which for example, the operation mode of well will change. So the params of solving equations could be adjusted correspondingly.
Definition at line 214 of file ParamWell.cpp.
References criticalTime, DealDefault(), and ReadLine().
void ParamWell::InputWCONINJE | ( | ifstream & | ifs | ) |
Input the well keyword WCONINJE. WCONINJE describes the initial operation mode of injection well.
Definition at line 148 of file ParamWell.cpp.
References criticalTime, DealDefault(), ReadLine(), and well.
void ParamWell::InputWCONPROD | ( | ifstream & | ifs | ) |
Input the well keyword WCONPROD. WCONPROD describes the initial operation mode of production well.
Definition at line 183 of file ParamWell.cpp.
References criticalTime, DealDefault(), ReadLine(), and well.
void ParamWell::InputWELLSTRE | ( | ifstream & | ifs | ) |
Input well keyword: Solvent. It describes the molar fraction of components of fluid injected to reservoir from INJ.
Definition at line 373 of file ParamWell.cpp.
References ReadLine(), and solSet.
void ParamWell::InputWELSPECS | ( | ifstream & | ifs | ) |
Input the well keyword WELSPECS. WELSPECS defines wells including well name, well location, well depth and son on.
Definition at line 68 of file ParamWell.cpp.
References DealDefault(), ReadLine(), and well.
void ParamWell::InputWELTARG | ( | ifstream & | ifs | ) |
Input the well keyword: WELTARG. WELTARG is used to change the operation mode of well anytime. For example, the oil production rate is changed from 1000 stb/day to 1500 stb/day at the 100th day.
Definition at line 235 of file ParamWell.cpp.
References criticalTime, ReadLine(), and well.