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

[General] Get data from Calculator filter in python script

Register Blogs Community New Posts Updated Threads Search

Like Tree16Likes
  • 1 Post By taalf
  • 8 Post By wyldckat
  • 2 Post By taalf
  • 1 Post By wyldckat
  • 1 Post By taalf
  • 2 Post By wyldckat
  • 1 Post By taalf

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 4, 2013, 08:20
Unhappy Get data from Calculator filter in python script
  #1
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hi all,

New on python scripting with Paraview, I am trying for a while to do a (I hope) simple thing but without any success...

I have generated in my script a Calculator filter (let's call it Calculator1).

When I display it in a Paraview spreadsheet view, it looks like below:

___|__Point_ID__|___Points___|___Result___|
_0_|__0_________|__67.15...__|__4.35e+06__|


That is: a single row with a column called Result (among other columns).

I would like to get the value of this Result (4.35e+06 here) into a python variable.

Can anyone help me with this?...

Thank you very much!

Best regards,

William

Last edited by taalf; October 6, 2013 at 02:22.
taalf is offline   Reply With Quote

 


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
[General] “Upload” vtk data from client to server in paraview script Jack001 ParaView 0 March 8, 2018 07:27
python script to create geometry for salome, and then mesh 6863523 Mesh Generation & Pre-Processing 4 March 18, 2017 09:00
Run OpenFoam in 2 nodes of a cluster WhiteW OpenFOAM Running, Solving & CFD 16 December 20, 2016 00:51
How to use python script in paraFoam? Thomas pan OpenFOAM Post-Processing 0 October 13, 2015 21:29
[OpenFOAM] How to use python script in paraFoam? Thomas pan ParaView 0 October 12, 2015 04:34


All times are GMT -4. The time now is 04:50.