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

codedFunctionObject -postProcess -- not possible??

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By JM27

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2020, 14:30
Question codedFunctionObject -postProcess -- not possible??
  #1
Member
 
Join Date: Apr 2018
Location: UK
Posts: 78
Rep Power: 8
JM27 is on a distinguished road
Hi,

I am trying to use a codedFunctionObject to extract some data from simulations. This works fine at run-time however I have some simulations which are already completed and would like to use the -postProcess option with my codedFunctionObject to avoid having to re-run these simulations.

This does not seem to work unfortunately as the solver 'cannot find' the functionObject. I suspect this is because it has not been compiled yet.

My question is: is it possible to use -postProcess functionality similar to that described here https://cfd.direct/openfoam/user-gui...rocessing-cli/ but with a coded function object and how?

I have tried:

Code:
mpirun -np 2 $solver -parallel -postProcess -func "$codedFunc"
with no success. Note that the above works fine for other functionObjects i.e. not coded.

Since I introduce a call to the solver with -postProcess, shouldn't the coded functionObject be compiled during initialisation?
jorkolino likes this.
JM27 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
postProcess Utility: icoFoam -noFunctionObjects Why?How? TeresaT OpenFOAM Post-Processing 8 July 26, 2023 03:41
postProcess calculate Tdeg jonfah OpenFOAM Post-Processing 2 November 1, 2018 07:07
postprocess: symbol lookup error BenAsbo626 OpenFOAM Post-Processing 2 October 26, 2018 14:28
postProcess functionality in openFOAM 4 bullmut OpenFOAM Post-Processing 23 July 21, 2017 10:11
[swak4Foam] Difference in calculating div(U*U) swak4FOAM vs. OpenFOAM codedFunctionObject polo OpenFOAM Community Contributions 7 October 1, 2013 11:22


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