CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Wrong statement in OpenFOAM documentation (https://www.cfd-online.com/Forums/openfoam-bugs/217677-wrong-statement-openfoam-documentation.html)

CFD_10 May 21, 2019 08:35

Wrong statement in OpenFOAM documentation
 
Hello,
In the following page: https://cfd.direct/openfoam/user-gui...rocessing-cli/


Under the section 6.2 Post-processing command line interface (CLI)
we can find the following sentence:


Every solver can be run with the -postProcess option, which only executes post-processing, but with additional access to data available on the database for the particular solver.


But when I try with the icoFoam solver:
Code:

icoFoam -help
I do not see the
Code:

postProcess
option!


I tried to report it but Henry keeps closing the bug report without any explanation!!
What's wrong?


jherb May 22, 2019 07:00

The source code of e. g. simpleFoam includes the following file:
Code:

    #include "postProcess.H"
https://github.com/OpenFOAM/OpenFOAM...mpleFoam.C#L43



icoFoam does not. So it probably does not support post processing from within the solver. You could still use the postProcess tool.

CFD_10 May 22, 2019 09:58

Quote:

Originally Posted by jherb (Post 734421)
The source code of e. g. simpleFoam includes the following file:
Code:

    #include "postProcess.H"
https://github.com/OpenFOAM/OpenFOAM...mpleFoam.C#L43



icoFoam does not. So it probably does not support post processing from within the solver. You could still use the postProcess tool.


What is your conclusion???
It is very obvious that the sentence
Every solver can be run with the -postProcess option
is wrong because not all solvers have postProcess option (remember: postProcess when called alone is not an option)

jherb May 22, 2019 14:54

Have you tried to add the line to the solver source code and recompile it?




Quote:

Originally Posted by CFD_10 (Post 734446)
What is your conclusion???
It is very obvious that the sentence
Every solver can be run with the -postProcess option
is wrong because not all solvers have postProcess option (remember: postProcess when called alone is not an option)


wyldckat June 5, 2019 15:48

Quick answer @CFD_10: https://bugs.openfoam.org/view.php?id=2419 - read the first comment, which has the official answer, at least from the OpenFOAM Foundation.

But yes, Joachim is right, namely that you are free to create a modified version of icoFoam and add whichever features you want it to have...

That said, you can also try using pisoFoam to at least assist in post-processing... although you might need to add one or two more files with the associated configuration that this solver needs... although you may want to use pisoFoam instead of icoFoam, which is a lot more feature-complete...


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