PerforationData.hpp
Go to the documentation of this file.
1/*
2 Copyright 2019 SINTEF Digital, Mathematics and Cybernetics.
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_PERFORATIONDATA_HEADER_INCLUDED
21#define OPM_PERFORATIONDATA_HEADER_INCLUDED
22
23#include <cstddef>
24
25namespace Opm {
26
28template<class Scalar>
30{
34 int satnum_id{};
36 std::size_t ecl_index{};
40 int grid_id{};
51 std::size_t global_index{};
52};
53
54template<class Scalar>
56{
57 Scalar dis_gas = 0.0;
58 Scalar dis_gas_in_water = 0.0;
59 Scalar vap_oil = 0.0;
60 Scalar vap_wat = 0.0;
61};
62
63} // namespace Opm
64
65#endif // OPM_PERFORATIONDATA_HEADER_INCLUDED
Definition: blackoilbioeffectsmodules.hh:45
Static data associated with a well perforation.
Definition: PerforationData.hpp:30
Scalar connection_d_factor
Definition: PerforationData.hpp:33
int grid_id
Grid identity for this perforation: 0 = global grid, > 0 = numeric LGR level (refined grid in CARFIN ...
Definition: PerforationData.hpp:40
int satnum_id
Definition: PerforationData.hpp:34
Scalar connection_transmissibility_factor
Definition: PerforationData.hpp:32
int cell_index
Definition: PerforationData.hpp:31
std::size_t ecl_index
The original index of the perforation in ECL Schedule.
Definition: PerforationData.hpp:36
std::size_t global_index
Linearised Cartesian cell index relative to the cell's own grid origin. For grid_id == 0 this is the ...
Definition: PerforationData.hpp:51
Definition: PerforationData.hpp:56
Scalar dis_gas
Definition: PerforationData.hpp:57
Scalar vap_wat
Definition: PerforationData.hpp:60
Scalar vap_oil
Definition: PerforationData.hpp:59
Scalar dis_gas_in_water
Definition: PerforationData.hpp:58