AW: AW: AW: AW: [Paraview] Combine vect

Amy Henderson amy.henderson at kitware.com
Thu, 13 May 2004 16:16:17 -0400


To my knowledge, there is not a problem with your file format or the=20
magnitude of the velocity components.

Earlier in this thread, you said that the expression you were evaluating=20
with the calculator was iHat * x1-vel  + jHat * x3-vel + kHat * x3-vel. Was=
=20
this a typo? It looks to me like you should not be multiplying the same=20
scalar array by both jHat and kHat. If this really is the expression you=20
input to the calculator, it would explain why your streamlines are not=20
doing what you expect them to.

- Amy

At 04:00 PM 5/13/2004, S=F6ren Freudiger wrote:
>But the rusltung streamlines look different.
>In paraview I only have straight lines, although a obstacle is in the=
 middle
>of the field...
>When I am colouring the lines by choosing the components (x1vel, x2vel or
>x3vel) I can clearly see, were the line should turn up/left/down.
>We are using binary ucd files and our velocity components are around 0.01.
>Is this a problem?
>
>
>--
>Dipl.-Ing. Soeren Freudiger
>Institut fuer ComputerAnwendungen im Bauingenieurwesen
>TU Braunschweig, Pockelsstr. 3, D-38106 Braunschweig
>Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
>email: freud at cab.bau.tu-bs.de
>http://www.cab.bau.tu-bs.de/
>-----Urspr=FCngliche Nachricht-----
>Von: Amy Henderson [mailto:amy.henderson at kitware.com]
>Gesendet: Donnerstag, 13. Mai 2004 21:53
>An: S=F6ren Freudiger
>Cc: paraview at paraview.org
>Betreff: Re: AW: AW: AW: [Paraview] Combine vect
>
>I just tried to reproduce this behavior on the ParaView 1.4 release, but I
>did not get the same results you did. After I ran the data through the
>Calculator filter, it was still being colored by the same scalar array as
>before, but the array produced as a result of running the filter was a
>3-component vector array.
>
>- Amy
>
>At 03:46 PM 5/13/2004, S=F6ren Freudiger wrote:
> >We are using paraview 1.4 (the newest release)
> >
> >
> >--
> >Dipl.-Ing. Soeren Freudiger
> >Institut fuer ComputerAnwendungen im Bauingenieurwesen TU Braunschweig,
> >Pockelsstr. 3, D-38106 Braunschweig
> >Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
> >email: freud at cab.bau.tu-bs.de
> >http://www.cab.bau.tu-bs.de/
> >-----Urspr=FCngliche Nachricht-----
> >Von: Amy Henderson [mailto:amy.henderson at kitware.com]
> >Gesendet: Donnerstag, 13. Mai 2004 21:42
> >An: S=F6ren Freudiger
> >Cc: paraview at paraview.org
> >Betreff: Re: AW: AW: [Paraview] Combine vect
> >
> >Please keep the discussion on the ParaView mailing list.  Also, what
> >version of ParaView are you using?
> >
> >- Amy
> >
> >At 03:32 PM 5/13/2004, you wrote:
> > >Ahh.. Now I think I've got the problem...
> > >I really need a vector for the streamlines... But after "calc" I only
> > >get a scalar value again...
> > >
> > >
> > >--
> > >Dipl.-Ing. Soeren Freudiger
> > >Institut fuer ComputerAnwendungen im Bauingenieurwesen TU
> > >Braunschweig, Pockelsstr. 3, D-38106 Braunschweig
> > >Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
> > >email: freud at cab.bau.tu-bs.de
> > >http://www.cab.bau.tu-bs.de/
> > >-----Urspr=FCngliche Nachricht-----
> > >Von: Amy Henderson [mailto:amy.henderson at kitware.com]
> > >Gesendet: Donnerstag, 13. Mai 2004 20:58
> > >An: paraview at paraview.org
> > >Cc: freud at cab.bau.tu-bs.de
> > >Betreff: Re: AW: [Paraview] Combine vect
> > >
> > >S=F6ren,
> > >
> > >I'm copying this to the paraview mailing list so others can benefit
> > >from the answers.
> > >
> > >- Amy
> > >
> > > >Date: Thu, 13 May 2004 14:56:25 -0400
> > > >To: S=F6ren Freudiger <freud at cab.bau.tu-bs.de>, "'Amy Henderson'"
> > > ><amy.henderson at kitware.com>
> > > >From: Amy Henderson <amy.henderson at kitware.com>
> > > >Subject: Re: AW: [Paraview] Combine vect
> > > >
> > > >At 02:52 PM 5/13/2004, S=F6ren Freudiger wrote:
> > > >>Hello again...
> > > >>Thanks for that very quick answer.
> > > >>But this does ot seem to work...
> > > >>I only got absolutly straight streamlines by doing this.
> > > >>
> > > >>iHat * x1-vel  + jHat * x3-vel + kHat * x3-vel
> > > >>
> > > >>If I write
> > > >>
> > > >>(iHat * x1-vel)  + (jHat * x3-vel) + (kHat * x3-vel)
> > > >>
> > > >>I'll get totaly differnet results...
> > > >
> > > >If you want the components of your vector to be x1-vel, x2-vel, and
> > > >x3-vel, then your equation should be:
> > > >iHat * (x1-vel) + jHat * (x2-vel) + kHat * (x3-vel)
> > > >
> > > >The standard mathematical order of operations applies. In your
> > > >expressions, things in parentheses are computed first, followed by
> > > >multiplication, followed by addition and subtraction.
> > > >
> > > >- Amy
> > > >
> > > >>--
> > > >>Dipl.-Ing. Soeren Freudiger
> > > >>Institut fuer ComputerAnwendungen im Bauingenieurwesen TU
> > > >>Braunschweig, Pockelsstr. 3, D-38106 Braunschweig
> > > >>Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
> > > >>email: freud at cab.bau.tu-bs.de
> > > >>http://www.cab.bau.tu-bs.de/
> > > >>-----Urspr=FCngliche Nachricht-----
> > > >>Von: Amy Henderson [mailto:amy.henderson at kitware.com]
> > > >>Gesendet: Donnerstag, 13. Mai 2004 19:28
> > > >>An: S=F6ren Freudiger; paraview at paraview.org
> > > >>Betreff: Re: [Paraview] Combine vect
> > > >>
> > > >>Hi S=F6ren,
> > > >>
> > > >>Yes, it is possible. Run the Calculator filter on your data. iHat,
> > > >>jHat, and kHat are unit vectors in each of the i, j, and k
> > > >>directions, so your expression you want to enter would look like:
> > > >>iHat * scalars1 + jHat * scalars2 + kHat * scalars3 (Substitute
> > > >>the
> > > >>3 scalar arrays you want to use for X, Y, and Z in your vector for
> > > >>scalars1, scalars2, and scalars3, respectively.) The array
> > > >>specified in the "Result Array Name" entry will contain your new
>vector array.
> > > >>
> > > >>- Amy
> > > >>
> > > >>At 01:07 PM 5/13/2004, S=F6ren Freudiger wrote:
> > > >> >Hello
> > > >> >Is it possible to combine scalars to a vector?
> > > >> >I only have got scalars and want to visualise streamlines...
> > > >> >Best regards,
> > > >> >
> > > >> >--
> > > >> >Dipl.-Ing. Soeren Freudiger
> > > >> >Institut fuer ComputerAnwendungen im Bauingenieurwesen TU
> > > >> >Braunschweig, Pockelsstr. 3, D-38106 Braunschweig
> > > >> >Tel.: +49 531/391-7595, Mobil: +49 176/210 17 444
> > > >> >email: freud at cab.bau.tu-bs.de
> > > >> >http://www.cab.bau.tu-bs.de/
> > > >> >
> > > >> >_______________________________________________
> > > >> >ParaView mailing list
> > > >> >ParaView at paraview.org
> > > >> >http://www.paraview.org/mailman/listinfo/paraview