OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
Properties and operations on connections between bulks (active grids). More...
#include <BulkConn.hpp>
Public Member Functions | |
void | PrintConnectionInfo (const Grid &myGrid) const |
Print information of connections on screen. | |
void | PrintConnectionInfoCoor (const Grid &myGrid) const |
void | SetupIsoT (const Grid &myGrid, const Bulk &myBulk) |
Setup active connections. | |
void | Setup (const Grid &myGrid) |
It should be called after Grid and Bulk Setup. | |
void | CalAkd (const Bulk &myBulk) |
Calculate the effective area used for flow. | |
OCP_USI | GetBulkNum () const |
Return number of bulks. | |
const auto & | GetNeighborNum () const |
void | CalFluxFIMS (const Grid &myGrid, const Bulk &myBulk) |
rho = (S1*rho1 + S2*rho2)/(S1+S2) | |
void | CalResFIMS (vector< OCP_DBL > &res, const Bulk &myBulk, const OCP_DBL &dt) |
Protected Attributes | |
OCP_USI | numBulk |
Number of bulks (active grid cells). | |
OCP_USI | numConn |
Number of connections between bulks. | |
vector< vector< OCP_USI > > | neighbor |
Neighboring information of each bulk: activeGridNum. | |
vector< USI > | selfPtr |
Self-pointer, the indices of the i-th bulk in neighbor[i]: numBulk. | |
vector< USI > | neighborNum |
Number of neighbors of the i-th bulk: numBulk, self-included. | |
vector< BulkPair > | iteratorConn |
All connections (pair of indices) between bulks: numConn. | |
vector< OCP_USI > | upblock |
Index of upwinding bulk of connections : numConn * numPhase. | |
vector< OCP_DBL > | upblock_Rho |
Mass density of phase from upblock: numConn * numPhase. | |
vector< OCP_DBL > | upblock_Trans |
Transmissibility of phase from upblock: numConn * numPhase. | |
vector< OCP_DBL > | upblock_Velocity |
vector< OCP_DBL > | Adkt |
Thermal conductivity between neighbors. | |
vector< OCP_USI > | lupblock |
last upblock | |
vector< OCP_DBL > | lupblock_Rho |
last upblock_Rho | |
vector< OCP_DBL > | lupblock_Trans |
last upblock_Trans | |
vector< OCP_DBL > | lupblock_Velocity |
last upblock_Velocity | |
vector< OCP_DBL > | lAdkt |
last Adkt | |
vector< OCP_DBL > | AdktP |
d Adkt / d P, order: connections -> bId.P -> eId.P | |
vector< OCP_DBL > | AdktT |
d Adkt / d T, order: connections -> bId.T -> eId.T | |
vector< OCP_DBL > | AdktS |
d Adkt / d S, order: connections -> bId.phase -> eId.phase | |
vector< OCP_DBL > | lAdktP |
last AdktP | |
vector< OCP_DBL > | lAdktT |
last AdktT | |
vector< OCP_DBL > | lAdktS |
last AdktS | |
Friends | |
class | Reservoir |
class | MyMetisTest |
class | Out4VTK |
class | IsoT_FIM |
class | IsoT_IMPEC |
class | IsoT_AIMc |
class | IsoT_FIMn |
class | T_FIM |
Properties and operations on connections between bulks (active grids).
Definition at line 70 of file BulkConn.hpp.
|
protected |
Volume flow rate of phase from upblock: numConn * numsPhase.
Definition at line 138 of file BulkConn.hpp.