mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
Add initial cut at well definition.
This commit is contained in:
parent
6e330e6e98
commit
371fd66ced
31
well.h
Normal file
31
well.h
Normal file
@ -0,0 +1,31 @@
|
||||
#ifndef WELL_H_INCLUDED
|
||||
#define WELL_H_INCLUDED
|
||||
|
||||
enum well_type { INJECTOR, PRODUCER };
|
||||
enum well_control_type { BHP , RATE };
|
||||
|
||||
#define WELL_DESCRIPTOR \
|
||||
int number_of_wells; \
|
||||
\
|
||||
enum well_type *type; \
|
||||
\
|
||||
enum well_control_type *control_type; \
|
||||
double *target;
|
||||
|
||||
#define WELL_TOPOLOGY \
|
||||
int *well_connpos; \
|
||||
int *well_cells;
|
||||
|
||||
#define WELL_CONNECTION_DATA \
|
||||
double *WI; \
|
||||
double *depth;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
typedef struct {
|
||||
WELL_DESCRIPTOR
|
||||
WELL_TOPOLOGY
|
||||
WELL_CONNECTION_DATA
|
||||
} well_t;
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user