Go to the documentation of this file.
124 #ifndef functionObjects_momentum_H
125 #define functionObjects_momentum_H
141 namespace functionObjects
150 public fvMeshFunctionObject,
163 template<
class GeoField>
164 autoPtr<GeoField> newField
166 const word& baseName,
167 const dimensionSet& dims,
168 bool registerObject=
true
199 coordSystem::cylindrical
csys_;
242 const dictionary&
dict,
virtual void updateMesh(const mapPolyMesh &)
virtual bool read(const dictionary &)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Volume (cell) region selection class.
momentum(const word &name, const Time &runTime, const dictionary &dict, const bool readFields=true)
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
coordSystem::cylindrical csys_
Mesh consisting of general polyhedral cells.
void operator=(const momentum &)=delete
Registry of regIOobjects.
virtual ~momentum()=default
A cylindrical coordinate system (r-theta-z). The coordinate system angle theta is always in radians.
Computes linear/angular momentum, reporting integral values and optionally writing the fields.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual void writeFileHeader(Ostream &os)
Vector< scalar > vector
A scalar version of the templated Vector.
virtual void movePoints(const polyMesh &)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const noexcept
void writeValues(Ostream &os)
virtual const objectRegistry & obr() const
Reads fields from the time directories and adds them to the mesh database for further post-processing...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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,...