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
 
int * sat_table_id
 
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

◆ allow_cf

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.

◆ comp_frac

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.

◆ ctrls

struct WellControls** Wells::ctrls

Well controls, one set of controls for each well.

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

◆ data

void* Wells::data

Internal management structure.

◆ depth_ref

double* Wells::depth_ref

Array of well reference depths.

Referenced by Opm::computeWDP().

◆ name

char** Wells::name

Well names. One string for each well.

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

◆ number_of_phases

int Wells::number_of_phases

Number of phases.

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

◆ number_of_wells

int Wells::number_of_wells

Number of wells.

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

◆ sat_table_id

int* Wells::sat_table_id

Saturation table number , same size and structure as well_cells.

◆ type

enum WellType* Wells::type

Array of well types.

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

◆ well_cells

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().

◆ well_connpos

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().

◆ WI

double* Wells::WI

Well productivity index, same size and structure as well_cells.


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