Go to the documentation of this file.
46 const bool loadFromFiles
57 if (!isA<fvMesh>(obr_))
61 <<
"No fvMesh available, deactivating " << name_ <<
nl
69 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
78 mesh.time().timeName(),
88 mesh.objectRegistry::store(vorticityPtr);
105 log_.readIfPresent(
"log",
dict);
113 resultName_ = resultName_ +
"(" + UName_ +
")";
157 <<
type() <<
" " << name_ <<
" output:" <<
nl
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
tmp< GeometricField< Type, fvPatchField, volMesh > > curl(const GeometricField< Type, fvPatchField, volMesh > &vf)
A class for handling words, derived from string.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
bool read(const char *, int32_t &)
virtual void read(const dictionary &)
Read the vorticity data.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void write()
Calculate the vorticity and write.
Calculate the curl of the given volField by constructing the Hodge-dual of the symmetric part of the ...
Registry of regIOobjects.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
vorticity(const vorticity &)
Disallow default bitwise copy construct.
This function object calculates and outputs the vorticity, the curl of the velocity as a volvectorFie...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
virtual const word & name() const
Return name of the set of vorticity.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
virtual void end()
Execute at the final time-loop, currently does nothing.
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
word name(const complex &)
Return a string representation of a complex.
virtual void execute()
Execute, currently does nothing.
virtual ~vorticity()
Destructor.