43int main(
int argc,
char *argv[])
47 "Initialise a case for dsmcFoam from the system/dsmcInitialise"
57 IOdictionary dsmcInitialiseDict
64 IOobject::MUST_READ_IF_MODIFIED,
73 label totalMolecules = dsmc.size();
75 if (Pstream::parRun())
77 reduce(totalMolecules, sumOp<label>());
80 Info<<
nl <<
"Total number of molecules added: " << totalMolecules
83 IOstream::defaultPrecision(15);
88 <<
"Failed writing dsmcCloud."
93 runTime.printExecutionTime(Info);
reduce(hasMovingMesh, orOp< bool >())
Cloud class to simulate dsmc parcels.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)