OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

hexBlock Class Reference

Hex block definition used in the cfx converter. More...

Collaboration diagram for hexBlock:

List of all members.


Public Member Functions

 hexBlock (const label nx, const label ny, const label nz)
 Construct from components.
label xDim () const
 Number of points.
label yDim () const
label zDim () const
label nBlockPoints () const
label nBlockCells () const
const pointField & points () const
 Return block points.
labelListList blockCells () const
 Return block cells.
faceList patchFaces (label direc, const labelList &range) const
 Return block patch faces given direction and range limits.
void readPoints (Istream &)
 Read block points.
 hexBlock (const label nx, const label ny, const label nz)
 Construct from components.
label xDim () const
 Number of points.
label yDim () const
label zDim () const
label nBlockPoints () const
label nBlockCells () const
const pointField & points () const
 Return block points.
labelListList blockCells () const
 Return block cells.
faceList patchFaces (label direc, const labelList &range) const
 Return block patch faces given direction and range limits.
void readPoints (const bool readBlank, const scalar twoDThicknes, Istream &)
 Read block points either with or without blanking after every block.

Detailed Description

Hex block definition used in the cfx converter.

Source files

Definition at line 46 of file hexBlock.H.


Constructor & Destructor Documentation

hexBlock ( const label  nx,
const label  ny,
const label  nz 
)

Construct from components.

hexBlock ( const label  nx,
const label  ny,
const label  nz 
)

Construct from components.


Member Function Documentation

label xDim (  )  const [inline]

Number of points.

Definition at line 92 of file hexBlock.H.

label yDim (  )  const [inline]

Definition at line 97 of file hexBlock.H.

label zDim (  )  const [inline]

Definition at line 102 of file hexBlock.H.

label nBlockPoints (  )  const [inline]

Definition at line 107 of file hexBlock.H.

label nBlockCells (  )  const [inline]

Definition at line 112 of file hexBlock.H.

const pointField& points (  )  const [inline]

Return block points.

Definition at line 118 of file hexBlock.H.

labelListList blockCells (  )  const

Return block cells.

faceList patchFaces ( label  direc,
const labelList &  range 
) const

Return block patch faces given direction and range limits.

From the cfx manual: direction 0 = solid (3-D patch), 1 = high i, 2 = high j, 3 = high k 4 = low i, 5 = low j, 6 = low k

void readPoints ( Istream &   ) 

Read block points.

label xDim (  )  const [inline]

Number of points.

Definition at line 90 of file hexBlock.H.

label yDim (  )  const [inline]

Definition at line 95 of file hexBlock.H.

label zDim (  )  const [inline]

Definition at line 100 of file hexBlock.H.

label nBlockPoints (  )  const [inline]

Definition at line 105 of file hexBlock.H.

label nBlockCells (  )  const [inline]

Definition at line 110 of file hexBlock.H.

const pointField& points (  )  const [inline]

Return block points.

Definition at line 116 of file hexBlock.H.

labelListList blockCells (  )  const

Return block cells.

faceList patchFaces ( label  direc,
const labelList &  range 
) const

Return block patch faces given direction and range limits.

From the cfx manual: direction 0 = solid (3-D patch), 1 = high i, 2 = high j, 3 = high k 4 = low i, 5 = low j, 6 = low k

void readPoints ( const bool  readBlank,
const scalar  twoDThicknes,
Istream &   
)

Read block points either with or without blanking after every block.

If twoDThickness > 0 reads (half) the points and extrudes the points in z direction.


The documentation for this class was generated from the following files:
  • applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.H
  • applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.H
Copyright © 2000-2009 OpenCFD Ltd