34 namespace functionObjects
85 calculatedFvPatchScalarField::typeName
88 Log <<
" Writing cell-centre field " <<
C.name()
89 <<
" to " << time_.name() <<
endl;
106 mesh_.C().component(i)
109 Log <<
" Writing the "
111 <<
" component field of the cell-centres " << Ci.
name()
112 <<
" to " << time_.name() <<
endl;
static const Foam::dimensionedScalar C("C", Foam::dimTemperature, 234.5)
Macros for easy insertion into run-time selection tables.
Graphite solid properties.
virtual void write(Ostream &os) const
Write the function coefficients.
Generic GeometricField class.
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.
static const char *const componentNames[]
static const direction nComponents
Number of components in this vector space.
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-centres volVectorField and the three component fields as volScalarFields.
virtual ~writeCellCentres()
Destructor.
writeCellCentres(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.