CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Paraview

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 26, 2016, 03:52
Default Paraview
  #1
New Member
 
Aravind Krishnamoorthi
Join Date: Aug 2016
Location: Chemnitz, Germany
Posts: 7
Rep Power: 2
Aravind_Krish is on a distinguished road
Send a message via Skype™ to Aravind_Krish
I am trying to run a python script to generate pictures.
But every time i run i get the following error.


File "/usr2/tmp/Krishnamoorthi/case0383/New/Pics_0.py", line 16, in <module>
case_foam.SurfaceArrays = ['meshPhi', 'phi']
File "/cax/sw-cae1/OPENFOAM/LINUX_x86_64/ParaView/ParaView-4.4.0-Qt4-Linux-64bit/lib/paraview-4.4/site-packages/paraview/servermanager.py", line 302, in __setattr__
"to add this attribute.")
AttributeError: Attribute SurfaceArrays does not exist. This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute.


I checked the line 16 in the py script but it is all perfect.
Is it something to do with the bash for paraview??
Aravind_Krish is offline   Reply With Quote

Reply

Tags
python script

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
Paraview version update errors Dan Pearce OpenFOAM Installation 5 January 8, 2014 06:47
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 13:24
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 03:32
Paraview not found fusij OpenFOAM Installation 2 January 1, 2011 21:44
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


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