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

[General] Programmable Filter: when multiple inputs, how to verify which input is which?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2014, 12:14
Default Programmable Filter: when multiple inputs, how to verify which input is which?
  #1
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
Hi,

I have a programmable filter with 3 inputs (see attached picture). The 3 inputs have variables with the same nomenclature ('temperature' and 'Area'), so I work with the input variables in the following manner:
Code:
data0 = inputs[0].PointData['temperature']
data1 = inputs[1].PointData['temperature']
data2 = inputs[2].PointData['temperature']
...
...
...
I don't want to modify the nomenclature in previous filters, I want to keep 'temperature' and 'Area'. Since all the variables of the inputs have the same nomenclature, I'm not sure which input comes from which Integrate Variables. I don't want to add a bunch of Calculators neither just to copy variables with a new nomenclature, it would result in a cumbersome pipeline.

My question is: In a programmable filter with multiple inputs, is there a way to know the inputs order or obtain detailed information about the inputs? For example, I would like to make sure that input[0] is IntegrateVariables1.

Thanks,
François
Attached Images
File Type: png 010.png (34.5 KB, 41 views)
macfly is offline   Reply With Quote

Reply


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] Pass variable from programmable filter to Plot Over Line Filter Jack001 ParaView 0 March 29, 2016 14:18
Programmable Filter Problem quantenmaschine OpenFOAM Post-Processing 0 August 22, 2015 10:44
[General] Python Programmable vtkImageData joshuawd ParaView 6 August 18, 2014 17:08
[OpenFOAM] Paraview 3.98 - errors when saving geometry file pajot ParaView 1 September 28, 2013 11:45
[OpenFOAM] [ParaView] Programmable Filter to repeat 2 degree segments laurensvd ParaView 3 February 13, 2012 05:22


All times are GMT -4. The time now is 17:23.