37 namespace functionObjects
97 <<
" writing cell-volumes field " << V.name()
98 <<
" to " << time_.timeName() <<
endl;
defineTypeNameAndDebug(ObukhovLength, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool write()
Write the cell-volume fields.
Ignore writing from objectRegistry::writeObject()
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
virtual bool read(const dictionary &)
Read the cell-volume data.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
virtual bool execute()
Do nothing.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
static const word & calculatedType() noexcept
The type name for calculated patch fields.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
virtual bool read(const dictionary &dict)
Read optional controls.
writeCellVolumes(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Do not request registration (bool: false)
static constexpr const zero Zero
Global zero (0)