|
[Sponsors] |
September 27, 2021, 12:45 |
pyFoam use error
|
#1 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
i downloaded pyFoam and added its directory to path on my linux pc.
I tried running the pitzDaily case with the pyPlotWatchRunner.py and it gives me following error .... $ pyFoamPlotRunner.py simpleFoam how exactly should i run the code? Error: Traceback (most recent call last): File "/home/rababqjt/.local/bin/pyFoamPlotRunner.py", line 5, in <module> PlotRunner() File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/Applications/PlotRunner.py", line 70, in __init__ **kwargs) File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/Applications/PyFoamApplication.py", line 496, in __init__ result=self.run() File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/Applications/PlotRunner.py", line 108, in run sol=SolutionDirectory(cName,archive=None) File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/RunDictionary/SolutionDirectory.py", line 69, in __init__ self.reread() File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/RunDictionary/SolutionDirectory.py", line 561, in reread procDirs = self.processorDirs() File "/home/rababqjt/.local/lib/python2.7/site-packages/PyFoam/RunDictionary/SolutionDirectory.py", 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/SolutionDirectory.py", 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 |
|
Tags |
postprocessing, pyfoam, python |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |