Go to the documentation of this file.
49 const bool loadFromFiles
60 if (!isA<fvMesh>(obr_))
64 <<
"No fvMesh available, deactivating " << name_ <<
nl
72 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
81 mesh.time().timeName(),
91 mesh.objectRegistry::store(PecletPtr);
108 log_.readIfPresent(
"log",
dict);
122 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
130 const cmpTurbModel& model =
136 nuOrMuEff = model.muEff();
143 const icoTurbModel& model =
149 nuOrMuEff = model.nuEff();
177 <<
"Unable to determine the viscosity"
196 *
mesh.surfaceInterpolation::deltaCoeffs()
223 <<
type() <<
" " << name_ <<
" output:" <<
nl
This function object calculates and outputs the Peclet number as a surfaceScalarField.
virtual void execute()
Execute, currently does nothing.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual void read(const dictionary &)
Read the Peclet data.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
A class for handling words, derived from string.
A class for managing temporary objects.
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 &)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
static const word propertiesName
Default name of the turbulence properties dictionary.
virtual ~Peclet()
Destructor.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
Registry of regIOobjects.
Peclet(const Peclet &)
Disallow default bitwise copy construct.
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual const word & name() const
Return name of the set of Peclet.
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void write()
Calculate the Peclet and write.
bool foundObject(const word &name) const
Is the named Type found?
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the top-level database.
Templated abstract base class for single-phase incompressible turbulence models.
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.