59 #ifndef functionObjects_timeControl_H 60 #define functionObjects_timeControl_H 70 namespace functionObjects
127 label nStepsToStartTimeChange_;
140 label executeTimeIndex_;
149 scalar seriesDTCoeff_;
162 static scalar calcExpansion
164 const scalar startRatio,
173 scalar& requiredDeltaTCoeff,
174 const scalar wantedDT,
176 const scalar presentTime,
177 const scalar timeToNextWrite,
178 const bool rampDirectionUp
234 virtual bool execute(
const label subIndex);
239 virtual bool write();
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static bool entriesPresent(const dictionary &dict)
Helper function to identify if a timeControl object is present.
static const Enum< controlMode > controlModeNames_
virtual bool execute()
Called at each ++ or += of the time-loop.
Wrapper around functionObjects to add time control.
const Foam::timeControl & executeControl() const
Return the execute control object.
Abstract base-class for Time/database function objects.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const word & name() const noexcept
Return the name of this functionObject.
virtual bool write()
Called at each ++ or += of the time-loop.
A class for handling words, derived from Foam::string.
TypeName("timeControl")
Runtime type information.
const functionObject & filter() const
Return the functionObject filter.
const dictionary & dict() const
Return the input dictionary.
virtual void updateMesh(const mapPolyMesh &mpm)
Update for changes of mesh.
virtual bool filesModified() const
Did any file get changed during execution?
virtual void movePoints(const polyMesh &mesh)
Update for changes of mesh.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual bool adjustTimeStep()
Called at the end of Time::adjustDeltaT() if adjustTime is true.
Mesh consisting of general polyhedral cells.
General time dependent execution controller. The execution parameters are given by the "Control" and ...
virtual bool read(const dictionary &)
Read and set the function object if its data have changed.
virtual bool end()
Called when Time::run() determines that the time-loop exits.
Virtual base class for function objects with a reference to Time.
const Foam::timeControl & writeControl() const
Return the write control object.