#include <StandardWellEval.hpp>

Inheritance diagram for Opm::StandardWellEval< FluidSystem, Indices >:
Inheritance graph

Public Types

using EvalWell = typename PrimaryVariables::EvalWell
 
using Eval = DenseAd::Evaluation< Scalar, Indices::numEq >
 
using BVectorWell = typename StandardWellEquations< Scalar, Indices::numEq >::BVectorWell
 

Public Member Functions

const StandardWellEquations< Scalar, Indices::numEq > & linSys () const
 Returns a const reference to equation system. More...
 

Protected Types

using Scalar = typename FluidSystem::Scalar
 
using PrimaryVariables = StandardWellPrimaryVariables< FluidSystem, Indices >
 
using StdWellConnections = StandardWellConnections< FluidSystem, Indices >
 

Protected Member Functions

 StandardWellEval (const WellInterfaceIndices< FluidSystem, Indices > &baseif)
 
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

const WellInterfaceIndices< FluidSystem, 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 Bhp = PrimaryVariables::Bhp
 
static constexpr int WQTotal = PrimaryVariables::WQTotal
 
static constexpr int numWellConservationEq = PrimaryVariables::numWellConservationEq
 
static constexpr bool has_wfrac_variable = PrimaryVariables::has_wfrac_variable
 
static constexpr bool has_gfrac_variable = PrimaryVariables::has_gfrac_variable
 
static constexpr int WFrac = PrimaryVariables::WFrac
 
static constexpr int GFrac = PrimaryVariables::GFrac
 
static constexpr int SFrac = PrimaryVariables::SFrac
 

Member Typedef Documentation

◆ BVectorWell

template<class FluidSystem , class Indices >
using Opm::StandardWellEval< FluidSystem, Indices >::BVectorWell = typename StandardWellEquations<Scalar,Indices::numEq>::BVectorWell

◆ Eval

template<class FluidSystem , class Indices >
using Opm::StandardWellEval< FluidSystem, Indices >::Eval = DenseAd::Evaluation<Scalar, Indices::numEq>

◆ EvalWell

template<class FluidSystem , class Indices >
using Opm::StandardWellEval< FluidSystem, Indices >::EvalWell = typename PrimaryVariables::EvalWell

◆ PrimaryVariables

template<class FluidSystem , class Indices >
using Opm::StandardWellEval< FluidSystem, Indices >::PrimaryVariables = StandardWellPrimaryVariables<FluidSystem,Indices>
protected

◆ Scalar

template<class FluidSystem , class Indices >
using Opm::StandardWellEval< FluidSystem, Indices >::Scalar = typename FluidSystem::Scalar
protected

◆ StdWellConnections

template<class FluidSystem , class Indices >
using Opm::StandardWellEval< FluidSystem, Indices >::StdWellConnections = StandardWellConnections<FluidSystem,Indices>
protected

Constructor & Destructor Documentation

◆ StandardWellEval()

template<class FluidSystem , class Indices >
Opm::StandardWellEval< FluidSystem, Indices >::StandardWellEval ( const WellInterfaceIndices< FluidSystem, Indices > &  baseif)
protected

Member Function Documentation

◆ computeAccumWell()

template<class FluidSystem , class Indices >
void Opm::StandardWellEval< FluidSystem, Indices >::computeAccumWell ( )
protected

◆ extendEval()

template<class FluidSystem , class Indices >
EvalWell Opm::StandardWellEval< FluidSystem, Indices >::extendEval ( const Eval in) const
protected

◆ getWellConvergence()

template<class FluidSystem , class Indices >
ConvergenceReport Opm::StandardWellEval< FluidSystem, 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
protected

◆ init()

template<class FluidSystem , class Indices >
void Opm::StandardWellEval< FluidSystem, Indices >::init ( std::vector< double > &  perf_depth,
const std::vector< double > &  depth_arg,
const int  num_cells,
const bool  has_polymermw 
)
protected

◆ linSys()

template<class FluidSystem , class Indices >
const StandardWellEquations< Scalar, Indices::numEq > & Opm::StandardWellEval< FluidSystem, Indices >::linSys ( ) const
inline

Returns a const reference to equation system.

References Opm::StandardWellEval< FluidSystem, Indices >::linSys_.

◆ updateWellStateFromPrimaryVariables()

template<class FluidSystem , class Indices >
void Opm::StandardWellEval< FluidSystem, Indices >::updateWellStateFromPrimaryVariables ( const bool  stop_or_zero_rate_target,
WellState< Scalar > &  well_state,
const SummaryState &  summary_state,
DeferredLogger deferred_logger 
) const
protected

Member Data Documentation

◆ baseif_

template<class FluidSystem , class Indices >
const WellInterfaceIndices<FluidSystem,Indices>& Opm::StandardWellEval< FluidSystem, Indices >::baseif_
protected

◆ Bhp

template<class FluidSystem , class Indices >
constexpr int Opm::StandardWellEval< FluidSystem, Indices >::Bhp = PrimaryVariables::Bhp
staticconstexprprotected

◆ connections_

template<class FluidSystem , class Indices >
StdWellConnections Opm::StandardWellEval< FluidSystem, Indices >::connections_
protected

Connection level values.

◆ F0_

template<class FluidSystem , class Indices >
std::vector<double> Opm::StandardWellEval< FluidSystem, Indices >::F0_
protected

◆ GFrac

template<class FluidSystem , class Indices >
constexpr int Opm::StandardWellEval< FluidSystem, Indices >::GFrac = PrimaryVariables::GFrac
staticconstexprprotected

◆ has_gfrac_variable

template<class FluidSystem , class Indices >
constexpr bool Opm::StandardWellEval< FluidSystem, Indices >::has_gfrac_variable = PrimaryVariables::has_gfrac_variable
staticconstexprprotected

◆ has_wfrac_variable

template<class FluidSystem , class Indices >
constexpr bool Opm::StandardWellEval< FluidSystem, Indices >::has_wfrac_variable = PrimaryVariables::has_wfrac_variable
staticconstexprprotected

◆ linSys_

template<class FluidSystem , class Indices >
StandardWellEquations<Scalar,Indices::numEq> Opm::StandardWellEval< FluidSystem, Indices >::linSys_
protected

Linear equation system.

Referenced by Opm::StandardWellEval< FluidSystem, Indices >::linSys().

◆ numWellConservationEq

template<class FluidSystem , class Indices >
constexpr int Opm::StandardWellEval< FluidSystem, Indices >::numWellConservationEq = PrimaryVariables::numWellConservationEq
staticconstexprprotected

◆ primary_variables_

template<class FluidSystem , class Indices >
PrimaryVariables Opm::StandardWellEval< FluidSystem, Indices >::primary_variables_
protected

Primary variables for well.

Referenced by Opm::StandardWell< TypeTag >::computeWellPotentialsImplicit().

◆ SFrac

template<class FluidSystem , class Indices >
constexpr int Opm::StandardWellEval< FluidSystem, Indices >::SFrac = PrimaryVariables::SFrac
staticconstexprprotected

◆ WFrac

template<class FluidSystem , class Indices >
constexpr int Opm::StandardWellEval< FluidSystem, Indices >::WFrac = PrimaryVariables::WFrac
staticconstexprprotected

◆ WQTotal

template<class FluidSystem , class Indices >
constexpr int Opm::StandardWellEval< FluidSystem, Indices >::WQTotal = PrimaryVariables::WQTotal
staticconstexprprotected

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