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

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< USIselfPtr
 Self-pointer, the indices of the i-th bulk in neighbor[i]: numBulk.
 
vector< USIneighborNum
 Number of neighbors of the i-th bulk: numBulk, self-included.
 
vector< BulkPairiteratorConn
 All connections (pair of indices) between bulks: numConn.
 
vector< OCP_USIupblock
 Index of upwinding bulk of connections : numConn * numPhase.
 
vector< OCP_DBLupblock_Rho
 Mass density of phase from upblock: numConn * numPhase.
 
vector< OCP_DBLupblock_Trans
 Transmissibility of phase from upblock: numConn * numPhase.
 
vector< OCP_DBLupblock_Velocity
 
vector< OCP_DBLAdkt
 Thermal conductivity between neighbors.
 
vector< OCP_USIlupblock
 last upblock
 
vector< OCP_DBLlupblock_Rho
 last upblock_Rho
 
vector< OCP_DBLlupblock_Trans
 last upblock_Trans
 
vector< OCP_DBLlupblock_Velocity
 last upblock_Velocity
 
vector< OCP_DBLlAdkt
 last Adkt
 
vector< OCP_DBLAdktP
 d Adkt / d P, order: connections -> bId.P -> eId.P
 
vector< OCP_DBLAdktT
 d Adkt / d T, order: connections -> bId.T -> eId.T
 
vector< OCP_DBLAdktS
 d Adkt / d S, order: connections -> bId.phase -> eId.phase
 
vector< OCP_DBLlAdktP
 last AdktP
 
vector< OCP_DBLlAdktT
 last AdktT
 
vector< OCP_DBLlAdktS
 last AdktS
 

Friends

class Reservoir
 
class MyMetisTest
 
class Out4VTK
 
class IsoT_FIM
 
class IsoT_IMPEC
 
class IsoT_AIMc
 
class IsoT_FIMn
 
class T_FIM
 

Detailed Description

Properties and operations on connections between bulks (active grids).

Definition at line 70 of file BulkConn.hpp.

Member Data Documentation

◆ upblock_Velocity

vector<OCP_DBL> BulkConn::upblock_Velocity
protected

Volume flow rate of phase from upblock: numConn * numsPhase.

Definition at line 138 of file BulkConn.hpp.


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