Go to the documentation of this file.
40 patchMeanVelocityForce,
51 const word& sourceName,
52 const word& modelType,
58 patch_(coeffs_.lookup(
"patch")),
59 patchi_(
mesh.boundaryMesh().findPatchID(patch_))
64 <<
"Cannot find patch " << patch_
80 (flowDir_ &
U.boundaryField()[patchi_])
81 *mesh_.boundary()[patchi_].magSf()
82 )/
gSum(mesh_.boundary()[patchi_].magSf());
A class for handling words, derived from string.
virtual scalar magUbarAve(const volVectorField &U) const
Calculate and return the magnitude of the mean velocity.
Type gSum(const FieldField< Field, Type > &f)
A list of keyword definitions, which are a keyword followed by any number of values (e....
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)
defineTypeNameAndDebug(option, 0)
Calculates and applies the force necessary to maintain the specified mean velocity.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
Generic GeometricField class.
patchMeanVelocityForce(const patchMeanVelocityForce &)
Disallow default bitwise copy construct.