TUT: coded functionObject called on execute instead of write

- generated too much output that also missed topology changes,
  which prevents proper post-processing
This commit is contained in:
Mark Olesen
2022-02-18 10:38:04 +01:00
parent 3d842aac93
commit cc65f5f0f0

View File

@ -14,6 +14,8 @@ relVelocity
name relVelocity;
libs ( utilityFunctionObjects );
writeControl writeTime;
coeffs
{
// User input (duplicate of constant/dynamicMeshDict)
@ -72,7 +74,7 @@ relVelocity
}
#};
codeExecute // codeWrite
codeWrite
#{
const dictionary& context = this->codeContext();