41 Foam::vorticity::vorticity
46 const bool loadFromFiles
56 if (!isA<fvMesh>(obr_))
61 "vorticity::vorticity" 64 "const objectRegistry&, " 68 ) <<
"No fvMesh available, deactivating " << name_ <<
nl 76 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
95 mesh.objectRegistry::store(vorticityPtr);
115 outputName_ = typeName +
"(" + UName_ +
")";
160 Info<<
type() <<
" " << name_ <<
" output:" <<
nl 161 <<
" writing field " << vorticity.
name() <<
nl virtual void execute()
Execute, currently does nothing.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
Mesh data needed to do the Finite Volume discretisation.
This function object calculates the vorticity, the curl of the velocity.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
tmp< GeometricField< Type, fvPatchField, volMesh > > curl(const GeometricField< Type, fvPatchField, volMesh > &vf)
virtual void write()
Calculate the vorticity and write.
A class for handling words, derived from string.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const Time & time() const
Return the top-level database.
virtual bool write() const
Write using setting from DB.
Calculate the curl of the given volField by constructing the Hodge-dual of the symmetric part of the ...
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define WarningIn(functionName)
Report a warning using Foam::Warning.
virtual ~vorticity()
Destructor.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
virtual void read(const dictionary &)
Read the vorticity data.
const word & name() const
Return name.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
virtual void end()
Execute at the final time-loop, currently does nothing.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Registry of regIOobjects.
bool read(const char *, int32_t &)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
defineTypeNameAndDebug(combustionModel, 0)