Go to the documentation of this file.
55 #ifndef velocityDampingConstraint_H
56 #define velocityDampingConstraint_H
103 TypeName(
"velocityDampingConstraint");
112 const word& modelType,
A class for handling words, derived from string.
Cell-set options abtract base class. Provides a base set of controls, e.g.
const word & name() const
Return const access to the source name.
velocityDampingConstraint(const velocityDampingConstraint &)
Disallow default bitwise copy construct.
TypeName("velocityDampingConstraint")
Runtime type information.
void operator=(const velocityDampingConstraint &)
Disallow default bitwise assignment.
void addDamping(fvMatrix< vector > &eqn)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void writeData(Ostream &) const
Write data.
scalar UMax_
Maximum velocity.
Constraint for velocity to dampen velocity fluctuations in steady simulations.
virtual bool read(const dictionary &dict)
Read dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
virtual ~velocityDampingConstraint()
Destructor.
virtual void constrain(fvMatrix< vector > &eqn, const label fieldI)
Constrain vector matrix.
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....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...