OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
IsoT_FIM is FIM (Fully Implicit Method). More...
#include <OCPFluidMethod.hpp>
Public Member Functions | |
void | Setup (Reservoir &rs, LinearSystem &ls, const OCPControl &ctrl) |
Setup FIM. | |
void | InitReservoir (Reservoir &rs) const |
Init. | |
void | Prepare (Reservoir &rs, const OCP_DBL &dt) |
Prepare for Assembling matrix. | |
void | AssembleMat (LinearSystem &ls, const Reservoir &rs, const OCP_DBL &dt) const |
Assemble Matrix. | |
void | SolveLinearSystem (LinearSystem &ls, Reservoir &rs, OCPControl &ctrl) const |
Solve the linear system. | |
OCP_BOOL | UpdateProperty (Reservoir &rs, OCPControl &ctrl) |
Update properties of fluids. | |
OCP_BOOL | FinishNR (Reservoir &rs, OCPControl &ctrl) |
Finish a Newton-Raphson iteration. | |
void | FinishStep (Reservoir &rs, OCPControl &ctrl) |
Finish a time step. | |
Public Member Functions inherited from IsothermalMethod | |
void | InitRock (Bulk &bk) const |
void | CalRock (Bulk &bk) const |
Protected Member Functions | |
void | AllocateReservoir (Reservoir &rs) |
Allocate memory for reservoir. | |
void | AllocateLinearSystem (LinearSystem &ls, const Reservoir &rs, const OCPControl &ctrl) |
Allocate memory for linear system. | |
void | PassFlashValue (Bulk &bk, const OCP_USI &n) const |
Pass value needed for FIM from flash to bulk. | |
void | CalKrPc (Bulk &bk) const |
Calculate relative permeability and capillary pressure needed for FIM. | |
void | CalRes (Reservoir &rs, const OCP_DBL &dt, const OCP_BOOL &resetRes0) const |
Calculate residual. | |
void | AssembleMatWells (LinearSystem &ls, const Reservoir &rs, const OCP_DBL &dt) const |
Assemble linear system for wells. | |
void | AssembleMatWellsNew (LinearSystem &ls, const Reservoir &rs, const OCP_DBL &dt) const |
void | ResetToLastTimeStep (Reservoir &rs, OCPControl &ctrl) |
Reset variables to last time step. | |
void | UpdateLastTimeStep (Reservoir &rs) const |
Update values of last step for FIM. | |
IsoT_FIM is FIM (Fully Implicit Method).
Definition at line 98 of file OCPFluidMethod.hpp.