Opm::MultisegmentWellGeneric< Scalar > Class Template Reference

#include <MultisegmentWellGeneric.hpp>

Inheritance diagram for Opm::MultisegmentWellGeneric< Scalar >:
Inheritance graph

Public Member Functions

const WellSegments & segmentSet () const
 
int segmentNumberToIndex (const int segment_number) const
 
int numberOfSegments () const
 number of segments for this well More...
 

Protected Member Functions

 MultisegmentWellGeneric (WellInterfaceGeneric &baseif)
 
void scaleSegmentRatesWithWellRates (const std::vector< std::vector< int > > &segment_inlets, const std::vector< std::vector< int > > &segment_perforations, WellState< Scalar > &well_state) const
 
void scaleSegmentPressuresWithBhp (WellState< Scalar > &well_state) const
 
WellSegmentCompPressureDrop compPressureDrop () const
 
void detectOscillations (const std::vector< double > &measure_history, bool &oscillate, bool &stagnate) const
 Detect oscillation or stagnation based on the residual measure history. More...
 
bool accelerationalPressureLossConsidered () const
 
bool frictionalPressureLossConsidered () const
 
double getSegmentDp (const int seg, const double density, const std::vector< double > &seg_dp) const
 

Protected Attributes

const WellInterfaceGenericbaseif_
 

Constructor & Destructor Documentation

◆ MultisegmentWellGeneric()

template<typename Scalar >
Opm::MultisegmentWellGeneric< Scalar >::MultisegmentWellGeneric ( WellInterfaceGeneric baseif)
protected

Member Function Documentation

◆ accelerationalPressureLossConsidered()

template<typename Scalar >
bool Opm::MultisegmentWellGeneric< Scalar >::accelerationalPressureLossConsidered ( ) const
protected

◆ compPressureDrop()

template<typename Scalar >
WellSegmentCompPressureDrop Opm::MultisegmentWellGeneric< Scalar >::compPressureDrop ( ) const
protected

◆ detectOscillations()

template<typename Scalar >
void Opm::MultisegmentWellGeneric< Scalar >::detectOscillations ( const std::vector< double > &  measure_history,
bool &  oscillate,
bool &  stagnate 
) const
protected

Detect oscillation or stagnation based on the residual measure history.

◆ frictionalPressureLossConsidered()

template<typename Scalar >
bool Opm::MultisegmentWellGeneric< Scalar >::frictionalPressureLossConsidered ( ) const
protected

◆ getSegmentDp()

template<typename Scalar >
double Opm::MultisegmentWellGeneric< Scalar >::getSegmentDp ( const int  seg,
const double  density,
const std::vector< double > &  seg_dp 
) const
protected

◆ numberOfSegments()

template<typename Scalar >
int Opm::MultisegmentWellGeneric< Scalar >::numberOfSegments ( ) const

number of segments for this well

◆ scaleSegmentPressuresWithBhp()

template<typename Scalar >
void Opm::MultisegmentWellGeneric< Scalar >::scaleSegmentPressuresWithBhp ( WellState< Scalar > &  well_state) const
protected

◆ scaleSegmentRatesWithWellRates()

template<typename Scalar >
void Opm::MultisegmentWellGeneric< Scalar >::scaleSegmentRatesWithWellRates ( const std::vector< std::vector< int > > &  segment_inlets,
const std::vector< std::vector< int > > &  segment_perforations,
WellState< Scalar > &  well_state 
) const
protected

◆ segmentNumberToIndex()

template<typename Scalar >
int Opm::MultisegmentWellGeneric< Scalar >::segmentNumberToIndex ( const int  segment_number) const

◆ segmentSet()

template<typename Scalar >
const WellSegments & Opm::MultisegmentWellGeneric< Scalar >::segmentSet ( ) const

Member Data Documentation

◆ baseif_

template<typename Scalar >
const WellInterfaceGeneric& Opm::MultisegmentWellGeneric< Scalar >::baseif_
protected

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