That is clearly wrong, and I also see the same behavior. The problem appears to be in the handling of the data from the Angular Periodic Filter, which is a pretty new feature in ParaView. I’ve submitted a bug:
http://www.paraview.org/Bug/view.php?id=16079 A simple workaround is to use the calculator filter to compute the magnitude. The result of that comes out correct. -Ken On 4/19/16, 8:08 AM, "ParaView on behalf of Gena Bug" <paraview-boun...@paraview.org on behalf of archaero...@mail.ru> wrote: >-------- Forwarded Message -------- >Subject: Re: [Paraview] negative value for a vector' magnitude >Date: Tue, 19 Apr 2016 16:07:58 +0300 >From: Gena Bug <archaero...@mail.ru> >To: Mandar Prakash Shirke <mandar.shi...@infosys.com> > >On 19.04.2016 15:20, Mandar Prakash Shirke wrote: >> Hello, >Hi, > >> Thank you for reply. >> I did not understand what you said here & there is no file with name >> "negative_magnitude.pvsm" in Paraview directory. >OK, let me explain it again: angular periodic filter creates full region >from a partial one, also, despite transform filter, it correctly handle >vector fields. However, rescale to data range doesn't work for vector >fields in the complete region -- minimum value of magnitude is negative. > >Now step-by-step: >1. create a plane [0, 1]x[0, 1]: >Source -> Plane (Origin (0, 0, 0), Point1 (1, 0, 0), Point2 (0, 1, 0)) >2. create a vector field in it: >Calculator (Point Data: coordsX*iHat + coordsY*jHat) >3. create a full region [-1, 1]x[-1, 1] from the plane: >AngularPeriodicFilter (Rotation Angle 90, Axis: Axis Z) >4. Activate coloring for the vector field in the full region. > >After step 4 I see next (see snapshot.png). > >In the previous email I attached a state file with these steps. > >> Please find attached screenshot of error. >Don't understand how this message corresponds to the problem... Is it >happen when you try to load the state file? > >> >> Regards, >> Mandar >> >> -----Original Message----- >> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Gena Bug >> Sent: Tuesday, April 19, 2016 5:32 PM >> To: ParaView <paraview@paraview.org> >> Subject: [Paraview] negative value for a vector' magnitude >> >> Hi, >> >> I noticed that visualizing a vector' magnitude is incorrect -- minimum value >> in the range of values is negative. It happens when using >> AngularPeriodicFilter (see example in the attachment). >> >> OS: Debian testing amd64 >> PV: v.5.0.1 downloaded from the site >> > > > _______________________________________________ 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