39 int main(
int argc,
char *argv[])
47 Info<<
"\nReading field U\n" <<
endl;
69 label nAveragingSteps = 0;
71 Info<<
"\nStarting time loop\n" <<
endl;
73 while (runTime.loop())
77 Info<<
"Time = " << runTime.userTimeName() <<
endl;
89 if (runTime.writeTime())
94 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
95 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void evolve()
Evolve the molecules (move, calculate forces, control state etc)
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
int main(int argc, char *argv[])
Calculates and prints the mean momentum and energy in the system and the number of molecules.
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.
Provides accumulation variables for temperatureAndPressure.H.
Accumulates values for temperature and pressure measurement, and calculates and outputs the average v...
Applies temperature control to molecules.