34 namespace functionObjects
91 Log <<
" Writing cell-volumes field " << V.
name()
92 <<
" to " << time_.name() <<
endl;
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
Internal & internalFieldRef()
Return a reference to the dimensioned internal field.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
This boundary condition is not designed to be evaluated; it is assumed that the value is assigned via...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual bool read(const dictionary &)
Read optional controls.
Writes the cell-volumes volScalarField.
virtual ~writeCellVolumes()
Destructor.
writeCellVolumes(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool execute()
Do nothing.
virtual bool write()
Write the cell-centre fields.
virtual bool write(const bool write=true) const
Write using setting from DB.
A class for handling words, derived from string.
#define Log
Report write to Foam::Info if the local log switch is true.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.