|
[Sponsors] |
May 21, 2019, 09:35 |
Wrong statement in OpenFOAM documentation
|
#1 |
Member
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7 |
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 Code:
postProcess I tried to report it but Henry keeps closing the bug report without any explanation!! What's wrong? |
|
May 22, 2019, 08:00 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
The source code of e. g. simpleFoam includes the following file:
Code:
#include "postProcess.H" icoFoam does not. So it probably does not support post processing from within the solver. You could still use the postProcess tool. |
|
May 22, 2019, 10:58 |
|
#3 | |
Member
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7 |
Quote:
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) Last edited by wyldckat; June 5, 2019 at 16:48. Reason: Removed incomplete [COLOR] block... |
||
May 22, 2019, 15:54 |
|
#4 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
Have you tried to add the line to the solver source code and recompile it?
Last edited by wyldckat; June 5, 2019 at 16:49. Reason: Removed incomplete [COLOR] block... |
|
June 5, 2019, 16:48 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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...
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
If statement in OpenFoam | upuli | OpenFOAM Programming & Development | 11 | June 15, 2016 08:39 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |