36 namespace functionObjects
55 writeCommented(
file(),
"Time");
56 writeTabbed(
file(),
"nParcels");
57 writeTabbed(
file(),
"mass");
93 Info<<
"applying to clouds:" <<
nl;
96 Info<<
" " << names()[i] <<
nl;
102 Info<<
"no clouds to be processed" <<
nl <<
endl;
105 resetNames(dict.
lookup(
"clouds"));
128 scalar massInSystem =
137 << massInSystem <<
endl;
Specialisation of Foam::functionObject for a region and providing a reference to the region Foam::obj...
Virtual abstract base class for parcel clouds. As parcelCloudBase but with additional virtualisation ...
virtual bool execute()
Execute, currently does nothing.
#define forAll(list, i)
Loop across all elements in list.
virtual bool write()
Write function.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Inter-processor communication reduction functions.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~cloudInfo()
Destructor.
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static bool master(const label communicator=0)
Am I the master process.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
virtual bool read(const dictionary &)
Read the controls.
virtual bool read(const dictionary &)
Read optional controls.
bool read(const char *, int32_t &)
void writeHeader(std::ostream &, const bool isBinary, const std::string &title)
Write header.
A class for handling words, derived from string.
virtual scalar massInSystem() const =0
Total mass in system.
A cloud is a collection of lagrangian particles.
virtual bool write()
Write.
word name(const complex &)
Return a string representation of a complex.
defineTypeNameAndDebug(Qdot, 0)
cloudInfo(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual void writeFileHeader(const label i)
File header information.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
const word cloudName(propsDict.lookup("cloudName"))
virtual label nParcels() const =0
Number of parcels.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
functionObject base class for creating, maintaining and writing log files e.g. integrated of averaged...