All Classes Namespaces Files Functions Variables Typedefs Enumerator Pages
Opm::WellMultiSegment Class Reference

Classes

struct  WellOps
 Struct for the well operator matrices. More...
 

Public Types

typedef Eigen::SparseMatrix
< double > 
Matrix
 

Public Member Functions

 WellMultiSegment (const Well *well, size_t time_step, const Wells *wells)
 Constructor of WellMultiSegment. More...
 
const std::string & name () const
 Well name.
 
bool isMultiSegmented () const
 Flag indicating if the well is a multi-segment well.
 
int numberOfPerforations () const
 Number of the perforations.
 
int numberOfSegments () const
 Number of the segments.
 
std::string compPressureDrop () const
 Components of the pressure drop invloved. More...
 
const WellControls * wellControls () const
 Well control.
 
const std::vector< double > & compFrac () const
 Component fractions for each well.
 
int numberOfPhases () const
 Number of phases.
 
WellType wellType () const
 Well type.
 
const std::vector< double > & wellIndex () const
 Well productivity index.
 
const std::vector< double > & perfDepth () const
 Depth of the perforations.
 
const std::vector< int > & wellCells () const
 Indices of the grid blocks that perforations are completed in.
 
const std::vector< int > & segmentCells () const
 Indices of the gird blocks that segments locate at.
 
const std::vector< int > & outletSegment () const
 Outlet segments, a segment (except top segment) can only have one outlet segment. More...
 
const std::vector< std::vector
< int > > & 
inletSegments () const
 Inlet segments. a segment can have more than one inlet segments.
 
const std::vector< double > & segmentLength () const
 The length of the segment nodes down the wellbore from the reference point.
 
const std::vector< double > & segmentDepth () const
 The depth of the segment nodes.
 
const std::vector< double > & segmentDiameter () const
 Tubing internal diameter.
 
const std::vector< double > & segmentCrossArea () const
 Cross-sectional area.
 
const std::vector< double > & segmentRoughness () const
 Effective absolute roughness of the tube.
 
const std::vector< double > & segmentVolume () const
 Volume of segment.
 
const std::vector< std::vector
< int > > & 
segmentPerforations () const
 Perforations related to each segment.
 
const WellOpswellOps () const
 Well operator matrics.
 

Constructor & Destructor Documentation

Opm::WellMultiSegment::WellMultiSegment ( const Well *  well,
size_t  time_step,
const Wells *  wells 
)

Constructor of WellMultiSegment.

Parameters
[in]wellinformation from EclipseState
[in]currenttime step
in[pointer to Wells structure, to be removed eventually

Member Function Documentation

std::string Opm::WellMultiSegment::compPressureDrop ( ) const

Components of the pressure drop invloved.

HFA Hydrostatic + friction + acceleration HF- Hydrostatic + friction H– Hydrostatic only.

const std::vector< int > & Opm::WellMultiSegment::outletSegment ( ) const

Outlet segments, a segment (except top segment) can only have one outlet segment.

For top segment, its outlet segments is -1 always, which means no outlet segment for top segment.


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