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
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
General run-time selected cell set selection class for fvMesh.
Finite volume options abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Calculates and applies the force necessary to maintain the specified mean velocity.
virtual bool movePoints()
Update for mesh motion.
void operator=(const meanVelocityForce &)=delete
Disallow default bitwise assignment.
TypeName("meanVelocityForce")
Runtime type information.
virtual bool constrain(fvMatrix< vector > &eqn, const word &fieldName) const
Add the momentum source and set the 1/A coefficient.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual bool read(const dictionary &dict)
Read source dictionary.
meanVelocityForce(const word &sourceName, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from explicit source name and mesh.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual wordList constrainedFields() const
Return the list of fields constrained by the fvConstraint.
const vector & Ubar() const
Return the average velocity.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
dimensionedVector gradP("gradP", dimensionSet(0, 1, -2, 0, 0), Zero)