Opm::BlackoilWells Class Reference

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

#include <BlackoilWells.hpp>

Inheritance diagram for Opm::BlackoilWells:
Opm::BlackoilDefs

Classes

class  WellReport
 

Public Types

enum  WellType { Injector, Producer }
 
enum  WellControl { Rate, Pressure }
 
- Public Types inherited from Opm::BlackoilDefs
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, numComponents > CompVec
 
typedef Dune::FieldVector< Scalar, numPhases > PhaseVec
 
typedef Dune::FieldMatrix< Scalar, numComponents, numPhases > PhaseToCompMatrix
 
typedef Dune::FieldMatrix< Scalar, numPhases, numPhases > PhaseJacobian
 

Public Member Functions

void init (const Opm::Deck &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.


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