#include <Wells.hpp>

Public Types

enum  WellType { Injector , Producer }
 
enum  WellControl { Rate , Pressure }
 

Public Member Functions

void init (Opm::DeckConstPtr deck)
 
int numWells () const
 
WellType type (int wellnum) const
 
WellControl control (int wellnum) const
 
double target (int wellnum) const
 
double referenceDepth (int wellnum) const
 
int numPerforations (int wellnum) const
 
int wellCell (int wellnum, int perfnum) const
 
double wellIndex (int wellnum, int perfnum) const
 
double pressureDelta (int wellnum, int perfnum) const
 
void update (int num_cells, const std::vector< double > &well_pressures, const std::vector< double > &well_fluxes)
 
double perforationPressure (int cell) const
 
double wellToReservoirFlux (int cell) const
 
Dune::FieldVector< double, 3 > injectionMixture (int cell) const
 

Detailed Description

A class designed to encapsulate a set of rate- or pressure-controlled wells.

Member Enumeration Documentation

◆ WellControl

Enumerator
Rate 
Pressure 

◆ WellType

Enumerator
Injector 
Producer 

Member Function Documentation

◆ control()

Wells::WellControl Opm::Wells::control ( int  wellnum) const
inline

◆ init()

void Opm::Wells::init ( Opm::DeckConstPtr  deck)
inline

◆ injectionMixture()

Dune::FieldVector< double, 3 > Opm::Wells::injectionMixture ( int  cell) const
inline

◆ numPerforations()

int Opm::Wells::numPerforations ( int  wellnum) const
inline

◆ numWells()

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

◆ perforationPressure()

double Opm::Wells::perforationPressure ( int  cell) const
inline

◆ pressureDelta()

double Opm::Wells::pressureDelta ( int  wellnum,
int  perfnum 
) const
inline

◆ referenceDepth()

double Opm::Wells::referenceDepth ( int  wellnum) const
inline

◆ target()

double Opm::Wells::target ( int  wellnum) const
inline

◆ type()

Wells::WellType Opm::Wells::type ( int  wellnum) const
inline

◆ update()

void Opm::Wells::update ( int  num_cells,
const std::vector< double > &  well_pressures,
const std::vector< double > &  well_fluxes 
)
inline

◆ wellCell()

int Opm::Wells::wellCell ( int  wellnum,
int  perfnum 
) const
inline

◆ wellIndex()

double Opm::Wells::wellIndex ( int  wellnum,
int  perfnum 
) const
inline

◆ wellToReservoirFlux()

double Opm::Wells::wellToReservoirFlux ( int  cell) const
inline

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