Why is field not being written?
Hello,
I have a function object (coded function object embeddd in controlDict) that calculates c_p for the entire field. The function object execution is controlled by: Code:
outputControl outputTime; Code:
volScalarField c_p But why is not written without an explicit write even though AUTO_WRITE is set? The U and p fields are declared just like this. Thanks, Florian |
Hello,
If your field is not needed inside the calculations (not explicitly updated, i.e. using code). You can try adding the following at the end of your time loop: Code:
if (runTime.outputTime()) Hisham |
Hi guys
I had the same issue. I managed to solve it by realizing that I had used the value of the field in another file. I removed its use there and it now works. Hope it helps |
All times are GMT -4. The time now is 17:53. |