diff --git a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C index fb09b40bd3122d914259b154b7a23d3e8458dac0..f2a821ae2927090a0ce8324f6c88287887e07cb8 100644 --- a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C +++ b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C @@ -434,6 +434,9 @@ int main(int argc, char *argv[]) "specify the merge distance relative to the bounding box size " "(default 1e-6)" ); + // Include explicit constant options, have zero from time range + timeSelector::addOptions(); + # include "setRootCase.H" if (env("FOAM_SIGFPE")) @@ -457,6 +460,9 @@ int main(int argc, char *argv[]) // Make sure we do not use the master-only reading. regIOobject::fileModificationChecking = regIOobject::timeStamp; # include "createTime.H" + // Allow override of time + instantList times = timeSelector::selectIfPresent(runTime, args); + runTime.setTime(times[0], 0); runTime.functionObjects().off();