adding wellEqIteration() to StandardWell

the involvement of the group control in updateWellControls() makes the
solution of well equations for each well individually more troublesome.
As a result, we will still makes the solveWellEq in all the wells level.
This commit is contained in:
Kai Bao
2017-06-26 16:01:45 +02:00
parent d99fe876dd
commit 9dace225de
3 changed files with 46 additions and 14 deletions

View File

@@ -147,7 +147,7 @@ namespace Opm
void updateWellControl(WellState& xw) const;
virtual bool getWellConvergence(Simulator& ebosSimulator,
std::vector<double>& B_avg,
const std::vector<double>& B_avg,
const ModelParameters& param) const;
using WellInterface<TypeTag>::phaseUsage;
@@ -181,7 +181,6 @@ namespace Opm
using WellInterface<TypeTag>::vfp_properties_;
using WellInterface<TypeTag>::gravity_;
using WellInterface<TypeTag>::well_efficiency_factor_;
using WellInterface<TypeTag>::active_;
using WellInterface<TypeTag>::phase_usage_;
using WellInterface<TypeTag>::first_perf_;
using WellInterface<TypeTag>::ref_depth_;
@@ -242,6 +241,10 @@ namespace Opm
const std::vector<double>& rsmax_perf,
const std::vector<double>& rvmax_perf,
const std::vector<double>& surf_dens_perf);
virtual void wellEqIteration(Simulator& ebosSimulator,
const ModelParameters& param,
WellState& well_state);
};
}