From cc65f5f0f0660034c76179622d72c849958373bd Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Fri, 18 Feb 2022 10:38:04 +0100 Subject: [PATCH] TUT: coded functionObject called on execute instead of write - generated too much output that also missed topology changes, which prevents proper post-processing --- .../pimpleFoam/RAS/rotatingFanInRoom/system/relVelocity | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorials/incompressible/pimpleFoam/RAS/rotatingFanInRoom/system/relVelocity b/tutorials/incompressible/pimpleFoam/RAS/rotatingFanInRoom/system/relVelocity index 5d0eb1e1e6..32fcce76f4 100644 --- a/tutorials/incompressible/pimpleFoam/RAS/rotatingFanInRoom/system/relVelocity +++ b/tutorials/incompressible/pimpleFoam/RAS/rotatingFanInRoom/system/relVelocity @@ -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();