100#ifndef Foam_functionObjects_continuityError_H
101#define Foam_functionObjects_continuityError_H
176 virtual bool write();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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,...
const word & name() const noexcept
Return the name of this functionObject.
Computes local, global and cumulative continuity errors for a flux field.
virtual ~continuityError()=default
Destructor.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
continuityError(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
word phiName_
Name of flux field.
scalar cumulative_
Cumulative error.
virtual void writeFileHeader(Ostream &os)
Output file header information.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function-object results.
void operator=(const continuityError &)=delete
No copy assignment.
continuityError(const continuityError &)=delete
No copy construct.
TypeName("continuityError")
Runtime type information.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Base class for writing single files from the function objects.
writeFile(const objectRegistry &obr, const fileName &prefix, const word &name="undefined", const bool writeToFile=true, const string &ext=".dat")
Construct from objectRegistry, prefix, fileName.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.