CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   NameError: global name 'Sphere' is not defined (http://www.cfd-online.com/Forums/openfoam-paraview/110651-nameerror-global-name-sphere-not-defined.html)

petr.f. December 17, 2012 06:58

NameError: global name 'Sphere' is not defined
 
Dear all,

I have a problem with paraview benchmark. When I try to run it according to

http://www.paraview.org/pipermail/pa...st/009018.html

i.e.

>>> from paraview import benchmark
>>> benchmark.run('results.csv')

I get the following error:

Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/opt/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/site-packages/paraview/benchmark.py", line 581, in run
ss = Sphere(ThetaResolution=1000, PhiResolution=500)
NameError: global name 'Sphere' is not defined


Any idea how to fix it? Thanks, P.


All times are GMT -4. The time now is 13:07.