Compute well potentials

The well potentials are caculated based on the well rates and pressure
drawdown at every time step. They are used to calculate default guide
rates used in group controlled wells.

well_perforation_pressure_diffs is stored in
WellStateFullyImplicitBlackoil as it is needed in the well potential
calculations.
This commit is contained in:
Tor Harald Sandve
2016-04-01 14:22:04 +02:00
parent 8c9b17b943
commit 30bd24f2fe
5 changed files with 71 additions and 8 deletions

View File

@@ -157,6 +157,13 @@ namespace Opm
const BlackoilState& x,
WellState& xw);
void computeWellPotentials(const std::size_t step,
const Wells* wells,
const BlackoilState& x,
const WellState& xw,
std::vector<double>& well_potentials);
// Data.
typedef RateConverter::
SurfaceToReservoirVoidage< BlackoilPropsAdInterface,