129#ifndef Foam_functionObjects_setFlow_H
130#define Foam_functionObjects_setFlow_H
165 static const Enum<modeType> modeTypeNames;
186 autoPtr<Function1<scalar>> scalePtr_;
198 autoPtr<Function1<scalar>> omegaPtr_;
204 autoPtr<Function1<vector>> velocityPtr_;
249 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...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
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 name, Time and dictionary.
TypeName("setFlow")
Runtime type information.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
setFlow(const setFlow &)=delete
No copy construct.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function-object results.
virtual ~setFlow()=default
Destructor.
void operator=(const setFlow &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
GeometricField< vector, fvPatchField, volMesh > volVectorField
vector point
Point is a vector.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Forwards and collection of common volume field types.