CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Qdot keeps all zero when using xxxFoam postProcess (https://www.cfd-online.com/Forums/openfoam-post-processing/222155-qdot-keeps-all-zero-when-using-xxxfoam-postprocess.html)

adcpk November 13, 2019 18:13

Qdot keeps all zero when using xxxFoam postProcess
 
I postprocess my resault from reactingFoam openfoam v7



1.
Code:

reactingFoam -postProcess -func Qdot
the fields Qdot appears, but it is all zero


2. If i modify the code by adding a fields named "Qdot" and add code "Qdot=reaction->Qdot()" in main loop, like OF v6

then use
Code:

reactingFoam -postProcess -func "writeObjects(Qdot)"
the fields Qdot appears, but it is all zero


3. but if I do it in run-time data processing using "#includeFunc", everything is good.


How can I get the Qdot if I do not output in runtime.


All times are GMT -4. The time now is 01:01.