76 #ifndef patchMeanVelocityForce_H 77 #define patchMeanVelocityForce_H 92 class patchMeanVelocityForce
94 public meanVelocityForce
125 const word& sourceName,
126 const word& modelType,
patchMeanVelocityForce(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
Applies the force over the specified patch to maintain the specified mean velocity for incompressible...
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void operator=(const patchMeanVelocityForce &)=delete
No copy assignment.
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...
A class for handling words, derived from Foam::string.
TypeName("patchMeanVelocityForce")
Runtime type information.
label patchi_
Patch index.
~patchMeanVelocityForce()=default
Destructor.
Mesh data needed to do the Finite Volume discretisation.