40 int main(
int argc,
char *argv[])
60 Info<<
"Initialising dsmc for Time = " << runTime.name() <<
nl <<
endl;
62 dsmcCloud dsmc(
"dsmc", mesh, dsmcInitialiseDict);
64 label totalMolecules = dsmc.size();
71 Info<<
nl <<
"Total number of molecules added: " << totalMolecules
79 <<
"Failed writing dsmcCloud."
83 Info<<
nl <<
"ClockTime = " << runTime.elapsedClockTime() <<
" s"
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static unsigned int defaultPrecision()
Return the default precision.
static bool & parRun()
Is this a parallel run?
Cloud class to simulate dsmc parcels.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
int main(int argc, char *argv[])
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)