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