34 namespace functionObjects
110 scalar deltaT = maxDeltaTPtr_().value(time_.value());
117 const scalar
maxCo = maxCoPtr_().value(time_.value());
Macros for easy insertion into run-time selection tables.
static autoPtr< Function1< Type > > New(const word &name, const Function1s::unitConversions &units, const dictionary &dict)
Select from dictionary.
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.
Returns the maximum time-step evaluated from time-dependent maximum Courant number and maximum time-s...
virtual scalar maxDeltaT() const
Return the maximum time-step for stable operation.
fluidMaxDeltaT(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Write the time step value.
virtual ~fluidMaxDeltaT()
Destructor.
virtual bool read(const dictionary &)
Read the controls.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual bool read(const dictionary &)
Read optional controls.
Base solver module for fluid solvers.
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)