A class designed to encapsulate a set of rate- or pressure-controlled wells in the black-oil setting. More...
#include <BlackoilWells.hpp>
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, 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 |
A class designed to encapsulate a set of rate- or pressure-controlled wells in the black-oil setting.