137#ifndef functionObjects_setFlow_H
138#define functionObjects_setFlow_H
150namespace 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
238 setFlow(
const setFlow&) =
delete;
251 virtual bool read(
const dictionary&
dict);
257 virtual bool write();
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
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.
setFlow(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
TypeName("setFlow")
Runtime type information.
virtual bool read(const dictionary &dict)
Read the setFlow data.
setFlow(const setFlow &)=delete
No copy construct.
virtual bool execute()
Do nothing.
virtual bool write()
Calculate the setFlow and write.
virtual ~setFlow()=default
Destructor.
void operator=(const setFlow &)=delete
No copy assignment.
Tensor of scalars, i.e. Tensor<scalar>.
A class for handling words, derived from Foam::string.
GeometricField< vector, fvPatchField, volMesh > volVectorField
vector point
Point is a vector.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.