My Project
Opm::StandardWellGeneric< Scalar > Class Template Reference
Inheritance diagram for Opm::StandardWellGeneric< Scalar >:
Opm::StandardWellEval< FluidSystem, Indices, Scalar >

Public Member Functions

void getNumBlocks (unsigned int &_nnzs) const
 get the number of blocks of the C and B matrices, used to allocate memory in a WellContributions object
 

Protected Types

using VectorBlockWellType = Dune::DynamicVector< Scalar >
 
using BVectorWell = Dune::BlockVector< VectorBlockWellType >
 
using DiagMatrixBlockWellType = Dune::DynamicMatrix< Scalar >
 
using DiagMatWell = Dune::BCRSMatrix< DiagMatrixBlockWellType >
 
using OffDiagMatrixBlockWellType = Dune::DynamicMatrix< Scalar >
 
using OffDiagMatWell = Dune::BCRSMatrix< OffDiagMatrixBlockWellType >
 

Protected Member Functions

 StandardWellGeneric (int Bhp, const WellInterfaceGeneric &baseif)
 
double calculateThpFromBhp (const WellState &well_state, const std::vector< double > &rates, const double bhp, DeferredLogger &deferred_logger) const
 
void checkConvergenceControlEq (const WellState &well_state, ConvergenceReport &report, DeferredLogger &deferred_logger, const double max_residual_allowed) const
 
void checkConvergencePolyMW (const std::vector< double > &res, ConvergenceReport &report, const double maxResidualAllowed) const
 
void computeConnectionPressureDelta ()
 
std::optional< double > computeBhpAtThpLimitInj (const std::function< std::vector< double >(const double)> &frates, const SummaryState &summary_state, DeferredLogger &deferred_logger) const
 
std::optional< double > computeBhpAtThpLimitProdWithAlq (const std::function< std::vector< double >(const double)> &frates, const SummaryState &summary_state, DeferredLogger &deferred_logger, double maxPerfPress, double alq_value) const
 
double getRho () const
 

Static Protected Member Functions

static double relaxationFactorRate (const std::vector< double > &primary_variables, const BVectorWell &dwells)
 
static double relaxationFactorFraction (const double old_value, const double dx)
 

Protected Attributes

const WellInterfaceGenericbaseif_
 
BVectorWell resWell_
 
std::vector< double > perf_densities_
 
std::vector< double > perf_pressure_diffs_
 
OffDiagMatWell duneB_
 
OffDiagMatWell duneC_
 
DiagMatWell invDuneD_
 
DiagMatWell duneD_
 
wellhelpers::ParallelStandardWellB< Scalar > parallelB_
 
BVectorWell Bx_
 
BVectorWell invDrw_
 

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