49 const word& sourceName,
50 const word& modelType,
56 patch_(coeffs_.get<
word>(
"patch")),
62 <<
"Cannot find patch " <<
patch_
80 (flowDir_ &
U.boundaryField()[patchi_])
81 * mesh_.boundary()[patchi_].magSf()
83 sumAmagUsumA[1] +=
sum(mesh_.boundary()[patchi_].magSf());
102 (flowDir_ &
U.boundaryField()[patchi])
103 * mesh_.boundary()[patchi].magSf()
105 sumAmagUsumA[1] +=
sum(mesh_.boundary()[patchi].magSf());
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A 1D vector of objects of type <T> with a fixed length <N>.
static bool & parRun() noexcept
Test if this a parallel run.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Applies the force within a specified region to maintain the specified mean velocity for incompressibl...
Base abstract class for handling finite volume options (i.e. fvOption).
Applies the force over the specified patch to maintain the specified mean velocity for incompressible...
label patchi_
Patch index.
word patch_
Name of operand patch.
virtual scalar magUbarAve(const volVectorField &U) const
const labelHashSet & patchIDs() const
Return the patchIDs.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const polyBoundaryMesh & patches
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
dimensionedScalar stabilise(const dimensionedScalar &x, const dimensionedScalar &y)
static constexpr const zero Zero
Global zero (0)
errorManipArg< error, int > exit(error &err, const int errNo=1)