Files
opm-simulators/opm/core/wells/InjectionSpecification.hpp

47 lines
1.0 KiB
C++
Raw Normal View History

2012-03-27 16:57:01 +02:00
#ifndef OPM_INJECTORSPECIFICATION_HPP
#define OPM_INJECTORSPECIFICATION_HPP
#include <opm/core/wells.h>
2016-05-20 16:13:37 +08:00
#include <string>
2012-03-28 15:49:39 +02:00
namespace Opm
{
2012-03-27 16:57:01 +02:00
2012-03-28 15:49:39 +02:00
struct InjectionSpecification
{
enum ControlMode
{
NONE, RATE, RESV, BHP, THP, REIN, VREP, GRUP, FLD
2012-03-28 15:49:39 +02:00
};
enum InjectorType
{
WATER, OIL, GAS
};
enum GuideRateType
{
RAT, NONE_GRT
};
2012-03-28 15:49:39 +02:00
InjectionSpecification();
2016-05-24 09:07:28 +08:00
static std::string toString(const ControlMode& mode);
static std::string toString(const InjectorType& type);
static std::string toString(const GuideRateType& type);
InjectorType injector_type_;
2012-03-28 15:49:39 +02:00
ControlMode control_mode_;
double surface_flow_max_rate_;
double reservoir_flow_max_rate_;
double BHP_limit_;
double reinjection_fraction_target_;
double voidage_replacment_fraction_;
double guide_rate_;
GuideRateType guide_rate_type_;
2012-03-27 16:57:01 +02:00
};
2012-03-27 16:57:01 +02:00
}
2012-03-27 16:57:01 +02:00
#endif /* OPM_INJECTORSPECIFICATION_HPP */