interrogateWallPatches.H File Reference

Go to the source code of this file.

Functions

label faceId (-1)
 
label patchId (-1)
 
label nWallFaces (0)
 
vector wallNormal (Zero)
 
 forAll (patches, patchi)
 
 if (nWallFaces==0)
 
scalarField y (wallNormal &(mesh.C().primitiveField() - mesh.C().boundaryField()[patchId][faceId]))
 

Variables

const fvPatchList & patches = mesh.boundary()
 
 else
 
label cellId = patches[patchId].faceCells()[faceId]
 

Function Documentation

◆ faceId()

label faceId ( 1)

◆ patchId()

label patchId ( 1)

Referenced by forAll().

Here is the caller graph for this function:

◆ nWallFaces()

label nWallFaces ( )

Referenced by forAll(), cellDistFuncs::mesh(), and cellDistFuncs::smallestDist().

Here is the caller graph for this function:

◆ wallNormal()

vector wallNormal ( Zero  )

Referenced by forAll().

Here is the caller graph for this function:

◆ forAll()

forAll ( patches  ,
patchi   
)

Check that wall faces are parallel

Definition at line 10 of file interrogateWallPatches.H.

References Foam::exit(), faceId(), Foam::FatalError, FatalErrorInFunction, Foam::mag(), Foam::nl, nWallFaces(), patches, patchi, patchId(), vectorField(), and wallNormal().

Here is the call graph for this function:

◆ if()

if ( nWallFaces  = = 0)

Definition at line 55 of file interrogateWallPatches.H.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ y()

scalarField y ( wallNormal mesh.C().primitiveField() - mesh.C().boundaryField()[patchId][faceId])

Variable Documentation

◆ patches

const fvPatchList& patches = mesh.boundary()

Definition at line 8 of file interrogateWallPatches.H.

Referenced by forAll().

◆ else

else
Initial value:
{
Info<< "Generating wall data for patch: " << patches[patchId].name()
<< endl
const fvPatchList & patches
label patchId(-1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
messageStream Info

Definition at line 61 of file interrogateWallPatches.H.

◆ cellId