[Paraview] Using calculator with variable sets from different data files

2008-10-16 Thread Hom Nath Gharti
I have two data files 'test1.vti' and 'test2.vti' opened in paraview containing a dataset of similar variables. Can I use the calculator to subtract (or add.) data of file 'test1.vti' from data of 'test2.vti'? Many thanks, Hom Nath ___ ParaView maili

Re: [Paraview] Using calculator with variable sets from different data files

2008-10-16 Thread Moreland, Kenneth
You can use the Append Attributes filter to merge the fields of two or more data sets into one (assuming they have the same topology), and then run the calculator on that. -Ken On 10/16/08 9:28 AM, "Hom Nath Gharti" <[EMAIL PROTECTED]> wrote: > I have two data files 'test1.vti' and 'test2.vti'

Re: [Paraview] Using calculator with variable sets from different data files

2008-10-17 Thread Hom Nath Gharti
Many thanks. Looks like I should have different name for the variables. Initially I had a same variable name in two data files. I could see only only one variable name under scalar field. After using different names I could see two variable names. Nice weekend, Hom Nath On Fri, Oct 17, 2008 at 12

Re: [Paraview] Using calculator with variable sets from different data files

2008-10-17 Thread David E DeMarle
Another option is the python programmable filter. It isn't as intuitive to use (unless you are familiar with python wrapped vtk programming), but unlike the calculator filter it will accept multiple inputs, is likely to execute faster, and you don't need to worry about array name collision. cheers

Re: [Paraview] Using calculator with variable sets from different data files

2008-10-17 Thread Berk Geveci
By the way, the next generation of the array calculator will support multiple inputs. -berk On Fri, Oct 17, 2008 at 9:18 AM, Hom Nath Gharti <[EMAIL PROTECTED]> wrote: > Many thanks. Looks like I should have different name for the variables. > Initially I had a same variable name in two data file

Re: [Paraview] Using calculator with variable sets from different data files

2008-10-17 Thread Hom Nath Gharti
Great! Does the next generation imply to 3.4? On Fri, Oct 17, 2008 at 5:37 PM, Berk Geveci <[EMAIL PROTECTED]>wrote: > By the way, the next generation of the array calculator will support > multiple inputs. > > -berk > > On Fri, Oct 17, 2008 at 9:18 AM, Hom Nath Gharti <[EMAIL PROTECTED]> > wrote

Re: [Paraview] Using calculator with variable sets from different data files

2008-10-17 Thread Berk Geveci
Nope. 3.6. We just release 3.4. -berk On Fri, Oct 17, 2008 at 12:13 PM, Hom Nath Gharti <[EMAIL PROTECTED]> wrote: > Great! Does the next generation imply to 3.4? > > On Fri, Oct 17, 2008 at 5:37 PM, Berk Geveci <[EMAIL PROTECTED]> > wrote: >> >> By the way, the next generation of the array calc