mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding computeWellPotentialWithTHP() to compute well potential
in an iterative way. When VFP interpolation is performed, the bhp and rates are coupled together. Some iteration will be required to get the consistent bhp and well potential.
This commit is contained in:
@@ -375,6 +375,14 @@ enum WellVariablePositions {
|
||||
std::vector<double>& well_flux) const;
|
||||
|
||||
double leastStrictBhpFromBhpLimits(const int well_index) const;
|
||||
|
||||
// TODO: maybe it should be improved to be calculate general rates for THP control later
|
||||
template<typename Simulator>
|
||||
std::vector<double>
|
||||
computeWellPotentialWithTHP(const Simulator& ebosSimulator,
|
||||
const int well_index,
|
||||
const double initial_bhp, // bhp from BHP constraints
|
||||
const std::vector<double>& initial_potential) const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user