Go to the documentation of this file.
92 #ifndef functionObjects_momentumError_H
93 #define functionObjects_momentumError_H
103 namespace functionObjects
112 public fvMeshFunctionObject
152 const dictionary&
dict
Computes balance terms for the steady momentum equation.
tmp< volVectorField > divDevRhoReff()
Return the effective viscous stress (laminar + turbulent).
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
void calcMomentError()
Calculate the momentum error.
virtual ~momentumError()=default
Destructor.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
word phiName_
Name of flux field.
virtual bool execute()
Execute.
autoPtr< Detail::zoneSubSet > zoneSubSetPtr_
Sub-set mesh.
TypeName("momentumError")
Runtime type information.
virtual bool read(const dictionary &)
Read the forces data.
word pName_
Name of pressure field.
word UName_
Name of velocity field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const noexcept
Return the name of this functionObject.
void operator=(const momentumError &)=delete
No copy assignment.
virtual bool write()
Write.
momentumError(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.