CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] NameError: global name 'Sphere' is not defined

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

Reply
 
LinkBack Thread Tools Search this Thread 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: Faenza, Italy
Posts: 66
Rep Power: 14
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not defined orientation change while running SU2_CFD mdawson25 SU2 4 May 11, 2017 10:52
Possible to select Cells next to a SPHERE surface? keepfit OpenFOAM 2 November 30, 2016 16:47
[snappyHexMesh] Sphere in a channel by snappyHexMesh arsalan.dryi OpenFOAM Meshing & Mesh Conversion 0 November 14, 2016 17:01
Pushing a Sphere through a tube andrewlindsay OpenFOAM Pre-Processing 0 July 14, 2016 12:45
OpenFOAM13 for Mac OSX Darwin 104 hjasak OpenFOAM Installation 70 September 24, 2010 06:06


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