CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

pyFoam use error

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By qutadah.r

LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2021, 11:45
Default pyFoam use error
Senior Member
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 4
qutadah.r is on a distinguished road
i downloaded pyFoam and added its directory to path on my linux pc.

I tried running the pitzDaily case with the and it gives me following error ....

$ simpleFoam

how exactly should i run the code?


Traceback (most recent call last):
File "/home/rababqjt/.local/bin/", line 5, in <module>
File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/Applications/", line 70, in __init__
File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/Applications/", line 496, in __init__
File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/Applications/", line 108, in run
File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/RunDictionary/", line 69, in __init__
File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/RunDictionary/", line 561, in reread
procDirs = self.processorDirs()
File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/RunDictionary/", line 609, in processorDirs
self.procDirs.sort(key=lambda x:int(x[len("processor"):]))
File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/RunDictionary/", line 609, in <lambda>
self.procDirs.sort(key=lambda x:int(x[len("processor"):]))
ValueError: invalid literal for int() with base 10: '0.log'

i need some help thanks
qutadah.r is offline   Reply With Quote


postprocessing, pyfoam, python

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51

All times are GMT -4. The time now is 19:54.