CFD Online Logo CFD Online URL
Home > Forums > ParaView

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

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

LinkBack Thread Tools Display Modes
Old   July 12, 2014, 11:14
Default Programmable Filter: when multiple inputs, how to verify which input is which?
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 366
Rep Power: 8
macfly is on a distinguished road

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:
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.

Attached Images
File Type: png 010.png (34.5 KB, 10 views)
macfly is offline   Reply With Quote


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
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Paraview 3.98 - errors when saving geometry file pajot OpenFOAM Paraview & paraFoam 1 September 28, 2013 10:45
[ParaView] Programmable Filter to repeat 2 degree segments laurensvd OpenFOAM Paraview & paraFoam 3 February 13, 2012 05:22
How to use a programmable filter with two geometries alpha_tango OpenFOAM Paraview & paraFoam 1 August 10, 2011 03:15
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21

All times are GMT -4. The time now is 09:21.