CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [PyFoam] Error while running pyFoamPlotRunner (https://www.cfd-online.com/Forums/openfoam-community-contributions/232849-error-while-running-pyfoamplotrunner.html)

recolor January 2, 2021 14:59

Error while running pyFoamPlotRunner
 
Hi everyone.



I'm totally new to pyFoam. To cut to the chase, I face this error while trying to get cavity case outputs by:


pyFoamPlotRunner.py icoFoam


Code:

Error in /usr/local/bin/pyFoamPlotRunner.py : FatalError in PyFoam:
'PyFoam FATAL ERROR on line 617 of file /usr/local/lib/python3.8/dist-packages
/PyFoam/Applications/PyFoamApplication.py: Case /home/ali/Desktop/cavity/logs
 does not have a 'system' directory' in Application-class: PlotRunner

Any help?


Thanks

gschaider January 7, 2021 03:22

Quote:

Originally Posted by recolor (Post 792209)
Hi everyone.



I'm totally new to pyFoam. To cut to the chase, I face this error while trying to get cavity case outputs by:


pyFoamPlotRunner.py icoFoam


Code:

Error in /usr/local/bin/pyFoamPlotRunner.py : FatalError in PyFoam:
'PyFoam FATAL ERROR on line 617 of file /usr/local/lib/python3.8/dist-packages
/PyFoam/Applications/PyFoamApplication.py: Case /home/ali/Desktop/cavity/logs
 does not have a 'system' directory' in Application-class: PlotRunner

Any help?


Thanks


I guess you're trying to start a run in a sub-directory of your actual case (the last part "logs" of the path indicates that this is whhere you store the logs). Go up one directory and it should work


All times are GMT -4. The time now is 07:52.