Merge pull request #4652 from akva2/update_ws_thp_prod_shared

move updateWellStateWithTHPTargetProd to WellInterface
This commit is contained in:
Bård Skaflestad
2023-06-22 09:54:35 +02:00
committed by GitHub
6 changed files with 45 additions and 69 deletions

View File

@@ -314,17 +314,13 @@ namespace Opm
void computeWellRatesWithBhpIterations(const Simulator& ebosSimulator,
const double& bhp,
std::vector<double>& well_flux,
DeferredLogger& deferred_logger) const;
DeferredLogger& deferred_logger) const override;
std::vector<double> computeWellPotentialWithTHP(
const Simulator& ebosSimulator,
DeferredLogger& deferred_logger,
const WellState &well_state) const;
bool updateWellStateWithTHPTargetProd(const Simulator& ebos_simulator,
WellState& well_state,
DeferredLogger& deferred_logger) const override;
virtual double getRefDensity() const override;
// get the mobility for specific perforation