CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Programmable Filter: when multiple inputs, how to verify which input is which? (https://www.cfd-online.com/Forums/paraview/138863-programmable-filter-when-multiple-inputs-how-verify-input.html)

macfly July 12, 2014 11:14

Programmable Filter: when multiple inputs, how to verify which input is which?
 
1 Attachment(s)
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


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