Go to the documentation of this file.
43 patchTransformedInterpolation,
62 mesh().boundaryMesh().findPatchID
87 patches_(getPatches(
entry))
138 const face&
f(patch[pFaceI]);
153 const label pointI(
f[fPointI]);
156 const vector u(pointDisplacement[pointI] - uMean);
158 pointRotation[pointI] = 2*(r ^ u)/
magSqr(r);
159 pointExpansion[pointI] = (r & u)/
magSqr(r);
164 const scalar divMean(
f.average(
points, pointExpansion));
169 const label pointI(cPoints[cPointI]);
173 pointDisplacementNSum[pointI] += 1;
174 pointDisplacementSum[pointI] +=
175 uMean + (omegaMean ^ r) + (divMean*r);
183 pointDisplacementNSum,
191 pointDisplacementSum,
198 if (pointDisplacementNSum[pointI])
200 pointDisplacement[pointI] =
201 pointDisplacementSum[pointI]/pointDisplacementNSum[pointI];
A keyword and a list of tokens is an 'entry'.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
static const volPointInterpolation & New(const fvMesh &mesh)
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
wordList patchNames(nPatches)
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
const labelUList & faceCells() const
Return face-cell addressing.
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate volField using inverse distance weighting.
errorManipArg< error, int > exit(error &err, const int errNo=1)
void correctBoundaryConditions()
Correct boundary field.
Base class for interpolation of cell displacement fields, generated by fvMotionSolvers,...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const vectorField::subField faceCentres() const
Return face centres.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const dimensionedScalar c
Speed of light in a vacuum.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
A face is a list of labels corresponding to mesh vertices.
Generic GeometricField class.
defineTypeNameAndDebug(combustionModel, 0)
A cell is defined as a list of faces with extra functionality.
dimensioned< scalar > magSqr(const dimensioned< Type > &)