Hello Python calculator is the way to go here
inputs[0].PointData['flux1'] - inputs[1].PointData['flux2'] Beware of the order of the input, they will be ordered randomly by paraview, but you can reorder them wia the python shell, or modify your python-calculator script. Mathieu Westphal On Sun, May 22, 2016 at 10:31 AM, Feng Jiang <jfr...@gmail.com> wrote: > ParaView newbie here ,and sorry to interrupt you for some problems i met. > > I have been using two vtk input files which named t1 and t2 for example, > both input files contained only one dataset for CellData may called flux1 > and flux2. > > Exactly the structure and the data t1 and t2 got were same and only make a > reflect from the surface of the center of x axis. > > And I want to make the CellData flux1 to subtrack the flux2. > However I have tried Using the Group Datasets and the Calculator, or Using > the Python Calculator or Programmable filter, and all the result I got is > empty. > > The results I tried seems the ParaView only subtracked the data basic on > the Cell ID. > > So is there any way to solve it or some wrong operate I made I wondered, > or I must make the datasets reflect before I input ParaView ? > > Thanks for any guidance, > > Feng > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview