![]() |
OpenCAEPoro
0.2.0 Sep/22/2022
A simulator for multicomponent porous media flow
|
Basic information of computational grid, including the rock properties. More...
#include <Grid.hpp>
Public Member Functions | |
| Grid ()=default | |
| Default constructor. | |
| void | InputParam (const ParamReservoir &rs_param) |
| Input parameters from the internal param structure. | |
| void | Setup () |
| Setup the grid information and calculate the properties. | |
| void | SetupOrthogonalGrid () |
| Setup an orthogonal grid. | |
| void | SetupNeighborOrthogonalGrid () |
| Setup the neighboring info for an orthogonal grid. | |
| OCP_DBL | CalAkdOrthogonalGrid (const OCP_USI &bId, const OCP_USI &eId, const USI &direction) |
| Calculate Akd for an orthogonal grid. | |
| void | CalDepthVOrthogonalGrid () |
| Calculate the depth and volume for an orthogonal grid. | |
| void | SetupCornerGrid () |
| Setup a corner-point grid. | |
| void | SetupNeighborCornerGrid (const COORD &CoTmp) |
| Setup the neighboring info for a corner-point grid. | |
| OCP_DBL | CalAkdCornerGrid (const GeneralConnect &conn) |
| Calculate Akd for a corner-point grid. | |
| void | CalActiveGrid (const OCP_DBL &e1, const OCP_DBL &e2) |
| Calculate the activeness of grid cells. More... | |
| const GB_Pair & | MapG2B (const OCP_USI &i) const |
| Mapping from grid cells to bulks (active cells). | |
| OCP_USI | GetGridNx () const |
| Return nx of grid cell. | |
| OCP_USI | GetGridNy () const |
| Return ny of grid cell. | |
| OCP_USI | GetGridNz () const |
| Return nz of grid cell. | |
| OCP_USI | GetGridNum () const |
| Return the num of grid cells. | |
| OCP_USI | GetConnNum () const |
| Return the num of connections. | |
| OCP_USI | GetActiveGridNum () const |
| Return the num of bulks (active cells). | |
| OCP_USI | GetActIndex (const USI &i, const USI &j, const USI &k) const |
| Return the index of active cell (i, j, k). More... | |
| void | GetIJKGrid (USI &i, USI &j, USI &k, const OCP_USI &n) const |
| Return the 3D coordinate for object grid with Grid index. | |
| void | GetIJKBulk (USI &i, USI &j, USI &k, const OCP_USI &n) const |
| Return the 3D coordinate for object grid with bulk(active grids) index. | |
| void | CalSomeInfo () const |
| void | CalNumDigutIJK () |
| only used in Structural grid | |
| USI | GetNumDigitIJK () const |
Friends | |
| class | Bulk |
| class | BulkConn |
| class | Well |
Basic information of computational grid, including the rock properties.