diff --git a/src/postProcessing/functionObjects/IO/controlDict b/src/postProcessing/functionObjects/IO/controlDict index aed0d13d014bcda4f000a120e78ae01273c4fe88..df7960250a08cc209a0d186c725160dea993646e 100644 --- a/src/postProcessing/functionObjects/IO/controlDict +++ b/src/postProcessing/functionObjects/IO/controlDict @@ -86,34 +86,36 @@ functions dumpObjects { - // Forcibly write registered objects. E.g. fields that have been - // created with NO_WRITE. + // Forcibly write registered objects type writeRegisteredObject; // Where to load it from functionObjectLibs ("libIOFunctionObjects.so"); - // Execute upon outputTime: - // timeStep - // outputTime + // When to write: + // timeStep (with optional outputInterval) + // outputTime (with optional outputInterval) // adjustableTime // runTime // clockTime // cpuTime outputControl outputTime; - // Is the object written by this function Object alone - exclusiveWriting true; + // Write every writeInterval (only valid for timeStemp, outputTime) + outputInterval 1; - // Interval of time (sec) to write down( - writeInterval 10.5 //(adjustableTime, runTime, clockTime, cpuTime) - - // Write as normal every writeInterval'th outputTime. - outputInterval 1; // (timeStep, outputTime) + // Interval of time (valid for adjustableTime, runTime, clockTime, + // cpuTime) + writeInterval 10.5; // Objects to write objectNames (); + + + // Is the object written by this function Object alone + // (default is false) + //exclusiveWriting true; } } diff --git a/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.C b/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.C index c05abb5b2f4491c194f2644beaa0834dd204dba5..efffb9e2f9f115fa71ce07bef77c6c41381c2dba 100644 --- a/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.C +++ b/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.C @@ -46,7 +46,7 @@ Foam::writeRegisteredObject::writeRegisteredObject ) : name_(name), - exclusiveWriting_(true), + exclusiveWriting_(false), obr_(obr), objectNames_() {