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(QPtr);
105 log_.readIfPresent(
"log",
dict);
113 resultName_ = resultName_ +
"(" + UName_ +
")";
124 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
137 Q = 0.5*(
sqr(
tr(gradU)) -
tr(((gradU) & (gradU))));
162 <<
type() <<
" " << name_ <<
" output:" <<
nl
163 <<
" writing field " <<
Q.
name() <<
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< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from string.
Q(const Q &)
Disallow default bitwise copy construct.
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 timeSet()
Called when time was set at the end of the Time::operator++.
virtual void write()
Calculate the Q and write.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual const word & name() const
Return name of the set of Q.
Registry of regIOobjects.
This function object calculates and outputs the second invariant of the velocity gradient tensor [1/s...
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual void execute()
Execute, currently does nothing.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void read(const dictionary &)
Read the Q data.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Calculate the gradient of the given field.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
word name(const complex &)
Return a string representation of a complex.