Go to the documentation of this file.
60 const bool loadFromFiles
72 if (!isA<fvMesh>(obr_))
76 <<
"No fvMesh available, deactivating " << name_ <<
nl
84 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
103 mesh.objectRegistry::store(yPlusPtr);
105 writeFileHeader(file());
124 log_.readIfPresent(
"log",
dict);
141 const fvMesh&
mesh = refCast<const fvMesh>(obr_);
149 if (log_)
Info <<
type() <<
" " << name_ <<
" output:" <<
nl;
155 const cmpTurbModel& model =
166 <<
"Unable to find compressible turbulence model in the "
167 <<
"database: yPlus will not be calculated" <<
endl;
174 const icoTurbModel& model =
185 <<
"Unable to find incompressible turbulence model in the "
186 <<
"database: yPlus will not be calculated" <<
endl;
192 <<
"Unknown " << phiName_ <<
" dimensions: "
193 <<
phi.dimensions() <<
nl
196 <<
"Unable to determine turbulence model type. "
197 <<
"yPlus will not be calculated" <<
endl;
223 <<
type() <<
" " << name_ <<
" output:" <<
nl
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
yPlus(const yPlus &)
Disallow default bitwise copy construct.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
A class for handling words, derived from string.
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 read(const dictionary &)
Read the yPlus data.
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
static const word propertiesName
Default name of the turbulence properties dictionary.
virtual void writeFileHeader(Ostream &os) const
File header information.
void read(const dictionary &dict)
Read.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void write()
Calculate the yPlus and write.
Registry of regIOobjects.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual void end()
Execute at the final time-loop, currently does nothing.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void writeHeader(Ostream &os, const string &str) const
Write a commented header to stream.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
virtual ~yPlus()
Destructor.
virtual void execute()
Execute, currently does nothing.
bool foundObject(const word &name) const
Is the named Type found?
virtual const word & name() const
Return name of the set of yPlus.
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.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
Base class for output file data handling.
This function object evaluates and outputs turbulence y+ for turbulence models. The field is stored o...
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const dimensionSet dimVolume(pow3(dimLength))
Generic GeometricField class.
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
word name(const complex &)
Return a string representation of a complex.