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
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
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.
meanVelocityForce(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
virtual bool movePoints()
Update for mesh motion.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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 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...
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
Class containing mesh-to-mesh mapping information.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
Calculates and applies the force necessary to maintain the specified mean velocity.
Finite volume options abstract base class.