Opm::BlackoilWells Class Reference

#include <BlackoilWells.hpp>

Inheritance diagram for Opm::BlackoilWells:
Inheritance graph

Classes

class  WellReport
 

Public Types

enum  WellType { Injector , Producer }
 
enum  WellControl { Rate , Pressure }
 
enum  { numComponents = 3 }
 
enum  { numPhases = 3 }
 
enum  ComponentIndex { Water = 0 , Oil = 1 , Gas = 2 }
 
enum  PhaseIndex { Aqua = 0 , Liquid = 1 , Vapour = 2 }
 
typedef double Scalar
 
typedef Dune::FieldVector< Scalar, numComponentsCompVec
 
typedef Dune::FieldVector< Scalar, numPhasesPhaseVec
 
typedef Dune::FieldMatrix< Scalar, numComponents, numPhasesPhaseToCompMatrix
 
typedef Dune::FieldMatrix< Scalar, numPhases, numPhasesPhaseJacobian
 

Public Member Functions

void init (Opm::DeckConstPtr deck, const Dune::CpGrid &grid, const Opm::Rock< 3 > &rock)
 
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
 
void update (int num_cells, const std::vector< double > &well_perf_pressures, const std::vector< double > &well_perf_fluxes)
 
double perforationPressure (int cell) const
 
double wellToReservoirFlux (int cell) const
 
CompVec injectionMixture (int cell) const
 

Detailed Description

A class designed to encapsulate a set of rate- or pressure-controlled wells in the black-oil setting.

Member Typedef Documentation

◆ CompVec

typedef Dune::FieldVector<Scalar, numComponents> Opm::BlackoilDefs::CompVec
inherited

◆ PhaseJacobian

typedef Dune::FieldMatrix<Scalar, numPhases, numPhases> Opm::BlackoilDefs::PhaseJacobian
inherited

◆ PhaseToCompMatrix

typedef Dune::FieldMatrix<Scalar, numComponents, numPhases> Opm::BlackoilDefs::PhaseToCompMatrix
inherited

◆ PhaseVec

typedef Dune::FieldVector<Scalar, numPhases> Opm::BlackoilDefs::PhaseVec
inherited

◆ Scalar

typedef double Opm::BlackoilDefs::Scalar
inherited

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
numComponents 

◆ anonymous enum

anonymous enum
inherited
Enumerator
numPhases 

◆ ComponentIndex

Enumerator
Water 
Oil 
Gas 

◆ PhaseIndex

Enumerator
Aqua 
Liquid 
Vapour 

◆ WellControl

Enumerator
Rate 
Pressure 

◆ WellType

Enumerator
Injector 
Producer 

Member Function Documentation

◆ control()

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

◆ init()

void Opm::BlackoilWells::init ( Opm::DeckConstPtr  deck,
const Dune::CpGrid &  grid,
const Opm::Rock< 3 > &  rock 
)
inline

◆ injectionMixture()

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

◆ numPerforations()

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

Referenced by update().

◆ numWells()

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

Referenced by update().

◆ perforationPressure()

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

◆ referenceDepth()

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

◆ target()

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

◆ type()

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

◆ update()

void Opm::BlackoilWells::update ( int  num_cells,
const std::vector< double > &  well_perf_pressures,
const std::vector< double > &  well_perf_fluxes 
)
inline

◆ wellCell()

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

Referenced by update().

◆ wellIndex()

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

◆ wellToReservoirFlux()

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

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