33 namespace functionObjects
84 time_.controlDict().lookupOrDefault(
"adjustTimeStep",
false);
90 time_.userTimeToTime(timeStepPtr_().value(time_.userTimeValue()))
Macros for easy insertion into run-time selection tables.
static autoPtr< Function1< Type > > New(const word &name, const dictionary &dict)
Selector.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Updates the time step as a Function1 of time.
setTimeStepFunctionObject(const word &name, const Time &runTime, const dictionary &dict)
Construct from components.
virtual ~setTimeStepFunctionObject()
virtual bool execute()
Reset the timeStep from the Function1 of time.
virtual bool write()
Do nothing.
virtual bool read(const dictionary &)
Read and reset the timeStep Function1.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
void setDeltaT(Time &runTime, const PtrList< solver > &solvers)
Set the initial time-step according to the solver maxDeltaT.
word name(const complex &)
Return a string representation of a complex.