io/eclipse/rst/segment.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_SEGMENT
20#define RST_SEGMENT
21
22#include <vector>
23
26
27namespace Opm {
28class UnitSystem;
29
30namespace RestartIO {
31
32struct RstSegment {
33 RstSegment(const ::Opm::UnitSystem& unit_system, int segment_number, const int* iseg, const double * rseg);
34
37 int branch;
41
43 double outlet_dz;
44 double diameter;
45 double roughness;
46 double area;
47 double volume;
49 double bhp_ref_dz;
50 double total_flow;
53 double pressure;
55 double valve_area;
65 double icd_length;
67
68 std::vector<int> inflow_segments;
69};
70
71
72}
73}
74
75
76
77
78#endif
SegmentType
Definition: parser/eclipse/EclipseState/Schedule/MSW/segment.hpp:40
Definition: A.hpp:4
ICDStatus
Definition: icd.hpp:26
Definition: io/eclipse/rst/segment.hpp:32
double gas_flow_fraction
Definition: io/eclipse/rst/segment.hpp:52
int outlet_segment
Definition: io/eclipse/rst/segment.hpp:36
double max_valid_flow_rate
Definition: io/eclipse/rst/segment.hpp:64
double max_emulsion_ratio
Definition: io/eclipse/rst/segment.hpp:63
double fluid_viscosity
Definition: io/eclipse/rst/segment.hpp:60
std::vector< int > inflow_segments
Definition: io/eclipse/rst/segment.hpp:68
double valve_length
Definition: io/eclipse/rst/segment.hpp:54
double outlet_dz
Definition: io/eclipse/rst/segment.hpp:43
double pressure
Definition: io/eclipse/rst/segment.hpp:53
int icd_scaling_mode
Definition: io/eclipse/rst/segment.hpp:39
RstSegment(const ::Opm::UnitSystem &unit_system, int segment_number, const int *iseg, const double *rseg)
double valve_flow_coeff
Definition: io/eclipse/rst/segment.hpp:56
Segment::SegmentType segment_type
Definition: io/eclipse/rst/segment.hpp:38
double total_flow
Definition: io/eclipse/rst/segment.hpp:50
double icd_length
Definition: io/eclipse/rst/segment.hpp:65
double roughness
Definition: io/eclipse/rst/segment.hpp:45
double dist_bhp_ref
Definition: io/eclipse/rst/segment.hpp:48
int segment
Definition: io/eclipse/rst/segment.hpp:35
double critical_water_fraction
Definition: io/eclipse/rst/segment.hpp:61
double fluid_density
Definition: io/eclipse/rst/segment.hpp:59
double base_strength
Definition: io/eclipse/rst/segment.hpp:58
double valve_max_area
Definition: io/eclipse/rst/segment.hpp:57
double valve_area
Definition: io/eclipse/rst/segment.hpp:55
double volume
Definition: io/eclipse/rst/segment.hpp:47
double water_flow_fraction
Definition: io/eclipse/rst/segment.hpp:51
double valve_area_fraction
Definition: io/eclipse/rst/segment.hpp:66
double diameter
Definition: io/eclipse/rst/segment.hpp:44
double transition_region_width
Definition: io/eclipse/rst/segment.hpp:62
ICDStatus icd_status
Definition: io/eclipse/rst/segment.hpp:40
double area
Definition: io/eclipse/rst/segment.hpp:46
int branch
Definition: io/eclipse/rst/segment.hpp:37
double bhp_ref_dz
Definition: io/eclipse/rst/segment.hpp:49
double dist_outlet
Definition: io/eclipse/rst/segment.hpp:42