12 #ifndef __OCP_HEADER__
13 #define __OCP_HEADER__
23 #define OCPVersion "0.5.0"
32 cout <<
"=========================================" << endl
33 <<
"OpenCAEPoro Version-" <<
OCPVersion << endl
34 <<
"=========================================" << endl;
40 cout <<
"Usage: " << endl
41 <<
" " << cmdname <<
" <InputFileName> [<options>]" << endl
44 cout <<
"A simple example is to solve SPE1 Case A in default setting" << endl
45 <<
" " << cmdname <<
" examples/spe1a/spe1a.data" << endl;
48 <<
"Another example is to solve the same problem using FIM" << endl
50 <<
" examples/spe1a/spe1a.data method=FIM dtInit=1 dtMax=10 dtMin=0.1"
54 cout <<
"You can pass optional cmd arguments after the input file:" << endl
55 <<
" method = solution method to use " << endl
56 <<
" dtInit = initial time stepsize " << endl
57 <<
" dtMax = maximum time stepsize " << endl
58 <<
" dtMin = minimum time stepsize " << endl
59 <<
" verbose = print level on screen " << endl
62 cout <<
"Attention: " << endl
63 <<
" - Only if `method' is set, other options will take effect;" << endl
64 <<
" - These cmd options will override those in the input file;" << endl
65 <<
" - If (dtInit,dtMax,dtMin) are not set, default values will be used."
unsigned int USI
Generic unsigned integer.
OCPControl class declaration.
OCPOutput class declaration.
#define OCPVersion
Software version tag used for git.
ParamRead class declaration.
Reservoir class declaration.
Solver class declaration.
Elapsed wall-time and CPU-cycles declaration.
All control parameters except for well controllers.
The OCPOutput class manages different kinds of ways to output information.
Top-level data structure for the OpenCAEPoro simulator.
void InputParam(ParamRead ¶m)
Read input parameters to an internal structure.
void PrintUsage(string cmdname) const
Provide at least InputFileName for the input data.
void RunSimulation()
Run dynamic simulation.
void OutputResults() const
Output necessary information for post-processing.
void InitReservoir()
Initialize or get initial status of reservoir.
void SetupSimulator(const USI &argc, const char *options[])
Setup reservoir based on an internal structure.
void PrintVersion() const
Output OpenCAEPoro version information.
void ReadInputFile(const string &filename)
Read Param from an input file.
Pre-processing unit for OpenCAEPoro for reading params from input files.
Solver class for overall solution methods.