gfilip |
February 6, 2012 09:56 |
fieldAverage restarts mid-run
Hello,
I am using the following fieldAverage in my controlDict (1.7.x):
Code:
fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
cleanRetart false;
outputControl outputTime;
fields
(
U
{
mean on;
prime2Mean on;
base time;
}
p
{
mean on;
prime2Mean on;
base time;
}
);
}
I restarted the case from a previous timestep which contained time-averaged quantities. Upon restarting, the log does say:
Code:
fieldAverage: restarting averaging for fields:
U iters = 11001 time = 0.040993
p iters = 11001 time = 0.040993
So everything looks fine. As I monitor the written timesteps, I notice that /uniform/fieldAveragingProperties.gz shows the number of iters and total time increasing as expected. This continues until the averaging restarts in the middle of the run with the log file message: regIOobject::readIfModified(): for the controlDict. I did not change anything in the fieldAverage section, but only the writeInterval. So now the total number of iters and time is back to 0 and the averaging has been taking place ever since that random restart.
Could such a restart be caused by modifying parts of the controlDict which are not affecting the fieldAverage part? Is there anything I can do to combine these two time-averaged sets?
|