Opm::WconinjWrapper Class Reference

#include <WconinjWrapper.hpp>

Public Member Functions

 WconinjWrapper (Opm::DeckKeywordConstPtr keyword)
 A wrapper class to provide convenient access to the data of the 'WCONINJ' 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 wellType (int wellIdx) const
 Return the injector type of a well. More...
 
std::string wellStatus (int wellIdx) const
 Return whether a well is open or closed. More...
 
std::string controlMode (int wellIdx) const
 Return the what should be controlled for a given well. More...
 
double surfaceTargetRate (int wellIdx) const
 Return the target for the volumetric surface rate of a well. More...
 
double reservoirTargetRate (int wellIdx) const
 Return the target for the volumetric reservoir rate of a well. More...
 
double reinjectionReplacementRatio (int wellIdx) const
 Return the reinjection replacement percentage of well. More...
 
std::string reinjectionReplacementType (int wellIdx) const
 Return how reinjection should be handled. More...
 
double bottomHoleTargetPressure (int wellIdx) const
 The target of the bottom hole pressure. More...
 
double topHoleTargetPressure (int wellIdx) const
 The target of the top hole pressure. More...
 
int vfpTableIndex (int wellIdx) const
 The index of the PVT table used for the injected fluid. More...
 
double vaporizedOilConcentration (int wellIdx) const
 The vaporized oil concentration in the injected gas (if the well injects gas) More...
 

Constructor & Destructor Documentation

Opm::WconinjWrapper::WconinjWrapper ( Opm::DeckKeywordConstPtr  keyword)
inline

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

Member Function Documentation

double Opm::WconinjWrapper::bottomHoleTargetPressure ( int  wellIdx) const
inline

The target of the bottom hole pressure.

If the control mode does not use the bottom hole pressure, this specifies the upper limit.

std::string Opm::WconinjWrapper::controlMode ( int  wellIdx) const
inline

Return the what should be controlled for a given well.

This is one of:

  • RATE: Control for the surface volume rate of the fluid
  • RESV: Control for the reservoir volume rate of the fluid
  • BHP: Control for the bottom hole pressure
  • THP: Control for the top hole pressure
int Opm::WconinjWrapper::numWells ( ) const
inline

Return the number of injection wells.

double Opm::WconinjWrapper::reinjectionReplacementRatio ( int  wellIdx) const
inline

Return the reinjection replacement percentage of well.

std::string Opm::WconinjWrapper::reinjectionReplacementType ( int  wellIdx) const
inline

Return how reinjection should be handled.

This is one of:

  • NONE
  • GPRD
  • FPRD
double Opm::WconinjWrapper::reservoirTargetRate ( int  wellIdx) const
inline

Return the target for the volumetric reservoir rate of a well.

If the control mode does not use the volumetric reservoir rate, this is the upper limit.

double Opm::WconinjWrapper::surfaceTargetRate ( int  wellIdx) const
inline

Return the target for the volumetric surface rate of a well.

If the control mode does not use the volumetric surface rate, this is the upper limit.

double Opm::WconinjWrapper::topHoleTargetPressure ( int  wellIdx) const
inline

The target of the top hole pressure.

If the control mode does not use the bottom hole pressure, this specifies the upper limit.

double Opm::WconinjWrapper::vaporizedOilConcentration ( int  wellIdx) const
inline

The vaporized oil concentration in the injected gas (if the well injects gas)

int Opm::WconinjWrapper::vfpTableIndex ( int  wellIdx) const
inline

The index of the PVT table used for the injected fluid.

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

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

std::string Opm::WconinjWrapper::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.
std::string Opm::WconinjWrapper::wellType ( int  wellIdx) const
inline

Return the injector type of a well.

This is one of:

  • OIL
  • WATER
  • GAS

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