CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Wrong statement in OpenFOAM documentation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 21, 2019, 09:35
Default Wrong statement in OpenFOAM documentation
  #1
Member
 
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7
CFD_10 is on a distinguished road
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?

CFD_10 is offline   Reply With Quote

Old   May 22, 2019, 08:00
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
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.
jherb is offline   Reply With Quote

Old   May 22, 2019, 10:58
Default
  #3
Member
 
CFD USER
Join Date: May 2019
Posts: 40
Rep Power: 7
CFD_10 is on a distinguished road
Quote:
Originally Posted by jherb View Post
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)

Last edited by wyldckat; June 5, 2019 at 16:48. Reason: Removed incomplete [COLOR] block...
CFD_10 is offline   Reply With Quote

Old   May 22, 2019, 15:54
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22
jherb is on a distinguished road
Have you tried to add the line to the solver source code and recompile it?




Quote:
Originally Posted by CFD_10 View Post
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:49. Reason: Removed incomplete [COLOR] block...
jherb is offline   Reply With Quote

Old   June 5, 2019, 16:48
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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...
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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