Opm::WelopenWrapper Class Reference

#include <WelopenWrapper.hpp>

Public Member Functions

 WelopenWrapper (Opm::DeckKeywordConstPtr keyword)
 A wrapper class to provide convenient access to the data of the 'WELOPEN' keyword. More...
 
int numWells () const
 Return the number of injection wells. More...
 
std::string wellName (int wellIdx) const
 Return the human-readable name of the well with a given index. More...
 
std::string wellStatus (int wellIdx) const
 Return whether a well is open or closed. More...
 
int coordinateI (int wellIdx) const
 Return the I-coordinate of the connection grid block. More...
 
int coordinateJ (int wellIdx) const
 Return the J-coordinate of the connection grid block. More...
 
int coordinateK (int wellIdx) const
 Return the K-coordinate of the connection grid block. More...
 
int firstCompletionNumber (int wellIdx) const
 Return the index of the first well completion for which this data applies. More...
 
int lastCompletionNumber (int wellIdx) const
 Return the index of the last well completion for which this data applies. More...
 

Constructor & Destructor Documentation

Opm::WelopenWrapper::WelopenWrapper ( Opm::DeckKeywordConstPtr  keyword)
inline

A wrapper class to provide convenient access to the data of the 'WELOPEN' keyword.

Member Function Documentation

int Opm::WelopenWrapper::coordinateI ( int  wellIdx) const
inline

Return the I-coordinate of the connection grid block.

int Opm::WelopenWrapper::coordinateJ ( int  wellIdx) const
inline

Return the J-coordinate of the connection grid block.

int Opm::WelopenWrapper::coordinateK ( int  wellIdx) const
inline

Return the K-coordinate of the connection grid block.

int Opm::WelopenWrapper::firstCompletionNumber ( int  wellIdx) const
inline

Return the index of the first well completion for which this data applies.

int Opm::WelopenWrapper::lastCompletionNumber ( int  wellIdx) const
inline

Return the index of the last well completion for which this data applies.

int Opm::WelopenWrapper::numWells ( ) const
inline

Return the number of injection wells.

std::string Opm::WelopenWrapper::wellName ( int  wellIdx) const
inline

Return the human-readable name of the well with a given index.

std::string Opm::WelopenWrapper::wellStatus ( int  wellIdx) const
inline

Return whether a well is open or closed.

This is one of:

  • OPEN: Well injects
  • STOP: Well does not reach the reservoir, but it injects. (and some of this fluid reaches the reservoir via crossflow)
  • SHUT: Well does not influence the reservoir
  • AUTO: Simulation selects one of the above depending in the well parameters and reservoir conditions at the well.

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