12 #ifndef __PARAMWELL_HEADER__
13 #define __PARAMWELL_HEADER__
65 string group{
"FEILD"};
82 vector<WellOptPair> optParam;
90 Solvent(
const vector<string>& vbuf);
92 vector<OCP_DBL> comRatio;
114 void InputWELSPECS(ifstream& ifs);
117 void InputCOMPDAT(ifstream& ifs);
120 void InputWCONINJE(ifstream& ifs);
123 void InputWCONPROD(ifstream& ifs);
128 void InputTSTEP(ifstream& ifs);
132 void InputWELTARG(ifstream& ifs);
134 void InputWTEMP(ifstream& ifs);
136 void InputUNWEIGHT(ifstream& ifs);
139 void InputWELLSTRE(ifstream& ifs);
141 void InputPSURF(ifstream& ifs);
143 void InputTSURF(ifstream& ifs);
147 void CheckParam(
const OCP_BOOL& boModel)
const;
149 void CheckPerf()
const;
150 void CheckINJFluid()
const;
Definition of build-in datatypes and consts.
unsigned int USI
Generic unsigned integer.
double OCP_DBL
Double precision.
const OCP_DBL TEMPERATURE_STD
Standard temperature: F.
unsigned int OCP_BOOL
OCP_BOOL in OCP.
const OCP_DBL PRESSURE_STD
14.6959 psia = 1 atm
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 injTemp
Temperature of injected fluid.
OCP_DBL maxRate
Maximum allowable flow rate into/out the well.
string optMode
Mode of well, Rate or BHP?
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
Transmissibility connection factor.
vector< USI > J_perf
J-index of perforation in grid.
vector< USI > K_perf
K-index of perforation in grid.