OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
#include <Reservoir.hpp>
Public Member Functions | |
void | InputParam (ParamRead ¶m) |
void | SetupIsoT () |
Setup static information for reservoir with input params for Isothermal model. | |
void | SetupT () |
Setup static information for reservoir with input params for Thermal model. | |
void | ApplyControl (const USI &i) |
Apply the control of ith critical time point. | |
void | CalIPRT (const OCP_DBL &dt) |
Calculate num of Injection, Production. | |
void | CalMaxChange () |
Calculate Maximum Change of some reference variables for IMPEC. | |
OCP_USI | GetBulkNum () const |
Return the num of Bulk. | |
USI | GetWellNum () const |
Return the num of Well. | |
USI | GetComNum () const |
Return the num of Components. | |
OCP_DBL | CalCFL (const OCP_DBL &dt) const |
Calculate the CFL number, including bulks and wells for IMPEC. | |
OCP_DBL | GetNRdPmax () |
Return NRdPmax. | |
OCP_DBL | GetNRdSmax (OCP_USI &index) |
Return NRdSmax. | |
OCP_DBL | GetNRdNmax () |
Return NRdNmax. | |
void | PrintSolFIM (const string &outfile) const |
void | OutInfoFinal () const |
Protected Attributes | |
Grid | grid |
Init Grid info. | |
Bulk | bulk |
Active grid info. | |
AllWells | allWells |
Wells class info. | |
BulkConn | conn |
Bulk's connection info. | |
OptionalFeatures | optFeatures |
optional features. | |
Friends | |
class | OCPControl |
class | Summary |
class | CriticalInfo |
class | Out4RPT |
class | Out4VTK |
class | IsoT_IMPEC |
class | IsoT_FIM |
class | IsoT_FIMn |
class | IsoT_AIMc |
class | T_FIM |
class | Solver |
Reservoir is the core component in our simulator, it contains the all reservoir information, and all operations on it.
Reservoir has four Core components. Grids contains the basic informations of all grids as a database of reservoir. Bulk only stores active grids, which defines the area used for calculation. AllWells contains the well information, it's used to manage operations related to wells. BulkConn contains connections between bulks(active grids).
Definition at line 31 of file Reservoir.hpp.
void Reservoir::InputParam | ( | ParamRead & | param | ) |
Input param from internal param data structure, which stores the params from input files.
Definition at line 18 of file Reservoir.cpp.
References allWells, bulk, grid, Bulk::InputParam(), Grid::InputParam(), AllWells::InputParam(), OCP_FUNCNAME, optFeatures, ParamRead::paramOutput, ParamRead::paramRs, and ParamRead::paramWell.