#include <StandardWell.hpp>

Inheritance diagram for Opm::StandardWell< TypeTag >:
Inheritance graph

Public Types

using Base = WellInterface< TypeTag >
 
using StdWellEval = StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Indices > >
 
using PolymerModule = BlackOilPolymerModule< TypeTag >
 
using FoamModule = BlackOilFoamModule< TypeTag >
 
using BrineModule = BlackOilBrineModule< TypeTag >
 
using Eval = typename StdWellEval::Eval
 
using EvalWell = typename StdWellEval::EvalWell
 
using BVectorWell = typename StdWellEval::BVectorWell
 
using Simulator = GetPropType< TypeTag, Properties::Simulator >
 
using IntensiveQuantities = GetPropType< TypeTag, Properties::IntensiveQuantities >
 
using FluidSystem = GetPropType< TypeTag, Properties::FluidSystem >
 
using MaterialLaw = GetPropType< TypeTag, Properties::MaterialLaw >
 
using ModelParameters = BlackoilModelParameters< TypeTag >
 
using Indices = GetPropType< TypeTag, Properties::Indices >
 
using RateConverterType = typename WellInterfaceFluidSystem< FluidSystem >::RateConverterType
 
using SparseMatrixAdapter = GetPropType< TypeTag, Properties::SparseMatrixAdapter >
 
using FluidState = BlackOilFluidState< Eval, FluidSystem, has_temperature, has_energy, Indices::compositionSwitchIdx >=0, has_watVapor, has_brine, has_saltPrecip, has_disgas_in_water, Indices::numPhases >
 
using RateVector = GetPropType< TypeTag, Properties::RateVector >
 
using PressureMatrix = Dune::BCRSMatrix< Opm::MatrixBlock< double, 1, 1 > >
 
using Scalar = GetPropType< TypeTag, Properties::Scalar >
 
using BVector = Dune::BlockVector< VectorBlockType >
 
enum class  IndividualOrGroup { Individual , Group , Both }
 
using Grid = GetPropType< TypeTag, Properties::Grid >
 
using GasLiftSingleWell = ::Opm::GasLiftSingleWell< TypeTag >
 
using GLiftOptWells = typename BlackoilWellModel< TypeTag >::GLiftOptWells
 
using GLiftProdWells = typename BlackoilWellModel< TypeTag >::GLiftProdWells
 
using GLiftWellStateMap = typename BlackoilWellModel< TypeTag >::GLiftWellStateMap
 
using GLiftSyncGroups = typename GasLiftSingleWellGeneric::GLiftSyncGroups
 
using VectorBlockType = Dune::FieldVector< Scalar, Indices::numEq >
 
using MatrixBlockType = Dune::FieldMatrix< Scalar, Indices::numEq, Indices::numEq >
 

Public Member Functions

 StandardWell (const Well &well, const ParallelWellInfo &pw_info, const int time_step, const ModelParameters &param, const RateConverterType &rate_converter, const int pvtRegionIdx, const int num_components, const int num_phases, const int index_of_well, const std::vector< PerforationData > &perf_data)
 
virtual void init (const PhaseUsage *phase_usage_arg, const std::vector< double > &depth_arg, const double gravity_arg, const int num_cells, const std::vector< Scalar > &B_avg, const bool changed_to_open_this_step) override
 
void initPrimaryVariablesEvaluation () override
 
virtual ConvergenceReport getWellConvergence (const SummaryState &summary_state, const WellState< Scalar > &well_state, const std::vector< double > &B_avg, DeferredLogger &deferred_logger, const bool relax_tolerance) const override
 check whether the well equations get converged for this well More...
 
virtual void apply (const BVector &x, BVector &Ax) const override
 Ax = Ax - C D^-1 B x. More...
 
virtual void apply (BVector &r) const override
 r = r - C D^-1 Rw More...
 
void recoverWellSolutionAndUpdateWellState (const SummaryState &summary_state, const BVector &x, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) override
 
void computeWellPotentials (const Simulator &simulator, const WellState< Scalar > &well_state, std::vector< double > &well_potentials, DeferredLogger &deferred_logger) override
 computing the well potentials for group control More...
 
void updatePrimaryVariables (const SummaryState &summary_state, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger) override
 
void solveEqAndUpdateWellState (const SummaryState &summary_state, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) override
 
void calculateExplicitQuantities (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger) override
 
void updateProductivityIndex (const Simulator &simulator, const WellProdIndexCalculator &wellPICalc, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) const override
 
double connectionDensity (const int globalConnIdx, const int openConnIdx) const override
 
void addWellContributions (SparseMatrixAdapter &mat) const override
 
void addWellPressureEquations (PressureMatrix &mat, const BVector &x, const int pressureVarIndex, const bool use_well_weights, const WellState< Scalar > &well_state) const override
 
bool iterateWellEqWithControl (const Simulator &simulator, const double dt, const Well::InjectionControls &inj_controls, const Well::ProductionControls &prod_controls, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger) override
 
bool iterateWellEqWithSwitching (const Simulator &simulator, const double dt, const Well::InjectionControls &inj_controls, const Well::ProductionControls &prod_controls, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger, const bool fixed_control=false, const bool fixed_status=false) override
 
bool jacobianContainsWellContributions () const override
 Wether the Jacobian will also have well contributions in it. More...
 
double computeWellRatesAndBhpWithThpAlqProd (const Simulator &simulator, const SummaryState &summary_state, DeferredLogger &deferred_logger, std::vector< double > &potentials, double alq) const
 
void computeWellRatesWithThpAlqProd (const Simulator &simulator, const SummaryState &summary_state, DeferredLogger &deferred_logger, std::vector< double > &potentials, double alq) const
 
std::optional< double > computeBhpAtThpLimitProdWithAlq (const Simulator &simulator, const SummaryState &summary_state, const double alq_value, DeferredLogger &deferred_logger) const override
 
void updateIPRImplicit (const Simulator &simulator, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) override
 
void computeWellRatesWithBhp (const Simulator &simulator, const double &bhp, std::vector< double > &well_flux, DeferredLogger &deferred_logger) const override
 
std::vector< double > computeCurrentWellRates (const Simulator &simulator, DeferredLogger &deferred_logger) const override
 
std::vector< double > getPrimaryVars () const override
 
int setPrimaryVars (std::vector< double >::const_iterator it) override
 
virtual void init (const PhaseUsage *phase_usage_arg, const std::vector< double > &depth_arg, const double gravity_arg, const int num_cells, const std::vector< Scalar > &B_avg, const bool changed_to_open_this_step)
 
virtual ConvergenceReport getWellConvergence (const SummaryState &summary_state, const WellState< Scalar > &well_state, const std::vector< double > &B_avg, DeferredLogger &deferred_logger, const bool relax_tolerance) const =0
 
virtual void solveEqAndUpdateWellState (const SummaryState &summary_state, WellState< Scalar > &well_state, DeferredLogger &deferred_logger)=0
 
void assembleWellEq (const Simulator &simulator, const double dt, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
void assembleWellEqWithoutIteration (const Simulator &simulator, const double dt, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
void prepareWellBeforeAssembling (const Simulator &simulator, const double dt, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
virtual void recoverWellSolutionAndUpdateWellState (const SummaryState &summary_state, const BVector &x, WellState< Scalar > &well_state, DeferredLogger &deferred_logger)=0
 
virtual void computeWellPotentials (const Simulator &simulator, const WellState< Scalar > &well_state, std::vector< double > &well_potentials, DeferredLogger &deferred_logger)=0
 
virtual void updateWellStateWithTarget (const Simulator &simulator, const GroupState< Scalar > &group_state, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) const
 
virtual void computeWellRatesWithBhpIterations (const Simulator &simulator, const Scalar &bhp, std::vector< double > &well_flux, DeferredLogger &deferred_logger) const =0
 
bool updateWellStateWithTHPTargetProd (const Simulator &simulator, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) const
 
bool updateWellControl (const Simulator &simulator, const IndividualOrGroup iog, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
bool updateWellControlAndStatusLocalIteration (const Simulator &simulator, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, const Well::InjectionControls &inj_controls, const Well::ProductionControls &prod_controls, const double WQTotal, DeferredLogger &deferred_logger, const bool fixed_control=false, const bool fixed_status=false)
 
virtual void updatePrimaryVariables (const SummaryState &summary_state, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger)=0
 
virtual void calculateExplicitQuantities (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger)=0
 
virtual void updateProductivityIndex (const Simulator &simulator, const WellProdIndexCalculator &wellPICalc, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) const =0
 
virtual void addWellPressureEquations (PressureMatrix &mat, const BVector &x, const int pressureVarIndex, const bool use_well_weights, const WellState< Scalar > &well_state) const =0
 
void addCellRates (RateVector &rates, int cellIdx) const
 
Scalar volumetricSurfaceRateForConnection (int cellIdx, int phaseIdx) const
 
void wellTesting (const Simulator &simulator, const double simulation_time, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, WellTestState &welltest_state, DeferredLogger &deferred_logger)
 
void checkWellOperability (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
bool gliftBeginTimeStepWellTestIterateWellEquations (const Simulator &simulator, const double dt, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
void gliftBeginTimeStepWellTestUpdateALQ (const Simulator &simulator, WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
void updateWellOperability (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
bool updateWellOperabilityFromWellEq (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
virtual void updateWaterThroughput (const double dt, WellState< Scalar > &well_state) const =0
 
void updateWellStateRates (const Simulator &simulator, WellState< Scalar > &well_state, DeferredLogger &deferred_logger) const
 
void solveWellEquation (const Simulator &simulator, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
const std::vector< RateVector > & connectionRates () const
 
std::vector< double > wellIndex (const int perf, const IntensiveQuantities &intQuants, const double trans_mult, const SingleWellState< double > &ws) const
 
const std::vector< double > & wellIndex () const
 
void updateConnectionDFactor (const Simulator &simulator, SingleWellState< double > &ws) const
 
void updateConnectionTransmissibilityFactor (const Simulator &simulator, SingleWellState< double > &ws) const
 
int flowPhaseToModelCompIdx (const int phaseIdx) const
 
int modelCompIdxToFlowCompIdx (const unsigned compIdx) const
 
double scalingFactor (const int phaseIdx) const
 
Eval restrictEval (const EvalWell &in) const
 
int flowPhaseToModelPhaseIdx (const int phaseIdx) const
 
const RateConverterTyperateConverter () const
 
const std::vector< PerforationData > & perforationData () const
 Get the perforations of the well. More...
 
const std::string & name () const
 Well name. More...
 
bool isInjector () const
 True if the well is an injector. More...
 
bool isProducer () const
 True if the well is a producer. More...
 
const std::vector< int > & cells () const
 Well cells. More...
 
int indexOfWell () const
 Index of well in the wells struct and wellState. More...
 
void adaptRatesForVFP (std::vector< double > &rates) const
 
const Well & wellEcl () const
 
Well & wellEcl ()
 
const PhaseUsagephaseUsage () const
 
bool underPredictionMode () const
 Returns true if the well is currently in prediction mode (i.e. not history mode). More...
 
bool isOperableAndSolvable () const
 
bool useVfpExplicit () const
 
bool thpLimitViolatedButNotSwitched () const
 
void initCompletions ()
 
void closeCompletions (const WellTestState &wellTestState)
 
void setVFPProperties (const VFPProperties *vfp_properties_arg)
 
void setPrevSurfaceRates (WellState< double > &well_state, const WellState< double > &prev_well_state) const
 
void setGuideRate (const GuideRate *guide_rate_arg)
 
void setWellEfficiencyFactor (const double efficiency_factor)
 
void setRepRadiusPerfLength ()
 
void setWsolvent (const double wsolvent)
 
void setDynamicThpLimit (const double thp_limit)
 
std::optional< double > getDynamicThpLimit () const
 
void updatePerforatedCell (std::vector< bool > &is_cell_perforated)
 
bool wellHasTHPConstraints (const SummaryState &summaryState) const
 Returns true if the well has one or more THP limits/constraints. More...
 
void stopWell ()
 
void openWell ()
 
bool wellIsStopped () const
 
int currentStep () const
 
int pvtRegionIdx () const
 
const GuideRate * guideRate () const
 
int numComponents () const
 
int numPhases () const
 
int numPerfs () const
 
double refDepth () const
 
double gravity () const
 
const VFPPropertiesvfpProperties () const
 
const ParallelWellInfoparallelWellInfo () const
 
const std::vector< double > & perfDepth () const
 
std::vector< double > & perfDepth ()
 
const std::map< int, std::vector< int > > & getCompletions () const
 
double getTHPConstraint (const SummaryState &summaryState) const
 
double getALQ (const WellState< double > &well_state) const
 
double wsolvent () const
 
double rsRvInj () const
 
void initInjMult (const std::vector< double > &max_inj_mult)
 
void updateInjMult (std::vector< double > &inj_multipliers, DeferredLogger &deferred_logger) const
 
double getInjMult (const int perf, const double bhp, const double perf_pres) const
 
bool isVFPActive (DeferredLogger &deferred_logger) const
 
void reportWellSwitching (const SingleWellState< double > &ws, DeferredLogger &deferred_logger) const
 
bool changedToOpenThisStep () const
 
void updateWellTestState (const SingleWellState< double > &ws, const double &simulationTime, const bool &writeMessageToOPMLog, WellTestState &wellTestState, DeferredLogger &deferred_logger) const
 
bool isPressureControlled (const WellState< double > &well_state) const
 
bool stopppedOrZeroRateTarget (const SummaryState &summary_state, const WellState< double > &well_state) const
 
double wellEfficiencyFactor () const
 
void updateFilterCakeMultipliers (const std::vector< double > &inj_fc_multiplier)
 Update filter cake multipliers. More...
 
void resetWellOperability ()
 
const StandardWellEquations< Scalar, Indices::numEq > & linSys () const
 Returns a const reference to equation system. More...
 

Static Public Attributes

static constexpr int numWellConservationEq = Indices::numPhases + Indices::numSolvents
 
static constexpr int numWellControlEq = 1
 
static constexpr int numStaticWellEq = numWellConservationEq + numWellControlEq
 
static constexpr int Bhp = numStaticWellEq - numWellControlEq
 
static constexpr bool has_solvent
 
static constexpr bool has_zFraction
 
static constexpr bool has_polymer
 
static constexpr bool has_polymermw
 
static constexpr bool has_foam
 
static constexpr bool has_brine
 
static constexpr bool has_energy
 
static constexpr bool has_micp
 
static const bool has_temperature = getPropValue<TypeTag, Properties::EnableTemperature>()
 
static constexpr bool has_watVapor = getPropValue<TypeTag, Properties::EnableVapwat>()
 
static constexpr bool has_disgas_in_water = getPropValue<TypeTag, Properties::EnableDisgasInWater>()
 
static constexpr bool has_saltPrecip = getPropValue<TypeTag, Properties::EnableSaltPrecipitation>()
 
static constexpr int Water
 
static constexpr int Oil
 
static constexpr int Gas
 

Protected Types

using WellConnectionProps = typename StdWellEval::StdWellConnections::Properties
 
using PrimaryVariables = StandardWellPrimaryVariables< GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Indices > >
 
using StdWellConnections = StandardWellConnections< GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Indices > >
 

Protected Member Functions

void updateWellState (const SummaryState &summary_state, const BVectorWell &dwells, WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
void computePropertiesForWellConnectionPressures (const Simulator &simulator, const WellState< Scalar > &well_state, WellConnectionProps &props) const
 
void computeWellConnectionDensitesPressures (const Simulator &simulator, const WellState< Scalar > &well_state, const WellConnectionProps &props, DeferredLogger &deferred_logger)
 
void computeWellConnectionPressures (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
template<class Value >
void computePerfRate (const IntensiveQuantities &intQuants, const std::vector< Value > &mob, const Value &bhp, const std::vector< Scalar > &Tw, const int perf, const bool allow_cf, std::vector< Value > &cq_s, PerforationRates &perf_rates, DeferredLogger &deferred_logger) const
 
template<class Value >
void computePerfRate (const std::vector< Value > &mob, const Value &pressure, const Value &bhp, const Value &rs, const Value &rv, const Value &rvw, const Value &rsw, std::vector< Value > &b_perfcells_dense, const std::vector< Scalar > &Tw, const int perf, const bool allow_cf, const Value &skin_pressure, const std::vector< Value > &cmix_s, std::vector< Value > &cq_s, PerforationRates &perf_rates, DeferredLogger &deferred_logger) const
 
void computeWellRatesWithBhpIterations (const Simulator &simulator, const double &bhp, std::vector< double > &well_flux, DeferredLogger &deferred_logger) const override
 
std::vector< double > computeWellPotentialWithTHP (const Simulator &simulator, DeferredLogger &deferred_logger, const WellState< Scalar > &well_state) const
 
bool computeWellPotentialsImplicit (const Simulator &simulator, std::vector< double > &well_potentials, DeferredLogger &deferred_logger) const
 
double getRefDensity () const override
 
template<class Value >
void getMobility (const Simulator &simulator, const int perf, std::vector< Value > &mob, DeferredLogger &deferred_logger) const
 
void updateWaterMobilityWithPolymer (const Simulator &simulator, const int perf, std::vector< EvalWell > &mob_water, DeferredLogger &deferred_logger) const
 
void updatePrimaryVariablesNewton (const BVectorWell &dwells, const bool stop_or_zero_rate_target, DeferredLogger &deferred_logger)
 
void updateWellStateFromPrimaryVariables (const bool stop_or_zero_rate_target, WellState< Scalar > &well_state, const SummaryState &summary_state, DeferredLogger &deferred_logger) const
 
void assembleWellEqWithoutIteration (const Simulator &simulator, const double dt, const Well::InjectionControls &inj_controls, const Well::ProductionControls &prod_controls, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger) override
 
void assembleWellEqWithoutIterationImpl (const Simulator &simulator, const double dt, const Well::InjectionControls &inj_controls, const Well::ProductionControls &prod_controls, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
void calculateSinglePerf (const Simulator &simulator, const int perf, WellState< Scalar > &well_state, std::vector< RateVector > &connectionRates, std::vector< EvalWell > &cq_s, EvalWell &water_flux_s, EvalWell &cq_s_zfrac_effective, DeferredLogger &deferred_logger) const
 
void checkOperabilityUnderBHPLimit (const WellState< Scalar > &well_state, const Simulator &simulator, DeferredLogger &deferred_logger) override
 
void checkOperabilityUnderTHPLimit (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger) override
 
void updateIPR (const Simulator &simulator, DeferredLogger &deferred_logger) const override
 
bool allDrawDownWrongDirection (const Simulator &simulator) const
 
bool canProduceInjectWithCurrentBhp (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
bool openCrossFlowAvoidSingularity (const Simulator &simulator) const
 
EvalWell pskin (const double throuhgput, const EvalWell &water_velocity, const EvalWell &poly_inj_conc, DeferredLogger &deferred_logger) const
 
EvalWell pskinwater (const double throughput, const EvalWell &water_velocity, DeferredLogger &deferred_logger) const
 
EvalWell wpolymermw (const double throughput, const EvalWell &water_velocity, DeferredLogger &deferred_logger) const
 
void handleInjectivityRate (const Simulator &simulator, const int perf, std::vector< EvalWell > &cq_s) const
 
void handleInjectivityEquations (const Simulator &simulator, const WellState< Scalar > &well_state, const int perf, const EvalWell &water_flux_s, DeferredLogger &deferred_logger)
 
void updateWaterThroughput (const double dt, WellState< Scalar > &well_state) const override
 
void checkConvergenceExtraEqs (const std::vector< double > &res, ConvergenceReport &report) const
 
void updateConnectionRatePolyMW (const EvalWell &cq_s_poly, const IntensiveQuantities &int_quants, const WellState< Scalar > &well_state, const int perf, std::vector< RateVector > &connectionRates, DeferredLogger &deferred_logger) const
 
std::optional< double > computeBhpAtThpLimitProd (const WellState< Scalar > &well_state, const Simulator &simulator, const SummaryState &summary_state, DeferredLogger &deferred_logger) const
 
std::optional< double > computeBhpAtThpLimitInj (const Simulator &simulator, const SummaryState &summary_state, DeferredLogger &deferred_logger) const
 
virtual void assembleWellEqWithoutIteration (const Simulator &simulator, const double dt, const WellInjectionControls &inj_controls, const WellProductionControls &prod_controls, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)=0
 
std::pair< bool, bool > computeWellPotentials (std::vector< double > &well_potentials, const WellState< double > &well_state)
 
double wpolymer () const
 
double wfoam () const
 
double wsalt () const
 
double wmicrobes () const
 
double woxygen () const
 
double wurea () const
 
const std::vector< double > & compFrac () const
 
std::vector< double > initialWellRateFractions (const Simulator &simulator, const WellState< Scalar > &well_state) const
 
virtual void checkOperabilityUnderBHPLimit (const WellState< Scalar > &well_state, const Simulator &simulator, DeferredLogger &deferred_logger)=0
 
virtual void checkOperabilityUnderTHPLimit (const Simulator &simulator, const WellState< Scalar > &well_state, DeferredLogger &deferred_logger)=0
 
virtual bool iterateWellEqWithControl (const Simulator &simulator, const double dt, const WellInjectionControls &inj_controls, const WellProductionControls &prod_controls, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)=0
 
virtual bool iterateWellEqWithSwitching (const Simulator &simulator, const double dt, const WellInjectionControls &inj_controls, const WellProductionControls &prod_controls, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger, const bool fixed_control=false, const bool fixed_status=false)=0
 
virtual void updateIPRImplicit (const Simulator &simulator, WellState< Scalar > &well_state, DeferredLogger &deferred_logger)=0
 
bool iterateWellEquations (const Simulator &simulator, const double dt, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
bool solveWellWithTHPConstraint (const Simulator &simulator, const double dt, const Well::InjectionControls &inj_controls, const Well::ProductionControls &prod_controls, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
std::optional< double > estimateOperableBhp (const Simulator &simulator, const double dt, WellState< Scalar > &well_state, const SummaryState &summary_state, DeferredLogger &deferred_logger)
 
bool solveWellWithBhp (const Simulator &simulator, const double dt, const double bhp, WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
bool solveWellWithZeroRate (const Simulator &simulator, const double dt, WellState< Scalar > &well_state, DeferredLogger &deferred_logger)
 
bool solveWellForTesting (const Simulator &simulator, WellState< Scalar > &well_state, const GroupState< Scalar > &group_state, DeferredLogger &deferred_logger)
 
Eval getPerfCellPressure (const FluidState &fs) const
 
template<class Value , class Callback >
void getMobility (const Simulator &simulator, const int perf, std::vector< Value > &mob, Callback &extendEval, DeferredLogger &deferred_logger) const
 
void computeConnLevelProdInd (const FluidState &fs, const std::function< double(const double)> &connPICalc, const std::vector< Scalar > &mobility, double *connPI) const
 
void computeConnLevelInjInd (const FluidState &fs, const Phase preferred_phase, const std::function< double(const double)> &connIICalc, const std::vector< Scalar > &mobility, double *connII, DeferredLogger &deferred_logger) const
 
double computeConnectionDFactor (const int perf, const IntensiveQuantities &intQuants, const SingleWellState< double > &ws) const
 
void calculateReservoirRates (SingleWellState< double > &ws) const
 
bool checkIndividualConstraints (SingleWellState< double > &ws, const SummaryState &summaryState, DeferredLogger &deferred_logger, const std::optional< Well::InjectionControls > &inj_controls=std::nullopt, const std::optional< Well::ProductionControls > &prod_controls=std::nullopt) const
 
bool checkGroupConstraints (WellState< double > &well_state, const GroupState< double > &group_state, const Schedule &schedule, const SummaryState &summaryState, DeferredLogger &deferred_logger) const
 
bool checkConstraints (WellState< double > &well_state, const GroupState< double > &group_state, const Schedule &schedule, const SummaryState &summaryState, DeferredLogger &deferred_logger) const
 
std::optional< double > getGroupInjectionTargetRate (const Group &group, const WellState< double > &well_state, const GroupState< double > &group_state, const Schedule &schedule, const SummaryState &summaryState, const InjectorType &injectorType, double efficiencyFactor, DeferredLogger &deferred_logger) const
 
double getGroupProductionTargetRate (const Group &group, const WellState< double > &well_state, const GroupState< double > &group_state, const Schedule &schedule, const SummaryState &summaryState, double efficiencyFactor, DeferredLogger &deferred_logger) const
 
bool getAllowCrossFlow () const
 
double wmicrobes_ () const
 
double wfoam_ () const
 
double woxygen_ () const
 
double wpolymer_ () const
 
double wsalt_ () const
 
double wurea_ () const
 
int polymerTable_ () const
 
int polymerInjTable_ () const
 
int polymerWaterTable_ () const
 
bool wellUnderZeroRateTarget (const SummaryState &summary_state, const WellState< double > &well_state) const
 
void checkNegativeWellPotentials (std::vector< double > &well_potentials, const bool checkOperability, DeferredLogger &deferred_logger)
 
void prepareForPotentialCalculations (const SummaryState &summary_state, WellState< double > &well_state, Well::InjectionControls &inj_controls, Well::ProductionControls &prod_controls) const
 
EvalWell extendEval (const Eval &in) const
 
void computeAccumWell ()
 
ConvergenceReport getWellConvergence (const WellState< Scalar > &well_state, const std::vector< double > &B_avg, const double maxResidualAllowed, const double tol_wells, const double relaxed_tolerance_flow, const bool relax_tolerance, const bool well_is_stopped, std::vector< double > &res, DeferredLogger &deferred_logger) const
 
void init (std::vector< double > &perf_depth, const std::vector< double > &depth_arg, const int num_cells, const bool has_polymermw)
 
void updateWellStateFromPrimaryVariables (const bool stop_or_zero_rate_target, WellState< Scalar > &well_state, const SummaryState &summary_state, DeferredLogger &deferred_logger) const
 

Protected Attributes

bool regularize_
 
const ModelParametersparam_
 
std::vector< RateVectorconnectionRates_
 
std::vector< ScalarB_avg_
 
bool changed_to_stopped_this_step_ = false
 
bool thp_update_iterations = false
 
const RateConverterTyperateConverter_
 
OperabilityStatus operability_status_
 
Well well_ecl_
 
const ParallelWellInfoparallel_well_info_
 
const int current_step_
 
const int pvtRegionIdx_
 
const int num_components_
 
int number_of_phases_
 
int index_of_well_
 
const std::vector< PerforationData > * perf_data_
 
std::vector< double > ipr_a_
 
std::vector< double > ipr_b_
 
std::vector< int > well_cells_
 
std::vector< double > well_index_
 
int number_of_perforations_
 
std::vector< double > perf_depth_
 
std::vector< double > perf_rep_radius_
 
std::vector< double > perf_length_
 
std::vector< double > bore_diameters_
 
std::map< int, std::vector< int > > completions_
 
double ref_depth_
 
std::vector< int > saturation_table_number_
 
Well::Status wellStatus_
 
const PhaseUsagephase_usage_
 
double gravity_
 
double wsolvent_
 
std::optional< double > dynamic_thp_limit_
 
std::vector< double > inj_multiplier_
 
std::vector< double > prev_inj_multiplier_
 
std::vector< double > inj_fc_multiplier_
 
double well_efficiency_factor_
 
const VFPPropertiesvfp_properties_
 
const GuideRate * guide_rate_
 
std::vector< std::string > well_control_log_
 
bool changed_to_open_this_step_ = true
 
const WellInterfaceIndices< GetPropType< TypeTag, Properties::FluidSystem >, GetPropType< TypeTag, Properties::Indices > > & baseif_
 
PrimaryVariables primary_variables_
 Primary variables for well. More...
 
std::vector< double > F0_
 
StandardWellEquations< Scalar, Indices::numEq > linSys_
 Linear equation system. More...
 
StdWellConnections connections_
 Connection level values. More...
 

Static Protected Attributes

static constexpr int INVALIDCOMPLETION
 
static constexpr int WQTotal
 
static constexpr bool has_wfrac_variable
 
static constexpr bool has_gfrac_variable
 
static constexpr int WFrac
 
static constexpr int GFrac
 
static constexpr int SFrac
 

Member Typedef Documentation

◆ Base

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::Base = WellInterface<TypeTag>

◆ BrineModule

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::BrineModule = BlackOilBrineModule<TypeTag>

◆ BVector

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::BVector = Dune::BlockVector<VectorBlockType>

◆ BVectorWell

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::BVectorWell = typename StdWellEval::BVectorWell

◆ Eval

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::Eval = typename StdWellEval::Eval

◆ EvalWell

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::EvalWell = typename StdWellEval::EvalWell

◆ FluidState

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::FluidState = BlackOilFluidState<Eval, FluidSystem, has_temperature, has_energy, Indices::compositionSwitchIdx >= 0, has_watVapor, has_brine, has_saltPrecip, has_disgas_in_water, Indices::numPhases >

◆ FluidSystem

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>

◆ FoamModule

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::FoamModule = BlackOilFoamModule<TypeTag>

◆ GasLiftSingleWell

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::GasLiftSingleWell = ::Opm::GasLiftSingleWell<TypeTag>
inherited

◆ GLiftOptWells

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::GLiftOptWells = typename BlackoilWellModel<TypeTag>::GLiftOptWells
inherited

◆ GLiftProdWells

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::GLiftProdWells = typename BlackoilWellModel<TypeTag>::GLiftProdWells
inherited

◆ GLiftSyncGroups

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::GLiftSyncGroups = typename GasLiftSingleWellGeneric::GLiftSyncGroups
inherited

◆ GLiftWellStateMap

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::GLiftWellStateMap = typename BlackoilWellModel<TypeTag>::GLiftWellStateMap
inherited

◆ Grid

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::Grid = GetPropType<TypeTag, Properties::Grid>
inherited

◆ Indices

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::Indices = GetPropType<TypeTag, Properties::Indices>

◆ IntensiveQuantities

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::IntensiveQuantities = GetPropType<TypeTag, Properties::IntensiveQuantities>

◆ MaterialLaw

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::MaterialLaw = GetPropType<TypeTag, Properties::MaterialLaw>

◆ MatrixBlockType

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::MatrixBlockType = Dune::FieldMatrix<Scalar, Indices::numEq, Indices::numEq>
inherited

◆ ModelParameters

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::ModelParameters = BlackoilModelParameters<TypeTag>

◆ PolymerModule

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::PolymerModule = BlackOilPolymerModule<TypeTag>

◆ PressureMatrix

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::PressureMatrix = Dune::BCRSMatrix<Opm::MatrixBlock<double, 1, 1> >

◆ PrimaryVariables

using Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::PrimaryVariables = StandardWellPrimaryVariables<GetPropType< TypeTag, Properties::FluidSystem > ,GetPropType< TypeTag, Properties::Indices > >
protectedinherited

◆ RateConverterType

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::RateConverterType = typename WellInterfaceFluidSystem<FluidSystem>::RateConverterType

◆ RateVector

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::RateVector = GetPropType<TypeTag, Properties::RateVector>

◆ Scalar

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::Scalar = GetPropType<TypeTag, Properties::Scalar>

◆ Simulator

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::Simulator = GetPropType<TypeTag, Properties::Simulator>

◆ SparseMatrixAdapter

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::SparseMatrixAdapter = GetPropType<TypeTag, Properties::SparseMatrixAdapter>

◆ StdWellConnections

using Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::StdWellConnections = StandardWellConnections<GetPropType< TypeTag, Properties::FluidSystem > ,GetPropType< TypeTag, Properties::Indices > >
protectedinherited

◆ StdWellEval

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::StdWellEval = StandardWellEval<GetPropType<TypeTag, Properties::FluidSystem>, GetPropType<TypeTag, Properties::Indices> >

◆ VectorBlockType

template<typename TypeTag >
using Opm::WellInterface< TypeTag >::VectorBlockType = Dune::FieldVector<Scalar, Indices::numEq>
inherited

◆ WellConnectionProps

template<typename TypeTag >
using Opm::StandardWell< TypeTag >::WellConnectionProps = typename StdWellEval::StdWellConnections::Properties
protected

Member Enumeration Documentation

◆ IndividualOrGroup

template<typename TypeTag >
enum class Opm::WellInterface::IndividualOrGroup
stronginherited
Enumerator
Individual 
Group 
Both 

Constructor & Destructor Documentation

◆ StandardWell()

template<typename TypeTag >
Opm::StandardWell< TypeTag >::StandardWell ( const Well &  well,
const ParallelWellInfo pw_info,
const int  time_step,
const ModelParameters param,
const RateConverterType rate_converter,
const int  pvtRegionIdx,
const int  num_components,
const int  num_phases,
const int  index_of_well,
const std::vector< PerforationData > &  perf_data 
)

Member Function Documentation

◆ adaptRatesForVFP()

void Opm::WellInterfaceGeneric::adaptRatesForVFP ( std::vector< double > &  rates) const
inherited

◆ addCellRates()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::addCellRates ( RateVector rates,
int  cellIdx 
) const
inherited

◆ addWellContributions()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::addWellContributions ( SparseMatrixAdapter mat) const
overridevirtual

◆ addWellPressureEquations() [1/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::addWellPressureEquations ( PressureMatrix mat,
const BVector x,
const int  pressureVarIndex,
const bool  use_well_weights,
const WellState< Scalar > &  well_state 
) const
pure virtualinherited

◆ addWellPressureEquations() [2/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::addWellPressureEquations ( PressureMatrix mat,
const BVector x,
const int  pressureVarIndex,
const bool  use_well_weights,
const WellState< Scalar > &  well_state 
) const
override

◆ allDrawDownWrongDirection()

template<typename TypeTag >
bool Opm::StandardWell< TypeTag >::allDrawDownWrongDirection ( const Simulator simulator) const
protected

◆ apply() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::apply ( BVector r) const
overridevirtual

r = r - C D^-1 Rw

Implements Opm::WellInterface< TypeTag >.

◆ apply() [2/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::apply ( const BVector x,
BVector Ax 
) const
overridevirtual

Ax = Ax - C D^-1 B x.

Implements Opm::WellInterface< TypeTag >.

◆ assembleWellEq()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::assembleWellEq ( const Simulator simulator,
const double  dt,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
inherited

◆ assembleWellEqWithoutIteration() [1/3]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::assembleWellEqWithoutIteration ( const Simulator simulator,
const double  dt,
const Well::InjectionControls &  inj_controls,
const Well::ProductionControls &  prod_controls,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
overrideprotected

◆ assembleWellEqWithoutIteration() [2/3]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::assembleWellEqWithoutIteration ( const Simulator simulator,
const double  dt,
const WellInjectionControls &  inj_controls,
const WellProductionControls &  prod_controls,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
protectedpure virtualinherited

◆ assembleWellEqWithoutIteration() [3/3]

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::assembleWellEqWithoutIteration ( const Simulator simulator,
const double  dt,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
inherited

◆ assembleWellEqWithoutIterationImpl()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::assembleWellEqWithoutIterationImpl ( const Simulator simulator,
const double  dt,
const Well::InjectionControls &  inj_controls,
const Well::ProductionControls &  prod_controls,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
protected

◆ calculateExplicitQuantities() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::calculateExplicitQuantities ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
override

◆ calculateExplicitQuantities() [2/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::calculateExplicitQuantities ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
pure virtualinherited

◆ calculateReservoirRates()

void Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::calculateReservoirRates ( SingleWellState< double > &  ws) const
protectedinherited

◆ calculateSinglePerf()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::calculateSinglePerf ( const Simulator simulator,
const int  perf,
WellState< Scalar > &  well_state,
std::vector< RateVector > &  connectionRates,
std::vector< EvalWell > &  cq_s,
EvalWell water_flux_s,
EvalWell cq_s_zfrac_effective,
DeferredLogger deferred_logger 
) const
protected

◆ canProduceInjectWithCurrentBhp()

template<typename TypeTag >
bool Opm::StandardWell< TypeTag >::canProduceInjectWithCurrentBhp ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
protected

◆ cells()

const std::vector< int > & Opm::WellInterfaceGeneric::cells ( ) const
inlineinherited

Well cells.

References Opm::WellInterfaceGeneric::well_cells_.

◆ changedToOpenThisStep()

bool Opm::WellInterfaceGeneric::changedToOpenThisStep ( ) const
inlineinherited

◆ checkConstraints()

bool Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::checkConstraints ( WellState< double > &  well_state,
const GroupState< double > &  group_state,
const Schedule &  schedule,
const SummaryState &  summaryState,
DeferredLogger deferred_logger 
) const
protectedinherited

◆ checkConvergenceExtraEqs()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::checkConvergenceExtraEqs ( const std::vector< double > &  res,
ConvergenceReport report 
) const
protected

◆ checkGroupConstraints()

bool Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::checkGroupConstraints ( WellState< double > &  well_state,
const GroupState< double > &  group_state,
const Schedule &  schedule,
const SummaryState &  summaryState,
DeferredLogger deferred_logger 
) const
protectedinherited

◆ checkIndividualConstraints()

bool Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::checkIndividualConstraints ( SingleWellState< double > &  ws,
const SummaryState &  summaryState,
DeferredLogger deferred_logger,
const std::optional< Well::InjectionControls > &  inj_controls = std::nullopt,
const std::optional< Well::ProductionControls > &  prod_controls = std::nullopt 
) const
protectedinherited

◆ checkNegativeWellPotentials()

void Opm::WellInterfaceGeneric::checkNegativeWellPotentials ( std::vector< double > &  well_potentials,
const bool  checkOperability,
DeferredLogger deferred_logger 
)
protectedinherited

◆ checkOperabilityUnderBHPLimit() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::checkOperabilityUnderBHPLimit ( const WellState< Scalar > &  well_state,
const Simulator simulator,
DeferredLogger deferred_logger 
)
overrideprotected

◆ checkOperabilityUnderBHPLimit() [2/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::checkOperabilityUnderBHPLimit ( const WellState< Scalar > &  well_state,
const Simulator simulator,
DeferredLogger deferred_logger 
)
protectedpure virtualinherited

◆ checkOperabilityUnderTHPLimit() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::checkOperabilityUnderTHPLimit ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
overrideprotected

◆ checkOperabilityUnderTHPLimit() [2/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::checkOperabilityUnderTHPLimit ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
protectedpure virtualinherited

◆ checkWellOperability()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::checkWellOperability ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
inherited

◆ closeCompletions()

void Opm::WellInterfaceGeneric::closeCompletions ( const WellTestState &  wellTestState)
inherited

◆ compFrac()

template<typename TypeTag >
const std::vector< double > & Opm::WellInterface< TypeTag >::compFrac ( ) const
protectedinherited

◆ computeAccumWell()

void Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::computeAccumWell ( )
protectedinherited

◆ computeBhpAtThpLimitInj()

template<typename TypeTag >
std::optional< double > Opm::StandardWell< TypeTag >::computeBhpAtThpLimitInj ( const Simulator simulator,
const SummaryState &  summary_state,
DeferredLogger deferred_logger 
) const
protected

◆ computeBhpAtThpLimitProd()

template<typename TypeTag >
std::optional< double > Opm::StandardWell< TypeTag >::computeBhpAtThpLimitProd ( const WellState< Scalar > &  well_state,
const Simulator simulator,
const SummaryState &  summary_state,
DeferredLogger deferred_logger 
) const
protected

◆ computeBhpAtThpLimitProdWithAlq()

template<typename TypeTag >
std::optional< double > Opm::StandardWell< TypeTag >::computeBhpAtThpLimitProdWithAlq ( const Simulator simulator,
const SummaryState &  summary_state,
const double  alq_value,
DeferredLogger deferred_logger 
) const
overridevirtual

◆ computeConnectionDFactor()

template<typename TypeTag >
double Opm::WellInterface< TypeTag >::computeConnectionDFactor ( const int  perf,
const IntensiveQuantities intQuants,
const SingleWellState< double > &  ws 
) const
protectedinherited

◆ computeConnLevelInjInd()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::computeConnLevelInjInd ( const FluidState fs,
const Phase  preferred_phase,
const std::function< double(const double)> &  connIICalc,
const std::vector< Scalar > &  mobility,
double *  connII,
DeferredLogger deferred_logger 
) const
protectedinherited

◆ computeConnLevelProdInd()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::computeConnLevelProdInd ( const FluidState fs,
const std::function< double(const double)> &  connPICalc,
const std::vector< Scalar > &  mobility,
double *  connPI 
) const
protectedinherited

References Opm::phaseUsage().

◆ computeCurrentWellRates()

template<typename TypeTag >
std::vector< double > Opm::StandardWell< TypeTag >::computeCurrentWellRates ( const Simulator simulator,
DeferredLogger deferred_logger 
) const
overridevirtual

Compute well rates based on current reservoir conditions and well variables. Used in updateWellStateRates().

Implements Opm::WellInterface< TypeTag >.

References Opm::detail::bhp(), and Opm::detail::VFPEvaluation::value.

◆ computePerfRate() [1/2]

template<typename TypeTag >
template<class Value >
void Opm::StandardWell< TypeTag >::computePerfRate ( const IntensiveQuantities intQuants,
const std::vector< Value > &  mob,
const Value &  bhp,
const std::vector< Scalar > &  Tw,
const int  perf,
const bool  allow_cf,
std::vector< Value > &  cq_s,
PerforationRates perf_rates,
DeferredLogger deferred_logger 
) const
protected

References Opm::detail::bhp().

◆ computePerfRate() [2/2]

template<typename TypeTag >
template<class Value >
void Opm::StandardWell< TypeTag >::computePerfRate ( const std::vector< Value > &  mob,
const Value &  pressure,
const Value &  bhp,
const Value &  rs,
const Value &  rv,
const Value &  rvw,
const Value &  rsw,
std::vector< Value > &  b_perfcells_dense,
const std::vector< Scalar > &  Tw,
const int  perf,
const bool  allow_cf,
const Value &  skin_pressure,
const std::vector< Value > &  cmix_s,
std::vector< Value > &  cq_s,
PerforationRates perf_rates,
DeferredLogger deferred_logger 
) const
protected

References Opm::detail::bhp().

◆ computePropertiesForWellConnectionPressures()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::computePropertiesForWellConnectionPressures ( const Simulator simulator,
const WellState< Scalar > &  well_state,
WellConnectionProps props 
) const
protected

◆ computeWellConnectionDensitesPressures()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::computeWellConnectionDensitesPressures ( const Simulator simulator,
const WellState< Scalar > &  well_state,
const WellConnectionProps props,
DeferredLogger deferred_logger 
)
protected

◆ computeWellConnectionPressures()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::computeWellConnectionPressures ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
protected

◆ computeWellPotentials() [1/3]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::computeWellPotentials ( const Simulator simulator,
const WellState< Scalar > &  well_state,
std::vector< double > &  well_potentials,
DeferredLogger deferred_logger 
)
override

◆ computeWellPotentials() [2/3]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::computeWellPotentials ( const Simulator simulator,
const WellState< Scalar > &  well_state,
std::vector< double > &  well_potentials,
DeferredLogger deferred_logger 
)
pure virtualinherited

◆ computeWellPotentials() [3/3]

std::pair< bool, bool > Opm::WellInterfaceGeneric::computeWellPotentials ( std::vector< double > &  well_potentials,
const WellState< double > &  well_state 
)
protectedinherited

◆ computeWellPotentialsImplicit()

◆ computeWellPotentialWithTHP()

template<typename TypeTag >
std::vector< double > Opm::StandardWell< TypeTag >::computeWellPotentialWithTHP ( const Simulator simulator,
DeferredLogger deferred_logger,
const WellState< Scalar > &  well_state 
) const
protected

◆ computeWellRatesAndBhpWithThpAlqProd()

template<typename TypeTag >
double Opm::StandardWell< TypeTag >::computeWellRatesAndBhpWithThpAlqProd ( const Simulator simulator,
const SummaryState &  summary_state,
DeferredLogger deferred_logger,
std::vector< double > &  potentials,
double  alq 
) const

◆ computeWellRatesWithBhp()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::computeWellRatesWithBhp ( const Simulator simulator,
const double &  bhp,
std::vector< double > &  well_flux,
DeferredLogger deferred_logger 
) const
overridevirtual

◆ computeWellRatesWithBhpIterations() [1/2]

◆ computeWellRatesWithBhpIterations() [2/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::computeWellRatesWithBhpIterations ( const Simulator simulator,
const Scalar bhp,
std::vector< double > &  well_flux,
DeferredLogger deferred_logger 
) const
pure virtualinherited

◆ computeWellRatesWithThpAlqProd()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::computeWellRatesWithThpAlqProd ( const Simulator simulator,
const SummaryState &  summary_state,
DeferredLogger deferred_logger,
std::vector< double > &  potentials,
double  alq 
) const

◆ connectionDensity()

template<typename TypeTag >
double Opm::StandardWell< TypeTag >::connectionDensity ( const int  globalConnIdx,
const int  openConnIdx 
) const
overridevirtual

◆ connectionRates()

template<typename TypeTag >
const std::vector< RateVector > & Opm::WellInterface< TypeTag >::connectionRates ( ) const
inlineinherited

◆ currentStep()

int Opm::WellInterfaceGeneric::currentStep ( ) const
inlineinherited

◆ estimateOperableBhp()

template<typename TypeTag >
std::optional< double > Opm::WellInterface< TypeTag >::estimateOperableBhp ( const Simulator simulator,
const double  dt,
WellState< Scalar > &  well_state,
const SummaryState &  summary_state,
DeferredLogger deferred_logger 
)
protectedinherited

◆ extendEval()

EvalWell Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::extendEval ( const Eval in) const
protectedinherited

◆ flowPhaseToModelCompIdx()

int Opm::WellInterfaceIndices< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::flowPhaseToModelCompIdx ( const int  phaseIdx) const
inherited

◆ flowPhaseToModelPhaseIdx()

int Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::flowPhaseToModelPhaseIdx ( const int  phaseIdx) const
inherited

◆ getAllowCrossFlow()

bool Opm::WellInterfaceGeneric::getAllowCrossFlow ( ) const
protectedinherited

◆ getALQ()

double Opm::WellInterfaceGeneric::getALQ ( const WellState< double > &  well_state) const
inherited

◆ getCompletions()

const std::map< int, std::vector< int > > & Opm::WellInterfaceGeneric::getCompletions ( ) const
inlineinherited

◆ getDynamicThpLimit()

std::optional< double > Opm::WellInterfaceGeneric::getDynamicThpLimit ( ) const
inherited

◆ getGroupInjectionTargetRate()

std::optional< double > Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::getGroupInjectionTargetRate ( const Group &  group,
const WellState< double > &  well_state,
const GroupState< double > &  group_state,
const Schedule &  schedule,
const SummaryState &  summaryState,
const InjectorType &  injectorType,
double  efficiencyFactor,
DeferredLogger deferred_logger 
) const
protectedinherited

◆ getGroupProductionTargetRate()

double Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::getGroupProductionTargetRate ( const Group &  group,
const WellState< double > &  well_state,
const GroupState< double > &  group_state,
const Schedule &  schedule,
const SummaryState &  summaryState,
double  efficiencyFactor,
DeferredLogger deferred_logger 
) const
protectedinherited

◆ getInjMult()

double Opm::WellInterfaceGeneric::getInjMult ( const int  perf,
const double  bhp,
const double  perf_pres 
) const
inherited

◆ getMobility() [1/2]

template<typename TypeTag >
template<class Value , class Callback >
void Opm::WellInterface< TypeTag >::getMobility ( const Simulator simulator,
const int  perf,
std::vector< Value > &  mob,
Callback &  extendEval,
DeferredLogger deferred_logger 
) const
protectedinherited

◆ getMobility() [2/2]

template<typename TypeTag >
template<class Value >
void Opm::StandardWell< TypeTag >::getMobility ( const Simulator simulator,
const int  perf,
std::vector< Value > &  mob,
DeferredLogger deferred_logger 
) const
protected

◆ getPerfCellPressure()

template<typename TypeTag >
WellInterface< TypeTag >::Eval Opm::WellInterface< TypeTag >::getPerfCellPressure ( const FluidState fs) const
protectedinherited

◆ getPrimaryVars()

template<typename TypeTag >
std::vector< double > Opm::StandardWell< TypeTag >::getPrimaryVars
overridevirtual

Reimplemented from Opm::WellInterface< TypeTag >.

◆ getRefDensity()

template<typename TypeTag >
double Opm::StandardWell< TypeTag >::getRefDensity
overrideprotectedvirtual

◆ getTHPConstraint()

double Opm::WellInterfaceGeneric::getTHPConstraint ( const SummaryState &  summaryState) const
inherited

◆ getWellConvergence() [1/3]

template<typename TypeTag >
virtual ConvergenceReport Opm::WellInterface< TypeTag >::getWellConvergence ( const SummaryState &  summary_state,
const WellState< Scalar > &  well_state,
const std::vector< double > &  B_avg,
DeferredLogger deferred_logger,
const bool  relax_tolerance 
) const
pure virtualinherited

◆ getWellConvergence() [2/3]

template<typename TypeTag >
ConvergenceReport Opm::StandardWell< TypeTag >::getWellConvergence ( const SummaryState &  summary_state,
const WellState< Scalar > &  well_state,
const std::vector< double > &  B_avg,
DeferredLogger deferred_logger,
const bool  relax_tolerance 
) const
overridevirtual

check whether the well equations get converged for this well

◆ getWellConvergence() [3/3]

ConvergenceReport Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::getWellConvergence ( const WellState< Scalar > &  well_state,
const std::vector< double > &  B_avg,
const double  maxResidualAllowed,
const double  tol_wells,
const double  relaxed_tolerance_flow,
const bool  relax_tolerance,
const bool  well_is_stopped,
std::vector< double > &  res,
DeferredLogger deferred_logger 
) const
protectedinherited

◆ gliftBeginTimeStepWellTestIterateWellEquations()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::gliftBeginTimeStepWellTestIterateWellEquations ( const Simulator simulator,
const double  dt,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
inherited

◆ gliftBeginTimeStepWellTestUpdateALQ()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::gliftBeginTimeStepWellTestUpdateALQ ( const Simulator simulator,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
inherited

◆ gravity()

double Opm::WellInterfaceGeneric::gravity ( ) const
inlineinherited

◆ guideRate()

const GuideRate * Opm::WellInterfaceGeneric::guideRate ( ) const
inlineinherited

◆ handleInjectivityEquations()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::handleInjectivityEquations ( const Simulator simulator,
const WellState< Scalar > &  well_state,
const int  perf,
const EvalWell water_flux_s,
DeferredLogger deferred_logger 
)
protected

◆ handleInjectivityRate()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::handleInjectivityRate ( const Simulator simulator,
const int  perf,
std::vector< EvalWell > &  cq_s 
) const
protected

◆ indexOfWell()

int Opm::WellInterfaceGeneric::indexOfWell ( ) const
inherited

Index of well in the wells struct and wellState.

Referenced by Opm::BlackoilWellModel< TypeTag >::calculateProductivityIndexValues().

◆ init() [1/3]

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::init ( const PhaseUsage phase_usage_arg,
const std::vector< double > &  depth_arg,
const double  gravity_arg,
const int  num_cells,
const std::vector< Scalar > &  B_avg,
const bool  changed_to_open_this_step 
)
virtualinherited

◆ init() [2/3]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::init ( const PhaseUsage phase_usage_arg,
const std::vector< double > &  depth_arg,
const double  gravity_arg,
const int  num_cells,
const std::vector< Scalar > &  B_avg,
const bool  changed_to_open_this_step 
)
overridevirtual

◆ init() [3/3]

void Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::init ( std::vector< double > &  perf_depth,
const std::vector< double > &  depth_arg,
const int  num_cells,
const bool  has_polymermw 
)
protectedinherited

◆ initCompletions()

void Opm::WellInterfaceGeneric::initCompletions ( )
inherited

◆ initialWellRateFractions()

template<typename TypeTag >
std::vector< double > Opm::WellInterface< TypeTag >::initialWellRateFractions ( const Simulator simulator,
const WellState< Scalar > &  well_state 
) const
protectedinherited

◆ initInjMult()

void Opm::WellInterfaceGeneric::initInjMult ( const std::vector< double > &  max_inj_mult)
inherited

◆ initPrimaryVariablesEvaluation()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::initPrimaryVariablesEvaluation
overridevirtual

◆ isInjector()

bool Opm::WellInterfaceGeneric::isInjector ( ) const
inherited

True if the well is an injector.

◆ isOperableAndSolvable()

bool Opm::WellInterfaceGeneric::isOperableAndSolvable ( ) const
inherited

◆ isPressureControlled()

bool Opm::WellInterfaceGeneric::isPressureControlled ( const WellState< double > &  well_state) const
inherited

◆ isProducer()

bool Opm::WellInterfaceGeneric::isProducer ( ) const
inherited

True if the well is a producer.

◆ isVFPActive()

bool Opm::WellInterfaceGeneric::isVFPActive ( DeferredLogger deferred_logger) const
inherited

◆ iterateWellEquations()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::iterateWellEquations ( const Simulator simulator,
const double  dt,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
protectedinherited

◆ iterateWellEqWithControl() [1/2]

template<typename TypeTag >
bool Opm::StandardWell< TypeTag >::iterateWellEqWithControl ( const Simulator simulator,
const double  dt,
const Well::InjectionControls &  inj_controls,
const Well::ProductionControls &  prod_controls,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
override

◆ iterateWellEqWithControl() [2/2]

template<typename TypeTag >
virtual bool Opm::WellInterface< TypeTag >::iterateWellEqWithControl ( const Simulator simulator,
const double  dt,
const WellInjectionControls &  inj_controls,
const WellProductionControls &  prod_controls,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
protectedpure virtualinherited

◆ iterateWellEqWithSwitching() [1/2]

template<typename TypeTag >
bool Opm::StandardWell< TypeTag >::iterateWellEqWithSwitching ( const Simulator simulator,
const double  dt,
const Well::InjectionControls &  inj_controls,
const Well::ProductionControls &  prod_controls,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger,
const bool  fixed_control = false,
const bool  fixed_status = false 
)
override

◆ iterateWellEqWithSwitching() [2/2]

template<typename TypeTag >
virtual bool Opm::WellInterface< TypeTag >::iterateWellEqWithSwitching ( const Simulator simulator,
const double  dt,
const WellInjectionControls &  inj_controls,
const WellProductionControls &  prod_controls,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger,
const bool  fixed_control = false,
const bool  fixed_status = false 
)
protectedpure virtualinherited

◆ jacobianContainsWellContributions()

template<typename TypeTag >
bool Opm::StandardWell< TypeTag >::jacobianContainsWellContributions ( ) const
inlineoverridevirtual

Wether the Jacobian will also have well contributions in it.

Reimplemented from Opm::WellInterface< TypeTag >.

References Opm::BlackoilModelParameters< TypeTag >::matrix_add_well_contributions_, and Opm::WellInterface< TypeTag >::param_.

◆ linSys()

const StandardWellEquations< Scalar, Indices::numEq > & Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::linSys ( ) const
inlineinherited

Returns a const reference to equation system.

◆ modelCompIdxToFlowCompIdx()

int Opm::WellInterfaceIndices< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::modelCompIdxToFlowCompIdx ( const unsigned  compIdx) const
inherited

◆ name()

const std::string & Opm::WellInterfaceGeneric::name ( ) const
inherited

◆ numComponents()

int Opm::WellInterfaceGeneric::numComponents ( ) const
inlineinherited

◆ numPerfs()

int Opm::WellInterfaceGeneric::numPerfs ( ) const
inlineinherited

◆ numPhases()

int Opm::WellInterfaceGeneric::numPhases ( ) const
inlineinherited

◆ openCrossFlowAvoidSingularity()

template<typename TypeTag >
bool Opm::StandardWell< TypeTag >::openCrossFlowAvoidSingularity ( const Simulator simulator) const
protected

◆ openWell()

void Opm::WellInterfaceGeneric::openWell ( )
inlineinherited

◆ parallelWellInfo()

const ParallelWellInfo & Opm::WellInterfaceGeneric::parallelWellInfo ( ) const
inlineinherited

◆ perfDepth() [1/2]

std::vector< double > & Opm::WellInterfaceGeneric::perfDepth ( )
inlineinherited

◆ perfDepth() [2/2]

const std::vector< double > & Opm::WellInterfaceGeneric::perfDepth ( ) const
inlineinherited

◆ perforationData()

const std::vector< PerforationData > & Opm::WellInterfaceGeneric::perforationData ( ) const
inherited

Get the perforations of the well.

◆ phaseUsage()

const PhaseUsage & Opm::WellInterfaceGeneric::phaseUsage ( ) const
inherited

◆ polymerInjTable_()

int Opm::WellInterfaceGeneric::polymerInjTable_ ( ) const
protectedinherited

◆ polymerTable_()

int Opm::WellInterfaceGeneric::polymerTable_ ( ) const
protectedinherited

◆ polymerWaterTable_()

int Opm::WellInterfaceGeneric::polymerWaterTable_ ( ) const
protectedinherited

◆ prepareForPotentialCalculations()

void Opm::WellInterfaceGeneric::prepareForPotentialCalculations ( const SummaryState &  summary_state,
WellState< double > &  well_state,
Well::InjectionControls &  inj_controls,
Well::ProductionControls &  prod_controls 
) const
protectedinherited

◆ prepareWellBeforeAssembling()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::prepareWellBeforeAssembling ( const Simulator simulator,
const double  dt,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
inherited

◆ pskin()

template<typename TypeTag >
StandardWell< TypeTag >::EvalWell Opm::StandardWell< TypeTag >::pskin ( const double  throuhgput,
const EvalWell water_velocity,
const EvalWell poly_inj_conc,
DeferredLogger deferred_logger 
) const
protected

References OPM_DEFLOG_THROW.

◆ pskinwater()

template<typename TypeTag >
StandardWell< TypeTag >::EvalWell Opm::StandardWell< TypeTag >::pskinwater ( const double  throughput,
const EvalWell water_velocity,
DeferredLogger deferred_logger 
) const
protected

References OPM_DEFLOG_THROW.

◆ pvtRegionIdx()

int Opm::WellInterfaceGeneric::pvtRegionIdx ( ) const
inlineinherited

◆ rateConverter()

const RateConverterType & Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::rateConverter ( ) const
inlineinherited

◆ recoverWellSolutionAndUpdateWellState() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::recoverWellSolutionAndUpdateWellState ( const SummaryState &  summary_state,
const BVector x,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
override

using the solution x to recover the solution xw for wells and applying xw to update Well State

◆ recoverWellSolutionAndUpdateWellState() [2/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::recoverWellSolutionAndUpdateWellState ( const SummaryState &  summary_state,
const BVector x,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
pure virtualinherited

using the solution x to recover the solution xw for wells and applying xw to update Well State

◆ refDepth()

double Opm::WellInterfaceGeneric::refDepth ( ) const
inlineinherited

◆ reportWellSwitching()

void Opm::WellInterfaceGeneric::reportWellSwitching ( const SingleWellState< double > &  ws,
DeferredLogger deferred_logger 
) const
inherited

◆ resetWellOperability()

void Opm::WellInterfaceGeneric::resetWellOperability ( )
inherited

◆ restrictEval()

Eval Opm::WellInterfaceIndices< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::restrictEval ( const EvalWell &  in) const
inlineinherited

◆ rsRvInj()

double Opm::WellInterfaceGeneric::rsRvInj ( ) const
inherited

◆ scalingFactor()

double Opm::WellInterfaceIndices< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::scalingFactor ( const int  phaseIdx) const
inherited

◆ setDynamicThpLimit()

void Opm::WellInterfaceGeneric::setDynamicThpLimit ( const double  thp_limit)
inherited

◆ setGuideRate()

void Opm::WellInterfaceGeneric::setGuideRate ( const GuideRate *  guide_rate_arg)
inherited

◆ setPrevSurfaceRates()

void Opm::WellInterfaceGeneric::setPrevSurfaceRates ( WellState< double > &  well_state,
const WellState< double > &  prev_well_state 
) const
inherited

◆ setPrimaryVars()

template<typename TypeTag >
int Opm::StandardWell< TypeTag >::setPrimaryVars ( std::vector< double >::const_iterator  it)
overridevirtual

Reimplemented from Opm::WellInterface< TypeTag >.

◆ setRepRadiusPerfLength()

void Opm::WellInterfaceGeneric::setRepRadiusPerfLength ( )
inherited

◆ setVFPProperties()

void Opm::WellInterfaceGeneric::setVFPProperties ( const VFPProperties vfp_properties_arg)
inherited

◆ setWellEfficiencyFactor()

void Opm::WellInterfaceGeneric::setWellEfficiencyFactor ( const double  efficiency_factor)
inherited

◆ setWsolvent()

void Opm::WellInterfaceGeneric::setWsolvent ( const double  wsolvent)
inherited

◆ solveEqAndUpdateWellState() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::solveEqAndUpdateWellState ( const SummaryState &  summary_state,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
override

◆ solveEqAndUpdateWellState() [2/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::solveEqAndUpdateWellState ( const SummaryState &  summary_state,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
pure virtualinherited

◆ solveWellEquation()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::solveWellEquation ( const Simulator simulator,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
inherited

◆ solveWellForTesting()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::solveWellForTesting ( const Simulator simulator,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
protectedinherited

◆ solveWellWithBhp()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::solveWellWithBhp ( const Simulator simulator,
const double  dt,
const double  bhp,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
protectedinherited

◆ solveWellWithTHPConstraint()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::solveWellWithTHPConstraint ( const Simulator simulator,
const double  dt,
const Well::InjectionControls &  inj_controls,
const Well::ProductionControls &  prod_controls,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
protectedinherited

◆ solveWellWithZeroRate()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::solveWellWithZeroRate ( const Simulator simulator,
const double  dt,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
protectedinherited

◆ stopppedOrZeroRateTarget()

bool Opm::WellInterfaceGeneric::stopppedOrZeroRateTarget ( const SummaryState &  summary_state,
const WellState< double > &  well_state 
) const
inherited

◆ stopWell()

void Opm::WellInterfaceGeneric::stopWell ( )
inlineinherited

◆ thpLimitViolatedButNotSwitched()

bool Opm::WellInterfaceGeneric::thpLimitViolatedButNotSwitched ( ) const
inherited

◆ underPredictionMode()

bool Opm::WellInterfaceGeneric::underPredictionMode ( ) const
inherited

Returns true if the well is currently in prediction mode (i.e. not history mode).

◆ updateConnectionDFactor()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::updateConnectionDFactor ( const Simulator simulator,
SingleWellState< double > &  ws 
) const
inherited

◆ updateConnectionRatePolyMW()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updateConnectionRatePolyMW ( const EvalWell cq_s_poly,
const IntensiveQuantities int_quants,
const WellState< Scalar > &  well_state,
const int  perf,
std::vector< RateVector > &  connectionRates,
DeferredLogger deferred_logger 
) const
protected

◆ updateConnectionTransmissibilityFactor()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::updateConnectionTransmissibilityFactor ( const Simulator simulator,
SingleWellState< double > &  ws 
) const
inherited

◆ updateFilterCakeMultipliers()

void Opm::WellInterfaceGeneric::updateFilterCakeMultipliers ( const std::vector< double > &  inj_fc_multiplier)
inlineinherited

Update filter cake multipliers.

References Opm::WellInterfaceGeneric::inj_fc_multiplier_.

◆ updateInjMult()

void Opm::WellInterfaceGeneric::updateInjMult ( std::vector< double > &  inj_multipliers,
DeferredLogger deferred_logger 
) const
inherited

◆ updateIPR()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updateIPR ( const Simulator simulator,
DeferredLogger deferred_logger 
) const
overrideprotectedvirtual

◆ updateIPRImplicit() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updateIPRImplicit ( const Simulator simulator,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
override

◆ updateIPRImplicit() [2/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::updateIPRImplicit ( const Simulator simulator,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
protectedpure virtualinherited

◆ updatePerforatedCell()

void Opm::WellInterfaceGeneric::updatePerforatedCell ( std::vector< bool > &  is_cell_perforated)
inherited

◆ updatePrimaryVariables() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updatePrimaryVariables ( const SummaryState &  summary_state,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
override

◆ updatePrimaryVariables() [2/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::updatePrimaryVariables ( const SummaryState &  summary_state,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
pure virtualinherited

◆ updatePrimaryVariablesNewton()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updatePrimaryVariablesNewton ( const BVectorWell dwells,
const bool  stop_or_zero_rate_target,
DeferredLogger deferred_logger 
)
protected

◆ updateProductivityIndex() [1/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::updateProductivityIndex ( const Simulator simulator,
const WellProdIndexCalculator wellPICalc,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
) const
pure virtualinherited

◆ updateProductivityIndex() [2/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updateProductivityIndex ( const Simulator simulator,
const WellProdIndexCalculator wellPICalc,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
) const
override

◆ updateWaterMobilityWithPolymer()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updateWaterMobilityWithPolymer ( const Simulator simulator,
const int  perf,
std::vector< EvalWell > &  mob_water,
DeferredLogger deferred_logger 
) const
protected

References Opm::detail::bhp().

◆ updateWaterThroughput() [1/2]

template<typename TypeTag >
virtual void Opm::WellInterface< TypeTag >::updateWaterThroughput ( const double  dt,
WellState< Scalar > &  well_state 
) const
pure virtualinherited

◆ updateWaterThroughput() [2/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updateWaterThroughput ( const double  dt,
WellState< Scalar > &  well_state 
) const
overrideprotected

◆ updateWellControl()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::updateWellControl ( const Simulator simulator,
const IndividualOrGroup  iog,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
DeferredLogger deferred_logger 
)
inherited

◆ updateWellControlAndStatusLocalIteration()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::updateWellControlAndStatusLocalIteration ( const Simulator simulator,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
const Well::InjectionControls &  inj_controls,
const Well::ProductionControls &  prod_controls,
const double  WQTotal,
DeferredLogger deferred_logger,
const bool  fixed_control = false,
const bool  fixed_status = false 
)
inherited

◆ updateWellOperability()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::updateWellOperability ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
inherited

◆ updateWellOperabilityFromWellEq()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::updateWellOperabilityFromWellEq ( const Simulator simulator,
const WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
inherited

◆ updateWellState()

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updateWellState ( const SummaryState &  summary_state,
const BVectorWell dwells,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
)
protected

◆ updateWellStateFromPrimaryVariables() [1/2]

template<typename TypeTag >
void Opm::StandardWell< TypeTag >::updateWellStateFromPrimaryVariables ( const bool  stop_or_zero_rate_target,
WellState< Scalar > &  well_state,
const SummaryState &  summary_state,
DeferredLogger deferred_logger 
) const
protected

◆ updateWellStateFromPrimaryVariables() [2/2]

void Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::updateWellStateFromPrimaryVariables ( const bool  stop_or_zero_rate_target,
WellState< Scalar > &  well_state,
const SummaryState &  summary_state,
DeferredLogger deferred_logger 
) const
protectedinherited

◆ updateWellStateRates()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::updateWellStateRates ( const Simulator simulator,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
) const
inherited

Modify the well_state's rates if there is only one nonzero rate. If so, that rate is kept as is, but the others are set proportionally to the rates returned by computeCurrentWellRates().

References Opm::WellState< Scalar >::well().

◆ updateWellStateWithTarget()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::updateWellStateWithTarget ( const Simulator simulator,
const GroupState< Scalar > &  group_state,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
) const
virtualinherited

◆ updateWellStateWithTHPTargetProd()

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::updateWellStateWithTHPTargetProd ( const Simulator simulator,
WellState< Scalar > &  well_state,
DeferredLogger deferred_logger 
) const
inherited

◆ updateWellTestState()

void Opm::WellInterfaceGeneric::updateWellTestState ( const SingleWellState< double > &  ws,
const double &  simulationTime,
const bool &  writeMessageToOPMLog,
WellTestState &  wellTestState,
DeferredLogger deferred_logger 
) const
inherited

◆ useVfpExplicit()

bool Opm::WellInterfaceGeneric::useVfpExplicit ( ) const
inherited

◆ vfpProperties()

const VFPProperties * Opm::WellInterfaceGeneric::vfpProperties ( ) const
inlineinherited

◆ volumetricSurfaceRateForConnection()

template<typename TypeTag >
WellInterface< TypeTag >::Scalar Opm::WellInterface< TypeTag >::volumetricSurfaceRateForConnection ( int  cellIdx,
int  phaseIdx 
) const
inherited

References Opm::to_string().

◆ wellEcl() [1/2]

Well & Opm::WellInterfaceGeneric::wellEcl ( )
inherited

◆ wellEcl() [2/2]

const Well & Opm::WellInterfaceGeneric::wellEcl ( ) const
inherited

◆ wellEfficiencyFactor()

double Opm::WellInterfaceGeneric::wellEfficiencyFactor ( ) const
inlineinherited

◆ wellHasTHPConstraints()

bool Opm::WellInterfaceGeneric::wellHasTHPConstraints ( const SummaryState &  summaryState) const
inherited

Returns true if the well has one or more THP limits/constraints.

◆ wellIndex() [1/2]

const std::vector< double > & Opm::WellInterfaceGeneric::wellIndex ( ) const
inlineinherited

◆ wellIndex() [2/2]

template<typename TypeTag >
std::vector< double > Opm::WellInterface< TypeTag >::wellIndex ( const int  perf,
const IntensiveQuantities intQuants,
const double  trans_mult,
const SingleWellState< double > &  ws 
) const
inherited

◆ wellIsStopped()

bool Opm::WellInterfaceGeneric::wellIsStopped ( ) const
inlineinherited

◆ wellTesting()

template<typename TypeTag >
void Opm::WellInterface< TypeTag >::wellTesting ( const Simulator simulator,
const double  simulation_time,
WellState< Scalar > &  well_state,
const GroupState< Scalar > &  group_state,
WellTestState &  welltest_state,
DeferredLogger deferred_logger 
)
inherited

◆ wellUnderZeroRateTarget()

bool Opm::WellInterfaceGeneric::wellUnderZeroRateTarget ( const SummaryState &  summary_state,
const WellState< double > &  well_state 
) const
protectedinherited

◆ wfoam()

template<typename TypeTag >
double Opm::WellInterface< TypeTag >::wfoam
protectedinherited

◆ wfoam_()

double Opm::WellInterfaceGeneric::wfoam_ ( ) const
protectedinherited

◆ wmicrobes()

template<typename TypeTag >
double Opm::WellInterface< TypeTag >::wmicrobes
protectedinherited

◆ wmicrobes_()

double Opm::WellInterfaceGeneric::wmicrobes_ ( ) const
protectedinherited

◆ woxygen()

template<typename TypeTag >
double Opm::WellInterface< TypeTag >::woxygen
protectedinherited

◆ woxygen_()

double Opm::WellInterfaceGeneric::woxygen_ ( ) const
protectedinherited

◆ wpolymer()

template<typename TypeTag >
double Opm::WellInterface< TypeTag >::wpolymer
protectedinherited

◆ wpolymer_()

double Opm::WellInterfaceGeneric::wpolymer_ ( ) const
protectedinherited

◆ wpolymermw()

template<typename TypeTag >
StandardWell< TypeTag >::EvalWell Opm::StandardWell< TypeTag >::wpolymermw ( const double  throughput,
const EvalWell water_velocity,
DeferredLogger deferred_logger 
) const
protected

References OPM_DEFLOG_THROW.

◆ wsalt()

template<typename TypeTag >
double Opm::WellInterface< TypeTag >::wsalt
protectedinherited

◆ wsalt_()

double Opm::WellInterfaceGeneric::wsalt_ ( ) const
protectedinherited

◆ wsolvent()

double Opm::WellInterfaceGeneric::wsolvent ( ) const
inherited

◆ wurea()

template<typename TypeTag >
double Opm::WellInterface< TypeTag >::wurea
protectedinherited

◆ wurea_()

double Opm::WellInterfaceGeneric::wurea_ ( ) const
protectedinherited

Member Data Documentation

◆ B_avg_

template<typename TypeTag >
std::vector< Scalar > Opm::WellInterface< TypeTag >::B_avg_
protectedinherited

◆ baseif_

const WellInterfaceIndices<GetPropType< TypeTag, Properties::FluidSystem > ,GetPropType< TypeTag, Properties::Indices > >& Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::baseif_
protectedinherited

◆ Bhp

template<typename TypeTag >
constexpr int Opm::StandardWell< TypeTag >::Bhp = numStaticWellEq - numWellControlEq
staticconstexpr

◆ bore_diameters_

std::vector<double> Opm::WellInterfaceGeneric::bore_diameters_
protectedinherited

◆ changed_to_open_this_step_

bool Opm::WellInterfaceGeneric::changed_to_open_this_step_ = true
protectedinherited

◆ changed_to_stopped_this_step_

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::changed_to_stopped_this_step_ = false
protectedinherited

◆ completions_

std::map<int, std::vector<int> > Opm::WellInterfaceGeneric::completions_
protectedinherited

◆ connectionRates_

template<typename TypeTag >
std::vector<RateVector> Opm::WellInterface< TypeTag >::connectionRates_
protectedinherited

◆ connections_

StdWellConnections Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::connections_
protectedinherited

Connection level values.

◆ current_step_

const int Opm::WellInterfaceGeneric::current_step_
protectedinherited

◆ dynamic_thp_limit_

std::optional<double> Opm::WellInterfaceGeneric::dynamic_thp_limit_
protectedinherited

◆ F0_

std::vector<double> Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::F0_
protectedinherited

◆ Gas

constexpr int Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::Gas
staticconstexprinherited

◆ GFrac

constexpr int Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::GFrac
staticconstexprprotectedinherited

◆ gravity_

double Opm::WellInterfaceGeneric::gravity_
protectedinherited

◆ guide_rate_

const GuideRate* Opm::WellInterfaceGeneric::guide_rate_
protectedinherited

◆ has_brine

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_brine
staticconstexpr

◆ has_disgas_in_water

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_disgas_in_water = getPropValue<TypeTag, Properties::EnableDisgasInWater>()
staticconstexprinherited

◆ has_energy

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_energy
staticconstexpr

◆ has_foam

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_foam
staticconstexpr

◆ has_gfrac_variable

constexpr bool Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::has_gfrac_variable
staticconstexprprotectedinherited

◆ has_micp

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_micp
staticconstexpr

◆ has_polymer

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_polymer
staticconstexpr

◆ has_polymermw

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_polymermw
staticconstexpr

◆ has_saltPrecip

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_saltPrecip = getPropValue<TypeTag, Properties::EnableSaltPrecipitation>()
staticconstexprinherited

◆ has_solvent

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_solvent
staticconstexpr

◆ has_temperature

template<typename TypeTag >
const bool Opm::WellInterface< TypeTag >::has_temperature = getPropValue<TypeTag, Properties::EnableTemperature>()
staticinherited

◆ has_watVapor

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_watVapor = getPropValue<TypeTag, Properties::EnableVapwat>()
staticconstexprinherited

◆ has_wfrac_variable

constexpr bool Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::has_wfrac_variable
staticconstexprprotectedinherited

◆ has_zFraction

template<typename TypeTag >
constexpr bool Opm::WellInterface< TypeTag >::has_zFraction
staticconstexpr

◆ index_of_well_

int Opm::WellInterfaceGeneric::index_of_well_
protectedinherited

◆ inj_fc_multiplier_

std::vector<double> Opm::WellInterfaceGeneric::inj_fc_multiplier_
protectedinherited

◆ inj_multiplier_

std::vector<double> Opm::WellInterfaceGeneric::inj_multiplier_
mutableprotectedinherited

◆ INVALIDCOMPLETION

constexpr int Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::INVALIDCOMPLETION
staticconstexprprotectedinherited

◆ ipr_a_

std::vector<double> Opm::WellInterfaceGeneric::ipr_a_
mutableprotectedinherited

◆ ipr_b_

std::vector<double> Opm::WellInterfaceGeneric::ipr_b_
mutableprotectedinherited

◆ linSys_

StandardWellEquations<Scalar,Indices::numEq> Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::linSys_
protectedinherited

Linear equation system.

◆ num_components_

const int Opm::WellInterfaceGeneric::num_components_
protectedinherited

◆ number_of_perforations_

int Opm::WellInterfaceGeneric::number_of_perforations_
protectedinherited

◆ number_of_phases_

int Opm::WellInterfaceGeneric::number_of_phases_
protectedinherited

◆ numStaticWellEq

template<typename TypeTag >
constexpr int Opm::StandardWell< TypeTag >::numStaticWellEq = numWellConservationEq + numWellControlEq
staticconstexpr

◆ numWellConservationEq

template<typename TypeTag >
constexpr int Opm::StandardWell< TypeTag >::numWellConservationEq = Indices::numPhases + Indices::numSolvents
staticconstexpr

◆ numWellControlEq

template<typename TypeTag >
constexpr int Opm::StandardWell< TypeTag >::numWellControlEq = 1
staticconstexpr

◆ Oil

constexpr int Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::Oil
staticconstexprinherited

◆ operability_status_

OperabilityStatus Opm::WellInterfaceGeneric::operability_status_
protectedinherited

◆ parallel_well_info_

const ParallelWellInfo& Opm::WellInterfaceGeneric::parallel_well_info_
protectedinherited

◆ param_

template<typename TypeTag >
const ModelParameters& Opm::WellInterface< TypeTag >::param_
protectedinherited

◆ perf_data_

const std::vector<PerforationData>* Opm::WellInterfaceGeneric::perf_data_
protectedinherited

◆ perf_depth_

std::vector<double> Opm::WellInterfaceGeneric::perf_depth_
protectedinherited

◆ perf_length_

std::vector<double> Opm::WellInterfaceGeneric::perf_length_
protectedinherited

◆ perf_rep_radius_

std::vector<double> Opm::WellInterfaceGeneric::perf_rep_radius_
protectedinherited

◆ phase_usage_

const PhaseUsage* Opm::WellInterfaceGeneric::phase_usage_
protectedinherited

◆ prev_inj_multiplier_

std::vector<double> Opm::WellInterfaceGeneric::prev_inj_multiplier_
protectedinherited

◆ primary_variables_

PrimaryVariables Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::primary_variables_
protectedinherited

Primary variables for well.

◆ pvtRegionIdx_

const int Opm::WellInterfaceGeneric::pvtRegionIdx_
protectedinherited

◆ rateConverter_

const RateConverterType& Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::rateConverter_
protectedinherited

◆ ref_depth_

double Opm::WellInterfaceGeneric::ref_depth_
protectedinherited

◆ regularize_

template<typename TypeTag >
bool Opm::StandardWell< TypeTag >::regularize_
protected

◆ saturation_table_number_

std::vector<int> Opm::WellInterfaceGeneric::saturation_table_number_
protectedinherited

◆ SFrac

constexpr int Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::SFrac
staticconstexprprotectedinherited

◆ thp_update_iterations

template<typename TypeTag >
bool Opm::WellInterface< TypeTag >::thp_update_iterations = false
protectedinherited

◆ vfp_properties_

const VFPProperties* Opm::WellInterfaceGeneric::vfp_properties_
protectedinherited

◆ Water

constexpr int Opm::WellInterfaceFluidSystem< GetPropType< TypeTag, Properties::FluidSystem > >::Water
staticconstexprinherited

◆ well_cells_

std::vector<int> Opm::WellInterfaceGeneric::well_cells_
protectedinherited

◆ well_control_log_

std::vector< std::string> Opm::WellInterfaceGeneric::well_control_log_
protectedinherited

◆ well_ecl_

◆ well_efficiency_factor_

double Opm::WellInterfaceGeneric::well_efficiency_factor_
protectedinherited

◆ well_index_

std::vector<double> Opm::WellInterfaceGeneric::well_index_
protectedinherited

◆ wellStatus_

Well::Status Opm::WellInterfaceGeneric::wellStatus_
protectedinherited

◆ WFrac

constexpr int Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::WFrac
staticconstexprprotectedinherited

◆ WQTotal

constexpr int Opm::StandardWellEval< GetPropType< TypeTag, Properties::FluidSystem > , GetPropType< TypeTag, Properties::Indices > >::WQTotal
staticconstexprprotectedinherited

◆ wsolvent_

double Opm::WellInterfaceGeneric::wsolvent_
protectedinherited

The documentation for this class was generated from the following files: