msw.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_MSW_HPP
21#define OPM_OUTPUT_ECLIPSE_VECTOR_MSW_HPP
22
23#include <vector>
24
25namespace Opm { namespace RestartIO { namespace Helpers { namespace VectorItems {
26
27 namespace ISeg {
28 enum index : std::vector<int>::size_type {
29 SegNo = 0, // Segment number (one-based)
30 OutSeg = 1, // Outlet segment (one-based)
31 InSegCurBranch = 2, // Inflow segment current branch (one-based)
32 BranchNo = 3, // Branch number (one-based)
33
35
38 };
39
40 } // ISeg
41
42 namespace RSeg {
43 enum index : std::vector<double>::size_type {
44 DistOutlet = 0, // Segment's distance to outlet
45 OutletDepthDiff = 1, // Segment's depth differential to outlet
46 SegDiam = 2, // Internal diameter of segment
47 SegRough = 3, // Roughness parameter of segment
48 SegArea = 4, // Cross-sectional area of segment
49 SegVolume = 5, // Physical volume of segment
50 DistBHPRef = 6, // Segment's distance to BHP reference node
51 DepthBHPRef = 7, // Segment's depth differential to BHP ref. node
52
53 TotFlowRate = 8, // Normalised total segment flow rate
54 WatFlowFract = 9, // Normalised Water flow rate fraction
55 GasFlowFract = 10, // Normalised Gas flow rate fraction
56 Pressure = 11, // Segment pressure
57
58 item40 = 39, // Unknown
59
60 ValveLength = 40, // Length of valve
61 ValveArea = 41, // Cross-sectional area of valve
62 ValveFlowCoeff = 42, // Valve's dimensionless flow coefficient
63 ValveMaxArea = 43, // Maximal cross-sectional valve area
64
66
69
74
75 ICDLength = 102,
76
78
79 item106 = 105, // Unknown
80 item107 = 106, // Unknown
81 item108 = 107, // Unknown
82 item109 = 108, // Unknown
83 item110 = 109, // Unknown
84 item111 = 110, // Unknown
85 };
86 } // RSeg
87
88}}}} // Opm::RestartIO::Helpers::VectorItems
89
90#endif // OPM_OUTPUT_ECLIPSE_VECTOR_MSW_HPP
@ DeviceBaseStrength
Definition: msw.hpp:65
@ ValveAreaFraction
Definition: msw.hpp:77
@ TransitionRegWidth
Definition: msw.hpp:71
@ CriticalWaterFraction
Definition: msw.hpp:70
@ MaxValidFlowRate
Definition: msw.hpp:73
@ CalibrFluidDensity
Definition: msw.hpp:67
@ CalibrFluidViscosity
Definition: msw.hpp:68
@ MaxEmulsionRatio
Definition: msw.hpp:72
Definition: A.hpp:4