Go to the documentation of this file.
108 #ifndef functionObjects_continuityError_H
109 #define functionObjects_continuityError_H
119 namespace functionObjects
126 class continuityError
128 public fvMeshFunctionObject,
161 const dictionary&
dict
178 virtual bool read(
const dictionary&);
184 virtual bool write();
Computes local, global and cumulative continuity errors for a flux field.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
word phiName_
Name of flux field.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
void operator=(const continuityError &)=delete
No copy assignment.
virtual bool write()
Write the continuityError.
virtual bool execute()
Execute, currently does nothing.
continuityError(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual bool read(const dictionary &)
Read the field min/max data.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
scalar cumulative_
Cumulative error.
TypeName("continuityError")
Runtime type information.
virtual ~continuityError()=default
Destructor.
const word & name() const noexcept
Return the name of this functionObject.
virtual void writeFileHeader(Ostream &os)
Output file header information.
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,...