mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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.
18 lines
336 B
C
18 lines
336 B
C
if (runTime.writeTime())
|
|
{
|
|
volVectorField Ur
|
|
(
|
|
IOobject
|
|
(
|
|
"Ur",
|
|
runTime.timeName(),
|
|
mesh,
|
|
IOobject::NO_READ,
|
|
IOobject::AUTO_WRITE
|
|
),
|
|
U1 - U2
|
|
);
|
|
|
|
runTime.write();
|
|
}
|