io/eclipse/rst/connection.hpp
Go to the documentation of this file.
1/*
2 Copyright 2020 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 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 OPM is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with OPM. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef RST_CONNECTION
20#define RST_CONNECTION
21
22#include <array>
23
25
26namespace Opm {
27class UnitSystem;
28
29namespace RestartIO {
30
31class Header;
32
34 RstConnection(const ::Opm::UnitSystem& unit_system, std::size_t rst_index, int nsconz, const int* icon, const float* scon, const double *xcon);
35 static double inverse_peaceman(double cf, double kh, double rw, double skin);
36
37 std::size_t rst_index;
38 std::array<int,3> ijk;
46
48 float cf;
49 float depth;
50 float diameter;
51 float kh;
54
55 double oil_rate;
56 double water_rate;
57 double gas_rate;
58 double pressure;
59 double resv_rate;
60 double r0;
61};
62
63
64}
65}
66
67
68
69
70#endif
Direction
Definition: parser/eclipse/EclipseState/Schedule/Well/connection.hpp:57
CTFKind
Definition: parser/eclipse/EclipseState/Schedule/Well/connection.hpp:76
State
Definition: parser/eclipse/EclipseState/Schedule/Well/connection.hpp:47
Definition: A.hpp:4
Definition: io/eclipse/rst/connection.hpp:33
float cf
Definition: io/eclipse/rst/connection.hpp:48
int completion
Definition: io/eclipse/rst/connection.hpp:42
float depth
Definition: io/eclipse/rst/connection.hpp:49
double resv_rate
Definition: io/eclipse/rst/connection.hpp:59
int segment
Definition: io/eclipse/rst/connection.hpp:44
double r0
Definition: io/eclipse/rst/connection.hpp:60
static double inverse_peaceman(double cf, double kh, double rw, double skin)
double oil_rate
Definition: io/eclipse/rst/connection.hpp:55
float diameter
Definition: io/eclipse/rst/connection.hpp:50
RstConnection(const ::Opm::UnitSystem &unit_system, std::size_t rst_index, int nsconz, const int *icon, const float *scon, const double *xcon)
double water_rate
Definition: io/eclipse/rst/connection.hpp:56
float segdist_end
Definition: io/eclipse/rst/connection.hpp:52
float segdist_start
Definition: io/eclipse/rst/connection.hpp:53
std::size_t rst_index
Definition: io/eclipse/rst/connection.hpp:37
int drain_sat_table
Definition: io/eclipse/rst/connection.hpp:40
int imb_sat_table
Definition: io/eclipse/rst/connection.hpp:41
float skin_factor
Definition: io/eclipse/rst/connection.hpp:47
Connection::State state
Definition: io/eclipse/rst/connection.hpp:39
double gas_rate
Definition: io/eclipse/rst/connection.hpp:57
Connection::Direction dir
Definition: io/eclipse/rst/connection.hpp:43
double pressure
Definition: io/eclipse/rst/connection.hpp:58
Connection::CTFKind cf_kind
Definition: io/eclipse/rst/connection.hpp:45
std::array< int, 3 > ijk
Definition: io/eclipse/rst/connection.hpp:38
float kh
Definition: io/eclipse/rst/connection.hpp:51