opm-simulators
Toggle main menu visibility
Loading...
Searching...
No Matches
PerforationData.hpp
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
25
namespace
Opm
{
26
28
template
<
class
Scalar>
29
struct
PerforationData
30
{
31
int
cell_index{};
32
Scalar connection_transmissibility_factor{};
33
Scalar connection_d_factor{};
34
int
satnum_id{};
36
std::size_t
ecl_index
{};
37
};
38
39
template
<
class
Scalar>
40
struct
PerforationRates
41
{
42
Scalar dis_gas = 0.0;
43
Scalar dis_gas_in_water = 0.0;
44
Scalar vap_oil = 0.0;
45
Scalar vap_wat = 0.0;
46
};
47
48
}
// namespace Opm
49
50
#endif
// OPM_PERFORATIONDATA_HEADER_INCLUDED
Opm
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition
blackoilbioeffectsmodules.hh:43
Opm::PerforationData
Static data associated with a well perforation.
Definition
PerforationData.hpp:30
Opm::PerforationData::ecl_index
std::size_t ecl_index
The original index of the perforation in ECL Schedule.
Definition
PerforationData.hpp:36
Opm::PerforationRates
Definition
PerforationData.hpp:41
opm
simulators
wells
PerforationData.hpp
Generated by
1.17.0