Data structure aggregating static information about all wells in a scenario. More...
#include <wells.h>
Public Attributes | |
int | number_of_wells |
Number of wells. More... | |
int | number_of_phases |
Number of phases. More... | |
enum WellType * | type |
Array of well types. | |
double * | depth_ref |
Array of well reference depths. | |
double * | comp_frac |
Component fractions for each well. More... | |
int * | well_connpos |
Array of indices into well_cells (and WI). More... | |
int * | well_cells |
Array of perforation cell indices. More... | |
double * | WI |
Well productivity index, same size and structure as well_cells. | |
int * | sat_table_id |
Saturation table number , same size and structure as well_cells. | |
struct WellControls ** | ctrls |
Well controls, one set of controls for each well. | |
char ** | name |
Well names. More... | |
int * | 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. | |
void * | data |
Internal management structure. | |
Data structure aggregating static information about all wells in a scenario.
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.
char** Wells::name |
Well names.
One string for each well.
int Wells::number_of_phases |
Number of phases.
int Wells::number_of_wells |
Number of wells.
int* Wells::well_cells |
Array of perforation cell indices.
Size is number of perforations (== well_connpos[number_of_wells]).
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.