VectorItems/intehead.hpp
Go to the documentation of this file.
1/*
2 Copyright (c) 2018 Equinor ASA
3
4 This file is part of the Open Porous Media project (OPM).
5
6 OPM is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 OPM is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with OPM. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef OPM_OUTPUT_ECLIPSE_VECTOR_INTEHEAD_HPP
21#define OPM_OUTPUT_ECLIPSE_VECTOR_INTEHEAD_HPP
22
23#include <vector>
24
25namespace Opm { namespace RestartIO { namespace Helpers { namespace VectorItems {
26
27 // This is a subset of the items in src/opm/output/eclipse/InteHEAD.cpp .
28 // Promote items from that list to this in order to make them public.
29 enum intehead : std::vector<int>::size_type {
30 ISNUM = 0, // An encoded integer corresponding to the
31 // time the file was created. For files not
32 // originating from ECLIPSE, this value may
33 // be set to zero.
34
35 VERSION = 1, // Simulator version
36 UNIT = 2, // Units convention
37 // 1: METRIC, 2: FIELD, 3: LAB, 4: PVT-M
38
39 NX = 8, // #cells in X direction (Cartesian)
40 NY = 9, // #cells in Y direction (Cartesian)
41 NZ = 10, // #cells in Z direction (Cartesian)
42 NACTIV = 11, // Number of active cells
43
44 PHASE = 14, // Phase indicator:
45 // 1: oil, 2: water, 3: O/W, 4: gas,
46 // 5: G/O, 6: G/W, 7: O/G/W
47
48 NWELLS = 16, // Number of wells
49 NCWMAX = 17, // Maximum number of completions per well
50 NGRP = 18, // Actual number of groups
51 NWGMAX = 19, // Maximum number of wells in any well group
52 NGMAXZ = 20, // Maximum number of groups in field
53
54 NIWELZ = 24, // Number of data elements per well in IWEL array
55 // (default 97 for ECLIPSE, 94 for ECLIPSE 300).
56 NSWELZ = 25, // Number of data elements per well in SWEL array
57 NXWELZ = 26, // Number of delements per well in XWEL array
58 NZWELZ = 27, // Number of 8-character words per well in ZWEL array
59
60 NICONZ = 32, // Number of data elements per completion
61 // in ICON array (default 19)
62 NSCONZ = 33, // Number of data elements per completion in SCON array
63 NXCONZ = 34, // Number of data elements per completion in XCON array
64
65 NIGRPZ = 36, // Number of data elements per group in IGRP array
66 NSGRPZ = 37, // Number of data elements per group in SGRP array
67 NXGRPZ = 38, // Number of data elements per group in XGRP array
68 NZGRPZ = 39, // Number of data elements per group in ZGRP array
69
70 NCAMAX = 41, // Maximum number of analytic aquifer connections
71
72 NIAAQZ = 42, // Number of data elements per aquifer in IAAQ array
73 NSAAQZ = 43, // Number of data elements per aquifer in SAAQ array
74 NXAAQZ = 44, // Number of data elements per aquifer in XAAQ array
75
76 NICAQZ = 45, // Number of data elements per aquifer connection in ICAQ array
77 NSCAQZ = 46, // Number of data elements per aquifer connection in SCAQ array
78 NACAQZ = 47, // Number of data elements per aquifer connection in ACAQ array
79
80 NGCTRL = 51, // Index indicating if group control is used or not (1 - if group control, 0 if not)
81
82 NGRNPH = 58, // Index indicating if group control is used or not (1 - if group control, 0 if not)
83
84 DAY = 64, // Calendar day of report step (1..31)
85 MONTH = 65, // Calendar month of report step (1..12)
86 YEAR = 66, // Calendar year of report step
88 REPORT_STEP = 68, //
89
90 WHISTC = 71, // Calendar year of report step
91
92 NEWTMX = 80, // Tuning, Record3, Item1
93 NEWTMN = 81, // Tuning, Record3, Item2
94 LITMAX = 82, // Tuning, Record3, Item3
95 LITMIN = 83, // Tuning, Record3, Item4
96 MXWSIT = 86, // Tuning, Record3, Item5
97 MXWPIT = 87, // Tuning, Record3, Item6
98
99 NTFIP = 89, // REGDIMS item1, or TABDIMS item 5
100
101 IPROG = 94, // IPROG = simulation program identifier: 100 - ECLIPSE 100, 300 - ECLIPSE 300, 500 - ECLIPSE 300
102 // (thermal option), negative - Other simulator,
103 NMFIPR = 99, // REGDIMS item2
104 NOOFACTIONS = 156, // The number of actions in the dataset
105 MAXNOLINES = 157, // Maximum number of lines of schedule data for ACTION keyword - including ENDACTIO
106 MAXNOSTRPRLINE = 158, // Maximum number of 8-chars strings pr input line of Action data (rounded up from input)
107
108 NWMAXZ = 163, // Maximum number of wells in the model
109
110 NSEGWL = 174, // Number of multisegment wells defined with WELSEG
111 NSWLMX = 175, // Maximum number of segmented wells (item 1 ofWSEGDIMS)
112 NSEGMX = 176, // Maximum number of segments per well (item 2 of WSEGDIMS)
113 NLBRMX = 177, // Maximum number of lateral branches (item 3 of WSEGDIMS)
114
115 NISEGZ = 178, // Number of entries per segment in ISEG array
116 NRSEGZ = 179, // Number of entries per segment in RSEG array
117 NILBRZ = 180, // Number of entries per segment in ILBR array
118
119 IHOURZ = 206, // IHOURZ = current simulation time HH:MM:SS – number of hours (HH) (0-23).
120 IMINTS = 207, // IMINTS = current simulation time HH:MM:SS – number of minutes (MM) (0-59).
121
122 MAX_ACT_COND = 245, // Maximum number of conditions pr action
123 MAX_AN_AQUIFERS = 252, // Maximum number of analytic aquifers
124
125 NO_FIELD_UDQS = 262, // No of Field UDQ data (parameters) /
126 NO_GROUP_UDQS = 263, // No of Group UDQ data (parameters) /
127 NO_WELL_UDQS = 266, // No of Well UDQ data (parameters) /
128 UDQPAR_1 = 267, // Integer seed value for the RAND /
129 NO_IUADS = 290, // No IUADs
130 NO_IUAPS = 291, // No IUAPs
131 RSEED = 296,
132 ISECND = 410 // ISECND = current simulation time HH:MM:SS - number of seconds (SS), reported in microseconds
133 // (0-59,999,999)
134 };
135}}}} // Opm::RestartIO::Helpers::VectorItems
136
137#endif // OPM_OUTPUT_ECLIPSE_VECTOR_INTEHEAD_HPP
intehead
Definition: VectorItems/intehead.hpp:29
@ NMFIPR
Definition: VectorItems/intehead.hpp:103
@ NUM_SOLVER_STEPS
Definition: VectorItems/intehead.hpp:87
@ NY
Definition: VectorItems/intehead.hpp:40
@ NCAMAX
Definition: VectorItems/intehead.hpp:70
@ NO_IUADS
Definition: VectorItems/intehead.hpp:129
@ NO_GROUP_UDQS
Definition: VectorItems/intehead.hpp:126
@ NZWELZ
Definition: VectorItems/intehead.hpp:58
@ NZ
Definition: VectorItems/intehead.hpp:41
@ NACAQZ
Definition: VectorItems/intehead.hpp:78
@ MXWPIT
Definition: VectorItems/intehead.hpp:97
@ UDQPAR_1
Definition: VectorItems/intehead.hpp:128
@ NSEGMX
Definition: VectorItems/intehead.hpp:112
@ NOOFACTIONS
Definition: VectorItems/intehead.hpp:104
@ LITMAX
Definition: VectorItems/intehead.hpp:94
@ NEWTMX
Definition: VectorItems/intehead.hpp:92
@ NICONZ
Definition: VectorItems/intehead.hpp:60
@ UNIT
Definition: VectorItems/intehead.hpp:36
@ NSCONZ
Definition: VectorItems/intehead.hpp:62
@ ISECND
Definition: VectorItems/intehead.hpp:132
@ LITMIN
Definition: VectorItems/intehead.hpp:95
@ NXAAQZ
Definition: VectorItems/intehead.hpp:74
@ MAX_ACT_COND
Definition: VectorItems/intehead.hpp:122
@ NXCONZ
Definition: VectorItems/intehead.hpp:63
@ NIGRPZ
Definition: VectorItems/intehead.hpp:65
@ ISNUM
Definition: VectorItems/intehead.hpp:30
@ NGCTRL
Definition: VectorItems/intehead.hpp:80
@ NLBRMX
Definition: VectorItems/intehead.hpp:113
@ NO_WELL_UDQS
Definition: VectorItems/intehead.hpp:127
@ NWGMAX
Definition: VectorItems/intehead.hpp:51
@ NSWLMX
Definition: VectorItems/intehead.hpp:111
@ NSEGWL
Definition: VectorItems/intehead.hpp:110
@ NIAAQZ
Definition: VectorItems/intehead.hpp:72
@ NSCAQZ
Definition: VectorItems/intehead.hpp:77
@ NISEGZ
Definition: VectorItems/intehead.hpp:115
@ REPORT_STEP
Definition: VectorItems/intehead.hpp:88
@ NCWMAX
Definition: VectorItems/intehead.hpp:49
@ NWELLS
Definition: VectorItems/intehead.hpp:48
@ NGMAXZ
Definition: VectorItems/intehead.hpp:52
@ NEWTMN
Definition: VectorItems/intehead.hpp:93
@ NTFIP
Definition: VectorItems/intehead.hpp:99
@ NX
Definition: VectorItems/intehead.hpp:39
@ IMINTS
Definition: VectorItems/intehead.hpp:120
@ YEAR
Definition: VectorItems/intehead.hpp:86
@ NGRNPH
Definition: VectorItems/intehead.hpp:82
@ MAXNOSTRPRLINE
Definition: VectorItems/intehead.hpp:106
@ MAXNOLINES
Definition: VectorItems/intehead.hpp:105
@ NO_FIELD_UDQS
Definition: VectorItems/intehead.hpp:125
@ NSGRPZ
Definition: VectorItems/intehead.hpp:66
@ IHOURZ
Definition: VectorItems/intehead.hpp:119
@ MAX_AN_AQUIFERS
Definition: VectorItems/intehead.hpp:123
@ PHASE
Definition: VectorItems/intehead.hpp:44
@ NICAQZ
Definition: VectorItems/intehead.hpp:76
@ NRSEGZ
Definition: VectorItems/intehead.hpp:116
@ NO_IUAPS
Definition: VectorItems/intehead.hpp:130
@ NWMAXZ
Definition: VectorItems/intehead.hpp:108
@ WHISTC
Definition: VectorItems/intehead.hpp:90
@ NACTIV
Definition: VectorItems/intehead.hpp:42
@ NIWELZ
Definition: VectorItems/intehead.hpp:54
@ MONTH
Definition: VectorItems/intehead.hpp:85
@ NSWELZ
Definition: VectorItems/intehead.hpp:56
@ NGRP
Definition: VectorItems/intehead.hpp:50
@ VERSION
Definition: VectorItems/intehead.hpp:35
@ NILBRZ
Definition: VectorItems/intehead.hpp:117
@ NZGRPZ
Definition: VectorItems/intehead.hpp:68
@ RSEED
Definition: VectorItems/intehead.hpp:131
@ NXGRPZ
Definition: VectorItems/intehead.hpp:67
@ DAY
Definition: VectorItems/intehead.hpp:84
@ NSAAQZ
Definition: VectorItems/intehead.hpp:73
@ MXWSIT
Definition: VectorItems/intehead.hpp:96
@ IPROG
Definition: VectorItems/intehead.hpp:101
@ NXWELZ
Definition: VectorItems/intehead.hpp:57
Definition: A.hpp:4