Gas lift optimization for two-phase oil-water.

Add gas lift optimization support for two-phase oil-water flow.
This commit is contained in:
Håkon Hægland
2022-02-17 09:15:56 +01:00
parent 0203939bc6
commit 438a712e54
10 changed files with 96 additions and 27 deletions

View File

@@ -51,9 +51,10 @@ class GroupState;
class GasLiftSingleWellGeneric : public GasLiftCommon
{
protected:
static const int Water = BlackoilPhases::Aqua;
static const int Oil = BlackoilPhases::Liquid;
static const int Gas = BlackoilPhases::Vapour;
static constexpr int Water = BlackoilPhases::Aqua;
static constexpr int Oil = BlackoilPhases::Liquid;
static constexpr int Gas = BlackoilPhases::Vapour;
static constexpr int NUM_PHASES = 3;
static constexpr double ALQ_EPSILON = 1e-8;
public:
@@ -347,7 +348,6 @@ protected:
int water_pos_;
int max_iterations_;
int num_phases_;
std::string well_name_;