Go to the documentation of this file.
35 void Foam::nearWallDistNoSearch::doAll()
44 if (isA<wallFvPatch>(
patches[patchi]))
49 = cellCentres.boundaryField()[patchi];
57 forAll(patchCentres, facei)
64 - cellCentres[faceCells[facei]]
85 calculatedFvPatchScalarField::typeName
103 if (mesh_.changing())
106 forAll(mesh_.boundary(), patchi)
108 operator[](patchi).setSize(mesh_.boundary()[patchi].size());
fvPatchField< scalar > fvPatchScalarField
virtual void correct()
Correct for mesh geom/topo changes.
fvsPatchField< scalar > fvsPatchScalarField
virtual ~nearWallDistNoSearch()
Destructor.
#define forAll(list, i)
Loop across all elements in list.
PtrList< fvPatch > fvPatchList
container classes for fvPatch
fvsPatchField< vector > fvsPatchVectorField
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
const volVectorField & C() const
Return cell centres as volVectorField.
Mesh data needed to do the Finite Volume discretisation.
GeometricField< vector, fvPatchField, volMesh > volVectorField
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
fvPatchField< vector > fvPatchVectorField
const polyBoundaryMesh & patches
UList< label > labelUList
A UList of labels.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
const surfaceVectorField & Sf() const
Return cell face area vectors.