Go to the documentation of this file.
99 #ifndef functionObjects_solverInfo_H
100 #define functionObjects_solverInfo_H
110 namespace functionObjects
119 public fvMeshFunctionObject,
199 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool read(const dictionary &)
Read solverInfo settings.
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 solverInfo.
bool writeResidualFields_
Flag to write the initial-residual as a vol field.
TypeName("solverInfo")
Runtime type information.
wordHashSet residualFieldNames_
Names of (result) residual fields.
solverInfo(const solverInfo &)=delete
No copy construct.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
const word & name() const noexcept
Return the name of this functionObject.
void writeFileHeader(Ostream &os)
Output file header information.
bool initialised_
Initialisation flag.
virtual bool write()
Write solverInfo results.
virtual ~solverInfo()=default
Destructor.
solverFieldSelection fieldSet_
Names of operand fields.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
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 operator=(const solverInfo &)=delete
No copy assignment.
void createResidualField(const word &fieldName)
Create and store a residual field on the mesh database.