Go to the documentation of this file.
46 patchTransformedInterpolation,
90 patches_(getPatches(
entry))
143 const label cellI(
patch.faceCells()[pFaceI]);
148 const point& xOrigin(
patch.faceCentres()[pFaceI]);
156 const label pointI(
f[fPointI]);
159 const vector u(pointDisplacement[pointI] - uMean);
161 pointRotation[pointI] = 2*(r ^ u)/
magSqr(r);
162 pointExpansion[pointI] = (r & u)/
magSqr(r);
167 const scalar divMean(
f.average(
points, pointExpansion));
172 const label pointI(cPoints[cPointI]);
176 pointDisplacementNSum[pointI] += 1;
177 pointDisplacementSum[pointI] +=
178 uMean + (omegaMean ^ r) + (divMean*r);
186 pointDisplacementNSum,
194 pointDisplacementSum,
201 if (pointDisplacementNSum[pointI])
203 pointDisplacement[pointI] =
204 pointDisplacementSum[pointI]/pointDisplacementNSum[pointI];
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
A keyword and a list of tokens is an 'entry'.
List< label > labelList
A List of labels.
static constexpr const zero Zero
Global zero (0)
static const volPointInterpolation & New(const fvMesh &mesh, Args &&... args)
Get existing or create a new MeshObject.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate volField using inverse distance weighting.
#define forAll(list, i)
Loop across all elements in list.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
List< word > wordList
A List of words.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
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)
label findPatchID(const word &patchName, const bool allowNotFound=true) const
Find patch index given a name, return -1 if not found.
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
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 std::string patch
OpenFOAM patch number as a std::string.
const fvMesh & mesh() const
Return const-reference to the mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const polyBoundaryMesh & patches
const dimensionedScalar c
Speed of light in a vacuum.
static const Vector< scalar > zero
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.
defineTypeNameAndDebug(combustionModel, 0)
A cell is defined as a list of faces with extra functionality.