CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

NameError: global name 'Sphere' is not defined

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 17, 2012, 06:58
Default NameError: global name 'Sphere' is not defined
  #1
Member
 
Petr Furmanek
Join Date: Jan 2012
Location: Prague, Czech Republic
Posts: 60
Rep Power: 5
petr.f. is on a distinguished road
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.
petr.f. is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] How can I define different zones in ICEM? llrr ANSYS Meshing & Geometry 13 August 4, 2014 20:04
[ICEM] meshing a sphere - large deviation from perfect sphere murx ANSYS Meshing & Geometry 25 August 15, 2012 12:37
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
OpenFOAM13 for Mac OSX Darwin 104 hjasak OpenFOAM Installation 70 September 24, 2010 05:06
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


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