mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding getWellConvergence for StandardWell
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user