My Project
Loading...
Searching...
No Matches
connection.hpp
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
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 RST_CONNECTION
21
#define RST_CONNECTION
22
23
#include <opm/input/eclipse/Schedule/Well/Connection.hpp>
24
25
#include <array>
26
27
namespace
Opm
{
28
29
class
UnitSystem;
30
31
}
// namespace Opm
32
33
namespace
Opm
{
namespace
RestartIO {
34
35
struct
RstConnection
36
{
37
RstConnection
(
const
UnitSystem
& unit_system,
38
std::size_t rst_index,
39
int
nsconz,
40
const
int
* icon,
41
const
float
* scon,
42
const
double
*xcon);
43
44
static
double
inverse_peaceman(
double
cf,
double
kh,
double
rw,
double
skin);
45
46
std::size_t rst_index;
47
std::array<int,3> ijk;
48
Connection::State state;
49
int
drain_sat_table;
50
int
imb_sat_table;
51
int
completion;
52
Connection::Direction dir;
53
int
segment;
54
Connection::CTFKind cf_kind;
55
56
float
skin_factor;
57
float
cf;
58
float
depth;
59
float
diameter;
60
float
kh;
61
float
denom;
62
float
length;
63
float
static_dfac_corr_coeff;
64
float
segdist_end;
65
float
segdist_start;
66
67
double
oil_rate;
68
double
water_rate;
69
double
gas_rate;
70
double
pressure;
71
double
resv_rate;
72
double
r0;
73
};
74
75
}}
// namespace Opm::RestartIO
76
77
#endif
// RST_CONNECTION
Opm::UnitSystem
Definition
UnitSystem.hpp:34
Opm
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition
Exceptions.hpp:30
Opm::RestartIO::RstConnection
Definition
connection.hpp:36
opm
io
eclipse
rst
connection.hpp
Generated by
1.9.8