call a function from controlDict with postProcess
Is it possible to execute a function from controlDict after a simulation is done ?
For example, if the controlDict looks like: Code:
application icoFoam; Thanks |
Use the -postProcess command line option.
|
Yes, but I saved only U and p fields by reconstructPar and when I run pisoFoam -postProcess it showes that there is no 'sigma' field. But I don't need it for the surfaces functionObject.
Is it any idea how to solve this ? Code:
Selecting incompressible transport model Newtonian |
Quote:
Could you please give me some resource about the -postProcess command line option, any illustrations or instruction in the link or guidebook? I'm going to probe the finished simulation and find this may be a good way for me to do that. The 'postProcess -func probes' didn't work for me by failing to recognize the system/probesDict. Best, Linyan |
Hello linyanx,
Take a look here. The best way I found to define a dictionary for the postProcess is to go to $FOAM_ETC and find there a template to be included in the system/ folder. Regards |
What about the missing 'sigma' field?
Is it any way to post-process data files without this ? |
What is sigma in your case? Do you have it as a field in your processor/ folders?
Perhaps you need to reconstruct it as well or run the postProcess in parallel to use it. |
All times are GMT -4. The time now is 19:16. |