mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Standardized the naming of functions which control the writing of fields etc.
to have the prefix 'write' rather than 'output' So outputTime() -> writeTime() but 'outputTime()' is still supported for backward-compatibility. Also removed the redundant secondary-writing functionality from Time which has been superseded by the 'writeRegisteredObject' functionObject.
This commit is contained in:
@ -66,19 +66,19 @@ functions
|
||||
|
||||
// Execute upon options:
|
||||
// timeStep
|
||||
// outputTime
|
||||
// writeTime
|
||||
// adjustableRunTime
|
||||
// runTime
|
||||
// clockTime
|
||||
// cpuTime
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
// Objects (fields or lagrangian fields in any of the clouds)
|
||||
// to write every outputTime
|
||||
// to write every writeTime
|
||||
objectNames (p positions nParticle);
|
||||
|
||||
// Write as normal every writeInterval'th outputTime.
|
||||
writeInterval 1; // (timeStep, outputTime)
|
||||
// Write as normal every writeInterval'th writeTime.
|
||||
writeInterval 1; // (timeStep, writeTime)
|
||||
|
||||
// Interval of time (sec) to write down(
|
||||
writeInterval 10.5 //(adjustableRunTime, runTime, clockTime, cpuTime)
|
||||
@ -95,14 +95,14 @@ functions
|
||||
|
||||
// When to write:
|
||||
// timeStep (with optional writeInterval)
|
||||
// outputTime (with optional writeInterval)
|
||||
// writeTime (with optional writeInterval)
|
||||
// adjustableRunTime
|
||||
// runTime
|
||||
// clockTime
|
||||
// cpuTime
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
// Write every writeInterval (only valid for timeStemp, outputTime)
|
||||
// Write every writeInterval (only valid for timeStemp, writeTime)
|
||||
writeInterval 1;
|
||||
|
||||
// Interval of time (valid for adjustableRunTime, runTime, clockTime,
|
||||
|
||||
Reference in New Issue
Block a user