12 #ifndef __PARAMWELL_HEADER__
13 #define __PARAMWELL_HEADER__
67 string group{
"FEILD"};
83 vector<WellOptPair> optParam;
91 Solvent(
const vector<string>& vbuf);
93 vector<OCP_DBL> comRatio;
113 void InputWELSPECS(ifstream& ifs);
116 void InputCOMPDAT(ifstream& ifs);
119 void InputWCONINJE(ifstream& ifs);
122 void InputWCONPROD(ifstream& ifs);
127 void InputTSTEP(ifstream& ifs);
131 void InputWELTARG(ifstream& ifs);
134 void InputWELLSTRE(ifstream& ifs);
138 void CheckParam(
const bool& boModel)
const;
140 void CheckPerf()
const;
141 void CheckINJFluid()
const;
Definition of build-in datatypes and consts.
unsigned int USI
Generic unsigned integer.
double OCP_DBL
Double precision.
vector< Solvent > solSet
Sets of Solvent.
void Init()
Initialize the inputting the params of wells.
vector< OCP_DBL > criticalTime
Records the critical time given by users.
void InitTime()
Initialize the critical time.
vector< WellParam > well
Contains all the information of wells.
Describe the molar fraction of components of fluid injected to reservoir from INJ.
OCP_DBL maxBHP
Maximum allowable pressure in the injection well.
string type
Type of well, injection or production?
string fluidType
Type of fluid into the injection well. (injection well only)
OCP_DBL maxRate
Maximum allowable flow rate into/out the well.
string optMode
Mode of well, Rate or BHP?
vector< OCP_DBL > zi
Proportion of components of injection fluid. (COMPS model only).
OCP_DBL minBHP
Minimum allowable pressure in the production well.
string state
State of well, open or close?
vector< string > direction
Direction of perforations.
vector< OCP_DBL > diameter
Diameter of perforations.
vector< OCP_DBL > skinFactor
Skin factor.
vector< USI > I_perf
I-index of perforation in grid.
vector< OCP_DBL > WI
Transmissiblity connection factor.
vector< USI > J_perf
J-index of perforation in grid.
vector< USI > K_perf
K-index of perforation in grid.