mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 17:45:33 -06:00
Fix assertion error for 2p oil water
VFP calculations for two phase gas lift does not work unless the rates are adpated to include a zero gas rate.
This commit is contained in:
parent
3f799ba4cc
commit
9d04895ddb
@ -2388,6 +2388,7 @@ namespace Opm
|
|||||||
// solution
|
// solution
|
||||||
std::vector<double> rates(3);
|
std::vector<double> rates(3);
|
||||||
computeWellRatesWithBhpIterations(ebos_simulator, bhp, rates, deferred_logger);
|
computeWellRatesWithBhpIterations(ebos_simulator, bhp, rates, deferred_logger);
|
||||||
|
this->adaptRatesForVFP(rates);
|
||||||
return rates;
|
return rates;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user