37namespace functionObjects
88 calculatedFvPatchScalarField::typeName
92 <<
" writing cell-volumes field " <<
C.name()
93 <<
" to " << time_.timeName() <<
endl;
110 mesh_.C().component(i)
113 Log <<
" Writing the "
115 <<
" component field of the cell-centres " << Ci.
name()
116 <<
" to " << time_.timeName() <<
endl;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Graphite solid properties.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
Return the object name.
virtual bool read()
Re-read model coefficients if they have changed.
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 a number of values (eg,...
Abstract base-class for Time/database function objects.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Writes the cell-centres volVectorField and the three component fields as volScalarFields.
virtual bool execute()
Do nothing.
virtual bool write()
Write the cell-centre fields.
virtual bool read(const dictionary &)
Read the cell-centre rate data.
static const char *const componentNames[]
static constexpr direction nComponents
Number of components in bool is 1.
virtual bool write(const bool valid=true) const
Write using setting from DB.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
constexpr char nl
The newline '\n' character (0x0a)