Go to the documentation of this file.
39 namespace functionObjects
93 if (writeToFile() &&
names().size())
95 Info<<
"applying to clouds:" <<
nl;
99 writeFileHeader(files(cloudi));
105 Info<<
"no clouds to be processed" <<
nl <<
endl;
128 const label nTotParcels =
131 const scalar totMass =
134 const scalar Dmax =
cloud.Dmax();
135 const scalar D10 =
cloud.Dij(1, 0);
136 const scalar D32 =
cloud.Dij(3, 2);
139 <<
" number of parcels : " << nTotParcels <<
nl
140 <<
" mass in system : " << totMass <<
nl
141 <<
" maximum diameter : " << Dmax <<
nl
142 <<
" D10 diameter : " << D10 <<
nl
143 <<
" D32 diameter : " << D32 <<
nl
148 auto&
os = files(cloudi);
150 writeCurrentTime(
os);
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word cloudName(propsDict.get< word >("cloud"))
A class for handling words, derived from Foam::string.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
bool read(const char *buf, int32_t &val)
Ostream & endl(Ostream &os)
virtual void writeFileHeader(Ostream &os) const
virtual void writeHeader(Ostream &os, const string &str) const
virtual bool read(const dictionary &dict)
Virtual abstract base class for templated KinematicCloud.
cloudInfo(const cloudInfo &)=delete
const Type & lookupObject(const word &name, const bool recursive=false) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool read(const dictionary &dict)
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
Inter-processor communication reduction functions.
functionObject base class for creating, maintaining and writing log files e.g. integrated or averaged...
virtual void resetNames(const wordList &names)
virtual bool read(const dictionary &dict)
A cloud is a registry collection of lagrangian particles.
virtual void writeCommented(Ostream &os, const string &str) const
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
fileName::Type type(const fileName &name, const bool followLink=true)
defineTypeNameAndDebug(ObukhovLength, 0)
word name(const expressions::valueTypeCode typeCode)
Specialization of Foam::functionObject for a region and providing a reference to the region Foam::obj...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
List< word > names(const UPtrList< T > &list, const UnaryMatchPredicate &matcher)
virtual label nParcels() const
virtual void writeTabbed(Ostream &os, const string &str) const