76#ifndef patchMeanVelocityForce_H
77#define patchMeanVelocityForce_H
125 const word& sourceName,
126 const word& modelType,
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...
meanVelocityForce(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
Applies the force over the specified patch to maintain the specified mean velocity for incompressible...
void operator=(const patchMeanVelocityForce &)=delete
No copy assignment.
label patchi_
Patch index.
patchMeanVelocityForce(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
~patchMeanVelocityForce()=default
Destructor.
TypeName("patchMeanVelocityForce")
Runtime type information.
word patch_
Name of operand patch.
virtual scalar magUbarAve(const volVectorField &U) const
Calculate and return the magnitude of the mean velocity averaged over the specified patch.
patchMeanVelocityForce(const patchMeanVelocityForce &)=delete
No copy construct.
A class for handling words, derived from Foam::string.
Namespace for finite-volume.
GeometricField< vector, fvPatchField, volMesh > volVectorField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.