51 const fvMesh* meshptr = isA<fvMesh>(
p.boundaryMesh().mesh());
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()));
virtual void initMovePoints()
Initialise the patches for moving points.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const scalarField & magSf() const
Return face area magnitudes, like the fvMesh::magSf() method.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static const fvPatch & lookupPatch(const polyPatch &p)
Lookup the polyPatch index on corresponding fvMesh.
tmp< vectorField > nf() const
Return face unit normals, like the fvMesh::unitSf() method Same as unitSf().
constexpr char nl
The newline '\n' character (0x0a)
virtual ~fvPatch()
Destructor.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface...
virtual void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
bool found(const T &val, label pos=0) const
Same as contains()
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Macros for easy insertion into run-time selection tables.
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
tmp< vectorField > unitSf() const
Return face unit normals, like the fvMesh::unitSf() method. Same as nf().
A class for handling words, derived from Foam::string.
virtual const labelUList & faceCells() const
Return faceCells.
const scalarField & weights() const
Return patch weighting factors.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
const vectorField & Cf() const
Return face centres.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
static bool constraintType(const word &patchType)
Return true if the given type is a constraint type.
const vectorField & Sf() const
Return face area vectors, like the fvMesh::Sf() method.
const scalarField & deltaCoeffs() const
Return the face - cell distance coefficient except for coupled patches for which the cell-centre to c...
tmp< vectorField > Cn() const
Return neighbour cell centres.
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
const bMesh & mesh() const
A class for managing temporary objects.
A patch is a list of labels that address the faces in the global face list.
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 movePoints()
Correct patches after moving points.
forAllConstIters(mixture.phases(), phase)
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
static wordList constraintTypes()
Return a list of all the constraint patch types.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.