Go to the documentation of this file.
94 #ifndef meanVelocityForce_H
95 #define meanVelocityForce_H
113 class meanVelocityForce
115 public fv::cellSetOption
137 autoPtr<volScalarField>
rAPtr_;
164 const word& sourceName,
volVectorField gradP(fvc::grad(p))
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
meanVelocityForce(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
autoPtr< volScalarField > rAPtr_
void writeProps(const scalar gradP) const
void update(fvMatrix< vector > &eqn)
virtual bool read(const dictionary &dict)
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
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.
Vector< scalar > vector
A scalar version of the templated Vector.
virtual ~meanVelocityForce()=default
TypeName("meanVelocityForce")
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Applies the force within a specified region to maintain the specified mean velocity for incompressibl...
const fvMesh & mesh() const noexcept
virtual void constrain(fvMatrix< vector > &eqn, const label fieldi)
virtual scalar magUbarAve(const volVectorField &U) const
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Generic GeometricField class.
void operator=(const meanVelocityForce &)=delete
virtual void correct(volVectorField &U)