Go to the documentation of this file.
137 #ifndef functionObjects_setFlow_H
138 #define functionObjects_setFlow_H
150 namespace functionObjects
159 public fvMeshFunctionObject
173 static const Enum<modeType> modeTypeNames;
194 autoPtr<Function1<scalar>> scalePtr_;
206 autoPtr<Function1<scalar>> omegaPtr_;
212 autoPtr<Function1<vector>> velocityPtr_;
234 const dictionary&
dict
251 virtual bool read(
const dictionary&
dict);
257 virtual bool write();
virtual bool read(const dictionary &dict)
Read the setFlow data.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
setFlow(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Provides options to set the velocity and flux fields as a function of time.
virtual bool execute()
Do nothing.
virtual bool write()
Calculate the setFlow and write.
TypeName("setFlow")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
GeometricField< vector, fvPatchField, volMesh > volVectorField
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const noexcept
Return the name of this functionObject.
virtual ~setFlow()=default
Destructor.
void operator=(const setFlow &)=delete
No copy assignment.
vector point
Point is a vector.
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.