OpenFOAM/PDRblock addressing information. More...
Public Member Functions | |
PDRmeshArrays ()=default | |
Default construct. More... | |
~PDRmeshArrays ()=default | |
Destructor. More... | |
label | nCells () const |
The number of cells. More... | |
label | nFaces () const |
The number of faces. More... | |
void | classify (const polyMesh &mesh, const PDRblock &pdrBlock) |
Determine i-j-k indices for faces/cells. More... | |
void | read (const Time &runTime, const PDRblock &pdrBlock) |
Read OpenFOAM mesh and determine i-j-k indices for faces/cells. More... | |
Public Attributes | |
labelVector | cellDims |
The cell i-j-k addressing range. More... | |
labelVector | faceDims |
The face i-j-k addressing range. More... | |
List< labelVector > | cellIndex |
For each cell, the corresponding i-j-k address. More... | |
List< labelVector > | faceIndex |
For each face, the corresponding i-j-k address. More... | |
List< direction > | faceOrient |
For each face, the x/y/z orientation. More... | |
Static Public Attributes | |
static scalar | gridPointRelTol |
Relative tolerance when matching grid points. Default = 0.02. More... | |
OpenFOAM/PDRblock addressing information.
Provides mapping for a rectilinear OpenFOAM mesh in terms of i-j-k indices for faces and cells.
The mesh points are first binned according to their i-j-k locations. Next the faces are classified according to their lowest x/y/z coordinates and the face orientation as x/y/z. Orientation in the sense +x or -x is not noted. The cell faces are then examined to determine the appropriate i-j-k location.
Definition at line 61 of file PDRmeshArrays.H.
|
default |
Default construct.
|
default |
Destructor.
|
inline |
The number of cells.
Definition at line 115 of file PDRmeshArrays.H.
References PDRmeshArrays::cellIndex.
|
inline |
The number of faces.
Definition at line 123 of file PDRmeshArrays.H.
References PDRmeshArrays::faceIndex.
Determine i-j-k indices for faces/cells.
Read OpenFOAM mesh and determine i-j-k indices for faces/cells.
|
static |
Relative tolerance when matching grid points. Default = 0.02.
Definition at line 68 of file PDRmeshArrays.H.
labelVector cellDims |
The cell i-j-k addressing range.
Definition at line 73 of file PDRmeshArrays.H.
labelVector faceDims |
The face i-j-k addressing range.
Definition at line 78 of file PDRmeshArrays.H.
List<labelVector> cellIndex |
For each cell, the corresponding i-j-k address.
Definition at line 83 of file PDRmeshArrays.H.
Referenced by PDRmeshArrays::nCells().
List<labelVector> faceIndex |
For each face, the corresponding i-j-k address.
Definition at line 88 of file PDRmeshArrays.H.
Referenced by PDRmeshArrays::nFaces().
For each face, the x/y/z orientation.
Definition at line 93 of file PDRmeshArrays.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.