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

@@ -140,9 +140,13 @@ namespace Opm
const double wsolvent() const;
virtual bool getWellConvergence(Simulator& ebosSimulator,
std::vector<double>& B_avg,
const std::vector<double>& B_avg,
const ModelParameters& param) const = 0;
virtual void wellEqIteration(Simulator& ebosSimulator,
const ModelParameters& param,
WellState& well_state) = 0;
protected:
// TODO: some variables shared by all the wells should be made static
// well name