adding getWellConvergence for StandardWell

This commit is contained in:
Kai Bao
2017-06-26 14:35:43 +02:00
parent e01e8c352a
commit d99fe876dd
3 changed files with 86 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ namespace Opm
using IntensiveQuantities = typename WellInterface<TypeTag>::IntensiveQuantities;
using FluidSystem = typename WellInterface<TypeTag>::FluidSystem;
using MaterialLaw = typename WellInterface<TypeTag>::MaterialLaw;
using ModelParameters = typename WellInterface<TypeTag>::ModelParameters;
// the positions of the primary variables for StandardWell
// there are three primary variables, the second and the third ones are F_w and F_g
@@ -145,6 +146,10 @@ namespace Opm
// will need touch different types of well_state, we will see.
void updateWellControl(WellState& xw) const;
virtual bool getWellConvergence(Simulator& ebosSimulator,
std::vector<double>& B_avg,
const ModelParameters& param) const;
using WellInterface<TypeTag>::phaseUsage;
using WellInterface<TypeTag>::active;
using WellInterface<TypeTag>::numberOfPerforations;