56 <<
"The polyPatch is not attached to a base fvMesh" <<
nl
94 const auto& cnstrTable = *polyPatchConstructorTablePtr_;
102 if (constraintType(iter.key()))
104 cTypes[i++] = iter.key();
116 return polyPatch_.faceCells();
160 return nHat*(nHat & (
Cf() -
Cn()));
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void resize(const label len)
Adjust allocated size of list.
bool found(const T &val, label pos=0) const
Same as contains().
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
const bMesh & mesh() const
A fvBoundaryMesh is a fvPatch list with a reference to the associated fvMesh, with additional search ...
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
static wordList constraintTypes()
Return a list of all the constraint patch types.
virtual ~fvPatch()
Destructor.
static const fvPatch & lookupPatch(const polyPatch &p)
Lookup the polyPatch index on corresponding fvMesh.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.
virtual void movePoints()
Correct patches after moving points.
tmp< vectorField > Cn() const
Return neighbour cell centres.
label index() const noexcept
The index of this patch in the boundary mesh.
const fvBoundaryMesh & boundaryMesh() const noexcept
Return boundaryMesh reference.
virtual tmp< vectorField > delta() const
Return cell-centre to face-centre vector except for coupled patches for which the cell-centre to coup...
virtual void initMovePoints()
Initialise the patches for moving points.
virtual void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
const scalarField & magSf() const
Return face area magnitudes, like the fvMesh::magSf() method.
const scalarField & weights() const
Return patch weighting factors.
friend class fvBoundaryMesh
tmp< vectorField > unitSf() const
Return face unit normals, like the fvMesh::unitSf() method. Same as nf().
tmp< vectorField > nf() const
Return face unit normals, like the fvMesh::unitSf() method Same as unitSf().
const vectorField & Cf() const
Return face centres.
void patchInternalField(const UList< Type > &internalData, const labelUList &addressing, UList< Type > &pfld) const
Extract internal field next to patch using specified addressing.
const scalarField & deltaCoeffs() const
Return the face - cell distance coefficient except for coupled patches for which the cell-centre to c...
const vectorField & Sf() const
Return face area vectors, like the fvMesh::Sf() method.
static bool constraintType(const word &patchType)
Return true if the given type is a constraint type.
virtual const labelUList & faceCells() const
Return faceCells.
A patch is a list of labels that address the faces in the global face list.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< word > wordList
List of word.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
Field< vector > vectorField
Specialisation of Field<T> for vector.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)
UList< label > labelUList
A UList of labels.
constexpr char nl
The newline '\n' character (0x0a).
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.