OpenCAEPoro  v0.5.0
A simulator for multicomponent porous media flow
Public Member Functions | Public Attributes | List of all members
OCPRes Class Reference

Public Member Functions

void Setup_IsoT (const OCP_USI &nb, const OCP_USI &nw, const OCP_USI &nc)
 
void SetupT (const OCP_USI &nb, const OCP_USI &nw, const OCP_USI &nc)
 
void SetZero ()
 
void SetInitRes ()
 

Public Attributes

vector< OCP_DBLresAbs
 residual for all equations for each bulk
 
vector< OCP_DBLresRelV
 
vector< OCP_DBLresRelN
 
vector< OCP_DBLresRelE
 
OCP_DBL maxRelRes0_V
 
OCP_DBL maxRelRes_V
 
OCP_DBL maxRelRes_N
 maximum relative residual wrt. total moles for each bulk
 
OCP_DBL maxRelRes_E
 maximum relative residual wrt. total energy for each bulk
 
OCP_DBL maxWellRelRes_mol
 maximum relative residual wrt. total moles for each well
 
OCP_INT maxId_V
 index of bulk who has maxRelRes_V
 
OCP_INT maxId_N
 index of bulk who has maxRelRes_N
 
OCP_INT maxId_E
 index of bulk who has maxRelRes_E
 

Detailed Description

Definition at line 23 of file OCPStructure.hpp.

Member Data Documentation

◆ maxRelRes0_V

OCP_DBL OCPRes::maxRelRes0_V

(initial) maximum relative residual wrt. pore volume for each bulk

Definition at line 64 of file OCPStructure.hpp.

◆ maxRelRes_V

OCP_DBL OCPRes::maxRelRes_V

(iterations) maximum relative residual wrt. pore volume for each bulk

Definition at line 66 of file OCPStructure.hpp.

◆ resRelE

vector<OCP_DBL> OCPRes::resRelE

2-norm of relative residual wrt. total energy for energy conserve equations of each bulk

Definition at line 62 of file OCPStructure.hpp.

◆ resRelN

vector<OCP_DBL> OCPRes::resRelN

2-norm of relative residual wrt. total moles for mass conserve equations of each bulk

Definition at line 60 of file OCPStructure.hpp.

◆ resRelV

vector<OCP_DBL> OCPRes::resRelV

2-norm of relative residual wrt. pore volume for all equations of each bulk

Definition at line 58 of file OCPStructure.hpp.


The documentation for this class was generated from the following file: