Wells Struct Reference

#include <wells.h>

Public Attributes

int number_of_wells
 
int number_of_phases
 
enum WellTypetype
 
double * depth_ref
 
double * comp_frac
 
int * well_connpos
 
int * well_cells
 
double * WI
 
struct WellControls ** ctrls
 
char ** name
 
int * allow_cf
 
void * data
 

Detailed Description

Data structure aggregating static information about all wells in a scenario.

Member Data Documentation

int* Wells::allow_cf

Array of flags indicating whether crossflow is allowed or not if allow_cf[w] == 0 (false) then crossflow is not allowed in well w.

double* Wells::comp_frac

Component fractions for each well. Array of size number_of_wells * number_of_phases. For injection wells, this gives the injected component mix. For production wells the component fractions of the wellbore will vary and cannot be specified a priori, the component mix given here should be considered a default or preferred mix.

struct WellControls** Wells::ctrls

Well controls, one set of controls for each well.

Referenced by Opm::WellState::init().

void* Wells::data

Internal management structure.

double* Wells::depth_ref

Array of well reference depths.

Referenced by Opm::computeWDP().

char** Wells::name

Well names. One string for each well.

Referenced by Opm::WellState::init().

int Wells::number_of_phases

Number of phases.

Referenced by Opm::WellState::init().

int Wells::number_of_wells

Number of wells.

Referenced by Opm::computeWDP(), and Opm::WellState::init().

enum WellType* Wells::type

Array of well types.

Referenced by Opm::WellState::init().

int* Wells::well_cells

Array of perforation cell indices. Size is number of perforations (== well_connpos[number_of_wells]).

Referenced by Opm::computeWDP(), and Opm::WellState::init().

int* Wells::well_connpos

Array of indices into well_cells (and WI). For a well w, well_connpos[w] and well_connpos[w+1] are start and one-beyond-end indices into the well_cells array for accessing w's perforation cell indices.

Referenced by Opm::computeWDP(), and Opm::WellState::init().

double* Wells::WI

Well productivity index, same size and structure as well_cells.


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