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 on doInletVariation.py (https://www.cfd-online.com/Forums/openfoam-community-contributions/90653-error-doinletvariation-py.html)

pcaste12 July 17, 2011 14:33

error on doInletVariation.py
 
Hi,

I have download PyFoam and it seems to be able to do a lots! Unfortunatly I get block at the begining in running an example. I may have done some mistake.
Here is the error:
~/OF/incompressible/simpleFoam$ python doInletVariation.py
Inlet velocity: 0.0
Last Time = 1000
Traceback (most recent call last):
File "doInletVariation.py", line 47, in <module>
deltaP=pUtil.get("deltaP")[0]
TypeError: 'NoneType' object is unsubscriptable
Getting LinuxMem: [Errno 2] No such file or directory: '/proc/7290/status'
~/OF/incompressible/simpleFoam$

I have done the simple loading tests and they are working.
Many thanks by advance from your help.
Pierre.

pcaste12 July 18, 2011 17:41

Hi all,

I found my mistake, I forgot to read carefully the wiki and to install and compile some outsiders ;-).

Sorry for that.
Pierre.


All times are GMT -4. The time now is 00:34.