Go to the documentation of this file.
72 #ifndef velocityDampingConstraint_H
73 #define velocityDampingConstraint_H
120 TypeName(
"velocityDampingConstraint");
129 const word& modelType,
A class for handling words, derived from Foam::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.
TypeName("velocityDampingConstraint")
Runtime type information.
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.
scalar UMax_
Maximum velocity magnitude.
Constraint on velocity field to dampen velocity fluctuations.
virtual void writeData(Ostream &os) const
Write data.
virtual ~velocityDampingConstraint()=default
Destructor.
virtual bool read(const dictionary &dict)
Read dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
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,...