pyFoamPotentialRunner issue!
Hi experts,
I have a problem with pyFoamPotentialRunner.py.
I use it in pitzDaily tutorials but after it sets case for potential solver it crashes!
here is the error:
Code:
Setting system-directory for potentialFoam
Traceback (most recent call last):
File "/usr/local/bin/pyFoamPotentialRunner.py", line 5, in <module>
PotentialRunner()
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Applications/PotentialRunner.py", line 42, in __init__
nr=1)
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Applications/PyFoamApplication.py", line 155, in __init__
result=self.run()
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Applications/PotentialRunner.py", line 128, in run
pRefValue=self.opts.pRefValue)
File "/usr/local/lib/python2.6/dist-packages/PyFoam/Applications/PotentialRunner.py", line 148, in __init__
pot=SolutionDirectory(path.join(pre,"potentialFoam","cylinder"),archive=None,paraviewLink=False)
File "/usr/local/lib/python2.6/dist-packages/PyFoam/RunDictionary/SolutionDirectory.py", line 53, in __init__
self.reread()
File "/usr/local/lib/python2.6/dist-packages/PyFoam/RunDictionary/SolutionDirectory.py", line 321, in reread
if not force and stat(self.name)[ST_CTIME]<=self.lastReread:
OSError: [Errno 2] No such file or directory: '/usr/lib/OpenFOAM-1.6-ext/tutorials/basic/potentialFoam/cylinder'
Any suggestion?
|