Go to the documentation of this file.
60 const bool loadFromFiles
94 Info<<
type() <<
" " << name_ <<
": ";
96 if (cloudNames_.size())
98 Info<<
"applying to clouds:" <<
nl;
101 Info<<
" " << cloudNames_[i] <<
nl;
107 Info<<
"no clouds to be processed" <<
nl <<
endl;
113 filePtrs_.setSize(cloudNames_.size());
117 filePtrs_.set(fileI, createFile(
cloudName));
118 writeFileHeader(filePtrs_[fileI]);
147 forAll(cloudNames_, cloudI)
155 scalar massInSystem =
158 scalar Dmax =
cloud.Dmax();
159 scalar D10 =
cloud.Dij(1, 0);
160 scalar D32 =
cloud.Dij(3, 2);
164 writeTime(filePtrs_[cloudI]);
176 <<
type() <<
" " << name_ <<
" output:" <<
nl
177 <<
" number of parcels : " << nParcels <<
nl
178 <<
" mass in system : " << massInSystem <<
nl
179 <<
" maximum diameter : " << Dmax <<
nl
180 <<
" D10 diameter : " << D10 <<
nl
181 <<
" D32 diameter : " << D32 <<
nl
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
A class for handling words, derived from string.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
#define forAll(list, i)
Loop across all elements in list.
virtual void write()
Write.
bool read(const char *, int32_t &)
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
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,.
void read(const dictionary &dict)
Read.
virtual void read(const dictionary &)
Read the field min/max data.
virtual ~cloudInfo()
Destructor.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void writeFileHeader(Ostream &os) const
File header information.
Registry of regIOobjects.
Virtual abstract base class for templated KinematicCloud.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
static bool master(const label communicator=0)
Am I the master process.
A cloud is a collection of lagrangian particles.
virtual void execute()
Execute, currently does nothing.
Base class for output file data handling.
const word cloudName(propsDict.lookup("cloudName"))
cloudInfo(const cloudInfo &)
Disallow default bitwise copy construct.
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.
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.