Go to the documentation of this file.
78 #ifndef functionObjects_solverInfo_H
79 #define functionObjects_solverInfo_H
89 namespace functionObjects
98 public fvMeshFunctionObject,
180 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool read(const dictionary &)
Read the controls.
A class for handling words, derived from Foam::string.
A class for handling file names.
void initialiseResidualField(const word &fieldName)
Initialise a residual field.
void updateSolverInfo(const word &fieldName)
Calculate the solver information.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Writes solver information for a list of user-specified fields.
virtual bool execute()
Execute, currently does nothing.
bool writeResidualFields_
Flag to write the residual as a vol field.
TypeName("solverInfo")
Runtime type information.
wordHashSet residualFieldNames_
Names of (result) residual fields.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void writeFileHeader(Ostream &os)
Output file header information.
bool initialised_
Initialisation flag.
const word & name() const
Return the name of this functionObject.
virtual bool write()
Write the solverInfo.
virtual ~solverInfo()=default
Destructor.
solverFieldSelection fieldSet_
Fields to process.
HashSet< word > wordHashSet
A HashSet with word keys.
Base class for writing single files from the function objects.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void createResidualField(const word &fieldName)
Create and store a residual field on the mesh database.