CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   ERROR: AttributeError: 'list' object has no attribute 'GetRange' (https://www.cfd-online.com/Forums/openfoam-post-processing/93800-error-attributeerror-list-object-has-no-attribute-getrange.html)

asamit October 26, 2011 22:48

ERROR: AttributeError: 'list' object has no attribute 'GetRange'
 
Hi,
I have encountered the error message as shown in the title, when using pythons shell on ParaFoam3.8. The problemed line is:
Flow_Rate_Uz=IntegrateVariables1.CellData[4].GetRange(2)[0]

Thank you.
asamit

asamit October 27, 2011 06:30

x)ParaFoam3.8
o)ParaFoam3.12


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