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

[OpenFOAM] Paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2016, 03:52
Default Paraview
  #1
New Member
 
Aravind Krishnamoorthi
Join Date: Aug 2016
Location: Chemnitz, Germany
Posts: 11
Rep Power: 9
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


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
[OpenFOAM.org] Paraview 5.4 in shell environment of5x - Segmentation fault (core dumped) dslbkxd OpenFOAM Installation 1 February 3, 2018 00:56
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release FJSJ OpenFOAM Installation 2 July 23, 2017 05:48
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 02:32
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 02:56.