55 #ifndef meanVelocityForce_H 56 #define meanVelocityForce_H 91 mutable scalar gradP0_;
94 mutable scalar dGradP_;
110 void writeProps(
const scalar
gradP)
const;
127 const word& sourceName,
128 const word& modelType,
152 const word& fieldName
const fvMesh & mesh() const
Return const access to the mesh database.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Cell-set fvConstraint abstract base class. Provides a base set of controls regarding the location whe...
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual bool constrain(fvMatrix< vector > &eqn, const word &fieldName) const
Add the momentum source and set the 1/A coefficient.
dimensionedVector gradP("gradP", dimensionSet(0, 1, -2, 0, 0), Zero)
void operator=(const meanVelocityForce &)=delete
Disallow default bitwise assignment.
const vector & Ubar() const
Return the average velocity.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
meanVelocityForce(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
A class for handling words, derived from string.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
virtual wordList constrainedFields() const
Return the list of fields constrained by the fvConstraint.
TypeName("meanVelocityForce")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Calculates and applies the force necessary to maintain the specified mean velocity.
Finite volume options abstract base class.