clockModel: standardClock
Syntax
Defined in couplingProperties dictionary.
clockModel standardClock;
Examples
clockModel standardClock;
Description
The standardClock model is a basic clockModel model which measures the
run time between every .start(string name) and
.stop(string name) statement placed in the code. If a .start(name)
is called more than once (e.g. in a loop) the accumulated times are calculated.
After the simulation has finished, the data is stored in
$caseDir/CFD/clockData/$startTime/*.txt.
The string name may be omitted for the .stop() command. In this case the last
started clock wil be stopped.
After the case ran you may use the matPlot.py script located in
$CFDEM_UT_DIR/vizClock/ to produce a graphical output of your measurements.
The usage is like python matPlot.py and you have to be in the directory of
the desired time step, where there is a file called timeEvalFull.txt, which
contains averaged and maximum data with respect to the number of processes. There
is an alias called vizClock to run this python routine for visualizing the data.
Restrictions
None.
Home