37 namespace functionObjects
56 writeFile(obr_,
name, valueType,
dict),
virtual bool execute()
Execute.
defineTypeNameAndDebug(ObukhovLength, 0)
dictionary dict_
Construction dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
constexpr char nl
The newline '\n' character (0x0a)
virtual bool read(const dictionary &dict)
Read from dictionary.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
const dictionary & dict() const noexcept
Return the reference to the construction dictionary.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
fieldValue(const word &name, const Time &runTime, const dictionary &dict, const word &valueType)
Construct from Time and dictionary.
A class for handling words, derived from Foam::string.
scalar scaleFactor_
Scaling factor.
wordList fields_
Names of operand fields.
virtual bool read(const dictionary &dict)
Read.
bool writeFields_
Flag to output field values.
defineRunTimeSelectionTable(fieldValue, runTime)
virtual bool read(const dictionary &dict)
Read optional controls.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T, or return the given default value. FatalIOError if it is found and the number of...
Registry of regIOobjects.
Base class for writing single files from the function objects.
virtual bool write()
Write.