49 const bool loadFromFiles
59 if (!isA<fvMesh>(obr_))
67 "const objectRegistry&, " 71 ) <<
"No fvMesh available, deactivating " << name_ <<
nl 79 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
98 mesh.objectRegistry::store(PecletPtr);
128 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
133 const cmpTurbModel& model =
142 nuEff = model.muEff()/
rho;
149 const icoTurbModel& model =
155 nuEff = model.nuEff();
183 <<
"Unable to determine the viscosity" 200 *mesh.surfaceInterpolation::deltaCoeffs()
228 Info<<
type() <<
" " << name_ <<
" output:" <<
nl 229 <<
" writing field " << Peclet.
name() <<
nl tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
This function object calculates and outputs the Peclet number as a surfaceScalarField.
Mesh data needed to do the Finite Volume discretisation.
virtual void read(const dictionary &)
Read the Peclet data.
dimensioned< scalar > mag(const dimensioned< Type > &)
bool foundObject(const word &name) const
Is the named Type found?
Templated abstract base class for single-phase incompressible turbulence models.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
A class for handling words, derived from string.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual void write()
Calculate the Peclet and write.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual ~Peclet()
Destructor.
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define WarningIn(functionName)
Report a warning using Foam::Warning.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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 execute()
Execute, currently does nothing.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Registry of regIOobjects.
static const word propertiesName
Default name of the turbulence properties dictionary.
bool read(const char *, int32_t &)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
defineTypeNameAndDebug(combustionModel, 0)