12 #ifndef __FLUIDSOLVER_HEADER__
13 #define __FLUIDSOLVER_HEADER__
unsigned int USI
Generic unsigned integer.
double OCP_DBL
Double precision.
const USI FIM
Solution method = FIM.
Declaration of solution methods for fluid part in OpenCAEPoro.
IsothermalSolver class for fluid solution method.
void SolveLinearSystem(Reservoir &rs, OCPControl &ctrl)
Solve the linear system in single problem.
void InitReservoir(Reservoir &rs) const
Initialize the Reservoir and prepare variables for some method.
void SetupMethod(Reservoir &rs, const OCPControl &ctrl)
Setup the fluid solver.
bool UpdateProperty(Reservoir &rs, OCPControl &ctrl)
Update properties of fluid.
bool FinishNR(Reservoir &rs, OCPControl &ctrl)
Finish the Newton-Raphson iteration.
void FinishStep(Reservoir &rs, OCPControl &ctrl)
Finish the current time step.
void AssembleMat(const Reservoir &rs, const OCP_DBL &dt)
Assemble Mat.
void Prepare(Reservoir &rs, OCP_DBL &dt)
Prepare for assembling Mat.
Linear solvers for discrete systems.
All control parameters except for well controlers.
perform AIM in space, that is, some grids will be implicit, others will be explicit at the same time ...
perform AIM in time, that is, local FIM will be performed after global IMPEC performs
OCP_FIM is FIM (Fully Implicit Method).
OCP_IMPEC is IMPEC (implict pressure explict saturation) method.