18 if (vbuf[0] ==
"/")
break;
19 string keyword = vbuf[0];
144 obj.activity = OCP_TRUE;
147 if (vbuf[0] ==
"/") {
148 obj.obj.push_back(
"All");
151 for (
OCP_INT i = 0; i < len - 1; i++) {
152 obj.obj.push_back(vbuf[i]);
154 if (vbuf.back() !=
"/") obj.obj.push_back(vbuf.back());
157 if (vbuf[0] ==
"/")
break;
160 for (
OCP_INT i = 0; i < len - 1; i++) {
161 obj.obj.push_back(vbuf[i]);
163 if (vbuf.back() !=
"/") obj.obj.push_back(vbuf.back());
174 if (vbuf[0] ==
"/")
break;
176 obj.activity = OCP_TRUE;
178 USI i = stoi(vbuf[0]);
179 USI j = stoi(vbuf[1]);
180 USI k = stoi(vbuf[2]);
182 obj.obj.push_back(
COOIJK(i, j, k));
190 if (keyword ==
"RPTSCHED") {
193 }
else if (keyword ==
"VTKSCHED") {
202 if (vbuf[0] ==
"/")
break;
204 USI len = vbuf.size();
206 for (
USI i = 0; i < len; i++) {
208 string keyword = vbuf[i];
210 switch (
Map_Str2Int(&keyword[0], keyword.size())) {
213 tmpBgpp->
PRE = OCP_TRUE;
216 tmpBgpp->
PGAS = OCP_TRUE;
219 tmpBgpp->
PWAT = OCP_TRUE;
222 tmpBgpp->
SOIL = OCP_TRUE;
225 tmpBgpp->
SGAS = OCP_TRUE;
228 tmpBgpp->
SWAT = OCP_TRUE;
231 tmpBgpp->
DENO = OCP_TRUE;
234 tmpBgpp->
DENG = OCP_TRUE;
237 tmpBgpp->
DENW = OCP_TRUE;
240 tmpBgpp->
KRO = OCP_TRUE;
243 tmpBgpp->
KRG = OCP_TRUE;
246 tmpBgpp->
KRW = OCP_TRUE;
249 tmpBgpp->
BOIL = OCP_TRUE;
252 tmpBgpp->
BGAS = OCP_TRUE;
255 tmpBgpp->
BWAT = OCP_TRUE;
258 tmpBgpp->
VOIL = OCP_TRUE;
261 tmpBgpp->
VGAS = OCP_TRUE;
264 tmpBgpp->
VWAT = OCP_TRUE;
267 tmpBgpp->
XMF = OCP_TRUE;
270 tmpBgpp->
YMF = OCP_TRUE;
273 tmpBgpp->
PCW = OCP_TRUE;
unsigned int USI
Generic unsigned integer.
ParamOutput class declaration.
OCP_BOOL DENG
Gas density of grids.
OCP_BOOL PWAT
Water pressure of grids.
OCP_BOOL DENW
Water density of grids.
OCP_BOOL XMF
liquid component mole fractions.
OCP_BOOL SWAT
Water saturation of grids.
OCP_BOOL BWAT
Water reservoir molar densities of grids.
OCP_BOOL PRE
Pressure of grids.
OCP_BOOL BOIL
Oil reservoir molar densities of grids.
OCP_BOOL PCW
capillary pressure: Po - Pw.
OCP_BOOL YMF
gas component mole fractions.
OCP_BOOL VOIL
Oil viscosity of grids.
OCP_BOOL KRG
Gas relative permeability of grids.
OCP_BOOL VWAT
Water viscosity of grids.
OCP_BOOL SOIL
Oil saturation of grids.
OCP_BOOL VGAS
Gas viscosity of grids.
OCP_BOOL SGAS
Gas saturation of grids.
OCP_BOOL KRW
Water relative permeability of grids.
OCP_BOOL DENO
Oil density of grids.
OCP_BOOL PGAS
Gas pressure of grids.
OCP_BOOL KRO
Oil relative permeability of grids.
OCP_BOOL BGAS
Gas reservoir molar densities of grids.
A structure of three-dimensional coordinates.
Type_A_o WWIR
Well water injection rate.
Type_B_o SOIL
Oil saturation of bulk.
OCP_BOOL FGIT
Field total gas injection.
Type_A_o WGPR
Well gas production rate.
OCP_BOOL FPR
Field average Pressure.
OCP_BOOL FGPR
Field gas production rate.
Type_A_o DG
Pressure difference between wells and perforations.
Type_A_o WOPT
Well total oil production rate.
OCP_BOOL FTR
Field average Temperature.
Type_A_o WGPT
Well total gas production.
OCP_BOOL FOPT
Field total oil production.
Type_A_o WWPT
Well total water production.
OCP_BOOL FWPT
Field total water production.
Type_B_o BPR
Bulk pressure.
Type_B_o SWAT
Water saturation of bulk.
Type_A_o WOPR
Well oil production rate.
OCP_BOOL FGIR
Field gas injection rate.
OCP_BOOL FGPt
Field total gas production.
Type_A_o WGIR
Well gas injection rate.
Type_B_o SGAS
Gas saturation of bulk.
Type_A_o WGIT
Well total gas injection.
OCP_BOOL FWPR
Field water production rate.
OCP_BOOL FOPR
Field oil production rate.
OCP_BOOL FWIT
Field total water injection.
Type_A_o WBHP
Well pressure.
Type_A_o WWIT
Well total water injection.
Type_A_o WWPR
Well water production rate.
OCP_BOOL FWIR
Field water injection rate.
void InputType_A(ifstream &ifs, Type_A_o &obj)
void InputType_B(ifstream &ifs, Type_B_o &obj)
void InputRPTSCHED(ifstream &ifs, const string &keyword)
OutputVTKParam outVTKParam
See OutputVTKParam.
void InputSUMMARY(ifstream &ifs)
OutputSummary summary
See OutputSummary.
OutputRPTParam outRPTParam
See OutputRPTParam.
Used to store the contents of keyword whose contents are in form of string.
Used to store the contents of keyword whose contents are in form of coordinates.