Go to the documentation of this file.
51 const fvMesh* meshptr = isA<fvMesh>(
p.boundaryMesh().mesh());
56 <<
"The polyPatch is not attached to a base fvMesh" <<
nl
93 const auto& cnstrTable = *polyPatchConstructorTablePtr_;
101 if (constraintType(iter.key()))
103 cTypes[i++] = iter.key();
115 return polyPatch_.faceCells();
128 auto& cc = tcc.ref();
166 return nHat*(nHat & (Cf() - Cn()));
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const bMesh & mesh() const
const vectorField & Sf() const
Return face area vectors.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual ~fvPatch()
Destructor.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual tmp< vectorField > delta() const
virtual void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.
virtual void movePoints()
Correct patches after moving points.
#define forAll(list, i)
Loop across all elements in list.
static const fvPatch & lookupPatch(const polyPatch &p)
Lookup the polyPatch index on corresponding fvMesh.
tmp< vectorField > nf() const
Return face normals.
A patch is a list of labels that address the faces in the global face list.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void initMovePoints()
Initialise the patches for moving points.
static bool constraintType(const word &pt)
Return true if the given type is a constraint type.
const vectorField & Cf() const
Return face centres.
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
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)
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
forAllConstIters(mixture.phases(), phase)
const scalarField & weights() const
Return patch weighting factors.
const scalarField & deltaCoeffs() const
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
virtual const labelUList & faceCells() const
Return faceCells.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
const scalarField & magSf() const
Return face area magnitudes.
defineTypeNameAndDebug(combustionModel, 0)
Smooth ATC in cells next to a set of patches supplied by type.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
static wordList constraintTypes()
Return a list of all the constraint patch types.
tmp< vectorField > Cn() const
Return neighbour cell centres.