42 Foam::Lambda2::Lambda2
47 const bool loadFromFiles
56 if (!isA<fvMesh>(obr_))
64 "const objectRegistry&, " 68 ) <<
"No fvMesh available, deactivating " << name_ <<
nl 76 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
95 mesh.objectRegistry::store(Lambda2Ptr);
121 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
167 Info<<
type() <<
" " << name_ <<
" output:" <<
nl 168 <<
" writing field " << Lambda2.
name() <<
nl virtual void read(const dictionary &)
Read the Lambda2 data.
Mesh data needed to do the Finite Volume discretisation.
dimensionedVector eigenValues(const dimensionedTensor &dt)
dimensionedTensor skew(const dimensionedTensor &dt)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
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...
Calculate the gradient of the given field.
const Time & time() const
Return the top-level database.
virtual void execute()
Execute, currently does nothing.
virtual bool write() const
Write using setting from DB.
virtual void end()
Execute at the final time-loop, currently does nothing.
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 void write()
Calculate the Lambda2 and write.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
const word & name() const
Return name.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Registry of regIOobjects.
This function object calculates and outputs the second largest eigenvalue of the sum of the square of...
bool read(const char *, int32_t &)
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)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
defineTypeNameAndDebug(combustionModel, 0)
virtual ~Lambda2()
Destructor.