All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
InjectionSpecification.hpp
1 #ifndef OPM_INJECTORSPECIFICATION_HPP
2 #define OPM_INJECTORSPECIFICATION_HPP
3 
4 #include <opm/core/wells.h>
5 #include <string>
6 
7 namespace Opm
8 {
9 
11  {
12 
13  enum ControlMode
14  {
15  NONE, RATE, RESV, BHP, THP, REIN, VREP, GRUP, FLD
16  };
17 
18  enum InjectorType
19  {
20  WATER, OIL, GAS
21  };
22 
23  enum GuideRateType
24  {
25  RAT, NONE_GRT
26  };
27 
29  static std::string toString(const ControlMode& mode);
30  static std::string toString(const InjectorType& type);
31  static std::string toString(const GuideRateType& type);
32  InjectorType injector_type_;
33  ControlMode control_mode_;
34  double surface_flow_max_rate_;
35  double reservoir_flow_max_rate_;
36  double BHP_limit_;
37  double reinjection_fraction_target_;
38  double voidage_replacment_fraction_;
39  double guide_rate_;
40  GuideRateType guide_rate_type_;
41  };
42 
43 }
44 
45 #endif /* OPM_INJECTORSPECIFICATION_HPP */
46 
Main OPM-Core well data structure along with functions to create, populate and destroy it...
Definition: InjectionSpecification.hpp:10