adding function computeAccumWell and computeWellConnectionPressures

to StandardWell and removing a few not needed function from StandardWellsDense
This commit is contained in:
Kai Bao
2017-06-29 13:52:31 +02:00
parent 033fe70620
commit 3ceea76616
5 changed files with 59 additions and 178 deletions

View File

@@ -238,13 +238,6 @@ enum WellVariablePositions {
void computeWellConnectionPressures(const Simulator& ebosSimulator,
const WellState& xw);
void computePropertiesForWellConnectionPressures(const Simulator& ebosSimulator,
const WellState& xw,
std::vector<double>& b_perf,
std::vector<double>& rsmax_perf,
std::vector<double>& rvmax_perf,
std::vector<double>& surf_dens_perf) const;
void updateWellState(const BVector& dwells,
WellState& well_state) const;
@@ -259,15 +252,6 @@ enum WellVariablePositions {
const WellState& well_state,
DynamicListEconLimited& list_econ_limited) const;
void computeWellConnectionDensitesPressures(const WellState& xw,
const std::vector<double>& b_perf,
const std::vector<double>& rsmax_perf,
const std::vector<double>& rvmax_perf,
const std::vector<double>& surf_dens_perf,
const std::vector<double>& depth_perf,
const double grav);
// Calculating well potentials for each well
// TODO: getBhp() will be refactored to reduce the duplication of the code calculating the bhp from THP.
void computeWellPotentials(const Simulator& ebosSimulator,