OpenCAEPoro  0.2.0 Sep/22/2022
A simulator for multicomponent porous media flow
ParamOutput.hpp
Go to the documentation of this file.
1 
12 #ifndef __PARAMOUTPUT_HEADER__
13 #define __PARAMOUTPUT_HEADER__
14 
15 // Standard header files
16 #include <fstream>
17 #include <vector>
18 
19 // OpenCAEPoro header files
20 #include "UtilInput.hpp"
21 
23 class COOIJK
24 {
25 public:
26  COOIJK() = default;
27  COOIJK(const USI& i, const USI& j, const USI& k)
28  : I(i)
29  , J(j)
30  , K(k){};
31  USI I;
32  USI J;
33  USI K;
34 };
35 
37 class Type_B_o
38 {
39 public:
40  bool activity{false};
41  vector<COOIJK> obj;
42 };
43 
45 class Type_A_o
46 {
47 public:
48  bool activity{false};
49  vector<string> obj;
50 };
51 
55 {
56 
57 public:
58  bool FPR{false};
59  bool FOPR{false};
60  bool FOPT{false};
61  bool FGPR{false};
62  bool FGPt{false};
63  bool FWPR{false};
64  bool FWPT{false};
65  bool FGIR{false};
66  bool FGIT{false};
67  bool FWIR{false};
68  bool FWIT{false};
69 
82 
87 };
88 
93 {
94 public:
95  bool PRE{false};
96  bool PGAS{false};
97  bool PWAT{false};
98  bool SOIL{false};
99  bool SGAS{false};
100  bool SWAT{false};
101  bool DENO{false};
102  bool DENG{false};
103  bool DENW{false};
104  bool KRO{false};
105  bool KRG{false};
106  bool KRW{false};
107  bool BOIL{false};
108  bool BGAS{false};
109  bool BWAT{false};
110  bool VOIL{false};
111  bool VGAS{false};
112  bool VWAT{false};
113  bool XMF{false};
114  bool YMF{false};
115  bool PCW{false};
116 };
117 
123 {
124 public:
127 
131  void InputSUMMARY(ifstream& ifs);
134  void InputType_A(ifstream& ifs, Type_A_o& obj);
137  void InputType_B(ifstream& ifs, Type_B_o& obj);
138 
141  void InputRPTSCHED(ifstream& ifs);
142 };
143 
144 #endif /* end if __PARAMOUTPUT_HEADER__ */
145 
146 /*----------------------------------------------------------------------------*/
147 /* Brief Change History of This File */
148 /*----------------------------------------------------------------------------*/
149 /* Author Date Actions */
150 /*----------------------------------------------------------------------------*/
151 /* Shizhe Li Oct/01/2021 Create file */
152 /* Chensong Zhang Oct/15/2021 Format file */
153 /*----------------------------------------------------------------------------*/
unsigned int USI
Generic unsigned integer.
Definition: OCPConst.hpp:22
Supply basic tools used to input files.
A structure of three-dimensional coordinates.
Definition: ParamOutput.hpp:24
bool BWAT
Water reservoir molar densities of grids.
bool VGAS
Gas viscosity of grids.
bool DENO
Oil density of grids.
bool SWAT
Water saturation of grids.
bool PRE
Pressure of grids.
Definition: ParamOutput.hpp:95
bool DENW
Water density of grids.
bool VWAT
Water viscosity of grids.
bool XMF
liquid component mole fractions.
bool PGAS
Gas pressure of grids.
Definition: ParamOutput.hpp:96
bool PWAT
Water pressure of grids.
Definition: ParamOutput.hpp:97
bool PCW
capilary pressure: Po - Pw.
bool SGAS
Gas saturation of grids.
Definition: ParamOutput.hpp:99
bool KRW
Water relative permeability of grids.
bool SOIL
Oil saturation of grids.
Definition: ParamOutput.hpp:98
bool DENG
Gas density of grids.
bool VOIL
Oil viscosity of grids.
bool BOIL
Oil reservoir molar densities of grids.
bool KRG
Gas relative permeability of grids.
bool KRO
Oil relative permeability of grids.
bool BGAS
Gas reservoir molar densities of grids.
bool YMF
gas component mole fractions.
bool FGIT
Field total gas injection.
Definition: ParamOutput.hpp:66
Type_A_o WWIR
Well water injection rate.
Definition: ParamOutput.hpp:78
Type_B_o SOIL
Oil saturation of bulk.
Definition: ParamOutput.hpp:84
bool FWPR
Field water production rate.
Definition: ParamOutput.hpp:63
bool FGPR
Field gas production rate.
Definition: ParamOutput.hpp:61
Type_A_o WGPR
Well gas production rate.
Definition: ParamOutput.hpp:72
bool FWIR
Field water injection rate.
Definition: ParamOutput.hpp:67
bool FPR
Field average Pressure.
Definition: ParamOutput.hpp:58
Type_A_o DG
Pressure difference between wells and perforations.
Definition: ParamOutput.hpp:81
Type_A_o WOPT
Well total oil production rate.
Definition: ParamOutput.hpp:71
Type_A_o WGPT
Well total gas production.
Definition: ParamOutput.hpp:73
Type_A_o WWPT
Well total water production.
Definition: ParamOutput.hpp:75
bool FWIT
Field total water injection.
Definition: ParamOutput.hpp:68
Type_B_o BPR
Bulk pressure.
Definition: ParamOutput.hpp:83
Type_B_o SWAT
Water saturation of bulk.
Definition: ParamOutput.hpp:86
Type_A_o WOPR
Well oil production rate.
Definition: ParamOutput.hpp:70
bool FGIR
Field gas injection rate.
Definition: ParamOutput.hpp:65
Type_A_o WGIR
Well gas injection rate.
Definition: ParamOutput.hpp:76
Type_B_o SGAS
Gas saturation of bulk.
Definition: ParamOutput.hpp:85
Type_A_o WGIT
Well total gas injection.
Definition: ParamOutput.hpp:77
bool FOPT
Field total oil production.
Definition: ParamOutput.hpp:60
bool FOPR
Field oil production rate.
Definition: ParamOutput.hpp:59
Type_A_o WBHP
Well pressure.
Definition: ParamOutput.hpp:80
bool FWPT
Field total water production.
Definition: ParamOutput.hpp:64
Type_A_o WWIT
Well total water injection.
Definition: ParamOutput.hpp:79
Type_A_o WWPR
Well water production rate.
Definition: ParamOutput.hpp:74
bool FGPt
Field total gas production.
Definition: ParamOutput.hpp:62
OutputDetail detailInfo
See OutputDetail.
void InputType_A(ifstream &ifs, Type_A_o &obj)
void InputRPTSCHED(ifstream &ifs)
void InputType_B(ifstream &ifs, Type_B_o &obj)
void InputSUMMARY(ifstream &ifs)
Definition: ParamOutput.cpp:14
OutputSummary summary
See OutputSummary.
Used to stores the contents of keyword whose contents are in form of string.
Definition: ParamOutput.hpp:46
Used to stores the contents of keyword whose contents are in form of coordinates.
Definition: ParamOutput.hpp:38