92#ifndef functionObjects_momentumError_H
93#define functionObjects_momentumError_H
103namespace functionObjects
112 public fvMeshFunctionObject
152 const dictionary&
dict
159 void operator=(
const momentumError&) =
delete;
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...
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.
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 Time and dictionary.
momentumError(const momentumError &)=delete
No copy construct.
void calcMomentError()
Calculate the momentum error.
virtual bool execute()
Execute.
autoPtr< Detail::zoneSubSet > zoneSubSetPtr_
Sub-set mesh.
virtual bool write()
Write.
virtual bool read(const dictionary &)
Read the forces data.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.