OpenCAEPoro
0.2.0 Sep/22/2022
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 | InputWELLSTRE (ifstream &ifs) |
void | CheckParam (const 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. | |
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 finishs, the params in it will pass to corresponding modules.
Definition at line 100 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 81 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 215 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 149 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 184 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 282 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 69 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 opeartion 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 236 of file ParamWell.cpp.
References criticalTime, DealDefault(), WellOptParam::maxBHP, WellOptParam::maxRate, WellOptParam::minBHP, WellOptParam::optMode, ReadLine(), WellOptParam::type, and well.