85#ifndef Foam_functionObjects_momentumError_H
86#define Foam_functionObjects_momentumError_H
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Computes balance terms for the steady momentum equation.
word pName_
Name of pressure field.
word UName_
Name of velocity field.
void operator=(const momentumError &)=delete
No copy assignment.
TypeName("momentumError")
Runtime type information.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
word phiName_
Name of flux field.
virtual ~momentumError()=default
Destructor.
tmp< volVectorField > divDevRhoReff()
Return the effective viscous stress (laminar + turbulent).
momentumError(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
momentumError(const momentumError &)=delete
No copy construct.
void calcMomentError()
Calculate the momentum error.
virtual bool execute()
Execute the function-object operations.
autoPtr< Detail::zoneSubSet > zoneSubSetPtr_
Sub-set mesh.
virtual bool write()
Write the function-object results.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
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.
Forwards and collection of common volume field types.